Merge branch 'master' of http://8.140.179.55:20000/r/pipIrr-SV
|  |  |  | 
|---|
|  |  |  | <if test="valveState != null"> | 
|---|
|  |  |  | and rash.valve_state = #{valveState,jdbcType=TINYINT} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="intakeId != null"> | 
|---|
|  |  |  | and rash.intake_id = #{intakeId} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="intakeName != null"> | 
|---|
|  |  |  | and pint.name like CONCAT('%',#{intakeName,jdbcType=VARCHAR},'%') | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | 
|---|
|  |  |  | <if test="valveState != null"> | 
|---|
|  |  |  | and rash.valve_state = #{valveState,jdbcType=TINYINT} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="intakeId != null"> | 
|---|
|  |  |  | and rash.intake_id = #{intakeId} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="intakeName != null"> | 
|---|
|  |  |  | and pint.name like CONCAT('%',#{intakeName,jdbcType=VARCHAR},'%') | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | 
|---|
|  |  |  | <if test="valveState != null"> | 
|---|
|  |  |  | and rasl.valve_state = #{valveState,jdbcType=TINYINT} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="intakeId != null"> | 
|---|
|  |  |  | and rasl.intake_id = #{intakeId} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="intakeName != null"> | 
|---|
|  |  |  | and pint.name like CONCAT('%',#{intakeName,jdbcType=VARCHAR},'%') | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | 
|---|
|  |  |  | <if test="valveState != null"> | 
|---|
|  |  |  | and rasl.valve_state = #{valveState,jdbcType=TINYINT} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="intakeId != null"> | 
|---|
|  |  |  | and rasl.intake_id = #{intakeId} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="intakeName != null"> | 
|---|
|  |  |  | and pint.name like CONCAT('%',#{intakeName,jdbcType=VARCHAR},'%') | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | 
|---|
|  |  |  | <if test="clientName != null"> | 
|---|
|  |  |  | and sc.name like CONCAT('%',#{clientName,jdbcType=VARCHAR},'%') | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="clientId != null"> | 
|---|
|  |  |  | and rcadl.client_id = #{clientId} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="startDt != null"> | 
|---|
|  |  |  | and rcadl.dt >= #{startDt,jdbcType=DATE} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | 
|---|
|  |  |  | <if test="clientName != null"> | 
|---|
|  |  |  | and sc.name like CONCAT('%',#{clientName,jdbcType=VARCHAR},'%') | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="clientId != null"> | 
|---|
|  |  |  | and rcadl.client_id = #{clientId} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="startDt != null"> | 
|---|
|  |  |  | and rcadl.dt >= #{startDt,jdbcType=DATE} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | 
|---|
|  |  |  | <if test="clientName != null"> | 
|---|
|  |  |  | and sc.name like CONCAT('%',#{clientName,jdbcType=VARCHAR},'%') | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="clientId != null"> | 
|---|
|  |  |  | and rcad.client_id = #{clientId} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="startDt != null"> | 
|---|
|  |  |  | and rcad.dt >= #{startDt,jdbcType=DATE} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | 
|---|
|  |  |  | <if test="clientName != null"> | 
|---|
|  |  |  | and sc.name like CONCAT('%',#{clientName,jdbcType=VARCHAR},'%') | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="clientId != null"> | 
|---|
|  |  |  | and rcad.client_id = #{clientId} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="startDt != null"> | 
|---|
|  |  |  | and rcad.dt >= #{startDt,jdbcType=DATE} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | 
|---|
|  |  |  | <if test="intakeName != null"> | 
|---|
|  |  |  | and pint.name like CONCAT('%',#{intakeName,jdbcType=VARCHAR},'%') | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="intakeId != null"> | 
|---|
|  |  |  | and riadl.intake_id = #{intakeId} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="startDt != null"> | 
|---|
|  |  |  | and riadl.dt >= #{startDt,jdbcType=DATE} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | 
|---|
|  |  |  | <if test="intakeName != null"> | 
|---|
|  |  |  | and pint.name like CONCAT('%',#{intakeName,jdbcType=VARCHAR},'%') | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="intakeId != null"> | 
|---|
|  |  |  | and riadl.intake_id = #{intakeId} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="startDt != null"> | 
|---|
|  |  |  | and riadl.dt >= #{startDt,jdbcType=DATE} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | 
|---|
|  |  |  | <if test="intakeName != null"> | 
|---|
|  |  |  | and pint.name like CONCAT('%',#{intakeName,jdbcType=VARCHAR},'%') | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="intakeId != null"> | 
|---|
|  |  |  | and riad.intake_id = #{intakeId} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="startDt != null"> | 
|---|
|  |  |  | and riad.dt >= #{startDt,jdbcType=DATE} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | 
|---|
|  |  |  | <if test="intakeName != null"> | 
|---|
|  |  |  | and pint.name like CONCAT('%',#{intakeName,jdbcType=VARCHAR},'%') | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="intakeId != null"> | 
|---|
|  |  |  | and riad.intake_id = #{intakeId} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="startDt != null"> | 
|---|
|  |  |  | and riad.dt >= #{startDt,jdbcType=DATE} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | 
|---|
|  |  |  | <if test="intakeName != null"> | 
|---|
|  |  |  | and pint.name like CONCAT('%',#{intakeName,jdbcType=VARCHAR},'%') | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="intakeId != null"> | 
|---|
|  |  |  | and rldl.intake_id = #{intakeId} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="startDt != null"> | 
|---|
|  |  |  | and rldl.dt >= #{startDt,jdbcType=DATE} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | 
|---|
|  |  |  | <if test="intakeName != null"> | 
|---|
|  |  |  | and pint.name like CONCAT('%',#{intakeName,jdbcType=VARCHAR},'%') | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="intakeId != null"> | 
|---|
|  |  |  | and rldl.intake_id = #{intakeId} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="startDt != null"> | 
|---|
|  |  |  | and rldl.dt >= #{startDt,jdbcType=DATE} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | 
|---|
|  |  |  | <if test="intakeName != null"> | 
|---|
|  |  |  | and pint.name like CONCAT('%',#{intakeName,jdbcType=VARCHAR},'%') | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="intakeId != null"> | 
|---|
|  |  |  | and rld.intake_id = #{intakeId} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="startDt != null"> | 
|---|
|  |  |  | and rld.dt >= #{startDt,jdbcType=DATE} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | 
|---|
|  |  |  | <if test="intakeName != null"> | 
|---|
|  |  |  | and pint.name like CONCAT('%',#{intakeName,jdbcType=VARCHAR},'%') | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="intakeId != null"> | 
|---|
|  |  |  | and rld.intake_id = #{intakeId} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="startDt != null"> | 
|---|
|  |  |  | and rld.dt >= #{startDt,jdbcType=DATE} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | 
|---|
|  |  |  | package com.dy.pipIrrRemote.records.clientAmountDay; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.dy.common.webUtil.QueryConditionVo; | 
|---|
|  |  |  | import com.fasterxml.jackson.databind.annotation.JsonSerialize; | 
|---|
|  |  |  | import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; | 
|---|
|  |  |  | import io.swagger.v3.oas.annotations.media.Schema; | 
|---|
|  |  |  | import lombok.*; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | @Schema(name = "农户日用水量统计查询条件") | 
|---|
|  |  |  | public class ClientAmountDayQueryVo extends QueryConditionVo { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(description = "农户ID", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|---|
|  |  |  | private String clientId; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(description = "农户姓名", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|---|
|  |  |  | private String clientName; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | @Schema(description = "取水口名称", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|---|
|  |  |  | private String intakeName; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(description = "取水口ID") | 
|---|
|  |  |  | private String intakeId; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(description = "阀门状态", requiredMode = Schema.RequiredMode.NOT_REQUIRED)//(0打开、1关闭) | 
|---|
|  |  |  | private Byte valveState; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | @Schema(description = "取水口名称", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|---|
|  |  |  | private String intakeName; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(description = "取水口ID") | 
|---|
|  |  |  | private String intakeId; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(description = "统计开始日期", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|---|
|  |  |  | private Date startDt; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | @Schema(description = "取水口名称", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|---|
|  |  |  | private String intakeName; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(description = "取水口ID") | 
|---|
|  |  |  | private String intakeId; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(description = "统计开始日期", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|---|
|  |  |  | private Date startDt; | 
|---|
|  |  |  |  | 
|---|