Explorar o código

LY 用户删除改为硬删除

ly %!s(int64=3) %!d(string=hai) anos
pai
achega
12bbf79041
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      master/src/main/resources/mybatis/system/SysUserMapper.xml

+ 1 - 1
master/src/main/resources/mybatis/system/SysUserMapper.xml

@@ -257,7 +257,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
  	</delete>
 
  	<delete id="deleteUserByIds" parameterType="Long">
- 		update sys_user set del_flag = '2' where user_id in
+		delete from sys_user where user_id in
  		<foreach collection="array" item="userId" open="(" separator="," close=")">
  			#{userId}
         </foreach>