Browse Source

2025-08-21 ECN发起增加状态的筛选

master
fengyuan_yang 5 months ago
parent
commit
6962dd8f08
  1. 5
      src/main/resources/mapper/change/ChangeManagementMapper.xml

5
src/main/resources/mapper/change/ChangeManagementMapper.xml

@ -25,7 +25,7 @@
LEFT JOIN plm_customer_information j ON j.site = c.site and j.customer_no = c.customer_id
left join view_Project_final_Part b on a.site = b.site and a.project_id = b.project_id and a.test_part_no = b.test_part_no
<where>
a.site = #{query.site} AND isnull(a.ECN_flag, 'N') = 'N' and a.status = '已完成' and isnull(a.show_in_query_flag, 'Y') = 'Y'
a.site = #{query.site} AND isnull(a.ECN_flag, 'N') = 'N' and a.status <![CDATA[<>]]> 'cg' and isnull(a.show_in_query_flag, 'Y') = 'Y'
<if test = "query.buNo != null and query.buNo != ''">
AND b.bu_no = #{query.buNo}
</if>
@ -53,6 +53,9 @@
<if test = "query.oriCodeNo != null and query.oriCodeNo != ''">
AND a.ori_code_no like #{query.oriCodeNo}
</if>
<if test = "query.status != null and query.status != ''">
AND a.status = #{query.status}
</if>
</where>
</select>

Loading…
Cancel
Save