解决查询条件默认生效问题,日95计算值覆盖问题。
This commit is contained in:
@@ -30,15 +30,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<include refid="selectInitialDiskInfoVo"/>
|
||||
<where>
|
||||
<if test="clientId != null and clientId != ''"> and client_id = #{clientId}</if>
|
||||
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
|
||||
<if test="serial != null and serial != ''"> and serial = #{serial}</if>
|
||||
<if test="total != null "> and total = #{total}</if>
|
||||
<if test="writeSpeed != null "> and write_speed = #{writeSpeed}</if>
|
||||
<if test="readSpeed != null "> and read_speed = #{readSpeed}</if>
|
||||
<if test="writeTimes != null "> and write_times = #{writeTimes}</if>
|
||||
<if test="readTimes != null "> and read_times = #{readTimes}</if>
|
||||
<if test="writeBytes != null "> and write_bytes = #{writeBytes}</if>
|
||||
<if test="readBytes != null "> and read_bytes = #{readBytes}</if>
|
||||
</where>
|
||||
order by create_time desc
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user