Commit 4577cd95 authored by huyuchen's avatar huyuchen

huych-含风险项目商险不购买申请提交

parent 08a3c6aa
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
inner join t_insurance_unpurchase_person b inner join t_insurance_unpurchase_person b
on a.id = b.PARNET_ID on a.id = b.PARNET_ID
where where
1=1 and a.DELETE_FLAG = '0' and a.reason_type = '1' and a.status != '0' 1=1 and a.DELETE_FLAG = '0' and a.reason_type = '1' and a.status in ('2','3')
<if test="id != null "> <if test="id != null ">
AND a.id != #{id} AND a.id != #{id}
</if> </if>
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
inner join t_insurance_unpurchase_person b inner join t_insurance_unpurchase_person b
on a.id = b.PARNET_ID on a.id = b.PARNET_ID
where where
1=1 and a.DELETE_FLAG = '0' and a.reason_type = '2' and a.status != '0' and b.SALARY_NUM = 0 1=1 and a.DELETE_FLAG = '0' and a.reason_type = '2' and a.status in ('2','3') and b.SALARY_NUM = 0
<if test="id != null "> <if test="id != null ">
AND a.id != #{id} AND a.id != #{id}
</if> </if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment