库存现有量
This commit is contained in:
parent
b5fe585553
commit
f682eca856
BIN
doc/设计文档/原型设计/截图/库存现有量.png
Normal file
BIN
doc/设计文档/原型设计/截图/库存现有量.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 56 KiB |
@ -36,7 +36,7 @@ public class WmTransactionServiceImpl implements IWmTransactionService
|
||||
private MdItemMapper mdItemMapper;
|
||||
|
||||
@Override
|
||||
public WmTransaction processTransaction(WmTransaction wmTransaction) {
|
||||
public synchronized WmTransaction processTransaction(WmTransaction wmTransaction) {
|
||||
WmMaterialStock stock = new WmMaterialStock();
|
||||
|
||||
validate(wmTransaction);
|
||||
|
@ -45,7 +45,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<select id="selectWmMaterialStockList" parameterType="WmMaterialStock" resultMap="WmMaterialStockResult">
|
||||
<include refid="selectWmMaterialStockVo"/>
|
||||
<where>
|
||||
<if test="itemTypeId != null "> and item_type_id = #{itemTypeId}</if>
|
||||
<if test="itemTypeId != null "> AND (item_type_id = #{itemTypeId} OR item_type_id in (select item_type_id from md_item_type where find_in_set(#{itemTypeId},ancestors)))</if>
|
||||
<if test="itemId != null "> and item_id = #{itemId}</if>
|
||||
<if test="itemCode != null and itemCode != ''"> and item_code = #{itemCode}</if>
|
||||
<if test="itemName != null and itemName != ''"> and item_name like concat('%', #{itemName}, '%')</if>
|
||||
|
Loading…
Reference in New Issue
Block a user