技术监督管理调整
This commit is contained in:
@@ -169,6 +169,9 @@ public class SupvPlanServiceImpl extends ServiceImpl<SupvPlanMapper, SupvPlan> i
|
||||
if(map.containsKey(item.getCreateBy())) {
|
||||
item.setCreateBy(map.get(item.getCreateBy()).getName());
|
||||
}
|
||||
|
||||
|
||||
|
||||
});
|
||||
Page<SupvPlanVO> pageVo = new Page<>();
|
||||
pageVo.setTotal(page.getTotal());
|
||||
|
||||
@@ -48,6 +48,7 @@ public class SupvProblemServiceImpl extends ServiceImpl<SupvProblemMapper, SupvP
|
||||
BeanUtil.copyProperties(supvProblemParam,supvProblem);
|
||||
supvProblem.setPlanRectificationTime(PubUtils.localDateFormat(supvProblemParam.getPlanRectificationTime()));
|
||||
supvProblem.setRectificationTime(PubUtils.localDateFormat(supvProblemParam.getRectificationTime()));
|
||||
supvProblem.setIsUploadHead(0);
|
||||
this.save(supvProblem);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -252,11 +252,28 @@ public class SupvPushGwServiceImpl implements SupvPushGwService {
|
||||
throw new BusinessException("一次最多上送100条数据");
|
||||
}
|
||||
//TODO 调用上送接口
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean deletePlan(List<String> planIds) {
|
||||
return false;
|
||||
|
||||
List<SupvPlan> supvPlanList = new ArrayList<>();
|
||||
for(String id : planIds) {
|
||||
SupvPlan supvPlan = new SupvPlan();
|
||||
supvPlan.setPlanId(id);
|
||||
supvPlanList.add(supvPlan);
|
||||
}
|
||||
|
||||
//TODO
|
||||
|
||||
|
||||
for(SupvPlan supvPlan : supvPlanList) {
|
||||
supvPlan.setIsUploadHead(2);
|
||||
supvPlanMapper.updateById(supvPlan);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -249,6 +249,7 @@ public class SupvReportMServiceImpl extends MppServiceImpl<SupvReportMMapper, Su
|
||||
supvReportM.setStatisticsLevel("5");
|
||||
}
|
||||
supvReportM.setSupvNum(all);
|
||||
supvReportM.setIsuploadhead(0);
|
||||
supvReportMBatch.add(supvReportM);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user