| | |
| | | return page.setRecords(baseMapper.selectFwPoliceStationPage(page, fwPoliceStation)); |
| | | } |
| | | |
| | | @Override |
| | | public List<FwPoliceStationVO> selectFwPoliceStationList() { |
| | | return baseMapper.selectFwPoliceStationList(); |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public List<FwPoliceStationExcel> exportFwPoliceStation(Wrapper<FwPoliceStationEntity> queryWrapper) { |
| | |
| | | deptId = null; |
| | | } |
| | | } |
| | | String areaCode = HeaderUtils.getAreaCode(); |
| | | if (StringUtil.isBlank(areaCode)) { |
| | | areaCode = fwPoliceStation.getAreaCode(); |
| | | } |
| | | // String areaCode = HeaderUtils.getAreaCode(); |
| | | // if (StringUtil.isBlank(areaCode)) { |
| | | // areaCode = fwPoliceStation.getAreaCode(); |
| | | // } |
| | | Date now = new Date(); |
| | | fwPoliceStation.setCreateUser(userId); |
| | | fwPoliceStation.setUpdateUser(userId); |
| | | if (deptId != null) { |
| | | fwPoliceStation.setCreateDept(deptId); |
| | | } |
| | | if (StringUtil.isNotBlank(areaCode)) { |
| | | fwPoliceStation.setAreaCode(areaCode); |
| | | } |
| | | // if (StringUtil.isNotBlank(areaCode)) { |
| | | // fwPoliceStation.setAreaCode(areaCode); |
| | | // } |
| | | fwPoliceStation.setCreateTime(now); |
| | | fwPoliceStation.setUpdateTime(now); |
| | | } |