|
|
|
@ -16,14 +16,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
</resultMap> |
|
|
|
|
|
|
|
|
|
<sql id="selectDictTypeVo"> |
|
|
|
|
select dict_id, dict_name, dict_type, status, create_by, create_time, remark |
|
|
|
|
select dict_id, dict_name, dict_type, status, create_by, create_time, remark |
|
|
|
|
from sys_dict_type |
|
|
|
|
</sql> |
|
|
|
|
</sql> |
|
|
|
|
|
|
|
|
|
<select id="selectDictTypeList" parameterType="SysDictType" resultMap="SysDictTypeResult"> |
|
|
|
|
<include refid="selectDictTypeVo"/> |
|
|
|
|
<include refid="selectDictTypeVo"/> |
|
|
|
|
<where> |
|
|
|
|
<if test="dictName != null and dictName != ''"> |
|
|
|
|
<if test="dictName != null and dictName != ''"> |
|
|
|
|
AND dict_name like concat('%', #{dictName}, '%') |
|
|
|
|
</if> |
|
|
|
|
<if test="status != null and status != ''"> |
|
|
|
@ -38,7 +38,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="params.endTime != null and params.endTime != ''"><!-- 结束时间检索 --> |
|
|
|
|
and date_format(create_time,'%Y%m%d') <= date_format(#{params.endTime},'%Y%m%d') |
|
|
|
|
</if> |
|
|
|
|
</where> |
|
|
|
|
</where> |
|
|
|
|
ORDER BY create_time DESC |
|
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
<select id="selectDictTypeAll" resultMap="SysDictTypeResult"> |
|
|
|
|