feat: 项目管理字段调整

This commit is contained in:
caiyuchao
2025-08-15 15:58:58 +08:00
parent 8ea207fc0d
commit 3e2a824f8e
12 changed files with 157 additions and 72 deletions

View File

@@ -31,8 +31,8 @@
<if test="query.businessStatus != null">
AND p.business_status = #{query.businessStatus}
</if>
<if test="query.businessOwner != null and query.businessOwner != ''">
AND p.business_owner LIKE CONCAT('%',#{query.businessOwner},'%')
<if test="query.businessOwner != null">
AND p.business_owner = #{query.businessOwner}
</if>
<if test="query.customerOwner != null and query.customerOwner != ''">
AND p.customer_owner LIKE CONCAT('%',#{query.customerOwner},'%')
@@ -55,10 +55,10 @@
<if test="query.serialNo != null and query.serialNo != ''">
AND CONCAT( c.`code`, p.`code` ) LIKE CONCAT('%',#{query.serialNo},'%')
</if>
<if test="query.technicalOwner != null and query.technicalOwner != ''">
AND (p.technical_owner_a LIKE CONCAT('%',#{query.technicalOwner},'%')
OR p.technical_owner_b LIKE CONCAT('%',#{query.technicalOwner},'%')
OR p.technical_owner_c LIKE CONCAT('%',#{query.technicalOwner},'%'))
<if test="query.technicalOwner != null">
AND (p.technical_owner_a = #{query.technicalOwner}
OR p.technical_owner_b = #{query.technicalOwner}
OR p.technical_owner_c = #{query.technicalOwner})
</if>
ORDER BY