服务指令-请领流程退回作废bug
This commit is contained in:
parent
cc4e6c4d17
commit
4c0bb2e677
|
|
@ -239,9 +239,15 @@ public class QlOrdersServiceImpl extends ServiceImpl<InvoicingOrdersMapper, Invo
|
||||||
baseMapper.updateOrder(entity);
|
baseMapper.updateOrder(entity);
|
||||||
//回退指令
|
//回退指令
|
||||||
List<InvoicingOrders> htFlowList = baseMapper.getFlowList(invoicingOrdersEntity);
|
List<InvoicingOrders> htFlowList = baseMapper.getFlowList(invoicingOrdersEntity);
|
||||||
for(int i=0;i<htFlowList.size();i++){
|
if(htFlowList!=null){
|
||||||
InvoicingOrders htFlow = htFlowList.get(i);
|
InvoicingOrders htFlow = htFlowList.get(0);
|
||||||
insertNextOrder(htFlow,invoicingOrdersEntity,employeeId,employeeName,employeeId,employeeName,"ql_sq","Y");
|
String subId = htFlow.getSubId();
|
||||||
|
if(subId!=null&&!subId.equals("")){
|
||||||
|
InvoicingOrders invoicingOrders = new InvoicingOrders();
|
||||||
|
invoicingOrders.setFlowId(subId);
|
||||||
|
InvoicingOrders flowSub = baseMapper.getFlowOne(invoicingOrders);
|
||||||
|
insertNextOrder(flowSub,invoicingOrdersEntity,employeeId,employeeName,employeeId,employeeName,flowSub.getFlowCode(),"Y");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue