From 9d35ba657fa5e3add766405d76e3ff8c4dcd4ad4 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 04 七月 2020 15:38:00 +0800 Subject: [PATCH] 多系统兼容优化 --- fanli/src/main/java/com/yeshi/fanli/service/impl/brand/BrandInfoServiceImpl.java | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/brand/BrandInfoServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/brand/BrandInfoServiceImpl.java index 28bc515..63e3deb 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/brand/BrandInfoServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/brand/BrandInfoServiceImpl.java @@ -8,6 +8,7 @@ import javax.annotation.Resource; +import com.yeshi.fanli.entity.SystemEnum; import org.springframework.cache.annotation.Cacheable; import org.springframework.core.task.TaskExecutor; import org.springframework.stereotype.Service; @@ -186,7 +187,7 @@ executor.execute(new Runnable() { @Override public void run() { - BrandInfo numInfo = brandGoodsCaheService.addBrandGoods(record); + BrandInfo numInfo = brandGoodsCaheService.addBrandGoods(record, SystemEnum.blks); BrandInfo update = new BrandInfo(); update.setId(record.getId()); @@ -413,7 +414,7 @@ if (StringUtil.isNullOrEmpty(name) && StringUtil.isNullOrEmpty(searchKey)) continue; // 娣诲姞鍟嗗搧 - BrandInfo numInfo = brandGoodsCaheService.addBrandGoods(brandInfo); + BrandInfo numInfo = brandGoodsCaheService.addBrandGoods(brandInfo, SystemEnum.blks); BrandInfo updateInfo = new BrandInfo(); updateInfo.setId(brandInfo.getId()); -- Gitblit v1.8.0