1、VO、PO等值对象中凡时Double或Float类型的属性,都加上注解@JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" );
2、工作报中数据查询SQL中增加clientAddr农户地址字段。
| | |
| | | import com.dy.common.mybatis.envm.Deleted; |
| | | import com.dy.common.mybatis.envm.Disabled; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.Max; |
| | | import jakarta.validation.constraints.Min; |
| | |
| | | * 种植面积 |
| | | */ |
| | | @Schema(description = "农户种植面积", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double area; |
| | | |
| | | /** |
| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.NotEmpty; |
| | | import jakarta.validation.constraints.NotNull; |
| | |
| | | * 覆盖面积(平方公里) |
| | | */ |
| | | @Schema(description = "覆盖面积(平方公里)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double area; |
| | | |
| | | /** |
| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.NotNull; |
| | | import lombok.*; |
| | |
| | | * 灌溉面积 |
| | | */ |
| | | @Schema(description = "灌溉面积", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float area; |
| | | /** |
| | | * 操作人ID |
| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.NotBlank; |
| | | import jakarta.validation.constraints.NotNull; |
| | |
| | | * 覆盖面积(平方公里) |
| | | */ |
| | | @Schema(description = "覆盖面积", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double area; |
| | | |
| | | /** |
| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.NotNull; |
| | | import lombok.*; |
| | |
| | | */ |
| | | @Schema(description = "水价", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @NotNull(message = "水价不能为空") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double price; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 日取水量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double amount; |
| | | |
| | | /** |
| | | * 日取花费金额 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double money; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 统计日最后一次开阀取水量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double thisAmountLast; |
| | | |
| | | /** |
| | | * 统计日最后一次开阀花费金额 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double thisMoneyLast; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 日取水量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double amount; |
| | | |
| | | /** |
| | | * 日取花费金额 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double money; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 统计日最后一次开阀取水量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double thisAmountLast; |
| | | |
| | | /** |
| | | * 统计日最后一次开阀花费金额 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double thisMoneyLast; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 日取水量(不包括漏损水量) |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double amount; |
| | | |
| | | /** |
| | | * 累计日漏损水量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double loss; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 最后计水量时控制器累计水量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double totalAmountLast; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 日取水量(不包括漏损水量) |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double amount; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 最后计水量时控制器累计水量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double totalAmountLast; |
| | | |
| | | /** |
| | |
| | | * 日漏损流量 |
| | | */ |
| | | @Schema(description = "日漏损量(m3)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double lossAmount; |
| | | |
| | | |
| | |
| | | * 日漏损流量 |
| | | */ |
| | | @Schema(description = "日漏损量(m3)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double lossAmount; |
| | | |
| | | public void valueFrom(DataV1_0_1 dV1_0_1, DataCdC0Vo cdData) throws Exception{ |
| | |
| | | /** |
| | | * 瞬时流量,单位为m3/h |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double instantAmount; |
| | | |
| | | /** |
| | | * 累计流量,单位为m3 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double totalAmount; |
| | | |
| | | /** |
| | | * 损失流量(从0时到当前的漏损累计流量,24时一个周期,0时归0)单位为m3。 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double lossAmount; |
| | | |
| | | /** |
| | | * 水压,单位为KPa |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double waterPress; |
| | | |
| | | /** |
| | | * 蓄电池电压,单位为V |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double batteryVolt; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 水价,单位为元 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double waterPrice; |
| | | public void valueFrom(DataV1_0_1 dV1_0_1, DataCdC0Vo cdData) throws Exception{ |
| | | this.dt = DateTime.dateFrom_yyyy_MM_dd_HH_mm_ss(dV1_0_1.dt); |
| | |
| | | /** |
| | | * 瞬时流量,单位为m3/h |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double instantAmount; |
| | | |
| | | /** |
| | | * 累计流量,单位为m3 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double totalAmount; |
| | | |
| | | /** |
| | | * 损失流量(从0时到当前的漏损累计流量,24时一个周期,0时归0)单位为m3。 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double lossAmount; |
| | | |
| | | /** |
| | | * 水压,单位为KPa |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double waterPress; |
| | | |
| | | /** |
| | | * 蓄电池电压,单位为V |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double batteryVolt; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 水价,单位为元 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double waterPrice; |
| | | |
| | | |
| | |
| | | * 开阀时累计流量 |
| | | */ |
| | | @Schema(description = "开阀时累计流量", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double opTotalAmount; |
| | | |
| | | /** |
| | |
| | | * 开阀时剩余金额 |
| | | */ |
| | | @Schema(description = "开阀时剩余金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double opRemainMoney; |
| | | |
| | | /** |
| | |
| | | * 开阀时电表累计电量 |
| | | */ |
| | | @Schema(description = "开阀时电表累计电量", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double opEleTotalAmount; |
| | | |
| | | /** |
| | | * 开阀时用水户剩余水量 |
| | | */ |
| | | @Schema(description = "开阀时用水户剩余水量", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double opWaterRemainUser; |
| | | |
| | | /** |
| | |
| | | * 关阀时累计流量 |
| | | */ |
| | | @Schema(description = "关阀时累计流量", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double clTotalAmount; |
| | | |
| | | /** |
| | |
| | | * 关阀时剩余金额 |
| | | */ |
| | | @Schema(description = "关阀时剩余金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double clRemainMoney; |
| | | |
| | | /** |
| | | * 关阀报中本次用水量 |
| | | */ |
| | | @Schema(description = "关阀时本次用水量", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double clThisAmount; |
| | | |
| | | /** |
| | | * 关阀报中本次消费金额 |
| | | */ |
| | | @Schema(description = "关阀时本次消费金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double clThisMoney; |
| | | |
| | | /** |
| | |
| | | * 关阀报中水价 |
| | | */ |
| | | @Schema(description = "关阀报中水价", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double clPrice ;//水价 |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 电表累计电量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double clEleTotalAmount; |
| | | |
| | | /** |
| | | * 用户剩余水量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double clWaterRemainUser; |
| | | |
| | | /** |
| | | * 本次使用电量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double clThisEle; |
| | | |
| | | public void valueFrom(DataV1_0_1 dV1_0_1, DataCd83OpenVo dataCd83OpenVo) throws Exception { |
| | |
| | | * 开阀时累计流量 |
| | | */ |
| | | @Schema(description = "开阀时累计流量", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double opTotalAmount; |
| | | |
| | | /** |
| | |
| | | * 开阀时剩余金额 |
| | | */ |
| | | @Schema(description = "开阀时剩余金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double opRemainMoney; |
| | | |
| | | /** |
| | |
| | | * 开阀时电表累计电量 |
| | | */ |
| | | @Schema(description = "开阀时电表累计电量", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double opEleTotalAmount; |
| | | |
| | | /** |
| | | * 开阀时用水户剩余水量 |
| | | */ |
| | | @Schema(description = "开阀时用水户剩余水量", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double opWaterRemainUser; |
| | | |
| | | /** |
| | |
| | | * 关阀时累计流量 |
| | | */ |
| | | @Schema(description = "关阀时累计流量", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double clTotalAmount; |
| | | |
| | | /** |
| | |
| | | * 关阀时剩余金额 |
| | | */ |
| | | @Schema(description = "关阀时剩余金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double clRemainMoney; |
| | | |
| | | /** |
| | | * 关阀报中本次用水量 |
| | | */ |
| | | @Schema(description = "关阀时本次用水量", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double clThisAmount; |
| | | |
| | | /** |
| | | * 关阀报中本次消费金额 |
| | | */ |
| | | @Schema(description = "关阀时本次消费金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double clThisMoney; |
| | | |
| | | /** |
| | |
| | | * 关阀报中水价 |
| | | */ |
| | | @Schema(description = "关阀报中水价", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double clPrice ;//水价 |
| | | /** |
| | | * 关阀报中的开阀时控制器时钟 |
| | |
| | | /** |
| | | * 电表累计电量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double clEleTotalAmount; |
| | | |
| | | /** |
| | | * 用户剩余水量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double clWaterRemainUser; |
| | | |
| | | /** |
| | | * 本次使用电量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double clThisEle; |
| | | |
| | | public void valueFrom(DataV1_0_1 dV1_0_1, DataCd83OpenVo dataCd83OpenVo) throws Exception { |
| | |
| | | /** |
| | | * 本年累计流量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double waterTotalAmountYear; |
| | | |
| | | /** |
| | | * 水表累计流量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double waterTotalAmountMeter; |
| | | |
| | | /** |
| | | * 本年累计电量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double eleTotalAmountYear; |
| | | |
| | | /** |
| | | * 电表累计电量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double eleTotalAmountMeter; |
| | | |
| | | /** |
| | | * 当日水表净流量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double waterTotalAmountDay; |
| | | |
| | | /** |
| | | * 当日用户用水量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double waterUserTotalAmountDay; |
| | | |
| | | /** |
| | | * 漏损水量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double lossTotalAmountDay; |
| | | |
| | | /** |
| | | * 后备电池电压 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double batteryVolt; |
| | | |
| | | public void valueFrom(DataV202404 dataV202404, DataCd83Vo cdData) throws Exception{ |
| | |
| | | /** |
| | | * 本年累计流量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double waterTotalAmountYear; |
| | | |
| | | /** |
| | | * 水表累计流量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double waterTotalAmountMeter; |
| | | |
| | | /** |
| | | * 本年累计电量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double eleTotalAmountYear; |
| | | |
| | | /** |
| | | * 电表累计电量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double eleTotalAmountMeter; |
| | | |
| | | /** |
| | | * 当日水表净流量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double waterTotalAmountDay; |
| | | |
| | | /** |
| | | * 当日用户用水量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double waterUserTotalAmountDay; |
| | | |
| | | /** |
| | | * 漏损水量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double lossTotalAmountDay; |
| | | |
| | | /** |
| | | * 后备电池电压 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double batteryVolt; |
| | | |
| | | public void valueFrom(DataV202404 dataV202404, DataCd83Vo cdData) throws Exception{ |
| | |
| | | * 水位(单位0.001米) |
| | | */ |
| | | @Schema(description = "水位(单位0.001米)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double waterLevel; |
| | | |
| | | /** |
| | | * 水压(单位0.01千帕) |
| | | */ |
| | | @Schema(description = "水压(单位0.01千帕)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double waterPress; |
| | | |
| | | /** |
| | | * 瞬时流量(单位0.01m3/小时) |
| | | */ |
| | | @Schema(description = "瞬时流量(单位0.01m3/小时)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double waterInstant; |
| | | |
| | | /** |
| | | * 水表累计流量(单位0.01m3) |
| | | */ |
| | | @Schema(description = "水表累计流量(单位0.01m3)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double waterTotal; |
| | | |
| | | /** |
| | | * 电表累计电量(单位0.01度) |
| | | */ |
| | | @Schema(description = "电表累计电量(单位0.01度)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double eleTotal; |
| | | |
| | | /** |
| | | * 用户剩余金额(单位0.01元) |
| | | */ |
| | | @Schema(description = "用户剩余金额(单位0.01元)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double moneyRemain; |
| | | |
| | | /** |
| | | * 用户剩余水量(单位0.01m3) |
| | | */ |
| | | @Schema(description = "用户剩余水量(单位0.01m3)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double waterRemain; |
| | | |
| | | /** |
| | | * 本次使用电量(单位0.01度) |
| | | */ |
| | | @Schema(description = "本次使用电量(单位0.01度)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double thisEle; |
| | | |
| | | /** |
| | | * 本次使用水量(单位0.01m3) |
| | | */ |
| | | @Schema(description = "本次使用水量(单位0.01m3)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double thisWater; |
| | | |
| | | /** |
| | | * 本次使用金额(单位0.01元) |
| | | */ |
| | | @Schema(description = "本次使用金额(单位0.01元)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double thisMoney; |
| | | |
| | | /** |
| | |
| | | * 当前水量单价(单位0.01元 最大99.99元) |
| | | */ |
| | | @Schema(description = "当前水量单价(单位0.01元 最大99.99元)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double waterPrice; |
| | | |
| | | /** |
| | | * 当前电量单价(单位0.01元 最大99.99元) |
| | | */ |
| | | @Schema(description = "当前电量单价(单位0.01元 最大99.99元)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double elePrice; |
| | | |
| | | /** |
| | | * 交流A相电压(单位0.1伏特) |
| | | */ |
| | | @Schema(description = "交流A相电压(单位0.1伏特)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double aVolt; |
| | | |
| | | /** |
| | | * 交流B相电压(单位0.1伏特) |
| | | */ |
| | | @Schema(description = "交流B相电压(单位0.1伏特)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double bVolt; |
| | | |
| | | /** |
| | | * 交流C相电压(单位0.1伏特) |
| | | */ |
| | | @Schema(description = "交流C相电压(单位0.1伏特)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double cVolt; |
| | | |
| | | /** |
| | | * 交流A相电流(单位0.1安培) |
| | | */ |
| | | @Schema(description = "交流A相电流(单位0.1安培)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double aCurrent; |
| | | |
| | | /** |
| | | * 交流B相电流数据(单位0.1安培) |
| | | */ |
| | | @Schema(description = "交流B相电流数据(单位0.1安培)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double bCurrent; |
| | | |
| | | /** |
| | | * 交流C相电流(单位0.1安培) |
| | | */ |
| | | @Schema(description = "交流C相电流(单位0.1安培)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double cCurrent; |
| | | |
| | | /** |
| | | * 后备电池电压(单位0.01伏特) |
| | | */ |
| | | @Schema(description = "后备电池电压(单位0.01伏特)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double batteryVolt; |
| | | |
| | | /** |
| | | * 水表远传电压(单位0.01伏特) |
| | | */ |
| | | @Schema(description = "水表远传电压(单位0.01伏特)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double waterMeterTransVolt; |
| | | |
| | | /** |
| | | * 水表工作电压(单位0.01伏特) |
| | | */ |
| | | @Schema(description = "水表工作电压(单位0.01伏特)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double waterMeterWorkVolt; |
| | | |
| | | public void valueFrom(DataV202404 dataV202404, DataCd80_5BVo cdData) throws Exception{ |
| | |
| | | * 水位(单位0.001米) |
| | | */ |
| | | @Schema(description = "水位(单位0.001米)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double waterLevel; |
| | | |
| | | /** |
| | | * 水压(单位0.01千帕) |
| | | */ |
| | | @Schema(description = "水压(单位0.01千帕)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double waterPress; |
| | | |
| | | /** |
| | | * 瞬时流量(单位0.01m3/小时) |
| | | */ |
| | | @Schema(description = "瞬时流量(单位0.01m3/小时)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double waterInstant; |
| | | |
| | | /** |
| | | * 水表累计流量(单位0.01m3) |
| | | */ |
| | | @Schema(description = "水表累计流量(单位0.01m3)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double waterTotal; |
| | | |
| | | /** |
| | | * 电表累计电量(单位0.01度) |
| | | */ |
| | | @Schema(description = "电表累计电量(单位0.01度)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double eleTotal; |
| | | |
| | | /** |
| | | * 用户剩余金额(单位0.01元) |
| | | */ |
| | | @Schema(description = "用户剩余金额(单位0.01元)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double moneyRemain; |
| | | |
| | | /** |
| | | * 用户剩余水量(单位0.01m3) |
| | | */ |
| | | @Schema(description = "用户剩余水量(单位0.01m3)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double waterRemain; |
| | | |
| | | /** |
| | | * 本次使用电量(单位0.01度) |
| | | */ |
| | | @Schema(description = "本次使用电量(单位0.01度)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double thisEle; |
| | | |
| | | /** |
| | | * 本次使用水量(单位0.01m3) |
| | | */ |
| | | @Schema(description = "本次使用水量(单位0.01m3)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double thisWater; |
| | | |
| | | /** |
| | | * 本次使用金额(单位0.01元) |
| | | */ |
| | | @Schema(description = "本次使用金额(单位0.01元)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double thisMoney; |
| | | |
| | | /** |
| | |
| | | * 当前水量单价(单位0.01元 最大99.99元) |
| | | */ |
| | | @Schema(description = "当前水量单价(单位0.01元 最大99.99元)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double waterPrice; |
| | | |
| | | /** |
| | | * 当前电量单价(单位0.01元 最大99.99元) |
| | | */ |
| | | @Schema(description = "当前电量单价(单位0.01元 最大99.99元)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double elePrice; |
| | | |
| | | /** |
| | | * 交流A相电压(单位0.1伏特) |
| | | */ |
| | | @Schema(description = "交流A相电压(单位0.1伏特)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double aVolt; |
| | | |
| | | /** |
| | | * 交流B相电压(单位0.1伏特) |
| | | */ |
| | | @Schema(description = "交流B相电压(单位0.1伏特)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double bVolt; |
| | | |
| | | /** |
| | | * 交流C相电压(单位0.1伏特) |
| | | */ |
| | | @Schema(description = "交流C相电压(单位0.1伏特)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double cVolt; |
| | | |
| | | /** |
| | | * 交流A相电流(单位0.1安培) |
| | | */ |
| | | @Schema(description = "交流A相电流(单位0.1安培)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double aCurrent; |
| | | |
| | | /** |
| | | * 交流B相电流数据(单位0.1安培) |
| | | */ |
| | | @Schema(description = "交流B相电流数据(单位0.1安培)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double bCurrent; |
| | | |
| | | /** |
| | | * 交流C相电流(单位0.1安培) |
| | | */ |
| | | @Schema(description = "交流C相电流(单位0.1安培)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double cCurrent; |
| | | |
| | | /** |
| | | * 后备电池电压(单位0.01伏特) |
| | | */ |
| | | @Schema(description = "后备电池电压(单位0.01伏特)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double batteryVolt; |
| | | |
| | | /** |
| | | * 水表远传电压(单位0.01伏特) |
| | | */ |
| | | @Schema(description = "水表远传电压(单位0.01伏特)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double waterMeterTransVolt; |
| | | |
| | | /** |
| | | * 水表工作电压(单位0.01伏特) |
| | | */ |
| | | @Schema(description = "水表工作电压(单位0.01伏特)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double waterMeterWorkVolt; |
| | | |
| | | public void valueFrom(DataV202404 dataV202404, DataCd80_5BVo cdData) throws Exception{ |
| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.*; |
| | | import lombok.*; |
| | |
| | | */ |
| | | @Schema(description = "补卡金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Length(message = "补卡金额不小于{min}", min = 0) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float reissueamount; |
| | | |
| | | /** |
| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.NotNull; |
| | | import jakarta.validation.constraints.Positive; |
| | |
| | | */ |
| | | @Schema(description = "退款金额", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @Length(message = "退款金额不小于{min}字", min = 1) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float refund; |
| | | |
| | | /** |
| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.NotNull; |
| | | import jakarta.validation.constraints.Positive; |
| | |
| | | */ |
| | | @Schema(description = "卡片余额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Length(message = "卡片余额不小于{min}", min = 0) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float money; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Schema(description = "系统余额", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @Length(message = "系统余额不小于{min}", min = 0) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float systemBalance; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Schema(description = "交易金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Length(message = "交易金额不小于{min}", min = 0) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float tradeAmount; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Schema(description = "水价", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Length(message = "水价不小于{min}", min = 0) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float price; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Schema(description = "赠送金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Length(message = "赠送金额不小于{min}", min = 0) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float gift; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Schema(description = "返还金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Length(message = "返还金额不小于{min}", min = 0) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float refundAmount; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Schema(description = "非交易金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Length(message = "非交易金额不小于{min}", min = 0) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float noTradeAmount; |
| | | |
| | | /** |
| | |
| | | import com.alibaba.fastjson2.writer.ObjectWriterImplToString; |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.*; |
| | | import lombok.*; |
| | |
| | | * 种植面积 |
| | | */ |
| | | @Schema(description = "农户种植面积", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double area; |
| | | |
| | | /** |
| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.NotBlank; |
| | | import jakarta.validation.constraints.Positive; |
| | |
| | | * 余额 |
| | | */ |
| | | @Schema(description = "余额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float money; |
| | | |
| | | /** |
| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.Min; |
| | | import jakarta.validation.constraints.NotNull; |
| | |
| | | */ |
| | | @Schema(description = "钱包余额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Min(value = 0, message = "钱包余额不能小于0") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double money; |
| | | |
| | | /** |
| | |
| | | @Schema(description = "消费金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Min(value = 0, message = "消费金额不能小于0") |
| | | @NotNull(message = "消费金额不能为空") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double consumption; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Schema(description = "消费后余额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Min(value = 0, message = "消费后余额不能小于0") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double afterConsume; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Schema(description = "用水时长", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Min(value = 0, message = "用水时长不能小于0") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double duration; |
| | | |
| | | /** |
| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.Max; |
| | | import jakarta.validation.constraints.Min; |
| | |
| | | */ |
| | | @Schema(description = "实收金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @NotNull(message = "实收金额不能为空") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double tradeAmount; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Schema(description = "赠送金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @NotNull(message = "赠送金额不能为空") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double gift; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Schema(description = "返还金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @NotNull(message = "返还金额不能为空") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double refundAmount; |
| | | |
| | | /** |
| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.NotNull; |
| | | import jakarta.validation.constraints.Positive; |
| | |
| | | */ |
| | | @Schema(description = "余额", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @Length(message = "卡片余额不小于{min}", min = 0) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float money; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Schema(description = "退款金额", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @Length(message = "退款金额不小于{min}", min = 0) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float refund; |
| | | |
| | | /** |
| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.NotNull; |
| | | import jakarta.validation.constraints.Positive; |
| | |
| | | @Schema(description = "卡片余额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @NotNull(message = "卡片余额不能为空") |
| | | @Length(message = "卡片余额不小于{min}", min = 0) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float money; |
| | | |
| | | /** |
| | |
| | | @Schema(description = "充值金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @NotNull(message = "充值金额不能为空") |
| | | @Length(message = "充值金额不小于{min}", min = 0) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float amount; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Schema(description = "赠送金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Length(message = "赠送金额不小于{min}", min = 0) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float gift; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Schema(description = "充值后余额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Length(message = "充值后余额不小于{min}", min = 0) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float afterrecharge; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Schema(description = "水价", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Length(message = "水价不小于{min}", min = 0) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float price; |
| | | |
| | | /** |
| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.NotNull; |
| | | import jakarta.validation.constraints.Positive; |
| | |
| | | @Schema(description = "卡片余额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @NotNull(message = "卡片余额不能为空") |
| | | @Length(message = "卡片余额不小于{min}", min = 0) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float money; |
| | | |
| | | /** |
| | |
| | | @Schema(description = "充值金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @NotNull(message = "充值金额不能为空") |
| | | @Length(message = "充值金额不小于{min}", min = 0) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float amount; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Schema(description = "赠送金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Length(message = "赠送金额不小于{min}", min = 0) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float gift; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Schema(description = "充值后余额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Length(message = "充值后余额不小于{min}", min = 0) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float afterrecharge; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Schema(description = "水价", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Length(message = "水价不小于{min}", min = 0) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float price; |
| | | |
| | | /** |
| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.Max; |
| | | import jakarta.validation.constraints.Min; |
| | |
| | | */ |
| | | @Schema(description = "钱包余额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Min(value = 0, message = "钱包余额不能小于0") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double money; |
| | | |
| | | /** |
| | |
| | | @Schema(description = "退款金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Min(value = 0, message = "消退款金额不能小于0") |
| | | //@NotNull(message = "退款金额不能为空") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double refundAmount; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Schema(description = "退款后余额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Min(value = 0, message = "退款后余额不能小于0") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double afterRefund; |
| | | |
| | | /** |
| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.NotNull; |
| | | import jakarta.validation.constraints.Positive; |
| | |
| | | */ |
| | | @Schema(description = "卡片余额", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @Length(message = "卡片余额不小于{min}字", min = 1) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float cardbalance; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Schema(description = "系统余额", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @Length(message = "系统余额不小于{min}字", min = 1) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float systembalance; |
| | | |
| | | /** |
| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.NotNull; |
| | | import jakarta.validation.constraints.Positive; |
| | |
| | | */ |
| | | @Schema(description = "剩余金额", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @Length(message = "剩余金额不小于{min}字", min = 1) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float money; |
| | | |
| | | /** |
| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.NotBlank; |
| | | import jakarta.validation.constraints.NotNull; |
| | |
| | | */ |
| | | @Schema(description = "钱包余额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @NotNull(message = "钱包余额不能为空") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double money; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Schema(description = "充值后余额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @NotNull(message = "充值后余额不能为空") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double afterRecharge; |
| | | |
| | | /** |
| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.NotNull; |
| | | import lombok.*; |
| | |
| | | * 虚拟卡余额,退款通知后更新余额 |
| | | */ |
| | | @Schema(description = "虚拟卡余额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double money; |
| | | |
| | | /** |
| | |
| | | * 退款后余额 |
| | | */ |
| | | @Schema(description = "退款后余额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double afterRefund; |
| | | |
| | | /** |
| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.Max; |
| | | import jakarta.validation.constraints.Min; |
| | |
| | | */ |
| | | @Schema(description = "钱包余额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Min(value = 0, message = "钱包余额不能小于0") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double money; |
| | | |
| | | /** |
| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.Max; |
| | | import jakarta.validation.constraints.Min; |
| | |
| | | */ |
| | | @Schema(description = "钱包余额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Min(value = 0, message = "钱包余额不能小于0") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double money; |
| | | |
| | | /** |
| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.Min; |
| | | import jakarta.validation.constraints.NotNull; |
| | |
| | | */ |
| | | @Schema(description = "钱包余额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Min(value = 0, message = "钱包余额不能小于0") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double money; |
| | | |
| | | /** |
| | |
| | | @Schema(description = "充值金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Min(value = 0, message = "钱包余额不能小于0") |
| | | @NotNull(message = "充值金额不能为空") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double amount; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Schema(description = "充值后余额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Min(value = 0, message = "钱包余额不能小于0") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double afterRecharge; |
| | | |
| | | /** |
| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.*; |
| | | |
| | |
| | | * 用水量(m3) |
| | | */ |
| | | @Schema(description = "月用水量(m3)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double amount; |
| | | |
| | | /** |
| | | * 费用(元) |
| | | */ |
| | | @Schema(description = "月费用(元)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double money; |
| | | |
| | | } |
| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.*; |
| | | |
| | |
| | | * 年用水量 |
| | | */ |
| | | @Schema(description = "年用水量(m3)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double amount; |
| | | |
| | | /** |
| | | * 年费用 |
| | | */ |
| | | @Schema(description = "年费用(元)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double money; |
| | | |
| | | } |
| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.*; |
| | | |
| | |
| | | * 月取水量 |
| | | */ |
| | | @Schema(description = "月取水量(m3)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double amount; |
| | | |
| | | } |
| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.*; |
| | | |
| | |
| | | * 年取水量 |
| | | */ |
| | | @Schema(description = "年取水量", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double amount; |
| | | |
| | | } |
| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.*; |
| | | |
| | |
| | | * 月统计 |
| | | */ |
| | | @Schema(description = "月漏损量(m3)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double amount; |
| | | |
| | | } |
| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.*; |
| | | |
| | |
| | | * 年漏损统计 |
| | | */ |
| | | @Schema(description = "年漏损量(m3)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Double amount; |
| | | |
| | | } |
| | |
| | | import com.alibaba.excel.annotation.ExcelProperty; |
| | | import com.alibaba.excel.annotation.write.style.ColumnWidth; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | |
| | |
| | | private String unitId; |
| | | |
| | | @Schema(description = "灌溉面积") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double area; |
| | | |
| | | @Schema(description = "备注") |
| | |
| | | package com.dy.pipIrrGlobal.voPr; |
| | | |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.fasterxml.jackson.annotation.JsonPropertyOrder; |
| | | import lombok.Data; |
| | | |
| | |
| | | /** |
| | | * 累计流量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double totalAmount; |
| | | |
| | | /** |
| | |
| | | private String clientId; |
| | | |
| | | @Schema(description = "日取水量", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double amount; |
| | | |
| | | @Schema(description = "日花费金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double money; |
| | | |
| | | @Schema(description = "统计日期(yyyy-mm-dd)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | |
| | | private java.util.Date closeDtLast; |
| | | |
| | | @Schema(description = "统计日最后一次开阀取水量", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double thisAmountLast; |
| | | |
| | | @Schema(description = "统计日最后一次开阀花费金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double thisMoneyLast; |
| | | |
| | | @Schema(description = "统计日最后一次开阀取水时长(分钟)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | |
| | | /** |
| | | * 本次花费金额 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float moneyAmount; |
| | | |
| | | /** |
| | | * 本次用水量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float waterAmount; |
| | | |
| | | /** |
| | |
| | | private String intakeName; |
| | | |
| | | @Schema(description = "日取水量(不包括漏损水量)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double amount; |
| | | |
| | | @Schema(description = "统计日期(yyyy-mm-dd)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | |
| | | private String controllerIdLast; |
| | | |
| | | @Schema(description = "最后计水量时控制器累计水量", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double totalAmountLast; |
| | | |
| | | @Schema(description = "最后计水量时控制器时钟(yyyy-mm-dd HH:MM:SS)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | |
| | | private java.util.Date dtRtu; |
| | | |
| | | @Schema(description = "日漏损流量", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double lossAmount; |
| | | } |
| | |
| | | /** |
| | | * 瞬时流量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double instantAmount; |
| | | |
| | | /** |
| | | * 累计流量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double totalAmount; |
| | | |
| | | /** |
| | | * 损失流量,从当日0时到当前的漏损累计流量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double lossAmount; |
| | | |
| | | /** |
| | | * 水压 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double waterPress; |
| | | |
| | | /** |
| | | * 蓄电池电压 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double batteryVolt; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 水价 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double waterPrice; |
| | | } |
| | |
| | | /** |
| | | * 消费金额 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double expense; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 用水量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double amount; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 本年累计流量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double waterTotalAmountYear; |
| | | |
| | | /** |
| | | * 水表累计流量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double waterTotalAmountMeter; |
| | | |
| | | /** |
| | | * 本年累计电量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double eleTotalAmountYear; |
| | | |
| | | /** |
| | | * 电表累计电量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double eleTotalAmountMeter; |
| | | |
| | | /** |
| | | * 当日水表净流量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double waterTotalAmountDay; |
| | | |
| | | /** |
| | | * 当日用户用水量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double waterUserTotalAmountDay; |
| | | |
| | | /** |
| | | * 漏损水量 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double lossTotalAmountDay; |
| | | |
| | | /** |
| | | * 后备电池电压 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double batteryVolt; |
| | | } |
| | |
| | | private String clientName; |
| | | |
| | | /** |
| | | * 农户地址 |
| | | */ |
| | | private String clientAddr; |
| | | |
| | | /** |
| | | * IC卡编号 |
| | | */ |
| | | private String icNum; |
| | |
| | | /** |
| | | * 水位(单位0.001米) |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.000" ) |
| | | private Double waterLevel; |
| | | |
| | | /** |
| | | * 水压(单位0.01千帕) |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double waterPress; |
| | | |
| | | /** |
| | | * 瞬时流量(单位0.01m3/小时) |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double waterInstant; |
| | | |
| | | /** |
| | | * 水表累计流量(单位0.01m3) |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double waterTotal; |
| | | |
| | | /** |
| | | * 电表累计电量(单位0.01度) |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double eleTotal; |
| | | |
| | | /** |
| | | * 用户剩余金额(单位0.01元) |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double moneyRemain; |
| | | |
| | | /** |
| | | * 用户剩余水量(单位0.01m3) |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double waterRemain; |
| | | |
| | | /** |
| | | * 本次使用电量(单位0.01度) |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double thisEle; |
| | | |
| | | /** |
| | | * 本次使用水量(单位0.01m3) |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double thisWater; |
| | | |
| | | /** |
| | | * 本次使用金额(单位0.01元) |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double thisMoney; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 当前水量单价(单位0.01元 最大99.99元) |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double waterPrice; |
| | | |
| | | /** |
| | | * 当前电量单价(单位0.01元 最大99.99元) |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double elePrice; |
| | | |
| | | /** |
| | | * 交流A相电压(单位0.1伏特) |
| | | */ |
| | | @JsonProperty("aVolt") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double aVolt; |
| | | |
| | | /** |
| | | * 交流B相电压(单位0.1伏特) |
| | | */ |
| | | @JsonProperty("bVolt") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double bVolt; |
| | | |
| | | /** |
| | | * 交流C相电压(单位0.1伏特) |
| | | */ |
| | | @JsonProperty("cVolt") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double cVolt; |
| | | |
| | | /** |
| | | * 交流A相电流(单位0.1安培) |
| | | */ |
| | | @JsonProperty("aCurrent") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double aCurrent; |
| | | |
| | | /** |
| | | * 交流B相电流数据(单位0.1安培) |
| | | */ |
| | | @JsonProperty("bCurrent") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double bCurrent; |
| | | |
| | | /** |
| | | * 交流C相电流(单位0.1安培) |
| | | */ |
| | | @JsonProperty("cCurrent") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double cCurrent; |
| | | |
| | | /** |
| | | * 后备电池电压(单位0.01伏特) |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double batteryVolt; |
| | | |
| | | /** |
| | | * 水表远传电压(单位0.01伏特) |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double waterMeterTransVolt; |
| | | |
| | | /** |
| | | * 水表工作电压(单位0.01伏特) |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double waterMeterWorkVolt; |
| | | |
| | | } |
| | |
| | | private Integer cardCost; |
| | | |
| | | @Schema(title = "补卡金额") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double reissueAmount; |
| | | |
| | | //@Schema(title = "支付方式") |
| | |
| | | import com.alibaba.fastjson2.annotation.JSONField; |
| | | import com.alibaba.fastjson2.writer.ObjectWriterImplToString; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | |
| | |
| | | private String cardType; |
| | | |
| | | @Schema(title = "余额") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float money; |
| | | |
| | | @Schema(title = "水卡状态") |
| | |
| | | package com.dy.pipIrrGlobal.voSe; |
| | | |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | |
| | |
| | | public Long id ; |
| | | |
| | | @Schema(title = "余额") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | public Float money; |
| | | |
| | | } |
| | |
| | | /** |
| | | * 种植面积 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double area; |
| | | |
| | | /** |
| | |
| | | import com.alibaba.fastjson2.annotation.JSONField; |
| | | import com.alibaba.fastjson2.writer.ObjectWriterImplToString; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.fasterxml.jackson.annotation.JsonPropertyOrder; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | |
| | | |
| | | @ExcelProperty(value = {"${title}", "赠送金额"}) |
| | | @ColumnWidth(15) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float gift; |
| | | |
| | | @ExcelProperty(value = {"${title}", "返还金额"}) |
| | | @ColumnWidth(15) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float refundAmount; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @ExcelProperty(value = {"${title}", "总额"}) |
| | | @ColumnWidth(10) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float totalAmount; |
| | | |
| | | @ExcelProperty(value = {"${title}", "交易日期"}) |
| | |
| | | @Schema(title = "卡片余额") |
| | | @JsonSerialize(using = Double2Serializer.class) |
| | | //private Float money; |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double money; |
| | | |
| | | @Schema(title = "操作人") |
| | |
| | | |
| | | //注销查询2个返回值 |
| | | @Schema(title = "退回金额") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float refund; |
| | | |
| | | @Schema(title = "退款方式名称") |
| | |
| | | |
| | | //挂失1个返回值 |
| | | @Schema(title = "卡片余额及冲正后余额") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double money; |
| | | |
| | | //冲正2个返回值,冲正后余额与挂失共用 |
| | | @Schema(title = "冲正前余额") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double systemBalance; |
| | | |
| | | //解锁1个返回值,与挂失共用 |
| | |
| | | /** |
| | | * 购水金额 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double waterCost; |
| | | |
| | | /** |
| | | * 赠送金额 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double gift; |
| | | |
| | | /** |
| | | * 购卡金额 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double cardCost; |
| | | |
| | | /** |
| | | * 收费金额 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double amount; |
| | | |
| | | /** |
| | | * 水卡余额 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double money; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 本次充值金额 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float amount; |
| | | |
| | | /** |
| | | * 本次赠送金额 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float gift; |
| | | |
| | | /** |
| | | * 返还金额 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float refundAmount; |
| | | |
| | | /** |
| | | * 充值后金额,充值时余额 + 本次充值金额 + 本次赠送金额 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float afterRecharge; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 水价 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float price; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 充值金额 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float amount; |
| | | |
| | | /** |
| | | * 赠送金额 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float gift; |
| | | |
| | | /** |
| | | * 充值后余额 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float afterRecharge; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 返还前余额 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float money; |
| | | |
| | | /** |
| | | * 返还金额 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float refundAmount; |
| | | |
| | | /** |
| | |
| | | private Integer cardCost; |
| | | |
| | | @Schema(title = "补卡金额") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double reissueAmount; |
| | | |
| | | @Schema(title = "操作人") |
| | |
| | | private String cardNum; |
| | | |
| | | @Schema(title = "剩余金额") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float cardBalance; |
| | | |
| | | @Schema(title = "操作人") |
| | |
| | | import com.alibaba.fastjson2.annotation.JSONField; |
| | | import com.alibaba.fastjson2.writer.ObjectWriterImplToString; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.fasterxml.jackson.annotation.JsonPropertyOrder; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | |
| | | */ |
| | | @ExcelProperty(value = {"${title}", "交易金额"}) |
| | | @ColumnWidth(15) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double tradeAmount; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @ExcelProperty(value = {"${title}", "购水金额"}) |
| | | @ColumnWidth(15) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double waterCost; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @ExcelProperty(value = {"${title}", "购卡金额"}) |
| | | @ColumnWidth(15) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double cardCost; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @ExcelProperty(value = {"${title}", "赠送金额"}) |
| | | @ColumnWidth(15) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double gift; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @ExcelProperty(value = {"${title}", "返还金额"}) |
| | | @ColumnWidth(15) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double refundAmount; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @ExcelProperty(value = {"${title}", "余额"}) |
| | | @ColumnWidth(15) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double money; |
| | | |
| | | /** |
| | |
| | | private Date operateTime; |
| | | |
| | | @Schema(title = "余额") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float money; |
| | | |
| | | @Schema(title = "购水金额") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float waterCost; |
| | | |
| | | @Schema(title = "赠送金额") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float gift; |
| | | |
| | | @Schema(title = "购卡金额") |
| | |
| | | import com.alibaba.fastjson2.annotation.JSONField; |
| | | import com.alibaba.fastjson2.writer.ObjectWriterImplToString; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.Data; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 实收金额 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float received; |
| | | |
| | | /** |
| | | * 赠送金额 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float gift; |
| | | |
| | | /** |
| | | * 返还金额 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float refundAmount; |
| | | |
| | | /** |
| | |
| | | private String cardNum; |
| | | |
| | | @Schema(title = "剩余金额") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float money; |
| | | |
| | | @Schema(title = "操作人") |
| | |
| | | /** |
| | | * 充值后余额 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double afterRecharge; |
| | | |
| | | /** |
| | |
| | | import com.alibaba.fastjson2.annotation.JSONField; |
| | | import com.alibaba.fastjson2.writer.ObjectWriterImplToString; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.fasterxml.jackson.annotation.JsonPropertyOrder; |
| | | import lombok.Data; |
| | | |
| | |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | private Long vcNum; |
| | | |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double money; |
| | | |
| | | private Boolean inUse; |
| | |
| | | package com.dy.pipIrrGlobal.voSe; |
| | | |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | |
| | |
| | | private String phone; |
| | | |
| | | @Schema(title = "电子钱包余额") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double money; |
| | | } |
| | |
| | | private static final long serialVersionUID = 202401311824001L; |
| | | |
| | | @Schema(title = "消费金额") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double consumption; |
| | | |
| | | @Schema(title = "用水时长") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double duration; |
| | | |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | |
| | | private String phone; |
| | | |
| | | @Schema(title = "充值金额") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double amount; |
| | | |
| | | @Schema(title = "电子钱包余额") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double afterRecharge; |
| | | |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | |
| | | private String phone; |
| | | |
| | | @Schema(title = "申请退款金额") |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double refundAmount; |
| | | |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | |
| | | inta.name AS intakeNum, |
| | | wo.rtu_addr AS rtuAddr, |
| | | wo.client_name AS clientName, |
| | | wo.client_name AS clientName, |
| | | cl.address AS clientAddr, |
| | | wo.ic_card_no AS icNum, |
| | | wo.ic_card_addr AS icAddr, |
| | | wo.dt AS receiveTime, |
| | |
| | | wo.water_meter_work_volt AS waterMeterWorkVolt |
| | | FROM rm_work_report_history wo |
| | | INNER JOIN pr_intake inta ON inta.id = wo.intake_id |
| | | LEFT JOIN se_client cl on wo.client_id = cl.id |
| | | <where> |
| | | <if test="intakeId != null and intakeId >0"> |
| | | AND wo.intake_id = #{intakeId} |
| | |
| | | wo.intake_id AS intakeId, |
| | | inta.name AS intakeNum, |
| | | wo.rtu_addr AS rtuAddr, |
| | | wo.client_name AS clientName, |
| | | wo.client_name AS clientName, |
| | | cl.address AS clientAddr, |
| | | wo.ic_card_no AS icNum, |
| | | wo.ic_card_addr AS icAddr, |
| | | wo.dt AS receiveTime, |
| | |
| | | wo.water_meter_work_volt AS waterMeterWorkVolt |
| | | FROM rm_work_report_last wo |
| | | INNER JOIN pr_intake inta ON inta.id = wo.intake_id |
| | | LEFT JOIN se_client cl on wo.client_id = cl.id |
| | | <where> |
| | | <if test="intakeId != null and intakeId >0"> |
| | | AND wo.intake_id = #{intakeId} |