Bläddra i källkod

实施管理

tags/24082201
PoffyZhang 1 år sedan
förälder
incheckning
3819faf7df
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. +2
    -2
      pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/OperationManage.java

+ 2
- 2
pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/OperationManage.java Visa fil

@@ -46,7 +46,7 @@ public class OperationManage {
.throwMessage("项目不存在!"); .throwMessage("项目不存在!");


Operation operation = operationService.getOne(Wrappers.lambdaQuery(Operation.class) Operation operation = operationService.getOne(Wrappers.lambdaQuery(Operation.class)
.eq(Operation::getProjectId, project.getProjectCode())
.eq(Operation::getProjectCode, project.getProjectCode())
.last(BizConst.LIMIT_1)); .last(BizConst.LIMIT_1));


return BeanUtil.copyProperties(operation,OperationVO.class); return BeanUtil.copyProperties(operation,OperationVO.class);
@@ -65,7 +65,7 @@ public class OperationManage {
.throwMessage("提交失败 该项目不是 待开工或者已立项阶段"); .throwMessage("提交失败 该项目不是 待开工或者已立项阶段");


Operation old = operationService.getOne(Wrappers.lambdaQuery(Operation.class) Operation old = operationService.getOne(Wrappers.lambdaQuery(Operation.class)
.eq(Operation::getProjectId, project.getProjectCode())
.eq(Operation::getProjectCode, project.getProjectCode())
.last(BizConst.LIMIT_1)); .last(BizConst.LIMIT_1));


Operation entity = BeanUtil.copyProperties(operation, Operation.class); Operation entity = BeanUtil.copyProperties(operation, Operation.class);


Laddar…
Avbryt
Spara