2024-09-02 09:39:27 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
|
|
<mapper namespace="com.gunshi.project.xyt.mapper.StPptnRHMapper">
|
|
|
|
|
|
2024-09-02 14:50:33 +08:00
|
|
|
<select id="queryList" resultType="com.gunshi.project.xyt.model.StPptnRH">
|
|
|
|
|
select tm,drp from public.st_pptn_r_h where tm <![CDATA[>]]> #{start} and tm <![CDATA[<=]]> #{end}
|
|
|
|
|
and stcd = (select stcd from public.att_res_base where res_code = '42120250085')
|
|
|
|
|
order by tm asc
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<select id="queryRzList" resultType="com.gunshi.project.xyt.entity.vo.StRzVo">
|
|
|
|
|
select tm,rz from public.st_rsvr_r where tm <![CDATA[>=]]> #{start} and tm <![CDATA[<]]> #{end}
|
|
|
|
|
and TRIM(TO_CHAR(tm, 'MI:SS')) = '00:00'
|
|
|
|
|
and stcd = (select stcd from public.att_res_base where res_code = '42120250085')
|
|
|
|
|
order by tm asc
|
|
|
|
|
</select>
|
2024-09-03 11:22:34 +08:00
|
|
|
|
|
|
|
|
<select id="queryDayDrp" resultType="com.gunshi.project.xyt.model.StPptnRD">
|
|
|
|
|
select tm,drp,TO_CHAR(tm, 'DD') as day,TO_CHAR(tm, 'MM') as month from public.st_pptn_r_d where year = #{year}
|
|
|
|
|
and stcd = (select stcd from public.att_res_base where res_code = '42120250085')
|
|
|
|
|
order by tm asc
|
|
|
|
|
</select>
|
2024-09-02 09:39:27 +08:00
|
|
|
</mapper>
|