修改params参数为空时报错BUG
This commit is contained in:
parent
349444c14b
commit
bbe6940d0d
|
|
@ -54,8 +54,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="params != null and params.endTime != null and params.endTime != ''"><!-- 结束时间检索 -->
|
||||
and date_format(r.create_time,'%y%m%d') <= date_format(#{params.endTime},'%y%m%d')
|
||||
</if>
|
||||
<if test="params != null and params.dataScope != null and params.dataScope != ''">
|
||||
<!-- 数据范围过滤 -->
|
||||
${params.dataScope}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="selectRolesByUserId" parameterType="Long" resultMap="SysRoleResult">
|
||||
|
|
|
|||
Loading…
Reference in New Issue