|
@@ -9,11 +9,11 @@
|
|
|
WHERE delete_flag = '0'
|
|
|
<if test="searchKeyWord != null and searchKeyWord != ''">
|
|
|
AND (lower(procurement_plan_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
|
- OR lower(title) like lower(CONCAT('%',#{searchKeyWord},'%')))
|
|
|
+ OR lower(title) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
|
OR lower(goods_name) like lower(CONCAT('%',#{searchKeyWord},'%')))
|
|
|
</if>
|
|
|
<if test="receivePrivate != null and receivePrivate != '' and receivePrivate != '全国'">
|
|
|
- AND (lower(receive_private) like lower(CONCAT('%',#{receivePrivate},'%'))
|
|
|
+ AND (lower(receive_private) like lower(CONCAT('%',#{receivePrivate},'%')))
|
|
|
</if>
|
|
|
<if test="pcFlag != null and pcFlag != ''">
|
|
|
AND comp_id = #{compId}
|
|
@@ -41,11 +41,11 @@
|
|
|
WHERE delete_flag = '0'
|
|
|
<if test="searchKeyWord != null and searchKeyWord != ''">
|
|
|
AND (lower(procurement_plan_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
|
- OR lower(title) like lower(CONCAT('%',#{searchKeyWord},'%')))
|
|
|
+ OR lower(title) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
|
OR lower(goods_name) like lower(CONCAT('%',#{searchKeyWord},'%')))
|
|
|
</if>
|
|
|
<if test="receivePrivate != null and receivePrivate != '' and receivePrivate != '全国'">
|
|
|
- AND (lower(receive_private) like lower(CONCAT('%',#{receivePrivate},'%'))
|
|
|
+ AND (lower(receive_private) like lower(CONCAT('%',#{receivePrivate},'%')))
|
|
|
</if>
|
|
|
<if test="pcFlag != null and pcFlag != ''">
|
|
|
AND comp_id = #{compId}
|