Browse Source

Merge branch 'dev' into pre-production

master
汤建军 11 months ago
parent
commit
0d29e51400
  1. 2
      blade-service-api/logpm-supervise-api/src/main/java/com/logpm/supervise/dto/IndicatorsDTO.java
  2. 7
      blade-service/logpm-supervise/src/main/java/com/logpm/supervise/api/ClassifyApi.java
  3. 5
      blade-service/logpm-supervise/src/main/java/com/logpm/supervise/service/impl/ClassifyServiceImpl.java

2
blade-service-api/logpm-supervise-api/src/main/java/com/logpm/supervise/dto/IndicatorsDTO.java

@ -27,6 +27,8 @@ public class IndicatorsDTO extends IndicatorsEntity {
private Date start;
private Date end;
private Integer isCommit;
private String createDeptName;
}

7
blade-service/logpm-supervise/src/main/java/com/logpm/supervise/api/ClassifyApi.java

@ -107,6 +107,13 @@ public class ClassifyApi {
return r;
}
@GetMapping("/cancelMyApiIndicators")
@ApiOperationSupport(order = 1)
@ApiOperation(value = "我被考核的列表")
public R cancelMyApiIndicators(@RequestParam Long id) {
return R.status(classifyService.removeById(id));
}
@GetMapping("/deptList")
@ApiOperationSupport(order = 1)
@ApiOperation(value = "我被考核的列表")

5
blade-service/logpm-supervise/src/main/java/com/logpm/supervise/service/impl/ClassifyServiceImpl.java

@ -444,11 +444,14 @@ public class ClassifyServiceImpl extends BaseServiceImpl<ClassifyMapper, Classif
handleResource(instanceofDTO.getResourceList(), instanceofDTO.getId());
}
IndicatorsEntity indicatorsEntity = Func.copy(instanceofDTO, IndicatorsEntity.class);
if (Func.isNotEmpty(instanceofDTO.getObjectionRemark())){
if (Func.isNotEmpty(instanceofDTO.getAppealReason())){
indicatorsEntity.setIsObjection(1);
}
if (1 ==instanceofDTO.getIsCommit()){
indicatorsEntity.setIndicatorsStatus(2);
}
return R.status(iIndicatorsService.updateById(indicatorsEntity));
}

Loading…
Cancel
Save