测试问题提交
This commit is contained in:
parent
56ee954dab
commit
55ef6f5b96
|
|
@ -140,4 +140,6 @@ public interface SysUserMapper
|
|||
List<SysUser> selectUserByEm();
|
||||
|
||||
List<SysUser> selectUserByDm();
|
||||
|
||||
void updatePurchaseNoticePerson(SysUser user);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -328,6 +328,7 @@ public class SysUserServiceImpl implements ISysUserService {
|
|||
//表示属于分公司下的某个部门
|
||||
user.setCompanyId(Long.parseLong(split[2]));
|
||||
}
|
||||
userMapper.updatePurchaseNoticePerson(user);
|
||||
return userMapper.updateUser(user);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -342,8 +342,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<update id="resetUserPwd" parameterType="com.bonus.sgzb.system.api.domain.SysUser">
|
||||
update sys_user set password = #{password} where user_name = #{userName}
|
||||
</update>
|
||||
<update id="updatePurchaseNoticePerson">
|
||||
update purchase_notice_person set telphone = #{phonenumber} where user_id = #{userId}
|
||||
</update>
|
||||
|
||||
<delete id="deleteUserById" parameterType="Long">
|
||||
<delete id="deleteUserById" parameterType="Long">
|
||||
update sys_user set del_flag = '2' where user_id = #{userId}
|
||||
</delete>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue