去除多余的空格

master
RuoYi 4 years ago
parent 0a5bb34fbf
commit 0ecf27f8d6
  1. 1
      ruoyi-generator/src/main/resources/mapper/generator/GenTableColumnMapper.xml
  2. 2
      ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml

@ -123,4 +123,5 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
#{item.columnId} #{item.columnId}
</foreach> </foreach>
</delete> </delete>
</mapper> </mapper>

@ -75,7 +75,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND date_format(u.create_time,'%y%m%d') &lt;= date_format(#{endTime},'%y%m%d') AND date_format(u.create_time,'%y%m%d') &lt;= date_format(#{endTime},'%y%m%d')
</if> </if>
<if test="deptId != null and deptId != 0"> <if test="deptId != null and deptId != 0">
AND (u.dept_id = #{deptId} OR u.dept_id IN ( SELECT t.dept_id FROM sys_dept t WHERE FIND_IN_SET (#{deptId},ancestors) )) AND (u.dept_id = #{deptId} OR u.dept_id IN ( SELECT t.dept_id FROM sys_dept t WHERE find_in_set(#{deptId}, ancestors) ))
</if> </if>
<!-- 数据范围过滤 --> <!-- 数据范围过滤 -->
${params.dataScope} ${params.dataScope}

Loading…
Cancel
Save