Commit 40dfae222208e313fde2bd6842e1c1bb76a554de
1 parent
d5f081fe
app巡查汇总查询提交
Showing
3 changed files
with
3 additions
and
3 deletions
urbanops-module-garden/src/main/java/com/zteits/urbanops/module/garden/service/inspectionplan/InspectionPlanServiceImpl.java
| @@ -174,7 +174,7 @@ public class InspectionPlanServiceImpl implements InspectionPlanService { | @@ -174,7 +174,7 @@ public class InspectionPlanServiceImpl implements InspectionPlanService { | ||
| 174 | String userName = SecurityFrameworkUtils.getLoginUserNickname(); | 174 | String userName = SecurityFrameworkUtils.getLoginUserNickname(); |
| 175 | InspectionPlanDetailDO entity = new InspectionPlanDetailDO(); | 175 | InspectionPlanDetailDO entity = new InspectionPlanDetailDO(); |
| 176 | entity.setBatchNo(batchNo); | 176 | entity.setBatchNo(batchNo); |
| 177 | - entity.setPlanNo("P" + System.currentTimeMillis() + RandomUtil.randomInt(1000)); | 177 | + entity.setPlanNo("X" + System.currentTimeMillis() + RandomUtil.randomInt(1000 , 9999)); |
| 178 | entity.setBusiLine(saveReqVO.getBusiLine()); | 178 | entity.setBusiLine(saveReqVO.getBusiLine()); |
| 179 | entity.setCompanyId(saveReqVO.getCompanyId()); | 179 | entity.setCompanyId(saveReqVO.getCompanyId()); |
| 180 | entity.setDeptId(roadReqVO.getDeptId()); | 180 | entity.setDeptId(roadReqVO.getDeptId()); |
urbanops-module-garden/src/main/java/com/zteits/urbanops/module/garden/service/maintainplan/MaintainPlanServiceImpl.java
| @@ -165,7 +165,7 @@ public class MaintainPlanServiceImpl implements MaintainPlanService { | @@ -165,7 +165,7 @@ public class MaintainPlanServiceImpl implements MaintainPlanService { | ||
| 165 | String userName = SecurityFrameworkUtils.getLoginUserNickname(); | 165 | String userName = SecurityFrameworkUtils.getLoginUserNickname(); |
| 166 | MaintainPlanDetailDO entity = new MaintainPlanDetailDO(); | 166 | MaintainPlanDetailDO entity = new MaintainPlanDetailDO(); |
| 167 | entity.setBatchNo(batchNo); | 167 | entity.setBatchNo(batchNo); |
| 168 | - entity.setPlanNo("Y" + System.currentTimeMillis() + RandomUtil.randomInt(1000)); | 168 | + entity.setPlanNo("Y" + System.currentTimeMillis() + RandomUtil.randomInt(1000 , 9999)); |
| 169 | entity.setBusiLine(saveReqVO.getBusiLine()); | 169 | entity.setBusiLine(saveReqVO.getBusiLine()); |
| 170 | entity.setCompanyId(saveReqVO.getCompanyId()); | 170 | entity.setCompanyId(saveReqVO.getCompanyId()); |
| 171 | entity.setDeptId(roadReqVO.getDeptId()); | 171 | entity.setDeptId(roadReqVO.getDeptId()); |
urbanops-module-garden/src/main/resources/mapper/planrate/PlanRateMapper.xml
| @@ -9,6 +9,6 @@ | @@ -9,6 +9,6 @@ | ||
| 9 | 文档可见:https://www.iocoder.cn/MyBatis/x-plugins/ | 9 | 文档可见:https://www.iocoder.cn/MyBatis/x-plugins/ |
| 10 | --> | 10 | --> |
| 11 | <delete id="deleteByRateNo"> | 11 | <delete id="deleteByRateNo"> |
| 12 | - delete from garden_plan_rate_detail where rate_no=#{rateNo} | 12 | + delete from garden_plan_rate where rate_no=#{rateNo} |
| 13 | </delete> | 13 | </delete> |
| 14 | </mapper> | 14 | </mapper> |
| 15 | \ No newline at end of file | 15 | \ No newline at end of file |