|
@@ -127,25 +127,27 @@
|
|
|
AND announcement_title LIKE CONCAT('%',#{announcementTitle},'%')
|
|
AND announcement_title LIKE CONCAT('%',#{announcementTitle},'%')
|
|
|
</if>
|
|
</if>
|
|
|
<!-- 项目编号 精准查询 -->
|
|
<!-- 项目编号 精准查询 -->
|
|
|
- <if test="projectCode != null and projectCode != ''">
|
|
|
|
|
- AND project_code = #{projectId}
|
|
|
|
|
- </if>
|
|
|
|
|
- <!-- 采购单位 模糊查询 -->
|
|
|
|
|
- <if test="purchaseUnit != null and purchaseUnit != ''">
|
|
|
|
|
- AND purchase_unit LIKE CONCAT('%',#{purchaseUnit},'%')
|
|
|
|
|
|
|
+ <if test="projectName != null and projectName != ''">
|
|
|
|
|
+ AND project_name = #{projectName}
|
|
|
</if>
|
|
</if>
|
|
|
<!-- 是否相关 精准查询 -->
|
|
<!-- 是否相关 精准查询 -->
|
|
|
<if test="isRelevant != null">
|
|
<if test="isRelevant != null">
|
|
|
AND is_relevant = #{isRelevant}
|
|
AND is_relevant = #{isRelevant}
|
|
|
</if>
|
|
</if>
|
|
|
- <!-- 客户群 精准查询 -->
|
|
|
|
|
- <if test="customerGroup != null and customerGroup != ''">
|
|
|
|
|
- AND customer_group = #{customerGroup}
|
|
|
|
|
|
|
+ <!-- 分公司 -->
|
|
|
|
|
+ <if test="branchCompany != null and branchCompany != ''">
|
|
|
|
|
+ AND branch_company = #{branchCompany}
|
|
|
</if>
|
|
</if>
|
|
|
<!-- 是否参与 精准查询 -->
|
|
<!-- 是否参与 精准查询 -->
|
|
|
<if test="isParticipate != null">
|
|
<if test="isParticipate != null">
|
|
|
AND is_participate = #{isParticipate}
|
|
AND is_participate = #{isParticipate}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="category != null and category != '' ">
|
|
|
|
|
+ AND category = #{category}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="category != null and category != '' ">
|
|
|
|
|
+ AND category = #{category}
|
|
|
|
|
+ </if>
|
|
|
<!-- 排序:按创建时间倒序,最新的在前面 -->
|
|
<!-- 排序:按创建时间倒序,最新的在前面 -->
|
|
|
ORDER BY create_time DESC
|
|
ORDER BY create_time DESC
|
|
|
</select>
|
|
</select>
|