|
@@ -151,8 +151,7 @@ public class FaultCaseServiceImpl extends BaseServiceImpl<FaultCaseMapper, Fault
|
|
|
public boolean update(FaultCaseBo faultCaseBo) {
|
|
|
FaultCase faultCase = MapstructUtils.convert(faultCaseBo, FaultCase.class);
|
|
|
if (ObjectUtil.isNotNull(faultCase) && ObjectUtil.isNotNull(faultCase.getId())) {
|
|
|
- boolean updated = this.updateById(faultCase);
|
|
|
- return updated;
|
|
|
+ return this.updateById(faultCase);
|
|
|
}
|
|
|
return false;
|
|
|
}
|