盘点入库记录到input_apply_details
This commit is contained in:
parent
8ffbbc8dd4
commit
ef59a9c084
|
|
@ -144,7 +144,11 @@ public class InventoryAndWarehousingServiceImpl implements InventoryAndWarehousi
|
||||||
InputApplyDetails applyDetails = new InputApplyDetails();
|
InputApplyDetails applyDetails = new InputApplyDetails();
|
||||||
applyDetails.setTaskId(0L);
|
applyDetails.setTaskId(0L);
|
||||||
applyDetails.setTypeId(Long.parseLong(machIneDto.getTypeId()));
|
applyDetails.setTypeId(Long.parseLong(machIneDto.getTypeId()));
|
||||||
applyDetails.setInputNum(machIneDto.getPutInStoreNum() == null ? 0 : machIneDto.getPutInStoreNum());
|
if (StringUtils.isEmpty(machIneDto.getMaCode())) {
|
||||||
|
applyDetails.setInputNum(machIneDto.getPutInStoreNum() == null ? 0 : machIneDto.getPutInStoreNum());
|
||||||
|
} else {
|
||||||
|
applyDetails.setInputNum(1);
|
||||||
|
}
|
||||||
applyDetails.setMaId(machIneDto.getMaId());
|
applyDetails.setMaId(machIneDto.getMaId());
|
||||||
applyDetails.setInputType("4");
|
applyDetails.setInputType("4");
|
||||||
applyDetails.setCreateTime(new Date());
|
applyDetails.setCreateTime(new Date());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue