上架添加库存修改;
This commit is contained in:
+3
@@ -793,6 +793,9 @@ public class MaterialInventoryImpl extends ServiceImpl<MaterialInventoryMapper,
|
||||
materialInventory.setCreateByName(materialInventoryParamDO.getCreateByName());
|
||||
materialInventory.setCreateTime(new Date());
|
||||
materialInventory.setBarCode(materialInventoryParamDO.getBarCode());
|
||||
materialInventory.setLotNumber(materialInventoryParamDO.getLotNumber());
|
||||
materialInventory.setBatchNumber((materialInventoryParamDO.getBatchNumber()));
|
||||
materialInventory.setInOrderNumber((materialInventoryParamDO.getInOrderNumber()));
|
||||
materialInventoryMapper.insert(materialInventory);
|
||||
materialInventoryParamDO.setMaterialInventoryId(materialInventory.getMaterialInventoryId());
|
||||
} else {
|
||||
|
||||
@@ -983,6 +983,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="batchNumber != null and batchNumber != ''">
|
||||
AND a.batch_number = #{batchNumber}
|
||||
</if>
|
||||
<if test="inOrderNumber != null and inOrderNumber != ''">
|
||||
AND a.in_order_number = #{inOrderNumber}
|
||||
</if>
|
||||
<if test="lotNumber != null and lotNumber != ''">
|
||||
AND a.lot_number = #{lotNumber}
|
||||
</if>
|
||||
<if test="extAttr4 != null">
|
||||
AND TRUNC(a.EXT_ATTR_4) = TRUNC(#{extAttr4})
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user