金属元素编码自动生成,公司中间表关联查询

This commit is contained in:
liss
2025-09-25 14:31:43 +08:00
parent 1eb013a7ac
commit aa0a77370b
11 changed files with 86 additions and 3 deletions

View File

@@ -118,7 +118,7 @@ public class ErpFactoryServiceImpl implements ErpFactoryService {
String companykey = "erp" + OftenEnum.FuncnrEnum.公司代码.getFuncnr();
Map<String,Long> redisCache = erpConfig.getRedisCacheMap(companykey);
if (CollUtil.isEmpty(redisCache)) {
return;
throw new RuntimeException("ERP公司代码缓存数据丢失,请重新同步公司代码");
}
for (String companyNumber : redisCache.keySet()) {
req.put("BUKRS", companyNumber);