futian.liu
2023-12-22 3e9a4b3480e6508f3c6f7ac8723509d8b1120d20
consum-base/src/main/java/com/consum/base/service/core/LWhWarningCoreService.java
File was renamed from consum-base/src/main/java/com/consum/base/core/service/LWhWarningCoreServiceImpl.java
@@ -1,4 +1,4 @@
package com.consum.base.core.service;
package com.consum.base.service.core;
import java.util.ArrayList;
import java.util.List;
@@ -15,7 +15,7 @@
import com.consum.base.core.utils.IdUtil;
import com.consum.base.service.BaseGoodsModelsService;
import com.consum.base.service.BaseWarehouseService;
import com.consum.base.service.LWhWarningServiceImpl;
import com.consum.base.service.LWhWarningService;
import com.consum.model.po.BaseWarehouse;
import com.consum.model.po.FinSysTenantUser;
import com.consum.model.po.WhWarning;
@@ -31,10 +31,10 @@
 **/
@Service
@Transactional(rollbackFor = Exception.class, propagation = Propagation.REQUIRED)
public class LWhWarningCoreServiceImpl {
public class LWhWarningCoreService {
    @Resource
    private LWhWarningServiceImpl lWhWarningService;
    private LWhWarningService lWhWarningService;
    @Resource
    private BaseWarehouseService baseWarehouseService;
    @Resource
@@ -56,7 +56,6 @@
        // 获取到达到阈值的物品
        List<Map<String, Object>> kuCunNotifyList =
            lWhWarningService.checkKuCun(warehouseType, warehouseId, baseModelIdList);
        // log.info("没有达到阈值的物品");
        if (CollectionUtils.isEmpty(kuCunNotifyList)) {
            kuCunNormalModel(warehouseType, warehouseId, baseModelIdList);
            return;