Commit a1feddee authored by hongguangwu's avatar hongguangwu

and b.DELETE_FLAG = '0'

parent e4901d56
...@@ -412,7 +412,7 @@ ...@@ -412,7 +412,7 @@
<include refid="baseParam"/> <include refid="baseParam"/>
from t_employee_info a from t_employee_info a
left join t_employee_project b on a.id = b.EMP_ID left join t_employee_project b on a.id = b.EMP_ID
where a.DELETE_FLAG = '0' where a.DELETE_FLAG = '0' and b.DELETE_FLAG = '0'
<include refid="employeeInfo_where"/> <include refid="employeeInfo_where"/>
${sql} ${sql}
group by a.id order by a.CREATE_TIME desc group by a.id order by a.CREATE_TIME desc
...@@ -432,7 +432,7 @@ ...@@ -432,7 +432,7 @@
,a.LEAVE_REASON ,a.LEAVE_REASON
from t_employee_info a from t_employee_info a
left join t_employee_project b on a.id = b.EMP_ID left join t_employee_project b on a.id = b.EMP_ID
where a.DELETE_FLAG = '0' where a.DELETE_FLAG = '0' and b.DELETE_FLAG = '0'
<include refid="employeeInfo_where"/> <include refid="employeeInfo_where"/>
${sql} ${sql}
group by a.id order by a.CREATE_TIME desc group by a.id order by a.CREATE_TIME desc
...@@ -455,7 +455,7 @@ ...@@ -455,7 +455,7 @@
<include refid="baseParam"/> <include refid="baseParam"/>
from t_employee_info a from t_employee_info a
left join t_employee_project b on a.id = b.EMP_ID left join t_employee_project b on a.id = b.EMP_ID
where a.DELETE_FLAG = '0' where a.DELETE_FLAG = '0' and b.DELETE_FLAG = '0'
<include refid="employeeInfo_where"/> <include refid="employeeInfo_where"/>
group by a.id order by a.CREATE_TIME desc group by a.id order by a.CREATE_TIME desc
</select> </select>
...@@ -544,7 +544,7 @@ ...@@ -544,7 +544,7 @@
from t_employee_info a from t_employee_info a
left join t_employee_project b on a.id = b.EMP_ID left join t_employee_project b on a.id = b.EMP_ID
<where> <where>
a.DELETE_FLAG = '0' a.DELETE_FLAG = '0' and b.DELETE_FLAG = '0'
<include refid="employeeInfo_where"/> <include refid="employeeInfo_where"/>
</where> </where>
GROUP BY a.id GROUP BY a.id
...@@ -564,7 +564,7 @@ ...@@ -564,7 +564,7 @@
from t_employee_info a from t_employee_info a
left join t_employee_project b on a.id = b.EMP_ID left join t_employee_project b on a.id = b.EMP_ID
<where> <where>
a.DELETE_FLAG = '0' a.DELETE_FLAG = '0' and b.DELETE_FLAG = '0'
<include refid="employeeInfo_where"/> <include refid="employeeInfo_where"/>
</where> </where>
GROUP BY a.id GROUP BY a.id
......
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