| | |
| | | import com.ruoyi.business.entity.PendingInventory; |
| | | import com.ruoyi.business.mapper.OfficialInventoryMapper; |
| | | import com.ruoyi.business.mapper.PendingInventoryMapper; |
| | | import com.ruoyi.business.service.InputInventoryRecordService; |
| | | import com.ruoyi.business.service.InventorySummaryService; |
| | | import com.ruoyi.business.service.PendingInventoryService; |
| | | import com.ruoyi.common.exception.base.BaseException; |
| | | import com.ruoyi.common.utils.bean.BeanUtils; |
| | |
| | | private final CoalValueMapper coalValueMapper; |
| | | |
| | | private final CoalFieldMapper coalFieldMapper; |
| | | |
| | | private final InputInventoryRecordService inputInventoryRecordService; |
| | | |
| | | private final InventorySummaryService inventorySummaryService; |
| | | |
| | | @Override |
| | | public IPage<PendingInventoryDto> selectPendingInventoryList(Page page, PendingInventoryDto pendingInventoryDto) { |
| | |
| | | } |
| | | return i; |
| | | } |
| | | |
| | | // 处理明细和库存数量 |
| | | private int handeInventoryQuantity(PendingInventoryDto pendingInventoryDto) { |
| | | inputInventoryRecordService.insertInputInventoryRecord(pendingInventoryDto, null, pendingInventoryDto.getInventoryQuantity()); |
| | | return inventorySummaryService.updateInventory(pendingInventoryDto, null); |
| | | }; |
| | | } |