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 | 174 | String userName = SecurityFrameworkUtils.getLoginUserNickname(); |
| 175 | 175 | InspectionPlanDetailDO entity = new InspectionPlanDetailDO(); |
| 176 | 176 | entity.setBatchNo(batchNo); |
| 177 | - entity.setPlanNo("P" + System.currentTimeMillis() + RandomUtil.randomInt(1000)); | |
| 177 | + entity.setPlanNo("X" + System.currentTimeMillis() + RandomUtil.randomInt(1000 , 9999)); | |
| 178 | 178 | entity.setBusiLine(saveReqVO.getBusiLine()); |
| 179 | 179 | entity.setCompanyId(saveReqVO.getCompanyId()); |
| 180 | 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 | 165 | String userName = SecurityFrameworkUtils.getLoginUserNickname(); |
| 166 | 166 | MaintainPlanDetailDO entity = new MaintainPlanDetailDO(); |
| 167 | 167 | entity.setBatchNo(batchNo); |
| 168 | - entity.setPlanNo("Y" + System.currentTimeMillis() + RandomUtil.randomInt(1000)); | |
| 168 | + entity.setPlanNo("Y" + System.currentTimeMillis() + RandomUtil.randomInt(1000 , 9999)); | |
| 169 | 169 | entity.setBusiLine(saveReqVO.getBusiLine()); |
| 170 | 170 | entity.setCompanyId(saveReqVO.getCompanyId()); |
| 171 | 171 | entity.setDeptId(roadReqVO.getDeptId()); | ... | ... |
urbanops-module-garden/src/main/resources/mapper/planrate/PlanRateMapper.xml
| ... | ... | @@ -9,6 +9,6 @@ |
| 9 | 9 | 文档可见:https://www.iocoder.cn/MyBatis/x-plugins/ |
| 10 | 10 | --> |
| 11 | 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 | 13 | </delete> |
| 14 | 14 | </mapper> |
| 15 | 15 | \ No newline at end of file | ... | ... |