lisai17@sina.com 2020-11-03 09:49:49 +08:00
parent 68a4bb3175
commit 9a07838990
1 changed files with 2 additions and 2 deletions

View File

@ -1062,7 +1062,7 @@ public class OrderclusterSyncService extends BaseSyncService {
synctask.addSaveData(forwardoldobj);
} else {
// 已有的,直接更新重量
forwardoldobj.setTotalWeight(total_weight);
forwardoldobj.setTotalWeight(forwardoldobj.getTotalWeight().add(total_weight));
ret = forwardoldobj.update();
synctask.addUpdateData(forwardoldobj);
@ -1236,7 +1236,7 @@ public class OrderclusterSyncService extends BaseSyncService {
synctask.addSaveData(forwardoldobj);
} else {
// 已有的,直接更新重量
forwardoldobj.setTotalWeight(total_weight);
forwardoldobj.setTotalWeight(forwardoldobj.getTotalWeight().add(total_weight));
ret = forwardoldobj.update();
synctask.addUpdateData(forwardoldobj);