master
wangning 7 years ago
parent 8943d91097
commit 3358eb269c

@ -32,11 +32,14 @@ public class BillOrderCheckTask {
if(CollectionUtils.isEmpty(orderIds)){ if(CollectionUtils.isEmpty(orderIds)){
return; return;
} }
orderIds.forEach((p) -> { for (String p : orderIds) {
if (p==null){
continue;
}
JSONObject order = orderMapper.find(p); JSONObject order = orderMapper.find(p);
if(order.getIntValue("status")==3||order.getIntValue("status")==1){ if(order.getIntValue("status")==3||order.getIntValue("status")==1){
billOrderMapper.updateStatusByOrderId(p,"2"); billOrderMapper.updateStatusByOrderId(p,"2");
} }
}); }
} }
} }

Loading…
Cancel
Save