|
|
@@ -7,7 +7,7 @@
|
|
|
select t1.id,t2.name as org_name,t3.name as user_name,t1.shen_qing_ri_qi4752,t1.folder_id,t1.number,t1.total_amount from wf_subscription t1
|
|
|
left join xjr_department t2 on t1.application_department = t2.id
|
|
|
left join xjr_user t3 on t1.user_id = t3.id
|
|
|
- where 1 = 1
|
|
|
+ where t1.status = 1
|
|
|
<if test="dto.orgId != null">
|
|
|
and t1.id = #{dto.orgId}
|
|
|
</if>
|
|
|
@@ -24,7 +24,7 @@
|
|
|
select t1.id,t2.name as org_name,t3.name as user_name,t1.shen_qing_ri_qi4752, t1.folder_id,t1.number,t1.total_amount from wf_subscription t1
|
|
|
left join xjr_department t2 on t1.application_department = t2.id
|
|
|
left join xjr_user t3 on t1.user_id = t3.id
|
|
|
- where 1 = 1
|
|
|
+ where t1.status = 1
|
|
|
<if test="dto.orgId != null">
|
|
|
and t1.id = #{dto.orgId}
|
|
|
</if>
|