a.id,
a.employee_name,
a.emp_idcard,
a.emp_phone,
a.position,
a.feedback_type,
a.join_leave_date,
a.process_status,
a.registor_username,
a.registor_deptname,
a.registor_deptid,
a.registor_phone,
a.emp_deptname,
a.emp_deptid,
a.create_by,
a.create_name,
a.create_time,
a.update_by,
a.update_time,
a.dept_name,
a.dept_id,
a.dept_no,
a.customer_username,
a.customer_phone,
a.customer_user_loginname,
a.data_source,
a.customer_username_new
AND a.id = #{employeeRegistration.id}
AND a.employee_name like CONCAT('%',#{employeeRegistration.employeeName},'%')
AND a.emp_idcard like CONCAT('%',#{employeeRegistration.empIdcard},'%')
AND a.emp_phone like CONCAT('%',#{employeeRegistration.empPhone},'%')
AND a.position in
'${item}'
AND a.position like CONCAT('%',#{employeeRegistration.position},'%')
AND a.feedback_type in
'${item}'
AND a.CREATE_TIME = ]]> #{employeeRegistration.createTimeStart}
AND a.CREATE_TIME #{employeeRegistration.createTimeEnd}
AND a.join_leave_date = ]]> #{employeeRegistration.joinTimeStart}
AND a.join_leave_date #{employeeRegistration.joinTimeEnd}
AND a.join_leave_date = #{employeeRegistration.joinLeaveDate}
AND a.process_status in
'${item}'
AND a.registor_username = #{employeeRegistration.registorUsername}
AND a.dept_name like CONCAT('%',#{employeeRegistration.deptName},'%')
AND a.registor_deptid = #{employeeRegistration.registorDeptid}
AND a.registor_phone = #{employeeRegistration.registorPhone}
AND a.emp_deptname = #{employeeRegistration.empDeptname}
AND a.emp_deptid = #{employeeRegistration.empDeptid}
AND a.create_by = #{employeeRegistration.createBy}
AND a.create_name = #{employeeRegistration.createName}
AND a.customer_user_loginname = #{employeeRegistration.customerUserLoginname}
AND a.dept_no = #{employeeRegistration.deptNo}
AND a.data_source = #{employeeRegistration.dataSource}
AND a.customer_username_new = #{employeeRegistration.customerUsernameNew}
AND a.emp_deptid in
#{idStr}
AND a.dept_no in
#{idStr}
${employeeRegistration.authSql}
update employee_registration a
set a.process_status= '2'
where a.emp_idcard = #{searchCspVo.empIdCard} and a.process_status= '0'
AND a.dept_id = #{searchCspVo.deptId}
AND a.feedback_type = #{searchCspVo.feedbackType}