diff --git a/hzims-service-api/pom.xml b/hzims-service-api/pom.xml
index 62171b4..8fcd395 100644
--- a/hzims-service-api/pom.xml
+++ b/hzims-service-api/pom.xml
@@ -31,6 +31,7 @@
digital-twin-display-api
dam-safety-api
video-image-api
+ water-quality-api
diff --git a/hzims-service-api/water-quality-api/pom.xml b/hzims-service-api/water-quality-api/pom.xml
new file mode 100644
index 0000000..c203bd2
--- /dev/null
+++ b/hzims-service-api/water-quality-api/pom.xml
@@ -0,0 +1,20 @@
+
+
+ 4.0.0
+
+ com.hnac.hzims
+ hzims-service-api
+ 4.0.0-SNAPSHOT
+
+
+ water-quality-api
+
+
+ 8
+ 8
+ UTF-8
+
+
+
\ No newline at end of file
diff --git a/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/entity/WqConfigD.java b/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/entity/WqConfigD.java
new file mode 100644
index 0000000..c69e21a
--- /dev/null
+++ b/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/entity/WqConfigD.java
@@ -0,0 +1,24 @@
+package com.hnac.hzims.waterquality.entity;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+import java.io.Serializable;
+
+/**
+ *水质监测指标配置
+ */
+@Data
+@TableName("wq_config_d")
+public class WqConfigD implements Serializable {
+ @ApiModelProperty("测站编码")
+ @TableId(type=IdType.INPUT)
+ private String stcd;
+ @ApiModelProperty("指标类型")
+ private String type;
+ @ApiModelProperty("指标值")
+ private String value;
+}
diff --git a/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/entity/WqWfrinfB.java b/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/entity/WqWfrinfB.java
new file mode 100644
index 0000000..6cd688b
--- /dev/null
+++ b/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/entity/WqWfrinfB.java
@@ -0,0 +1,54 @@
+package com.hnac.hzims.waterquality.entity;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import org.springblade.core.mp.base.BaseEntity;
+
+
+/**
+ *水功能区基本信息
+ */
+@Data
+@TableName("wq_wfrinf_b")
+@EqualsAndHashCode(callSuper = true)
+public class WqWfrinfB extends BaseEntity {
+ @ApiModelProperty("水功能区代码")
+ private String wfrcd;
+ @ApiModelProperty("水功能区名称")
+ private String wfrnm;
+ @ApiModelProperty("流域名称")
+ private String bsnm;
+ @ApiModelProperty("水系名称")
+ private String hnnm;
+ @ApiModelProperty("河流名称")
+ private String rvnm;
+ @ApiModelProperty("水功能区起始断面名称")
+ private String wfrscsnm;
+ @ApiModelProperty("水功能区起始断面经度")
+ private Double wfrscslgtd;
+ @ApiModelProperty("水功能区起始断面纬度")
+ private Double wfrscslttd;
+ @ApiModelProperty("水功能区终止断面名称")
+ private String wfrecsnm;
+ @ApiModelProperty("水功能区终止断面经度")
+ private Double wfrecslgtd;
+ @ApiModelProperty("水功能区终止断面纬度")
+ private Double wfrecslttd;
+
+ @ApiModelProperty("行政区划码")
+ private String addvcd;
+ @ApiModelProperty("水功能区长度")
+ private Double wfrln;
+ @ApiModelProperty("水功能区库容")
+ private Double wfrrc;
+ @ApiModelProperty("水功能区面积")
+ private Double wfrar;
+ @ApiModelProperty("水功能区水质目标")
+ private String wfrwqt;
+ @ApiModelProperty("水功能区功能排序")
+ private String wfrwfo;
+ @ApiModelProperty("备注")
+ private String nt;
+}
diff --git a/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/entity/WqWqsinfB.java b/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/entity/WqWqsinfB.java
new file mode 100644
index 0000000..96c7c70
--- /dev/null
+++ b/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/entity/WqWqsinfB.java
@@ -0,0 +1,59 @@
+package com.hnac.hzims.waterquality.entity;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import org.springblade.core.mp.base.BaseEntity;
+
+import java.util.Date;
+
+/**
+ *水质监测站
+ */
+@Data
+@TableName("wq_wqsinf_b")
+@EqualsAndHashCode(callSuper = true)
+public class WqWqsinfB extends BaseEntity {
+ @ApiModelProperty("测站编码")
+ private String stcd;
+ @ApiModelProperty("测站名称")
+ private String stnm;
+ @ApiModelProperty("测站等级")
+ private String stgrd;
+ @ApiModelProperty("流域名称")
+ private String bsnm;
+ @ApiModelProperty("水系名称")
+ private String hnnm;
+ @ApiModelProperty("河流名称")
+ private String rvnm;
+ @ApiModelProperty("经度")
+ private Double lgtd;
+ @ApiModelProperty("纬度")
+ private Double lttd;
+ @ApiModelProperty("站址")
+ private String stlc;
+ @ApiModelProperty("行政区划码")
+ private String addvcd;
+ @ApiModelProperty("水资源分区码")
+ private String wrrcd;
+ @ApiModelProperty("水功能区划码")
+ private String wfrcd;
+ @ApiModelProperty("管理单位")
+ private String adag;
+ @ApiModelProperty("监测单位")
+ private String mnag;
+ @ApiModelProperty("监测频次")
+ private Integer mnfrq;
+ @ApiModelProperty("自动监测")
+ private Integer atmn;
+ @ApiModelProperty("建站年月")
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ private Date esstym;
+ @ApiModelProperty("撤站年月")
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ private Date wdstym;
+ @ApiModelProperty("备注")
+ private String nt;
+}
diff --git a/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/entity/WqWrrinfB.java b/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/entity/WqWrrinfB.java
new file mode 100644
index 0000000..b09563b
--- /dev/null
+++ b/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/entity/WqWrrinfB.java
@@ -0,0 +1,22 @@
+package com.hnac.hzims.waterquality.entity;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import org.springblade.core.mp.base.BaseEntity;
+
+
+/**
+ * 水资源分区基本信息
+ */
+@Data
+@TableName("wq_wrrinf_b")
+public class WqWrrinfB extends BaseEntity {
+ @ApiModelProperty("水资源分区码")
+ private String wrrcd;
+ @ApiModelProperty("水资源分区名称")
+ private String wrrnm;
+ @ApiModelProperty("水资源分区面积")
+ private Double wrr5r;
+
+}
diff --git a/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/feign/IWqWqsinfBClient.java b/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/feign/IWqWqsinfBClient.java
new file mode 100644
index 0000000..a80f5c4
--- /dev/null
+++ b/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/feign/IWqWqsinfBClient.java
@@ -0,0 +1,50 @@
+/*
+ * Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright Example,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ * Example, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * Neither the name of the dreamlu.net developer nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ * Author: Chill 庄骞 (smallchill@163.com)
+ */
+package com.hnac.hzims.waterquality.feign;
+
+import com.hnac.hzims.waterquality.vo.WqWqsinfBVo;
+import org.springblade.core.launch.constant.AppConstant;
+import org.springblade.core.tool.api.R;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+
+import java.util.List;
+
+/**
+ * Example Feign接口类
+ *
+ * @author Chill
+ */
+@FeignClient(
+ value = AppConstant.APPLICATION_DESK_NAME
+)
+public interface IWqWqsinfBClient {
+
+ String API_PREFIX = "/wqWqsinfBClient";
+ String LIST = API_PREFIX + "/list";
+
+ /**
+ * 获取Example列表
+ *
+ * @param number
+ * @return
+ */
+ @GetMapping(LIST)
+ R> list(@RequestParam("number") Integer number);
+
+}
diff --git a/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/vo/WqWqsinfBVo.java b/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/vo/WqWqsinfBVo.java
new file mode 100644
index 0000000..9d05b72
--- /dev/null
+++ b/hzims-service-api/water-quality-api/src/main/java/com/hnac/hzims/waterquality/vo/WqWqsinfBVo.java
@@ -0,0 +1,7 @@
+package com.hnac.hzims.waterquality.vo;
+
+
+import com.hnac.hzims.waterquality.entity.WqWqsinfB;
+
+public class WqWqsinfBVo extends WqWqsinfB {
+}
diff --git a/hzims-service/pom.xml b/hzims-service/pom.xml
index 46c8839..53bf722 100644
--- a/hzims-service/pom.xml
+++ b/hzims-service/pom.xml
@@ -31,6 +31,7 @@
digital-twin-display
dam-safety
video-image
+ water-quality
diff --git a/hzims-service/water-quality/pom.xml b/hzims-service/water-quality/pom.xml
new file mode 100644
index 0000000..1e83802
--- /dev/null
+++ b/hzims-service/water-quality/pom.xml
@@ -0,0 +1,68 @@
+
+
+ 4.0.0
+
+ com.hnac.hzims
+ hzims-service
+ 4.0.0-SNAPSHOT
+
+
+ water-quality
+
+
+ 8
+ 8
+ UTF-8
+
+
+
+
+
+
+ org.springblade
+ blade-core-boot
+
+
+ org.springblade
+ blade-starter-swagger
+
+
+ org.springblade
+ blade-starter-oss-all
+
+
+ com.baomidou
+ dynamic-datasource-spring-boot-starter
+
+
+ org.springblade
+ blade-core-test
+ test
+
+
+ org.springblade
+ blade-core-auto
+ compile
+
+
+ com.hnac.hzims
+ water-quality-api
+ ${hzims.project.version}
+ compile
+
+
+ org.springblade
+ blade-common
+
+
+ com.hnac.hzinfo.data
+ hzinfo-data-sdk
+
+
+ com.hnac.hzims
+ common-api
+
+
+
\ No newline at end of file
diff --git a/hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/WaterQualityApplication.java b/hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/WaterQualityApplication.java
new file mode 100644
index 0000000..9fdd761
--- /dev/null
+++ b/hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/WaterQualityApplication.java
@@ -0,0 +1,51 @@
+/*
+ * Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright Example,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ * Example, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * Neither the name of the dreamlu.net developer nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ * Author: Chill 庄骞 (smallchill@163.com)
+ */
+package com.hnac.hzims.waterquality;
+
+import org.mybatis.spring.annotation.MapperScan;
+import org.springblade.core.cloud.feign.EnableBladeFeign;
+import org.springblade.core.launch.BladeApplication;
+import org.springframework.boot.builder.SpringApplicationBuilder;
+import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
+import org.springframework.cloud.client.SpringCloudApplication;
+import org.springframework.context.annotation.ComponentScan;
+import org.springframework.scheduling.annotation.EnableScheduling;
+
+/**
+ * Demo启动器
+ *
+ * @author Chill
+ */
+@EnableBladeFeign(basePackages = {"org.springblade","com.hnac"})
+@SpringCloudApplication
+@MapperScan("com.hnac.hzims.**.mapper.**")
+@EnableScheduling
+@ComponentScan(basePackages = {"com.hnac.hzims.*"})
+public class WaterQualityApplication extends SpringBootServletInitializer {
+
+ static String APPLICATION_NAME="water-quality";
+
+ public static void main(String[] args) {
+ BladeApplication.run(APPLICATION_NAME, WaterQualityApplication.class, args);
+ }
+
+ @Override
+ protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
+ return BladeApplication.createSpringApplicationBuilder(builder, APPLICATION_NAME, WaterQualityApplication.class);
+ }
+}
+
diff --git a/hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/controller/WqConfigDController.java b/hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/controller/WqConfigDController.java
new file mode 100644
index 0000000..ae02fc3
--- /dev/null
+++ b/hzims-service/water-quality/src/main/java/com/hnac/hzims/waterquality/controller/WqConfigDController.java
@@ -0,0 +1,125 @@
+package com.hnac.hzims.waterquality.controller;
+
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
+import com.hnac.hzims.waterquality.entity.WqConfigD;
+import com.hnac.hzims.waterquality.service.IWqConfigDService;
+import com.hnac.hzims.waterquality.util.ParamUtil;
+import io.swagger.annotations.*;
+import lombok.AllArgsConstructor;
+import org.apache.commons.lang3.StringUtils;
+import org.springblade.common.cache.CacheNames;
+import org.springblade.core.boot.ctrl.BladeController;
+import org.springblade.core.mp.support.Condition;
+import org.springblade.core.mp.support.Query;
+import org.springblade.core.tool.api.R;
+import org.springblade.core.tool.utils.Func;
+import org.springframework.web.bind.annotation.*;
+import springfox.documentation.annotations.ApiIgnore;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+
+@RestController
+@RequestMapping("/waterQuality/wqConfigD")
+@AllArgsConstructor
+@Api(value = "水质监测指标配置", tags = "水质监测指标配置接口")
+public class WqConfigDController extends BladeController implements CacheNames {
+
+ private final IWqConfigDService wqConfigDService;
+
+
+ /**
+ * 分页
+ */
+
+ @GetMapping("/pageList")
+ @ApiImplicitParams({
+ @ApiImplicitParam(name = "stcd", value = "测站编码", paramType = "query", dataType = "string")
+ })
+ @ApiOperationSupport(order = 1)
+ @ApiOperation(value = "分页", notes = "传入wqConfigD")
+ public R> pageList(@ApiIgnore @RequestParam Map param, Query query) {
+ LambdaQueryWrapper wrapper= ParamUtil.conditionWqConfigD(param);
+ IPage pages = wqConfigDService.page(Condition.getPage(query), wrapper);
+ return R.data(pages);
+ }
+
+ /**
+ * 列表
+ */
+
+ @GetMapping("/list")
+ @ApiImplicitParams({
+ @ApiImplicitParam(name = "stcd", value = "测站编码", paramType = "query", dataType = "string")
+ })
+ @ApiOperationSupport(order = 2)
+ @ApiOperation(value = "列表", notes = "传入wqConfigD")
+ public R> list(@ApiIgnore @RequestParam Map param) {
+ LambdaQueryWrapper wrapper=ParamUtil.conditionWqConfigD(param);
+ List list = wqConfigDService.list(wrapper);
+ return R.data(list);
+ }
+
+
+ /**
+ * 详情
+ */
+
+ @GetMapping("/detail")
+ @ApiOperationSupport(order = 3)
+ @ApiOperation(value = "详情", notes = "传入wqConfigD")
+ public R detail(WqConfigD wqConfigD) {
+ WqConfigD detail = wqConfigDService.getOne(Condition.getQueryWrapper(wqConfigD));
+ return R.data(detail);
+ }
+
+ /**
+ * 新增
+ */
+
+ @PostMapping("/save")
+ @ApiOperationSupport(order = 4)
+ @ApiOperation(value = "新增", notes = "传入wqConfigD")
+ public R save(@RequestBody Map param) {
+ String stcd=String.valueOf(param.get("stcd"));
+ if(StringUtils.isBlank(stcd)){
+ return R.fail("未传递测站编码");
+ }
+ List