Browse Source

优化

platform-api
yx 2 years ago
parent
commit
1c2fec5938
  1. 2
      ruoyi-code/src/main/resources/mapper/camera/WaterPhotoInfoMapper.xml

2
ruoyi-code/src/main/resources/mapper/camera/WaterPhotoInfoMapper.xml

@ -14,7 +14,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" @@ -14,7 +14,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<where>
<if test="params.stnm !=null and params.stnm !=''">and s.stnm like concat('%',#{params.stnm},'%')</if>
<if test="params.stcd !=null and params.stcd !=''">and c.name like concat('%',#{params.name},'%')</if>
<if test="params.stcd !=null and params.stcd !=''">and c.name like concat('%',#{params.stcd},'%')</if>
<if test="params.startTime != null and params.startTime !=''"> and w.tm &gt;= #{params.startTime }</if>
<if test="params.endTime != null and params.endTime !=''"> and w.tm &lt;= #{params.endTime}</if>
</where>

Loading…
Cancel
Save