技术监督管理调整
This commit is contained in:
@@ -48,11 +48,11 @@ public class SupvMonthStatisController extends BaseController {
|
|||||||
@PostMapping("statisticReport")
|
@PostMapping("statisticReport")
|
||||||
@OperateInfo(info = LogEnum.BUSINESS_COMMON, operateType = OperateType.ADD)
|
@OperateInfo(info = LogEnum.BUSINESS_COMMON, operateType = OperateType.ADD)
|
||||||
@ApiOperation("监督月报统计")
|
@ApiOperation("监督月报统计")
|
||||||
public HttpResult<Object> statisticReport(@RequestParam("timeId") String timeId){
|
public HttpResult<Boolean> statisticReport(@RequestParam("timeId") String timeId){
|
||||||
String methodDescribe = getMethodDescribe("statisticReport");
|
String methodDescribe = getMethodDescribe("statisticReport");
|
||||||
LocalDate localDate = LocalDate.parse(timeId);
|
LocalDate localDate = LocalDate.parse(timeId);
|
||||||
iSupvReportMService.statisticSuperviseReport(localDate);
|
iSupvReportMService.statisticSuperviseReport(localDate);
|
||||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, null, methodDescribe);
|
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, true, methodDescribe);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ public class SupvPlanServiceImpl extends ServiceImpl<SupvPlanMapper, SupvPlan> i
|
|||||||
LambdaQueryWrapper<SupvPlan> lambdaQueryWrapper = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<SupvPlan> lambdaQueryWrapper = new LambdaQueryWrapper<>();
|
||||||
if(StrUtil.isNotBlank(supvPlanParam.getSupvOrgId())){
|
if(StrUtil.isNotBlank(supvPlanParam.getSupvOrgId())){
|
||||||
List<String> deptIds = deptFeignClient.getDepSonSelfCodetByCode(supvPlanParam.getSupvOrgId()).getData();
|
List<String> deptIds = deptFeignClient.getDepSonSelfCodetByCode(supvPlanParam.getSupvOrgId()).getData();
|
||||||
lambdaQueryWrapper.in(SupvPlan::getSupvOrgId,deptIds);
|
lambdaQueryWrapper.in(SupvPlan::getSupvOrgId,deptIds).between(SupvPlan::getPlanSupvDate,supvPlanParam.getSearchBeginTime(),supvPlanParam.getSearchEndTime());
|
||||||
}
|
}
|
||||||
List<PvTerminalTreeVO> deptList = deptFeignClient.allDeptList().getData();
|
List<PvTerminalTreeVO> deptList = deptFeignClient.allDeptList().getData();
|
||||||
Map<String,PvTerminalTreeVO> mapCode = deptList.stream().collect(Collectors.toMap(PvTerminalTreeVO::getCode, Function.identity()));
|
Map<String,PvTerminalTreeVO> mapCode = deptList.stream().collect(Collectors.toMap(PvTerminalTreeVO::getCode, Function.identity()));
|
||||||
|
|||||||
Reference in New Issue
Block a user