lisai17@sina.com 2020-10-26 17:17:07 +08:00
parent f9a63a7699
commit e3e4ed4b17
1 changed files with 10 additions and 4 deletions

View File

@ -59,10 +59,6 @@ public class OrderTempSyncService {
SyncTask synctask = new SyncTask();
SyncTask synctaskincrement = new SyncTask();
if(orderInvalidVerify != null){
synctask.addUpdateData(orderInvalidVerify);
}
boolean ret = Db.tx(new IAtom() {
@Override
public boolean run() {
@ -75,6 +71,16 @@ public class OrderTempSyncService {
return false;
}
if(orderInvalidVerify != null){
ret = orderInvalidVerify.update();
if (!ret) {
return false;
}
synctask.addUpdateData(orderInvalidVerify);
}
// if(oldstate == OrderStateEnum.LEAVE.getStateid() ){
// Bocomm bocomm = Bocomm.dao.findFirst(
// "select * from bocomm t where t.order_sn = ? and t.state <= ? limit 0,1",