|
|
@@ -65,6 +65,12 @@
|
|
|
<if test="bo.goodsLossMonthlyMainId != null and bo.goodsLossMonthlyMainId > 0">
|
|
|
and dorarm.goodsLossMonthlyMainId = #{bo.goodsLossMonthlyMainId}
|
|
|
</if>
|
|
|
+ <if test="bo.goodsCode != null and bo.goodsCode != ''">
|
|
|
+ and pd.code like concat('%', #{bo.goodsCode}, '%')
|
|
|
+ </if>
|
|
|
+ <if test="bo.goodsName != null and bo.goodsName != ''">
|
|
|
+ and pd.display_name like concat('%', #{bo.goodsName}, '%')
|
|
|
+ </if>
|
|
|
</where>
|
|
|
order by dorard.id desc
|
|
|
</select>
|