src/main/resources/mapper/QxshMapper.xml
@@ -91,6 +91,10 @@ select createTime, count(*) "num" from rs group by createTime order by createTime; </select> <select id="hasSuYuan" resultType="java.lang.Integer"> select count(*) from suyuan_46 where su_yuan_id=#{suYuanId} and create_time=#{createTime}; </select> <select id="select3Hours" resultType="com.yssh.entity.Qxsh"> select id, name, lon, lat, format(value, 2) "value", time from yssh_qxsh