优化搜索
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
<if test="searchCreateTimeEnd != null">
|
||||
and dic.create_time <= #{searchCreateTimeEnd}
|
||||
</if>
|
||||
<if test="searchEditTimeStart != null">
|
||||
<!-- <if test="searchEditTimeStart != null">
|
||||
and dic.create_time >= #{searchEditTimeStart}
|
||||
</if>
|
||||
<if test="searchEditTimeEnd != null">
|
||||
@@ -71,7 +71,7 @@
|
||||
</if>
|
||||
<if test="isAudit != null">
|
||||
and dic.is_audit = #{isAudit}
|
||||
</if>
|
||||
</if> -->
|
||||
<if test="request != null and request.id != null">
|
||||
and dic.request_id = #{request.id}
|
||||
</if>
|
||||
@@ -84,6 +84,9 @@
|
||||
<if test="lable != null and lable != ''">
|
||||
and concat(",", dic.lable, ",") like concat("%,", #{lable}, ",%")
|
||||
</if>
|
||||
<if test="cfgDesc != null and cfgDesc != ''">
|
||||
and dic.cfg_desc like concat("%", #{cfgDesc}, "%")
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="get" resultMap="dnsIpCfgMap">
|
||||
|
||||
Reference in New Issue
Block a user