|
@@ -76,17 +76,23 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
SELECT LISTAGG(CONFIRMED_PERSON , ',') WITHIN GROUP (ORDER BY CONFIRMED_PERSON)AS CONFIRMED_PERSON
|
|
|
FROM (
|
|
|
select CONFIRMED_PERSON from T_PSSR_OVERHAUL_EXCHANGER where sub_id= #{subId}
|
|
|
- <if test="approveStatus != null "> and approve_status = #{approveStatus}</if>union
|
|
|
+ <if test="approveStatus != null "> and approve_status = #{approveStatus}</if>
|
|
|
+ and del_flag = 0 union
|
|
|
select RESP_PERSON from T_PSSR_OVERHAUL_FILTER where sub_id= #{subId}
|
|
|
- <if test="approveStatus != null "> and approve_status = #{approveStatus}</if>union
|
|
|
+ <if test="approveStatus != null "> and approve_status = #{approveStatus}</if>
|
|
|
+ and del_flag = 0 union
|
|
|
select CONFIRMER from T_PSSR_OVERHAUL_PIPE where sub_id= #{subId}
|
|
|
- <if test="approveStatus != null "> and approve_status = #{approveStatus}</if>union
|
|
|
+ <if test="approveStatus != null "> and approve_status = #{approveStatus}</if>
|
|
|
+ and del_flag = 0 union
|
|
|
select CONFIRMED_PERSON from T_PSSR_OVERHAUL_PUMP where sub_id= #{subId}
|
|
|
- <if test="approveStatus != null "> and approve_status = #{approveStatus}</if>union
|
|
|
+ <if test="approveStatus != null "> and approve_status = #{approveStatus}</if>
|
|
|
+ and del_flag = 0 union
|
|
|
select CONFIRMED_PERSON from T_PSSR_OVERHAUL_TOWER where sub_id= #{subId}
|
|
|
- <if test="approveStatus != null "> and approve_status = #{approveStatus}</if>union
|
|
|
+ <if test="approveStatus != null "> and approve_status = #{approveStatus}</if>
|
|
|
+ and del_flag = 0 union
|
|
|
select IDENTIFYING_PERSON from T_PSSR_OVERHAUL_VALVE where sub_id= #{subId}
|
|
|
- <if test="approveStatus != null "> and approve_status = #{approveStatus}</if>)
|
|
|
+ <if test="approveStatus != null "> and approve_status = #{approveStatus}</if>
|
|
|
+ and del_flag = 0)
|
|
|
</select>
|
|
|
|
|
|
<update id="updateAllBySubId" parameterType="TPssrOverhaulExchanger">
|