|
|
|
@@ -218,13 +218,6 @@ public class WxFlowServiceImpl implements WxFlowService { |
|
|
|
wxFlowRecord.setStatus(EnumFlowRecordStatus.ASSIGNEE.getCode()); |
|
|
|
result.add(0,wxFlowRecord); |
|
|
|
} |
|
|
|
|
|
|
|
for (WxFlowRecord wxFlowRecord:result) { |
|
|
|
if(wxFlowRecord.getStatus() == 1){ |
|
|
|
wxFlowRecord.setIsLastStart(1); |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@@ -282,6 +275,15 @@ public class WxFlowServiceImpl implements WxFlowService { |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if(CollectionUtils.isNotEmpty(resultList)){ |
|
|
|
for (WxFlowRecord wxFlowRecord:resultList) { |
|
|
|
if(wxFlowRecord.getStatus() == 1){ |
|
|
|
wxFlowRecord.setIsLastStart(1); |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
return new ResultData(resultList); |
|
|
|
} |
|
|
|
|
|
|
|
|