微调
This commit is contained in:
@@ -268,6 +268,11 @@ public class WarningLeafletServiceImpl extends ServiceImpl<WarningLeafletMapper,
|
||||
this.lambdaUpdate().set(WarningLeaflet::getDealState, DealStateEnum.RESOLVED.getCode())
|
||||
.eq(WarningLeaflet::getId, businessKey)
|
||||
.eq(WarningLeaflet::getProblemId, one.getProblemId()).update();
|
||||
if(one.getProblemType() == 2){
|
||||
this.lambdaUpdate().set(WarningLeaflet::getDealState, DealStateEnum.RESOLVED.getCode())
|
||||
.eq(WarningLeaflet::getId, businessKey)
|
||||
.update();
|
||||
}
|
||||
if(one.getProblemType() != 2){
|
||||
updatePowerProblem(one.getProblemType(), one.getProblemId());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user