Explorar el Código

LY 用户删除改为硬删除

ly hace 3 años
padre
commit
12bbf79041
Se han modificado 1 ficheros con 1 adiciones y 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>