燕山石化溯源三维电子沙盘-【后端】-服务
13693261870
2024-03-21 236972a79220fa9afbf78665e647fb9195ef0014
src/main/resources/mapper/QxshMapper.xml
@@ -136,4 +136,24 @@
        where time = #{time} and name = #{name}
        limit 1;
    </select>
    <select id="countGcsjByTime" resultType="java.lang.Integer">
        select count(*) from yssh_gcsj where time between #{start} and #{end};
    </select>
    <select id="countQxshByTime" resultType="java.lang.Integer">
        select count(*) from yssh_qxsh where time between #{start} and #{end};
    </select>
    <select id="countSuYuan46ByTime" resultType="java.lang.Integer">
        select count(*) from suyuan_46 where create_time between #{start} and #{end};
    </select>
    <select id="countSuYuan70ByTime" resultType="java.lang.Integer">
        select count(*) from suyuan_70_70 where create_time between #{start} and #{end};
    </select>
    <select id="countSuYuanFastByTime" resultType="java.lang.Integer">
        select count(*) from suyuan_fast where create_time between #{start} and #{end};
    </select>
</mapper>