|
@@ -18,7 +18,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
left join sys_dept t2 on t1.dept_id = t2.dept_id
|
|
|
left join biz_production_plan_detail t3 on t1.production_plan_detail_id = t3.id
|
|
|
<trim prefix=" WHERE" suffix="" suffixOverrides="AND">
|
|
|
- t1.deleted = 0 and t1.take_stock_period_id = #{takeStockPeriodId} and t1.is_waste = 0 and t1.status <2 AND t1.is_establish_inbound=0
|
|
|
+ t1.deleted = 0 and t1.take_stock_period_id = #{takeStockPeriodId} and t1.is_waste = 0 AND t1.is_establish_inbound=0
|
|
|
<if test="productDescription != null and productDescription != ''"> AND t1.product_description like concat('%', #{productDescription}, '%')</if>
|
|
|
<if test="lotCode != null and lotCode != ''"> AND t1.lot_code like concat('%', #{lotCode},'%')</if>
|
|
|
<if test="isTaksStock != null "> AND t1.is_taks_stock = #{isTaksStock}</if>
|