|
@@ -115,8 +115,8 @@ public class SupplierService extends BaseService<Supplier> {
|
|
|
Supplier supplier = supplierConvert.convertToPo(supplierVo);
|
|
Supplier supplier = supplierConvert.convertToPo(supplierVo);
|
|
|
try {
|
|
try {
|
|
|
super.updateByUuid(supplier);// 先更新的供应商表
|
|
super.updateByUuid(supplier);// 先更新的供应商表
|
|
|
- supplierMapper.batchDeleteBrand(supplier.getBrandIds());//批量删除供应商对应的供应商品牌
|
|
|
|
|
if ((supplier.getBrandIds() != null) && (supplier.getBrandIds().size()>0)) { //如果有 商品品牌 一起插入品牌
|
|
if ((supplier.getBrandIds() != null) && (supplier.getBrandIds().size()>0)) { //如果有 商品品牌 一起插入品牌
|
|
|
|
|
+ supplierMapper.batchDeleteBrand(supplier.getBrandIds());//批量删除供应商对应的供应商品牌
|
|
|
List<Supplier> Supplierlst = new ArrayList<>();
|
|
List<Supplier> Supplierlst = new ArrayList<>();
|
|
|
List<String> BrandIdList = new ArrayList<>();
|
|
List<String> BrandIdList = new ArrayList<>();
|
|
|
BrandIdList = supplier.getBrandIds();
|
|
BrandIdList = supplier.getBrandIds();
|