Commit b9b3e1e5 authored by hongguangwu's avatar hongguangwu

MVP1.7.8-状态

parent f03a2ee0
...@@ -280,13 +280,13 @@ ...@@ -280,13 +280,13 @@
<!-- 判断简档详档-优先从档案维护任务表 --> <!-- 判断简档详档-优先从档案维护任务表 -->
<select id="judegIsSimpleByPre" resultType="java.lang.String"> <select id="judegIsSimpleByPre" resultType="java.lang.String">
select select
if(a.emp_nature is null or (a.emp_nature != '2' and (a.contract_type is null or a.contract_type in ('1','20','9'))),1,2) 类型1详档2简档 if(a.emp_nature is null or (a.emp_nature != '2' and (a.contract_type = '' or a.contract_type is null or a.contract_type in ('1','20','9'))),1,2) 类型1详档2简档
from employee_registration_pre a where a.emp_idcard = #{empIdCard} and a.dept_id = #{deptId} from employee_registration_pre a where a.emp_idcard = #{empIdCard} and a.dept_id = #{deptId}
</select> </select>
<!-- 判断简档详档-从项目档案表 --> <!-- 判断简档详档-从项目档案表 -->
<select id="judegIsSimpleByEmpProject" resultType="java.lang.String"> <select id="judegIsSimpleByEmpProject" resultType="java.lang.String">
select select
if(a.EMP_NATRUE is null or (a.EMP_NATRUE != '2' and (a.contract_type is null or a.contract_type in ('1','20','9'))),1,2) 类型1详档2简档 if(a.EMP_NATRUE is null or (a.EMP_NATRUE != '2' and (a.contract_type = '' or a.contract_type is null or a.contract_type in ('1','20','9'))),1,2) 类型1详档2简档
from t_employee_project a where a.DELETE_FLAG = '0' and a.PROJECT_STATUS = 0 and a.emp_idcard = #{empIdCard} and a.dept_id = #{deptId} from t_employee_project a where a.DELETE_FLAG = '0' and a.PROJECT_STATUS = 0 and a.emp_idcard = #{empIdCard} and a.dept_id = #{deptId}
</select> </select>
......
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