|
@@ -90,7 +90,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
AND t4.is_inner_outsource = 0
|
|
|
<if test="takeStockPeriodId != null and takeStockPeriodId != ''"> AND t1.take_stock_period_id = #{takeStockPeriodId}</if>
|
|
|
<if test="outsourceFormNo != null and outsourceFormNo != ''"> AND t2.form_code = #{outsourceFormNo}</if>
|
|
|
- <if test="lotCode != null and lotCode != ''"> AND t1.lot_code = #{lotCode}</if>
|
|
|
+ <if test="lotCode != null and lotCode != ''"> AND t1.lot_code like concat('%', #{lotCode},'%')</if>
|
|
|
AND t2.production_dept_id = 0
|
|
|
AND t2.deleted = 0
|
|
|
AND (
|