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