Commit d2a39921 authored by chenzhao's avatar chenzhao

统计状态细分bug

parent d02986b3
......@@ -1508,7 +1508,7 @@ public class WorkOrderServiceImpl extends BaseService<WorkOrderDto, WorkOrder, W
//修改施工电站状态
LambdaUpdateWrapper<WorkOrderPowerStation> qu = new LambdaUpdateWrapper();
qu.eq(WorkOrderPowerStation::getPeasantHouseholdId, hygfRectificationOrder.getPeasantHouseholeId());
qu.set(WorkOrderPowerStation::getPowerStationConstructionStatus,WorkOrderEnum.待审核.getCode());
qu.set(WorkOrderPowerStation::getPowerStationConstructionStatus,WorkOrderEnum.getNodeByCode(hygfRectificationOrder.getRectificationSource()).getName());
workOrderPowerStationMapper.update(null,qu);
......
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