|
@@ -58,6 +58,7 @@
|
|
from tb_business_item a,tb_business b where a.business_id=b.id
|
|
from tb_business_item a,tb_business b where a.business_id=b.id
|
|
<if test=' this.has("id") '>and a.id = #{id}</if>
|
|
<if test=' this.has("id") '>and a.id = #{id}</if>
|
|
<if test=' this.has("goodsId") '>and b.goods_id = #{goodsId}</if>
|
|
<if test=' this.has("goodsId") '>and b.goods_id = #{goodsId}</if>
|
|
|
|
+ <if test=' this.has("businessNo") '>and b.no = #{businessNo}</if>
|
|
<if test=' this.has("businessId") '>and a.business_id = #{businessId}</if>
|
|
<if test=' this.has("businessId") '>and a.business_id = #{businessId}</if>
|
|
<if test=' this.has("pickCustomerId") '>and a.pick_customer_id = #{pickCustomerId}</if>
|
|
<if test=' this.has("pickCustomerId") '>and a.pick_customer_id = #{pickCustomerId}</if>
|
|
<if test=' this.has("itemCode") '>and a.item_code = #{itemCode}</if>
|
|
<if test=' this.has("itemCode") '>and a.item_code = #{itemCode}</if>
|