dev
parent
68a4bb3175
commit
9a07838990
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue