|
|
|
@ -197,11 +197,14 @@
|
|
|
|
|
left JOIN basic_corp on basic_corp.erpId = company_product_relevance.customerId
|
|
|
|
|
left join basic_hosp_type bht on basic_udirel.relCode = bht.code
|
|
|
|
|
left join thr_products tp on tp.code = basic_udirel.mainId
|
|
|
|
|
|
|
|
|
|
left join basic_product_category_rel on basic_product_category_rel.relId = basic_udirel.id
|
|
|
|
|
<where>
|
|
|
|
|
<if test="ylqxzcrbarmc != '' and ylqxzcrbarmc != null">
|
|
|
|
|
AND basic_products.ylqxzcrbarmc LIKE concat('%', #{ylqxzcrbarmc}, '%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="category != '' and category != null">
|
|
|
|
|
AND basic_product_category_rel.code = #{category}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="manufactory != '' and manufactory != null">
|
|
|
|
|
AND basic_products.manufactory LIKE concat('%', #{manufactory}, '%')
|
|
|
|
|
</if>
|
|
|
|
|