| | |
| | | <result column="update_time" property="updateTime" /> |
| | | <result column="province_tag" property="provinceTag" /> |
| | | <result column="important_tag" property="importantTag" /> |
| | | <result column="important_command_image_tag" property="importantCommandImageTag" /> |
| | | </resultMap> |
| | | |
| | | <select id="selectData" resultType="com.ycl.platform.base.BaseSelect"> |
| | |
| | | typ.create_time, |
| | | typ.update_time, |
| | | typ.important_tag, |
| | | typ.province_tag |
| | | typ.province_tag, |
| | | typ.important_command_image_tag |
| | | FROM |
| | | t_yw_point typ |
| | | LEFT JOIN t_yw_unit tyu ON typ.unit_id = tyu.id AND tyu.deleted = 0 |
| | |
| | | <select id="selectByTag" resultType="com.ycl.platform.domain.entity.YwPoint"> |
| | | select * from t_yw_point |
| | | <where> |
| | | <if test="important!=null and important!= '' "> |
| | | <if test="important!=null and important == true "> |
| | | and important_tag = #{important} |
| | | </if> |
| | | <if test="province!=null and province!= '' "> |
| | | <if test="province!=null and province == true "> |
| | | and province_tag = #{province} |
| | | </if> |
| | | </where> |
| | |
| | | AND m.name like concat('%', #{query.pointName} ,'%') |
| | | </if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="sumOffTime" resultType="java.lang.Integer"> |
| | | select sum(today_outline_sed) from t_platform_online |
| | | where create_date between #{startDate} and #{endDate} |
| | | </select> |
| | | </mapper> |