| | |
| | | package com.consum.base.service; |
| | | |
| | | import com.consum.base.core.util.LockManage; |
| | | import com.consum.base.core.WhBusinessEnum; |
| | | import com.consum.base.core.utils.LockManage; |
| | | import com.consum.model.po.*; |
| | | import com.iplatform.model.po.S_user_core; |
| | | import com.walker.infrastructure.utils.CollectionUtils; |
| | |
| | | @Slf4j |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public class LWhFormTransferCoreService { |
| | | |
| | | @Resource |
| | | private LWhFormTransferServiceImpl lWhFormTransferService; |
| | | @Resource |
| | |
| | | return; |
| | | } |
| | | // 出库单 出库,返回 出库单流水Id |
| | | Long lWarehouseFlowId = lWhFormOutputCoreService.outFormByTransId(outWarehouseFormId, currentUser, dealTime); |
| | | Long lWarehouseFlowId = lWhFormOutputCoreService.outFormByTransId(outWarehouseFormId, WhBusinessEnum.DIAOBO, currentUser, dealTime); |
| | | |
| | | // 更新调拨单 |
| | | lWhFormTransfer = new LWhFormTransfer(whFormTransferId); |
| | |
| | | //单据类型。0仓库调拨;1部门分发;2部门物品回退 |
| | | Integer businessType = lWhFormTransfer.getBusinessType(); |
| | | //状态(0=在途调拨;1=入库未分发;2=已下发;3=报废 4 零星出库) |
| | | short goodsStatus = 1; |
| | | Integer goodsStatus = 1; |
| | | //类型0分发使用1 反库 |
| | | Integer recordType = null; |
| | | if (businessType == 1) { |