master
wangning 7 years ago
parent 17aaa8e2db
commit 579a1cc472

@ -37,9 +37,13 @@ public class BillOrderCheckTask {
continue;
}
JSONObject order = orderMapper.find(p);
if(order.getIntValue("status")==3||order.getIntValue("status")==1){
int status = order.getIntValue("status");
if(status==3||status==1){
billOrderMapper.updateStatusByOrderId(p,"2");
}
if(status==5){
billOrderMapper.updateStatusByOrderId(p,"1");
}
}
}
}

Loading…
Cancel
Save