File was renamed from consum-base/src/main/java/com/consum/base/core/service/LWhWarningCoreServiceImpl.java |
| | |
| | | package com.consum.base.core.service; |
| | | package com.consum.base.service.core; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | |
| | | 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; |
| | |
| | | **/ |
| | | @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 |
| | |
| | | // 获取到达到阈值的物品 |
| | | List<Map<String, Object>> kuCunNotifyList = |
| | | lWhWarningService.checkKuCun(warehouseType, warehouseId, baseModelIdList); |
| | | // log.info("没有达到阈值的物品"); |
| | | if (CollectionUtils.isEmpty(kuCunNotifyList)) { |
| | | kuCunNormalModel(warehouseType, warehouseId, baseModelIdList); |
| | | return; |