|
@@ -17,6 +17,7 @@ import com.zfire.jiasm.syncdata.utils.JSONResult;
|
|
|
import com.zfire.jiasm.syncdata.utils.TokenCenter;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.apache.commons.collections4.CollectionUtils;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
@@ -50,7 +51,7 @@ public class BaseDownServiceImpl implements BaseDownService {
|
|
|
TokenCenter tokenCenter;
|
|
|
@Resource
|
|
|
GLPPGFWebsitService glppgfWebsitService;
|
|
|
- @Resource
|
|
|
+ @Autowired
|
|
|
BrandService brandService;
|
|
|
@Resource
|
|
|
GLPPGFWebsitWorkerService glppgfWebsitWorkerService;
|
|
@@ -481,9 +482,12 @@ public class BaseDownServiceImpl implements BaseDownService {
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
Map<String, String> paramMap = new HashMap<String, String>();
|
|
|
List<String> req = new ArrayList<>();
|
|
|
+ String brands="格力";
|
|
|
|
|
|
// 提取品牌信息
|
|
|
- Brand record = brandService.lambdaQuery().eq(Brand::getBrand,"格力").one();
|
|
|
+ Brand record = brandService.lambdaQuery()
|
|
|
+ .eq(Brand::getBrand,brands).one();
|
|
|
+
|
|
|
if (record == null){
|
|
|
log.info("格力品牌信息不存在【brand】");
|
|
|
return;
|