站点配置-获取站点列表
This commit is contained in:
@ -120,4 +120,16 @@
|
||||
<include refid="selectEmsSiteSettingVo"/>
|
||||
where site_id = #{siteId}
|
||||
</select>
|
||||
|
||||
<select id="getSiteInfoList" resultMap="EmsSiteSettingResult">
|
||||
<include refid="selectEmsSiteSettingVo"/>
|
||||
WHERE 1=1
|
||||
<if test="siteName != null and siteName != ''">
|
||||
AND site_name LIKE CONCAT('%', #{siteName}, '%')
|
||||
</if>
|
||||
<if test="startTime != null and startTime != null and endTime != null and endTime != ''">
|
||||
AND running_time >= STR_TO_DATE( #{startTime}, '%Y-%m-%d')
|
||||
AND running_time < DATE_ADD(STR_TO_DATE( #{endTime}, '%Y-%m-%d'), INTERVAL 1 DAY)
|
||||
</if>
|
||||
</select>
|
||||
</mapper>
|
Reference in New Issue
Block a user