添加流量计设备实时数据相关接口以及定时任务,统计流量计设备在线数量等

This commit is contained in:
蒾酒
2024-12-30 02:54:13 +08:00
parent 3aac79e169
commit b590dfa9fa
20 changed files with 855 additions and 28 deletions

View File

@ -64,4 +64,14 @@ private static final long serialVersionUID = 1L;
@ApiModelProperty("联系方式")
private String contactInformation;
/** 小程序用户id */
@Excel(name = "小程序用户id")
@ApiModelProperty("小程序用户id")
private Long userId;
/** 所属机构id */
@Excel(name = "所属机构id")
@ApiModelProperty("所属机构id")
private Long deptId;
}

View File

@ -19,10 +19,12 @@
<result property="createBy" column="create_by" />
<result property="updateTime" column="update_time" />
<result property="updateBy" column="update_by" />
<result property="userId" column="user_id" />
<result property="deptId" column="dept_id" />
</resultMap>
<sql id="selectNgInformationWaterUserVo">
select water_user_id, name, account, water_consumption, water_consumptionIndex, warning_status, irrigated_area, belonging_gegion, contact_information, remark, create_time, create_by, update_time, update_by from ng_information_water_user
select water_user_id, name, account, water_consumption, water_consumptionIndex, warning_status, irrigated_area, belonging_gegion, contact_information, remark, create_time, create_by, update_time, update_by,user_id,dept_id from ng_information_water_user
</sql>
<select id="selectNgInformationWaterUserList" parameterType="NgInformationWaterUser" resultMap="NgInformationWaterUserResult">
@ -36,6 +38,8 @@
<if test="irrigatedArea != null "> and irrigated_area = #{irrigatedArea}</if>
<if test="belongingGegion != null and belongingGegion != ''"> and belonging_gegion = #{belongingGegion}</if>
<if test="contactInformation != null and contactInformation != ''"> and contact_information = #{contactInformation}</if>
<if test="userId != null "> and user_id = #{userId}</if>
<if test="deptId != null "> and dept_id = #{deptId}</if>
</where>
</select>