Browse Source

user先提

master
zxc 3 years ago
parent
commit
8a00ff6b8c
  1. 2
      epmet-user/epmet-user-client/src/main/java/com/epmet/dto/result/PatrolRoutineWorkResult.java
  2. 3
      epmet-user/epmet-user-client/src/main/java/com/epmet/feign/EpmetUserOpenFeignClient.java
  3. 5
      epmet-user/epmet-user-client/src/main/java/com/epmet/feign/fallback/EpmetUserOpenFeignClientFallback.java
  4. 7
      epmet-user/epmet-user-server/src/main/java/com/epmet/controller/PatrolRoutineWorkController.java

2
epmet-user/epmet-user-client/src/main/java/com/epmet/dto/result/PatrolRoutineWorkResult.java

@ -22,6 +22,8 @@ public class PatrolRoutineWorkResult implements Serializable {
private String customerId;
private String gridId;
private String gridCode;
private String gridName;
private String title;

3
epmet-user/epmet-user-client/src/main/java/com/epmet/feign/EpmetUserOpenFeignClient.java

@ -689,6 +689,9 @@ public interface EpmetUserOpenFeignClient {
@PostMapping(value = "/epmetuser/patrolroutinework/selectList")
Result<List<PatrolRoutineWorkResult>> getPatrolRoutineWorkList(@RequestBody PatrolQueryFormDTO patrolQueryFormDTO);
@PostMapping(value = "/epmetuser/patrolroutinework/selectListV2")
Result<List<PatrolRoutineWorkResult>> getPatrolRoutineWorkListV2(@RequestBody PatrolQueryFormDTO patrolQueryFormDTO);
/**
* 获取ic_resi_user
* @param icResiUserId

5
epmet-user/epmet-user-client/src/main/java/com/epmet/feign/fallback/EpmetUserOpenFeignClientFallback.java

@ -510,6 +510,11 @@ public class EpmetUserOpenFeignClientFallback implements EpmetUserOpenFeignClien
return ModuleUtils.feignConError(ServiceConstant.EPMET_USER_SERVER, "getPatrolRoutineWorkList", patrolQueryFormDTO);
}
@Override
public Result<List<PatrolRoutineWorkResult>> getPatrolRoutineWorkListV2(PatrolQueryFormDTO patrolQueryFormDTO) {
return ModuleUtils.feignConError(ServiceConstant.EPMET_USER_SERVER, "getPatrolRoutineWorkListV2", patrolQueryFormDTO);
}
@Override
public Result<IcResiUserDTO> getIcResiUserDTO(String icResiUserId) {
return ModuleUtils.feignConError(ServiceConstant.EPMET_USER_SERVER, "getIcResiUserDTO", icResiUserId);

7
epmet-user/epmet-user-server/src/main/java/com/epmet/controller/PatrolRoutineWorkController.java

@ -47,6 +47,13 @@ public class PatrolRoutineWorkController {
Page<PatrolRoutineWorkResult> data = gridUserWorkService.listPage(formDTO);
return new Result().ok(data.getResult());
}
@NoRepeatSubmit
@PostMapping("selectListV2")
public Result<List<PatrolRoutineWorkResult>> gridUserWorkV2(@RequestBody PatrolQueryFormDTO formDTO){
Page<PatrolRoutineWorkResult> data = gridUserWorkService.listPage(formDTO);
return new Result().ok(data.getResult());
}
/**
* @Description 添加例行工作
* @param formDTO

Loading…
Cancel
Save