|
@@ -182,6 +182,9 @@ public class WindEngineGroupServiceImpl extends BaseServiceImpl<WindEngineGroupP
|
|
|
Example.Criteria criteria = queryExample.createCriteria();
|
|
|
criteria.andEqualTo("engineCode", windEngineGroupCodeDto.getEngineCode());
|
|
|
|
|
|
+ if (windEngineGroupMapper.updateByExampleSelective(po,queryExample) <= 0) {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
|
|
|
// 处理总额定功率
|
|
|
WindEngineGroupPO windEngineGroupPO = new WindEngineGroupPO();
|
|
@@ -204,8 +207,7 @@ public class WindEngineGroupServiceImpl extends BaseServiceImpl<WindEngineGroupP
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- return windEngineGroupMapper.updateByExampleSelective(po, queryExample) > 0;
|
|
|
+ return true;
|
|
|
}
|
|
|
|
|
|
@Override
|