fix: sku weight sync disable

pull/8040/head
Gauthier LO 2024-12-13 16:27:14 +01:00
parent 04c22c5f03
commit 7649990554
1 changed files with 4 additions and 3 deletions

View File

@ -259,9 +259,10 @@ public class SkuListMabangServiceImpl extends ServiceImpl<SkuListMabangMapper, S
// update sku_weight
String remark = updateSkuWeight(s, skuData.getSaleRemark());
if(!remark.isEmpty())
updatedSkusRemarkMap.put(s, remark);
else
// 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, "");
}
if(!skusToUpdate.isEmpty())