李一帆 2024-01-29 17:02:56 +08:00
parent d34b2a5aaf
commit c6067e5e40
2 changed files with 112 additions and 113 deletions

View File

@ -6,7 +6,7 @@ import com.gunshi.project.xyt.entity.dto.*;
import com.gunshi.project.xyt.model.*; import com.gunshi.project.xyt.model.*;
import com.gunshi.project.xyt.service.EngineeringDrainageService; import com.gunshi.project.xyt.service.EngineeringDrainageService;
import com.gunshi.project.xyt.so.*; import com.gunshi.project.xyt.so.*;
import com.gunshi.project.xyt.validate.markers.Insert; import com.gunshi.project.xyt.validate.markers.Update;
import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag; import io.swagger.v3.oas.annotations.tags.Tag;
@ -34,68 +34,68 @@ public class EngineeringDrainageController {
@Operation(summary = "新增水库基础信息") @Operation(summary = "新增水库基础信息")
@PostMapping("/StRes/insert") @PostMapping("/StRes/insert")
public R<String> insertRes(@RequestBody @Validated StResDto stResDto){ public R<String> insertRes(@RequestBody @Validated StResDto stResDto) {
engineeringDrainageService.insertStRes(stResDto); engineeringDrainageService.insertStRes(stResDto);
return R.ok(); return R.ok();
} }
@Operation(summary = "更新水库的基础信息") @Operation(summary = "更新水库的基础信息")
@PostMapping("/StRes/update") @PostMapping("/StRes/update")
public R<String> updateStRes(@Validated(Insert.class) @RequestBody StResB stResB){ public R<String> updateStRes(@Validated(Update.class) @RequestBody StResB stResB) {
engineeringDrainageService.updateStRes(stResB); engineeringDrainageService.updateStRes(stResB);
return R.ok(); return R.ok();
} }
@Operation(summary = "根据水库ID删除水库基本信息") @Operation(summary = "根据水库ID删除水库基本信息")
@GetMapping("/StRes/delete") @GetMapping("/StRes/delete")
public R<String> deleteStRes(@Parameter(description = "水库ID") @RequestParam("resId") String resId){ public R<String> deleteStRes(@Parameter(description = "水库ID") @RequestParam("resId") String resId) {
engineeringDrainageService.deleteStRes(resId); engineeringDrainageService.deleteStRes(resId);
return R.ok(); return R.ok();
} }
@Operation(summary = "分页查询水库的基础信息") @Operation(summary = "分页查询水库的基础信息")
@PostMapping("/StRes/page") @PostMapping("/StRes/page")
public R<Page<StResB>> pageStRes(@RequestBody @Validated StResPageSo stResPageSo){ public R<Page<StResB>> pageStRes(@RequestBody @Validated StResPageSo stResPageSo) {
return R.ok(engineeringDrainageService.pageStRes(stResPageSo)); return R.ok(engineeringDrainageService.pageStRes(stResPageSo));
} }
@Operation(summary = "新增水库测站关系") @Operation(summary = "新增水库测站关系")
@PostMapping("/StResStcdRef/insert") @PostMapping("/StResStcdRef/insert")
public R<String> insertStResStcdRef(@RequestBody @Validated StResStcdRefDto stResStcdRefDto){ public R<String> insertStResStcdRef(@RequestBody @Validated StResStcdRefDto stResStcdRefDto) {
engineeringDrainageService.insertStResStcdRef(stResStcdRefDto); engineeringDrainageService.insertStResStcdRef(stResStcdRefDto);
return R.ok(); return R.ok();
} }
@Operation(summary = "更新水库测站关系") @Operation(summary = "更新水库测站关系")
@PostMapping("/StResStcdRef/update") @PostMapping("/StResStcdRef/update")
public R<String> updateStResStcdRef(@RequestBody @Validated StResStcdRef stResStcdRef){ public R<String> updateStResStcdRef(@RequestBody @Validated StResStcdRef stResStcdRef) {
engineeringDrainageService.updateStResStcdRef(stResStcdRef); engineeringDrainageService.updateStResStcdRef(stResStcdRef);
return R.ok(); return R.ok();
} }
@Operation(summary = "删除水库测站关系") @Operation(summary = "删除水库测站关系")
@GetMapping("/StResStcdRef/delete") @GetMapping("/StResStcdRef/delete")
public R<String> deleteStResStcdRef(@Parameter(description = "水库ID") @RequestParam("resId") String resId){ public R<String> deleteStResStcdRef(@Parameter(description = "水库ID") @RequestParam("resId") String resId) {
engineeringDrainageService.deleteStResStcdRef(resId); engineeringDrainageService.deleteStResStcdRef(resId);
return R.ok(); return R.ok();
} }
@Operation(summary = "根据水库ID查询水库测站关系") @Operation(summary = "根据水库ID查询水库测站关系")
@GetMapping("/StResStcdRef/queryByResId") @GetMapping("/StResStcdRef/queryByResId")
public R<StResStcdRef> queryStResStcdRefByResId(@Parameter(description = "水库ID") @RequestParam("resId")String resId){ public R<StResStcdRef> queryStResStcdRefByResId(@Parameter(description = "水库ID") @RequestParam("resId") String resId) {
return R.ok(engineeringDrainageService.queryStResStcdRefByResId(resId)); return R.ok(engineeringDrainageService.queryStResStcdRefByResId(resId));
} }
@Operation(summary = "新增库容曲线信息") @Operation(summary = "新增库容曲线信息")
@PostMapping("/StZvarl/insert") @PostMapping("/StZvarl/insert")
public R<String> insertStZvarl(@RequestBody @Validated StZvarlDto stZvarlDto){ public R<String> insertStZvarl(@RequestBody @Validated StZvarlDto stZvarlDto) {
engineeringDrainageService.insertStZvarl(stZvarlDto); engineeringDrainageService.insertStZvarl(stZvarlDto);
return R.ok(); return R.ok();
} }
@Operation(summary = "更新库容曲线信息") @Operation(summary = "更新库容曲线信息")
@PostMapping("/StZvarl/update") @PostMapping("/StZvarl/update")
public R<String> updateStZvarl(@RequestBody @Validated StZvarlB stZvarlB){ public R<String> updateStZvarl(@RequestBody @Validated StZvarlB stZvarlB) {
engineeringDrainageService.updateStZvarl(stZvarlB); engineeringDrainageService.updateStZvarl(stZvarlB);
return R.ok(); return R.ok();
} }
@ -104,170 +104,170 @@ public class EngineeringDrainageController {
@GetMapping("/StZvarl/delete") @GetMapping("/StZvarl/delete")
public R<String> deleteStZvarl( public R<String> deleteStZvarl(
@Parameter(description = "水库ID") @RequestParam("resId") String resId, @Parameter(description = "水库ID") @RequestParam("resId") String resId,
@Parameter(description = "序号") @RequestParam("ptno") String ptno){ @Parameter(description = "序号") @RequestParam("ptno") String ptno) {
engineeringDrainageService.deleteStZvarl(resId,ptno); engineeringDrainageService.deleteStZvarl(resId, ptno);
return R.ok(); return R.ok();
} }
@Operation(summary = "分页查询库容曲线信息") @Operation(summary = "分页查询库容曲线信息")
@PostMapping("/StZvarl/page") @PostMapping("/StZvarl/page")
public R<Page<StZvarlB>> pageStZvarl(@RequestBody @Validated StZvarlSo stZvarlSo){ public R<Page<StZvarlB>> pageStZvarl(@RequestBody @Validated StZvarlSo stZvarlSo) {
return R.ok(engineeringDrainageService.pageStZvarl(stZvarlSo)); return R.ok(engineeringDrainageService.pageStZvarl(stZvarlSo));
} }
@Operation(summary = "新增水库责任人信息") @Operation(summary = "新增水库责任人信息")
@PostMapping("/StResPersonRef/insert") @PostMapping("/StResPersonRef/insert")
public R<String> insertStResPersonRef(@RequestBody @Validated StResPersonRefDto stResPersonRefDto){ public R<String> insertStResPersonRef(@RequestBody @Validated StResPersonRefDto stResPersonRefDto) {
engineeringDrainageService.insertStResPersonRef(stResPersonRefDto); engineeringDrainageService.insertStResPersonRef(stResPersonRefDto);
return R.ok(); return R.ok();
} }
@Operation(summary = "更新水库责任人关系") @Operation(summary = "更新水库责任人关系")
@PostMapping("/StResPersonRef/update") @PostMapping("/StResPersonRef/update")
public R<String> updateStResPersonRef(@RequestBody @Validated StResPersonRef stResPersonRef){ public R<String> updateStResPersonRef(@RequestBody @Validated StResPersonRef stResPersonRef) {
engineeringDrainageService.updateStResPersonRef(stResPersonRef); engineeringDrainageService.updateStResPersonRef(stResPersonRef);
return R.ok(); return R.ok();
} }
@Operation(summary = "删除水库责任人信息") @Operation(summary = "删除水库责任人信息")
@GetMapping("/StResPersonRef/delete") @GetMapping("/StResPersonRef/delete")
public R<String> deleteStResPersonRef(@Parameter(description = "水库责任人关系ID") @RequestParam("id") String id){ public R<String> deleteStResPersonRef(@Parameter(description = "水库责任人关系ID") @RequestParam("id") String id) {
engineeringDrainageService.deleteStResPersonRef(id); engineeringDrainageService.deleteStResPersonRef(id);
return R.ok(); return R.ok();
} }
@Operation(summary = "分页查询水库责任人信息") @Operation(summary = "分页查询水库责任人信息")
@PostMapping("/StResPersonRef/page") @PostMapping("/StResPersonRef/page")
public R<Page<StResPersonRef>> pageStResPersonRef(StResPersonRefSo stResPersonRefSo){ public R<Page<StResPersonRef>> pageStResPersonRef(StResPersonRefSo stResPersonRefSo) {
return R.ok(engineeringDrainageService.pageStResPersonRef(stResPersonRefSo)); return R.ok(engineeringDrainageService.pageStResPersonRef(stResPersonRefSo));
} }
@Operation(summary = "新增水库附件信息") @Operation(summary = "新增水库附件信息")
@PostMapping("/StResFileRef/insert") @PostMapping("/StResFileRef/insert")
public R<String> insertStResFileRef(@RequestBody @Validated StResFileRefDto stResFileRefDto){ public R<String> insertStResFileRef(@RequestBody @Validated StResFileRefDto stResFileRefDto) {
engineeringDrainageService.insertStResFileRef(stResFileRefDto); engineeringDrainageService.insertStResFileRef(stResFileRefDto);
return R.ok(); return R.ok();
} }
@Operation(summary = "根据水库附件关系ID删除水库附件信息") @Operation(summary = "根据水库附件关系ID删除水库附件信息")
@GetMapping("/StResFileRef/delete") @GetMapping("/StResFileRef/delete")
public R<String> deleteStResFileRef(@Parameter(description = "水库附件关系ID") @RequestParam("id") String id){ public R<String> deleteStResFileRef(@Parameter(description = "水库附件关系ID") @RequestParam("id") String id) {
engineeringDrainageService.deleteStResFileRef(id); engineeringDrainageService.deleteStResFileRef(id);
return R.ok(); return R.ok();
} }
@Operation(summary = "分页查询水库附件") @Operation(summary = "分页查询水库附件")
@PostMapping("/StResFileRef/page") @PostMapping("/StResFileRef/page")
public R<Page<StResFileRef>> pageStResFileRef(@RequestBody @Validated StResFileRefSo stResFileRefSo){ public R<Page<StResFileRef>> pageStResFileRef(@RequestBody @Validated StResFileRefSo stResFileRefSo) {
return R.ok(engineeringDrainageService.pageStResFileRef(stResFileRefSo)); return R.ok(engineeringDrainageService.pageStResFileRef(stResFileRefSo));
} }
@Operation(summary = "新增河流基础信息") @Operation(summary = "新增河流基础信息")
@PostMapping("/StRv/insert") @PostMapping("/StRv/insert")
public R<String> insertStRv(@RequestBody @Validated StRvDto stRvDto){ public R<String> insertStRv(@RequestBody @Validated StRvDto stRvDto) {
engineeringDrainageService.insertStRv(stRvDto); engineeringDrainageService.insertStRv(stRvDto);
return R.ok(); return R.ok();
} }
@Operation(summary = "更新河流的基础信息") @Operation(summary = "更新河流的基础信息")
@PostMapping("/StRv/update") @PostMapping("/StRv/update")
public R<String> updateStRv(@RequestBody StRvB stRvB){ public R<String> updateStRv(@RequestBody StRvB stRvB) {
engineeringDrainageService.updateStRv(stRvB); engineeringDrainageService.updateStRv(stRvB);
return R.ok(); return R.ok();
} }
@Operation(summary = "根据河流ID删除河流信息") @Operation(summary = "根据河流ID删除河流信息")
@GetMapping("/StRv/delete") @GetMapping("/StRv/delete")
public R<String> deleteStRv(@Parameter(description = "河流ID") @RequestParam("rvId") String rvId){ public R<String> deleteStRv(@Parameter(description = "河流ID") @RequestParam("rvId") String rvId) {
engineeringDrainageService.deleteStRv(rvId); engineeringDrainageService.deleteStRv(rvId);
return R.ok(); return R.ok();
} }
@Operation(summary = "分页查询河流基础信息") @Operation(summary = "分页查询河流基础信息")
@PostMapping("/StRv/page") @PostMapping("/StRv/page")
public R<Page<StRvB>> pageStRv(@RequestBody StRvPageSo stRvPageSo){ public R<Page<StRvB>> pageStRv(@RequestBody StRvPageSo stRvPageSo) {
return R.ok(engineeringDrainageService.pageStRv(stRvPageSo)); return R.ok(engineeringDrainageService.pageStRv(stRvPageSo));
} }
@Operation(summary = "新增大坝基础信息") @Operation(summary = "新增大坝基础信息")
@PostMapping("/StDam/insert") @PostMapping("/StDam/insert")
public R<String> insertStDam(@RequestBody @Validated StDamDto stDamDto){ public R<String> insertStDam(@RequestBody @Validated StDamDto stDamDto) {
engineeringDrainageService.insertStDam(stDamDto); engineeringDrainageService.insertStDam(stDamDto);
return R.ok(); return R.ok();
} }
@Operation(summary = "更新大坝基础信息") @Operation(summary = "更新大坝基础信息")
@PostMapping("/StDam/update") @PostMapping("/StDam/update")
public R<String> updateStDam(@RequestBody StDamB stDamB){ public R<String> updateStDam(@RequestBody StDamB stDamB) {
engineeringDrainageService.updateStDam(stDamB); engineeringDrainageService.updateStDam(stDamB);
return R.ok(); return R.ok();
} }
@Operation(summary = "根据大坝ID删除大坝基础信息") @Operation(summary = "根据大坝ID删除大坝基础信息")
@GetMapping("/StDam/delete") @GetMapping("/StDam/delete")
public R<String> deleteStDam(@Parameter(description = "大坝ID") @RequestParam("damId") String damId){ public R<String> deleteStDam(@Parameter(description = "大坝ID") @RequestParam("damId") String damId) {
engineeringDrainageService.deleteStDam(damId); engineeringDrainageService.deleteStDam(damId);
return R.ok(); return R.ok();
} }
@Operation(summary = "分页查询大坝信息") @Operation(summary = "分页查询大坝信息")
@PostMapping("/StDam/query") @PostMapping("/StDam/query")
public R<Page<StDamB>> PageStDam(@RequestBody @Validated StDamPageSo stDamPageSo){ public R<Page<StDamB>> PageStDam(@RequestBody @Validated StDamPageSo stDamPageSo) {
return R.ok(engineeringDrainageService.pageStDam(stDamPageSo)); return R.ok(engineeringDrainageService.pageStDam(stDamPageSo));
} }
@Operation(summary = "新增闸阀基础信息") @Operation(summary = "新增闸阀基础信息")
@PostMapping("/StGate/insert") @PostMapping("/StGate/insert")
public R<String> insertStGate(@RequestBody @Validated StGateDto stGateDto){ public R<String> insertStGate(@RequestBody @Validated StGateDto stGateDto) {
engineeringDrainageService.insertStGate(stGateDto); engineeringDrainageService.insertStGate(stGateDto);
return R.ok(); return R.ok();
} }
@Operation(summary = "更新闸阀基础信息") @Operation(summary = "更新闸阀基础信息")
@PostMapping("/StGate/update") @PostMapping("/StGate/update")
public R<String> updateStGate(@RequestBody @Validated StGateB stGateB){ public R<String> updateStGate(@RequestBody @Validated StGateB stGateB) {
engineeringDrainageService.updateStGate(stGateB); engineeringDrainageService.updateStGate(stGateB);
return R.ok(); return R.ok();
} }
@Operation(summary = "根据闸阀ID删除闸阀基础信息") @Operation(summary = "根据闸阀ID删除闸阀基础信息")
@GetMapping("/StGate/delete") @GetMapping("/StGate/delete")
public R<String> deleteStGate(@Parameter(description = "闸阀ID") @RequestParam("gateId") String gateId){ public R<String> deleteStGate(@Parameter(description = "闸阀ID") @RequestParam("gateId") String gateId) {
engineeringDrainageService.deleteStGate(gateId); engineeringDrainageService.deleteStGate(gateId);
return R.ok(); return R.ok();
} }
@Operation(summary = "分页查询闸阀基础信息") @Operation(summary = "分页查询闸阀基础信息")
@PostMapping("/StGate/page") @PostMapping("/StGate/page")
public R<Page<StGateB>> pageStGate(@RequestBody @Validated StGatePageSo stGatePageSo){ public R<Page<StGateB>> pageStGate(@RequestBody @Validated StGatePageSo stGatePageSo) {
return R.ok(engineeringDrainageService.pageStGate(stGatePageSo)); return R.ok(engineeringDrainageService.pageStGate(stGatePageSo));
} }
@Operation(summary = "新增量水堰基础信息") @Operation(summary = "新增量水堰基础信息")
@PostMapping("/StEqpt/insert") @PostMapping("/StEqpt/insert")
public R<String> insertStEqpt(@RequestBody @Validated StEqptDto stEqptDto){ public R<String> insertStEqpt(@RequestBody @Validated StEqptDto stEqptDto) {
engineeringDrainageService.insertStEqpt(stEqptDto); engineeringDrainageService.insertStEqpt(stEqptDto);
return R.ok(); return R.ok();
} }
@Operation(summary = "更新量水堰基础信息") @Operation(summary = "更新量水堰基础信息")
@PostMapping("/StEqpt/update") @PostMapping("/StEqpt/update")
public R<String> updateStEqpt(@RequestBody StEqptB stEqptB){ public R<String> updateStEqpt(@RequestBody StEqptB stEqptB) {
engineeringDrainageService.updateStEqpt(stEqptB); engineeringDrainageService.updateStEqpt(stEqptB);
return R.ok(); return R.ok();
} }
@Operation(summary = "根据量水设施ID删除量水堰基础信息") @Operation(summary = "根据量水设施ID删除量水堰基础信息")
@GetMapping("/StEqpt/delete") @GetMapping("/StEqpt/delete")
public R<String> deleteStEqpt(@Parameter(description = "量水设施ID") @RequestParam("wmeqId") String wmeqId){ public R<String> deleteStEqpt(@Parameter(description = "量水设施ID") @RequestParam("wmeqId") String wmeqId) {
engineeringDrainageService.deleteStEqpt(wmeqId); engineeringDrainageService.deleteStEqpt(wmeqId);
return R.ok(); return R.ok();
} }
@Operation(summary = "根据量水设施ID查询量水堰基础信息") @Operation(summary = "根据量水设施ID查询量水堰基础信息")
@PostMapping("/StEqpt/page") @PostMapping("/StEqpt/page")
public R<Page<StEqptB>> pageStEqpt(@RequestBody @Validated StEqptPageSo stEqptPageSo){ public R<Page<StEqptB>> pageStEqpt(@RequestBody @Validated StEqptPageSo stEqptPageSo) {
return R.ok(engineeringDrainageService.pageStEqpt(stEqptPageSo)); return R.ok(engineeringDrainageService.pageStEqpt(stEqptPageSo));
} }

View File

@ -7,20 +7,19 @@ import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.gunshi.project.xyt.validate.markers.Insert; import com.gunshi.project.xyt.validate.markers.Update;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
import java.io.Serializable; import java.io.Serializable;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.Date; import java.util.Date;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
/** /**
* *
*/ */
@Schema(description="水库的基础信息") @Schema(description = "水库的基础信息")
@Data @Data
@TableName(value = "dbo.ST_RES_B") @TableName(value = "dbo.ST_RES_B")
public class StResB implements Serializable { public class StResB implements Serializable {
@ -28,242 +27,242 @@ public class StResB implements Serializable {
* id * id
*/ */
@TableId(value = "RES_ID", type = IdType.INPUT) @TableId(value = "RES_ID", type = IdType.INPUT)
@Schema(description="水库id") @Schema(description = "水库id")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
@NotEmpty(groups = Insert.class) @NotEmpty(groups = Update.class)
private Long resId; private Long resId;
/** /**
* *
*/ */
@TableField(value = "RES_CODE") @TableField(value = "RES_CODE")
@Schema(description="水库代码") @Schema(description = "水库代码")
private String resCode; private String resCode;
/** /**
* *
*/ */
@TableField(value = "RES_NAME") @TableField(value = "RES_NAME")
@Schema(description="水库名称") @Schema(description = "水库名称")
private String resName; private String resName;
/** /**
* *
*/ */
@TableField(value = "ADDVCD") @TableField(value = "ADDVCD")
@Schema(description="行政区划编码") @Schema(description = "行政区划编码")
private String addvcd; private String addvcd;
/** /**
* *
*/ */
@TableField(value = "LGTD") @TableField(value = "LGTD")
@Schema(description="经度") @Schema(description = "经度")
private BigDecimal lgtd; private BigDecimal lgtd;
/** /**
* *
*/ */
@TableField(value = "LTTD") @TableField(value = "LTTD")
@Schema(description="纬度") @Schema(description = "纬度")
private BigDecimal lttd; private BigDecimal lttd;
/** /**
* *
*/ */
@TableField(value = "WCRSTEL") @TableField(value = "WCRSTEL")
@Schema(description="堰顶高程") @Schema(description = "堰顶高程")
private BigDecimal wcrstel; private BigDecimal wcrstel;
/** /**
* *
*/ */
@TableField(value = "WCRESTWD") @TableField(value = "WCRESTWD")
@Schema(description="堰顶宽度") @Schema(description = "堰顶宽度")
private BigDecimal wcrestwd; private BigDecimal wcrestwd;
/** /**
* *
*/ */
@TableField(value = "DMTPEL") @TableField(value = "DMTPEL")
@Schema(description="坝顶高程") @Schema(description = "坝顶高程")
private BigDecimal dmtpel; private BigDecimal dmtpel;
/** /**
* *
*/ */
@TableField(value = "DMHT") @TableField(value = "DMHT")
@Schema(description="最大坝高") @Schema(description = "最大坝高")
private BigDecimal dmht; private BigDecimal dmht;
/** /**
* *
*/ */
@TableField(value = "DMTPLEN") @TableField(value = "DMTPLEN")
@Schema(description="坝顶长度") @Schema(description = "坝顶长度")
private BigDecimal dmtplen; private BigDecimal dmtplen;
/** /**
* *
*/ */
@TableField(value = "DATPWD") @TableField(value = "DATPWD")
@Schema(description="坝顶宽度") @Schema(description = "坝顶宽度")
private BigDecimal datpwd; private BigDecimal datpwd;
/** /**
* *
*/ */
@TableField(value = "DSFLLV") @TableField(value = "DSFLLV")
@Schema(description="设计洪水位") @Schema(description = "设计洪水位")
private BigDecimal dsfllv; private BigDecimal dsfllv;
/** /**
* *
*/ */
@TableField(value = "CHFLLV") @TableField(value = "CHFLLV")
@Schema(description="校核洪水位") @Schema(description = "校核洪水位")
private BigDecimal chfllv; private BigDecimal chfllv;
/** /**
* *
*/ */
@TableField(value = "NORM_WAT_LEV") @TableField(value = "NORM_WAT_LEV")
@Schema(description="正常蓄水位") @Schema(description = "正常蓄水位")
private BigDecimal normWatLev; private BigDecimal normWatLev;
/** /**
* *
*/ */
@TableField(value = "DEAD_LEV") @TableField(value = "DEAD_LEV")
@Schema(description="死水位") @Schema(description = "死水位")
private BigDecimal deadLev; private BigDecimal deadLev;
/** /**
* *
*/ */
@TableField(value = "TOT_CAP") @TableField(value = "TOT_CAP")
@Schema(description="总库容") @Schema(description = "总库容")
private BigDecimal totCap; private BigDecimal totCap;
/** /**
* *
*/ */
@TableField(value = "FLCO_CAP") @TableField(value = "FLCO_CAP")
@Schema(description="防洪库容") @Schema(description = "防洪库容")
private BigDecimal flcoCap; private BigDecimal flcoCap;
/** /**
* *
*/ */
@TableField(value = "BEN_RES_CAP") @TableField(value = "BEN_RES_CAP")
@Schema(description="兴利库容") @Schema(description = "兴利库容")
private BigDecimal benResCap; private BigDecimal benResCap;
/** /**
* *
*/ */
@TableField(value = "SDMNT_CAP") @TableField(value = "SDMNT_CAP")
@Schema(description="已淤积库容") @Schema(description = "已淤积库容")
private BigDecimal sdmntCap; private BigDecimal sdmntCap;
/** /**
* *
*/ */
@TableField(value = "DEAD_CAP") @TableField(value = "DEAD_CAP")
@Schema(description="死库容") @Schema(description = "死库容")
private BigDecimal deadCap; private BigDecimal deadCap;
/** /**
* *
*/ */
@TableField(value = "FL_LOW_LIM_LEV") @TableField(value = "FL_LOW_LIM_LEV")
@Schema(description="汛限水位") @Schema(description = "汛限水位")
private BigDecimal flLowLimLev; private BigDecimal flLowLimLev;
/** /**
* *
*/ */
@TableField(value = "AVANPR") @TableField(value = "AVANPR")
@Schema(description="多年平均降水量") @Schema(description = "多年平均降水量")
private BigDecimal avanpr; private BigDecimal avanpr;
/** /**
* *
*/ */
@TableField(value = "DAAD_MUL_AVER_RUOF") @TableField(value = "DAAD_MUL_AVER_RUOF")
@Schema(description="多年平均径流量") @Schema(description = "多年平均径流量")
private BigDecimal daadMulAverRuof; private BigDecimal daadMulAverRuof;
/** /**
* *
*/ */
@TableField(value = "WAT_SHED_AREA") @TableField(value = "WAT_SHED_AREA")
@Schema(description="集雨面积") @Schema(description = "集雨面积")
private BigDecimal watShedArea; private BigDecimal watShedArea;
/** /**
* *
*/ */
@TableField(value = "START_DATE") @TableField(value = "START_DATE")
@Schema(description="开工日期") @Schema(description = "开工日期")
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date startDate; private Date startDate;
/** /**
* *
*/ */
@TableField(value = "COMP_DATE") @TableField(value = "COMP_DATE")
@Schema(description="竣工日期") @Schema(description = "竣工日期")
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date compDate; private Date compDate;
/** /**
* *
*/ */
@TableField(value = "ADM_DEP") @TableField(value = "ADM_DEP")
@Schema(description="归口管理部门") @Schema(description = "归口管理部门")
private String admDep; private String admDep;
/** /**
* *
*/ */
@TableField(value = "HNNM") @TableField(value = "HNNM")
@Schema(description="所在河流(水系)名称") @Schema(description = "所在河流(水系)名称")
private String hnnm; private String hnnm;
/** /**
* *
*/ */
@TableField(value = "HSHGWTLV") @TableField(value = "HSHGWTLV")
@Schema(description="历史最高水位") @Schema(description = "历史最高水位")
private BigDecimal hshgwtlv; private BigDecimal hshgwtlv;
/** /**
* *
*/ */
@TableField(value = "AJST_PRFR") @TableField(value = "AJST_PRFR")
@Schema(description="调节性能") @Schema(description = "调节性能")
private String ajstPrfr; private String ajstPrfr;
/** /**
* *
*/ */
@TableField(value = "YHDMEL") @TableField(value = "YHDMEL")
@Schema(description="溢洪道进口底高程") @Schema(description = "溢洪道进口底高程")
private BigDecimal yhdmel; private BigDecimal yhdmel;
/** /**
* *
*/ */
@TableField(value = "YHDDSFL") @TableField(value = "YHDDSFL")
@Schema(description="溢洪道设计泄量") @Schema(description = "溢洪道设计泄量")
private BigDecimal yhddsfl; private BigDecimal yhddsfl;
/** /**
* dict_id * dict_id
*/ */
@TableField(value = "ENG_SCAL") @TableField(value = "ENG_SCAL")
@Schema(description="水库规模 dict_id") @Schema(description = "水库规模 dict_id")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long engScal; private Long engScal;
@ -271,21 +270,21 @@ public class StResB implements Serializable {
* *
*/ */
@TableField(value = "NOTE") @TableField(value = "NOTE")
@Schema(description="备注") @Schema(description = "备注")
private String note; private String note;
/** /**
* *
*/ */
@TableField(value = "RES_LOC") @TableField(value = "RES_LOC")
@Schema(description="水库所在位置") @Schema(description = "水库所在位置")
private String resLoc; private String resLoc;
/** /**
* dict_id * dict_id
*/ */
@TableField(value = "ENG_GRAD") @TableField(value = "ENG_GRAD")
@Schema(description="工程等别 dict_id") @Schema(description = "工程等别 dict_id")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long engGrad; private Long engGrad;
@ -293,91 +292,91 @@ public class StResB implements Serializable {
* *
*/ */
@TableField(value = "BEAR_RAIN_AREA") @TableField(value = "BEAR_RAIN_AREA")
@Schema(description="承雨面积") @Schema(description = "承雨面积")
private BigDecimal bearRainArea; private BigDecimal bearRainArea;
/** /**
* *
*/ */
@TableField(value = "NORM_POOL_STAG_AREA") @TableField(value = "NORM_POOL_STAG_AREA")
@Schema(description="正常蓄水位相应水面面积") @Schema(description = "正常蓄水位相应水面面积")
private BigDecimal normPoolStagArea; private BigDecimal normPoolStagArea;
/** /**
* *
*/ */
@TableField(value = "NORMZ") @TableField(value = "NORMZ")
@Schema(description="正常高水位") @Schema(description = "正常高水位")
private BigDecimal normz; private BigDecimal normz;
/** /**
* *
*/ */
@TableField(value = "DES_IRR_A") @TableField(value = "DES_IRR_A")
@Schema(description="设计灌溉面积") @Schema(description = "设计灌溉面积")
private BigDecimal desIrrA; private BigDecimal desIrrA;
/** /**
* *
*/ */
@TableField(value = "ACT_IRR_A") @TableField(value = "ACT_IRR_A")
@Schema(description="实际灌溉面积") @Schema(description = "实际灌溉面积")
private BigDecimal actIrrA; private BigDecimal actIrrA;
/** /**
* *
*/ */
@TableField(value = "BEN_PP") @TableField(value = "BEN_PP")
@Schema(description="受益人口") @Schema(description = "受益人口")
private Integer benPp; private Integer benPp;
/** /**
* *
*/ */
@TableField(value = "CITE_WAT_SUP_PROP") @TableField(value = "CITE_WAT_SUP_PROP")
@Schema(description="引供水能力") @Schema(description = "引供水能力")
private BigDecimal citeWatSupProp; private BigDecimal citeWatSupProp;
/** /**
* *
*/ */
@TableField(value = "CITY_TOWN_SUP_WAT") @TableField(value = "CITY_TOWN_SUP_WAT")
@Schema(description="城镇供水量") @Schema(description = "城镇供水量")
private BigDecimal cityTownSupWat; private BigDecimal cityTownSupWat;
/** /**
* *
*/ */
@TableField(value = "IRR_WAT") @TableField(value = "IRR_WAT")
@Schema(description="灌溉水量") @Schema(description = "灌溉水量")
private BigDecimal irrWat; private BigDecimal irrWat;
/** /**
* *
*/ */
@TableField(value = "FLD_CRY_PROP") @TableField(value = "FLD_CRY_PROP")
@Schema(description="泄洪能力") @Schema(description = "泄洪能力")
private BigDecimal fldCryProp; private BigDecimal fldCryProp;
/** /**
* *
*/ */
@TableField(value = "MYYRVW") @TableField(value = "MYYRVW")
@Schema(description="多年平均日蓄水量") @Schema(description = "多年平均日蓄水量")
private BigDecimal myyrvw; private BigDecimal myyrvw;
/** /**
* *
*/ */
@TableField(value = "MONVW") @TableField(value = "MONVW")
@Schema(description="各月蓄水量") @Schema(description = "各月蓄水量")
private BigDecimal monvw; private BigDecimal monvw;
/** /**
* dict_id * dict_id
*/ */
@TableField(value = "RES_TYPE") @TableField(value = "RES_TYPE")
@Schema(description="水库类型 dict_id") @Schema(description = "水库类型 dict_id")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long resType; private Long resType;
@ -385,106 +384,106 @@ public class StResB implements Serializable {
* *
*/ */
@TableField(value = "UPP_LEV_FLCO") @TableField(value = "UPP_LEV_FLCO")
@Schema(description="防洪高水位") @Schema(description = "防洪高水位")
private BigDecimal uppLevFlco; private BigDecimal uppLevFlco;
/** /**
* *
*/ */
@TableField(value = "NORM_POOL_STAG_CAP") @TableField(value = "NORM_POOL_STAG_CAP")
@Schema(description="正常蓄水位相应库容") @Schema(description = "正常蓄水位相应库容")
private BigDecimal normPoolStagCap; private BigDecimal normPoolStagCap;
/** /**
* *
*/ */
@TableField(value = "FL_LOW_LIM_LEV_CAP") @TableField(value = "FL_LOW_LIM_LEV_CAP")
@Schema(description="防洪限制水位库容") @Schema(description = "防洪限制水位库容")
private BigDecimal flLowLimLevCap; private BigDecimal flLowLimLevCap;
/** /**
* *
*/ */
@TableField(value = "STOR_FL_CAP") @TableField(value = "STOR_FL_CAP")
@Schema(description="调洪库容") @Schema(description = "调洪库容")
private BigDecimal storFlCap; private BigDecimal storFlCap;
/** /**
* *
*/ */
@TableField(value = "ENG_STAT") @TableField(value = "ENG_STAT")
@Schema(description="工程建设情况") @Schema(description = "工程建设情况")
private String engStat; private String engStat;
/** /**
* *
*/ */
@TableField(value = "RUN_STAT") @TableField(value = "RUN_STAT")
@Schema(description="运行状况") @Schema(description = "运行状况")
private String runStat; private String runStat;
/** /**
* *
*/ */
@TableField(value = "ENG_MAN_CODE") @TableField(value = "ENG_MAN_CODE")
@Schema(description="管理单位代码") @Schema(description = "管理单位代码")
private String engManCode; private String engManCode;
/** /**
* *
*/ */
@TableField(value = "RV_CODE") @TableField(value = "RV_CODE")
@Schema(description="河流代码") @Schema(description = "河流代码")
private String rvCode; private String rvCode;
/** /**
* 1 0 * 1 0
*/ */
@TableField(value = "[STATUS]") @TableField(value = "[STATUS]")
@Schema(description=" 状态 1启用 0禁用") @Schema(description = " 状态 1启用 0禁用")
private Integer status; private Integer status;
/** /**
* *
*/ */
@TableField(value = "TM") @TableField(value = "TM")
@Schema(description="修改时间") @Schema(description = "修改时间")
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date tm; private Date tm;
/** /**
* *
*/ */
@TableField(value = "DSFLST") @TableField(value = "DSFLST")
@Schema(description="设计洪水标准") @Schema(description = "设计洪水标准")
private String dsflst; private String dsflst;
/** /**
* *
*/ */
@TableField(value = "CHFLST") @TableField(value = "CHFLST")
@Schema(description="校核洪水标准") @Schema(description = "校核洪水标准")
private String chflst; private String chflst;
/** /**
* *
*/ */
@TableField(value = "DSFLFL") @TableField(value = "DSFLFL")
@Schema(description="设计洪水流量") @Schema(description = "设计洪水流量")
private BigDecimal dsflfl; private BigDecimal dsflfl;
/** /**
* *
*/ */
@TableField(value = "CHFLFL") @TableField(value = "CHFLFL")
@Schema(description="校核洪水流量") @Schema(description = "校核洪水流量")
private BigDecimal chflfl; private BigDecimal chflfl;
/** /**
* *
*/ */
@TableField(value = "LVBSLV") @TableField(value = "LVBSLV")
@Schema(description="水准基面") @Schema(description = "水准基面")
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long lvbslv; private Long lvbslv;
@ -492,7 +491,7 @@ public class StResB implements Serializable {
* *
*/ */
@TableField(value = "DLBLP") @TableField(value = "DLBLP")
@Schema(description="假定水准基面位置") @Schema(description = "假定水准基面位置")
private String dlblp; private String dlblp;
public static final String COL_RES_ID = "RES_ID"; public static final String COL_RES_ID = "RES_ID";