fix bug 40231 用户管理--新增--输入列表不存在的账号--提示已存在
This commit is contained in:
+6
@@ -46,11 +46,17 @@
|
||||
<!-- 重复校验 sql语句 -->
|
||||
<select id="duplicateCheckCountSql" resultType="Long" parameterType="com.jero.modules.system.model.DuplicateCheckVo">
|
||||
SELECT COUNT(*) FROM ${tableName} WHERE ${fieldName} = #{fieldVal} and id <> #{dataId}
|
||||
<if test="tableName == 'sys_user'">
|
||||
and del_flag = 0
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<!-- 重复校验 sql语句 -->
|
||||
<select id="duplicateCheckCountSqlNoDataId" resultType="Long" parameterType="com.jero.modules.system.model.DuplicateCheckVo">
|
||||
SELECT COUNT(*) FROM ${tableName} WHERE ${fieldName} = #{fieldVal}
|
||||
<if test="tableName == 'sys_user'">
|
||||
and del_flag = 0
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<!-- 查询部门信息 作为字典数据 -->
|
||||
|
||||
Reference in New Issue
Block a user