启用禁用员工账号
This commit is contained in:
@@ -2,6 +2,22 @@
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="com.sky.mapper.EmployeeMapper">
|
||||
<update id="update" parameterType="Employee">
|
||||
update employee
|
||||
<set>
|
||||
<if test="name != null">name = #{name}</if>
|
||||
<if test="username != null">username = #{username}</if>
|
||||
<if test="password != null">password = #{password}</if>
|
||||
<if test="phone != null">phone = #{phone}</if>
|
||||
<if test="sex != null">sex = #{sex}</if>
|
||||
<if test="idNumber != null">idNumber = #{idNumber}</if>
|
||||
<if test="updateTime != null">updateTime = #{updateTime}</if>
|
||||
<if test="updateUser != null">updateUser = #{updateUser}</if>
|
||||
<if test="status != null">status = #{status}</if>
|
||||
</set>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
|
||||
<select id="pageQuery" resultType="com.sky.entity.Employee">
|
||||
select * from employee
|
||||
|
||||
Reference in New Issue
Block a user