fix: sku weight sync disable

pull/8040/head
Gauthier LO 2024-12-13 16:56:16 +01:00
parent 7649990554
commit 74e7df9dda
1 changed files with 2 additions and 2 deletions

View File

@ -258,12 +258,12 @@ public class SkuListMabangServiceImpl extends ServiceImpl<SkuListMabangMapper, S
skusToUpdate.add(s);
// update sku_weight
String remark = updateSkuWeight(s, skuData.getSaleRemark());
// String remark = updateSkuWeight(s, skuData.getSaleRemark());
// TODO : disabled temporarily because we are not updating the weight on Mabang, thus creating conflicts
// if(!remark.isEmpty())
// updatedSkusRemarkMap.put(s, remark);
// else
updatedSkusRemarkMap.put(s, "");
updatedSkusRemarkMap.put(s, "");
}
if(!skusToUpdate.isEmpty())
skuService.updateBatchById(skusToUpdate);