Commit 68226638 authored by hezhuozhi's avatar hezhuozhi

fix 新增并网记录重复增加

parent 10d69cd9
......@@ -932,7 +932,7 @@ public class WorkOrderServiceImpl extends BaseService<WorkOrderDto, WorkOrder, W
// if (b == null) {
// basicGridAcceptanceMapper.insert(dat);
// }
basicGridAcceptanceService.saveOrUpdate(dat);
basicGridAcceptanceService.saveOrUpdate(dat,new LambdaQueryWrapper<BasicGridAcceptance>().eq(BasicGridAcceptance::getPeasantHouseholdId,workOrderPowerStation.getPeasantHouseholdId()));
workOrderPowerStationMapper.updateById(workOrderPowerStation);
// 修改派工单状态
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment