admin
2020-07-04 f862a844ea7e212f8cc0622b858308e2b91dca2e
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());