Commit 774910daee87a37e249ca9c1d404e868a320022c
1 parent
6b7cc52a
refactor(garden): 优化派单任务和维护计划相关代码
- 移除 AssignTasksMapper 中无用的 import 语句 - 精简 MaintainPlanCommitMapper.xml 查询字段,移除 role_name 相关逻辑 - 注释掉 MaintainPlanCommitMapper.xml 中 roleName 的查询条件 - 调整 SQL 查询结构以提高可读性和执行效率
Showing
2 changed files
with
2 additions
and
3 deletions
urbanops-module-garden/src/main/java/com/zteits/urbanops/module/garden/service/maintainplan/MaintainPlanDetailServiceImpl.java
| ... | ... | @@ -120,7 +120,7 @@ public class MaintainPlanDetailServiceImpl implements MaintainPlanDetailService |
| 120 | 120 | @Override |
| 121 | 121 | public List<AppMaintainNotFinishPlanDetailRespVO> getMaintainNotFinishPlanCommitDetail(AppMaintainNotFinishPlanDetailReqVO reqVO) { |
| 122 | 122 | //完成状态 1:未完成;2:已完成;3:已失效 |
| 123 | - reqVO.setFinishState(1); | |
| 123 | +// reqVO.setFinishState(1); | |
| 124 | 124 | reqVO.setLocalDateTime(LocalDateTime.now()); |
| 125 | 125 | return maintainPlanDetailMapper.getMaintainNotFinishPlanCommitDetail(reqVO); |
| 126 | 126 | } |
| ... | ... | @@ -147,4 +147,4 @@ public class MaintainPlanDetailServiceImpl implements MaintainPlanDetailService |
| 147 | 147 | return roleList.stream().map(MaintainPlanRoleDO::getBatchNo).collect(Collectors.toSet()); |
| 148 | 148 | } |
| 149 | 149 | |
| 150 | -} | |
| 151 | 150 | \ No newline at end of file |
| 151 | +} | ... | ... |
urbanops-module-garden/src/main/resources/mapper/maintainplan/MaintainPlanCommitMapper.xml