| | |
| | | and e.del_flag = '0' |
| | | </select> |
| | | |
| | | <select id="selectVoByName" resultMap="SysEmployeeVOResult"> |
| | | <include refid="selectEmployeeVo" /> |
| | | where e.employee_name = #{employeeName} |
| | | and e.del_flag = '0' |
| | | order by e.employee_id |
| | | </select> |
| | | |
| | | <select id="selectById" parameterType="Long" resultMap="SysEmployeeResult"> |
| | | <include refid="selectEmployeeDomain" /> |
| | | where employee_id = #{employeeId} |
| | |
| | | </foreach> |
| | | </update> |
| | | |
| | | <update id="updateCardNo"> |
| | | update t_employee |
| | | set card_no = #{cardNo}, |
| | | update_by = #{updateBy}, |
| | | update_time = sysdate() |
| | | where employee_id = #{employeeId} |
| | | and del_flag = '0' |
| | | </update> |
| | | |
| | | <update id="clearFace"> |
| | | update t_employee |
| | | set face_image = null, |