Commit be903f2a authored by fangxinjiang's avatar fangxinjiang

员工报账查询优化代码注释删除-fxj

parent 9ee5cdfb
...@@ -554,9 +554,7 @@ ...@@ -554,9 +554,7 @@
</if> </if>
<where> <where>
a.DELETE_FLAG = 0 a.DELETE_FLAG = 0
/*and not EXISTS (
select 1 from t_dept_see d where a.DEPT_NO = d.DEPT_NO and d.CAN_SEE = 1
)*/
<include refid="tSalaryAccount_where"/> <include refid="tSalaryAccount_where"/>
<if test="deptNos != null and deptNos.size>0"> <if test="deptNos != null and deptNos.size>0">
AND a.DEPT_NO not in AND a.DEPT_NO not in
...@@ -877,9 +875,7 @@ ...@@ -877,9 +875,7 @@
left join sys_area ap on ap.id=a.BANK_PROVINCE left join sys_area ap on ap.id=a.BANK_PROVINCE
left join sys_area ac on ac.id=a.BANK_CITY left join sys_area ac on ac.id=a.BANK_CITY
<where> <where>
a.DELETE_FLAG = 0 and not EXISTS ( a.DELETE_FLAG = 0
select 1 from t_dept_see d where a.DEPT_NO = d.DEPT_NO and d.CAN_SEE = 1
)
<include refid="where_export"/> <include refid="where_export"/>
<if test="searchVo.authSql != null and searchVo.authSql.trim() != ''"> <if test="searchVo.authSql != null and searchVo.authSql.trim() != ''">
${searchVo.authSql} ${searchVo.authSql}
...@@ -1067,9 +1063,7 @@ ...@@ -1067,9 +1063,7 @@
t_salary_account_hro_2021 a t_salary_account_hro_2021 a
</if> </if>
<where> <where>
a.DELETE_FLAG = 0 and not EXISTS ( a.DELETE_FLAG = 0
select 1 from t_dept_see d where a.DEPT_NO = d.DEPT_NO and d.CAN_SEE = 1
)
<include refid="where_export"/> <include refid="where_export"/>
<if test="searchVo.authSql != null and searchVo.authSql.trim() != ''"> <if test="searchVo.authSql != null and searchVo.authSql.trim() != ''">
${searchVo.authSql} ${searchVo.authSql}
...@@ -1529,9 +1523,7 @@ ...@@ -1529,9 +1523,7 @@
left join sys_area ac on ac.id=a.BANK_CITY left join sys_area ac on ac.id=a.BANK_CITY
<where> <where>
a.DELETE_FLAG = 0 a.DELETE_FLAG = 0
/*and not EXISTS (
select 1 from t_dept_see d where a.DEPT_NO = d.DEPT_NO and d.CAN_SEE = 1
)*/
<include refid="where_export"/> <include refid="where_export"/>
<if test="deptNos != null and deptNos.size>0"> <if test="deptNos != null and deptNos.size>0">
AND a.DEPT_NO not in AND a.DEPT_NO not in
...@@ -1564,9 +1556,7 @@ ...@@ -1564,9 +1556,7 @@
</if> </if>
<where> <where>
a.DELETE_FLAG = 0 a.DELETE_FLAG = 0
/*and not EXISTS (
select 1 from t_dept_see d where a.DEPT_NO = d.DEPT_NO and d.CAN_SEE = 1
)*/
<include refid="where_export"/> <include refid="where_export"/>
<if test="deptNos != null and deptNos.size>0"> <if test="deptNos != null and deptNos.size>0">
AND a.DEPT_NO not in AND a.DEPT_NO not in
......
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