水闸、灌区、泵站基本信息管理
This commit is contained in:
parent
c1a8e34152
commit
66c1bd1e0d
@ -0,0 +1,110 @@
|
|||||||
|
package com.fastbee.data.controller.gis;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiOperation;
|
||||||
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PutMapping;
|
||||||
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
import com.fastbee.common.annotation.Log;
|
||||||
|
import com.fastbee.common.core.controller.BaseController;
|
||||||
|
import com.fastbee.common.core.domain.AjaxResult;
|
||||||
|
import com.fastbee.common.enums.BusinessType;
|
||||||
|
import com.fastbee.ggroup.domain.GSiteIrrigateInfo;
|
||||||
|
import com.fastbee.ggroup.service.IGSiteIrrigateInfoService;
|
||||||
|
import com.fastbee.common.utils.poi.ExcelUtil;
|
||||||
|
import com.fastbee.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 灌区基础信息Controller
|
||||||
|
*
|
||||||
|
* @author kerwincui
|
||||||
|
* @date 2024-11-04
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/gis/site/irrigated/info")
|
||||||
|
@Api(tags = "灌区基础信息")
|
||||||
|
public class GSiteIrrigateInfoController extends BaseController
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private IGSiteIrrigateInfoService gSiteIrrigateInfoService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询灌区基础信息列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('ggroup:info:list')")
|
||||||
|
@GetMapping("/list")
|
||||||
|
@ApiOperation("查询灌区基础信息列表")
|
||||||
|
public TableDataInfo list(GSiteIrrigateInfo gSiteIrrigateInfo)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<GSiteIrrigateInfo> list = gSiteIrrigateInfoService.selectGSiteIrrigateInfoList(gSiteIrrigateInfo);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出灌区基础信息列表
|
||||||
|
*/
|
||||||
|
@ApiOperation("导出灌区基础信息列表")
|
||||||
|
@PreAuthorize("@ss.hasPermi('ggroup:info:export')")
|
||||||
|
@PostMapping("/export")
|
||||||
|
public void export(HttpServletResponse response, GSiteIrrigateInfo gSiteIrrigateInfo)
|
||||||
|
{
|
||||||
|
List<GSiteIrrigateInfo> list = gSiteIrrigateInfoService.selectGSiteIrrigateInfoList(gSiteIrrigateInfo);
|
||||||
|
ExcelUtil<GSiteIrrigateInfo> util = new ExcelUtil<GSiteIrrigateInfo>(GSiteIrrigateInfo.class);
|
||||||
|
util.exportExcel(response, list, "灌区基础信息数据");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取灌区基础信息详细信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('ggroup:info:query')")
|
||||||
|
@GetMapping(value = "/{id}")
|
||||||
|
@ApiOperation("获取灌区基础信息详细信息")
|
||||||
|
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||||
|
{
|
||||||
|
return success(gSiteIrrigateInfoService.selectGSiteIrrigateInfoBySiteId(id));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增灌区基础信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('ggroup:info:add')")
|
||||||
|
@PostMapping
|
||||||
|
@ApiOperation("新增灌区基础信息")
|
||||||
|
public AjaxResult add(@RequestBody GSiteIrrigateInfo gSiteIrrigateInfo)
|
||||||
|
{
|
||||||
|
return toAjax(gSiteIrrigateInfoService.insertGSiteIrrigateInfo(gSiteIrrigateInfo));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改灌区基础信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('ggroup:info:edit')")
|
||||||
|
@PutMapping
|
||||||
|
@ApiOperation("修改灌区基础信息")
|
||||||
|
public AjaxResult edit(@RequestBody GSiteIrrigateInfo gSiteIrrigateInfo)
|
||||||
|
{
|
||||||
|
return toAjax(gSiteIrrigateInfoService.updateGSiteIrrigateInfo(gSiteIrrigateInfo));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除灌区基础信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('ggroup:info:remove')")
|
||||||
|
@DeleteMapping("/{ids}")
|
||||||
|
@ApiOperation("删除灌区基础信息")
|
||||||
|
public AjaxResult remove(@PathVariable Long[] ids)
|
||||||
|
{
|
||||||
|
return toAjax(gSiteIrrigateInfoService.deleteGSiteIrrigateInfoByIds(ids));
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,110 @@
|
|||||||
|
package com.fastbee.data.controller.gis;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiOperation;
|
||||||
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PutMapping;
|
||||||
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
import com.fastbee.common.annotation.Log;
|
||||||
|
import com.fastbee.common.core.controller.BaseController;
|
||||||
|
import com.fastbee.common.core.domain.AjaxResult;
|
||||||
|
import com.fastbee.common.enums.BusinessType;
|
||||||
|
import com.fastbee.ggroup.domain.GSitePumpInfo;
|
||||||
|
import com.fastbee.ggroup.service.IGSitePumpInfoService;
|
||||||
|
import com.fastbee.common.utils.poi.ExcelUtil;
|
||||||
|
import com.fastbee.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 泵站信息Controller
|
||||||
|
*
|
||||||
|
* @author kerwincui
|
||||||
|
* @date 2024-11-04
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/gis/site/pump/info")
|
||||||
|
@Api(tags = "泵站信息")
|
||||||
|
public class GSitePumpInfoController extends BaseController
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private IGSitePumpInfoService gSitePumpInfoService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询泵站信息列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('ggroup:info:list')")
|
||||||
|
@GetMapping("/list")
|
||||||
|
@ApiOperation("查询泵站信息列表")
|
||||||
|
public TableDataInfo list(GSitePumpInfo gSitePumpInfo)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<GSitePumpInfo> list = gSitePumpInfoService.selectGSitePumpInfoList(gSitePumpInfo);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出泵站信息列表
|
||||||
|
*/
|
||||||
|
@ApiOperation("导出泵站信息列表")
|
||||||
|
@PreAuthorize("@ss.hasPermi('ggroup:info:export')")
|
||||||
|
@PostMapping("/export")
|
||||||
|
public void export(HttpServletResponse response, GSitePumpInfo gSitePumpInfo)
|
||||||
|
{
|
||||||
|
List<GSitePumpInfo> list = gSitePumpInfoService.selectGSitePumpInfoList(gSitePumpInfo);
|
||||||
|
ExcelUtil<GSitePumpInfo> util = new ExcelUtil<GSitePumpInfo>(GSitePumpInfo.class);
|
||||||
|
util.exportExcel(response, list, "泵站信息数据");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取泵站信息详细信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('ggroup:info:query')")
|
||||||
|
@GetMapping(value = "/{id}")
|
||||||
|
@ApiOperation("获取泵站信息详细信息")
|
||||||
|
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||||
|
{
|
||||||
|
return success(gSitePumpInfoService.selectGSitePumpInfoBySiteId(id));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增泵站信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('ggroup:info:add')")
|
||||||
|
@PostMapping
|
||||||
|
@ApiOperation("新增泵站信息")
|
||||||
|
public AjaxResult add(@RequestBody GSitePumpInfo gSitePumpInfo)
|
||||||
|
{
|
||||||
|
return toAjax(gSitePumpInfoService.insertGSitePumpInfo(gSitePumpInfo));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改泵站信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('ggroup:info:edit')")
|
||||||
|
@PutMapping
|
||||||
|
@ApiOperation("修改泵站信息")
|
||||||
|
public AjaxResult edit(@RequestBody GSitePumpInfo gSitePumpInfo)
|
||||||
|
{
|
||||||
|
return toAjax(gSitePumpInfoService.updateGSiteSluiceInfo(gSitePumpInfo));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除泵站信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('ggroup:info:remove')")
|
||||||
|
@DeleteMapping("/{ids}")
|
||||||
|
@ApiOperation("删除泵站信息")
|
||||||
|
public AjaxResult remove(@PathVariable Long[] ids)
|
||||||
|
{
|
||||||
|
return toAjax(gSitePumpInfoService.deleteGSitePumpInfoByIds(ids));
|
||||||
|
}
|
||||||
|
}
|
@ -31,7 +31,7 @@ import com.fastbee.common.core.page.TableDataInfo;
|
|||||||
* @date 2024-10-31
|
* @date 2024-10-31
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/ggroup/info")
|
@RequestMapping("/gis/site/sluice/info")
|
||||||
@Api(tags = "水闸基本信息")
|
@Api(tags = "水闸基本信息")
|
||||||
public class GSiteSluiceInfoController extends BaseController
|
public class GSiteSluiceInfoController extends BaseController
|
||||||
{
|
{
|
||||||
@ -66,13 +66,20 @@ public class GSiteSluiceInfoController extends BaseController
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取水闸基本信息详细信息
|
* 获取水闸基本信息详细信息
|
||||||
*/
|
*
|
||||||
@PreAuthorize("@ss.hasPermi('ggroup:info:query')")
|
@PreAuthorize("@ss.hasPermi('ggroup:info:query')")
|
||||||
@GetMapping(value = "/{id}")
|
@GetMapping(value = "/{id}")
|
||||||
@ApiOperation("获取水闸基本信息详细信息")
|
@ApiOperation("获取水闸基本信息详细信息")
|
||||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||||
{
|
{
|
||||||
return success(gSiteSluiceInfoService.selectGSiteSluiceInfoById(id));
|
return success(gSiteSluiceInfoService.selectGSiteSluiceInfoById(id));
|
||||||
|
}*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('ggroup:info:siteId')")
|
||||||
|
@GetMapping(value = "/{siteId}")
|
||||||
|
@ApiOperation("获取水闸基本信息详细信息")
|
||||||
|
public AjaxResult getsiteIdInfo(@PathVariable("siteId") Long siteId)
|
||||||
|
{
|
||||||
|
return success(gSiteSluiceInfoService.selectGSiteSluiceInfoBySiteId(siteId));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -107,4 +114,9 @@ public class GSiteSluiceInfoController extends BaseController
|
|||||||
{
|
{
|
||||||
return toAjax(gSiteSluiceInfoService.deleteGSiteSluiceInfoByIds(ids));
|
return toAjax(gSiteSluiceInfoService.deleteGSiteSluiceInfoByIds(ids));
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* 更新水库的基本信息
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,147 @@
|
|||||||
|
package com.fastbee.ggroup.domain;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
import com.fastbee.common.annotation.Excel;
|
||||||
|
import com.fastbee.common.core.domain.BaseEntity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 灌区基础信息对象 g_site_irrigate_info
|
||||||
|
*
|
||||||
|
* @author kerwincui
|
||||||
|
* @date 2024-11-04
|
||||||
|
*/
|
||||||
|
@ApiModel(value = "GSiteIrrigateInfo",description = "灌区基础信息 g_site_irrigate_info")
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
public class GSiteIrrigateInfo extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** $column.columnComment */
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/** 工程名称 */
|
||||||
|
@Excel(name = "工程名称")
|
||||||
|
@ApiModelProperty("工程名称")
|
||||||
|
private String projectName;
|
||||||
|
|
||||||
|
/** 工程编码 */
|
||||||
|
@Excel(name = "工程编码")
|
||||||
|
@ApiModelProperty("工程编码")
|
||||||
|
private String projectCode;
|
||||||
|
|
||||||
|
/** 规模 */
|
||||||
|
@Excel(name = "规模")
|
||||||
|
@ApiModelProperty("规模")
|
||||||
|
private String scale;
|
||||||
|
|
||||||
|
/** 工程位置 */
|
||||||
|
@Excel(name = "工程位置")
|
||||||
|
@ApiModelProperty("工程位置")
|
||||||
|
private String location;
|
||||||
|
|
||||||
|
/** 范围 */
|
||||||
|
@Excel(name = "范围")
|
||||||
|
@ApiModelProperty("范围")
|
||||||
|
private String scope;
|
||||||
|
|
||||||
|
/** 是否跨县 */
|
||||||
|
@Excel(name = "是否跨县")
|
||||||
|
@ApiModelProperty("是否跨县")
|
||||||
|
private Integer crossCounty;
|
||||||
|
|
||||||
|
/** 耕地面积 */
|
||||||
|
@Excel(name = "耕地面积")
|
||||||
|
@ApiModelProperty("耕地面积")
|
||||||
|
private Long cultivatedLandarea;
|
||||||
|
|
||||||
|
/** 设计灌溉面积 */
|
||||||
|
@Excel(name = "设计灌溉面积")
|
||||||
|
@ApiModelProperty("设计灌溉面积")
|
||||||
|
private Long designedIrrigationArea;
|
||||||
|
|
||||||
|
/** 灌溉面积(合计) */
|
||||||
|
@Excel(name = "灌溉面积(合计)")
|
||||||
|
@ApiModelProperty("灌溉面积(合计)")
|
||||||
|
private Long totalIrrigationArea;
|
||||||
|
|
||||||
|
/** 调整后的耕地面积(如果存在重复,请确认后删除一个) */
|
||||||
|
@Excel(name = "调整后的耕地面积", readConverterExp = "如=果存在重复,请确认后删除一个")
|
||||||
|
@ApiModelProperty("调整后的耕地面积")
|
||||||
|
private Long adjustedCultivatedLandArea;
|
||||||
|
|
||||||
|
/** 园林草地面积 */
|
||||||
|
@Excel(name = "园林草地面积")
|
||||||
|
@ApiModelProperty("园林草地面积")
|
||||||
|
private Long gardenGrasslandArea;
|
||||||
|
|
||||||
|
/** 管理单位名称 */
|
||||||
|
@Excel(name = "管理单位名称")
|
||||||
|
@ApiModelProperty("管理单位名称")
|
||||||
|
private String managementUnitName;
|
||||||
|
|
||||||
|
/** 管理类型 */
|
||||||
|
@Excel(name = "管理类型")
|
||||||
|
@ApiModelProperty("管理类型")
|
||||||
|
private String managementType;
|
||||||
|
|
||||||
|
/** 主要水源工程 */
|
||||||
|
@Excel(name = "主要水源工程")
|
||||||
|
@ApiModelProperty("主要水源工程")
|
||||||
|
private String mainWaterSource;
|
||||||
|
|
||||||
|
/** 补充水源工程 */
|
||||||
|
@Excel(name = "补充水源工程")
|
||||||
|
@ApiModelProperty("补充水源工程")
|
||||||
|
private String supplementaryWaterSource;
|
||||||
|
|
||||||
|
/** 用水户协会数量 */
|
||||||
|
@Excel(name = "用水户协会数量")
|
||||||
|
@ApiModelProperty("用水户协会数量")
|
||||||
|
private Long waterUsersAssociation;
|
||||||
|
|
||||||
|
/** 用水户协会管理面积 */
|
||||||
|
@Excel(name = "用水户协会管理面积")
|
||||||
|
@ApiModelProperty("用水户协会管理面积")
|
||||||
|
private Long waterUsersAssociationArea;
|
||||||
|
|
||||||
|
/** 专管人员数量 */
|
||||||
|
@Excel(name = "专管人员数量")
|
||||||
|
@ApiModelProperty("专管人员数量")
|
||||||
|
private Long specializedStaff;
|
||||||
|
|
||||||
|
/** 隶属关系 */
|
||||||
|
@Excel(name = "隶属关系")
|
||||||
|
@ApiModelProperty("隶属关系")
|
||||||
|
private String subordination;
|
||||||
|
|
||||||
|
/** 核定水价情况 */
|
||||||
|
@Excel(name = "核定水价情况")
|
||||||
|
@ApiModelProperty("核定水价情况")
|
||||||
|
private Integer approvedWaterPrices;
|
||||||
|
|
||||||
|
/** 核定水价 */
|
||||||
|
@Excel(name = "核定水价")
|
||||||
|
@ApiModelProperty("核定水价")
|
||||||
|
private BigDecimal approvedWaterPrice;
|
||||||
|
|
||||||
|
/** 执行水价 */
|
||||||
|
@Excel(name = "执行水价")
|
||||||
|
@ApiModelProperty("执行水价")
|
||||||
|
private BigDecimal executedWaterPrice;
|
||||||
|
|
||||||
|
/** 删除标志(0代表存在,2代表删除) */
|
||||||
|
private Integer delFlag;
|
||||||
|
|
||||||
|
/** 所属站点id */
|
||||||
|
@Excel(name = "所属站点id")
|
||||||
|
@ApiModelProperty("所属站点id")
|
||||||
|
private Long siteId;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,177 @@
|
|||||||
|
package com.fastbee.ggroup.domain;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
import com.fastbee.common.annotation.Excel;
|
||||||
|
import com.fastbee.common.core.domain.BaseEntity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 泵站信息对象 g_site_pump_info
|
||||||
|
*
|
||||||
|
* @author kerwincui
|
||||||
|
* @date 2024-11-04
|
||||||
|
*/
|
||||||
|
@ApiModel(value = "GSitePumpInfo",description = "泵站信息 g_site_pump_info")
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
public class GSitePumpInfo extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** $column.columnComment */
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/** 工程名称 */
|
||||||
|
@Excel(name = "工程名称")
|
||||||
|
@ApiModelProperty("工程名称")
|
||||||
|
private String projectName;
|
||||||
|
|
||||||
|
/** 工程编码 */
|
||||||
|
@Excel(name = "工程编码")
|
||||||
|
@ApiModelProperty("工程编码")
|
||||||
|
private String projectCode;
|
||||||
|
|
||||||
|
/** 地理坐标(经度) */
|
||||||
|
@Excel(name = "地理坐标", readConverterExp = "经=度")
|
||||||
|
@ApiModelProperty("地理坐标")
|
||||||
|
private BigDecimal geographicalCoordLongitude;
|
||||||
|
|
||||||
|
/** 地理坐标(纬度) */
|
||||||
|
@Excel(name = "地理坐标", readConverterExp = "纬=度")
|
||||||
|
@ApiModelProperty("地理坐标")
|
||||||
|
private BigDecimal geographicalCoordLatitude;
|
||||||
|
|
||||||
|
/** 工程位置 */
|
||||||
|
@Excel(name = "工程位置")
|
||||||
|
@ApiModelProperty("工程位置")
|
||||||
|
private String location;
|
||||||
|
|
||||||
|
/** 所在水资源三级区名称 */
|
||||||
|
@Excel(name = "所在水资源三级区名称")
|
||||||
|
@ApiModelProperty("所在水资源三级区名称")
|
||||||
|
private String waterResourceArea;
|
||||||
|
|
||||||
|
/** 所在河流 */
|
||||||
|
@Excel(name = "所在河流")
|
||||||
|
@ApiModelProperty("所在河流")
|
||||||
|
private String riverName;
|
||||||
|
|
||||||
|
/** 所在灌区 */
|
||||||
|
@Excel(name = "所在灌区")
|
||||||
|
@ApiModelProperty("所在灌区")
|
||||||
|
private String irrigationArea;
|
||||||
|
|
||||||
|
/** 泵站类型 */
|
||||||
|
@Excel(name = "泵站类型")
|
||||||
|
@ApiModelProperty("泵站类型")
|
||||||
|
private String pumpStationType;
|
||||||
|
|
||||||
|
/** 工程建设情况 */
|
||||||
|
@Excel(name = "工程建设情况")
|
||||||
|
@ApiModelProperty("工程建设情况")
|
||||||
|
private String constructionStatus;
|
||||||
|
|
||||||
|
/** 是否为枢纽工程 */
|
||||||
|
@Excel(name = "是否为枢纽工程")
|
||||||
|
@ApiModelProperty("是否为枢纽工程")
|
||||||
|
private Integer isHubProject;
|
||||||
|
|
||||||
|
/** 是否为闸站工程 */
|
||||||
|
@Excel(name = "是否为闸站工程")
|
||||||
|
@ApiModelProperty("是否为闸站工程")
|
||||||
|
private Integer isGateStation;
|
||||||
|
|
||||||
|
/** 是否为引泉工程 */
|
||||||
|
@Excel(name = "是否为引泉工程")
|
||||||
|
@ApiModelProperty("是否为引泉工程")
|
||||||
|
private Integer isSpringProject;
|
||||||
|
|
||||||
|
/** 工程等级 */
|
||||||
|
@Excel(name = "工程等级")
|
||||||
|
@ApiModelProperty("工程等级")
|
||||||
|
private Long projectGrade;
|
||||||
|
|
||||||
|
/** 主要建筑物等级 */
|
||||||
|
@Excel(name = "主要建筑物等级")
|
||||||
|
@ApiModelProperty("主要建筑物等级")
|
||||||
|
private Long buildingGrade;
|
||||||
|
|
||||||
|
/** 水泵数量 */
|
||||||
|
@Excel(name = "水泵数量")
|
||||||
|
@ApiModelProperty("水泵数量")
|
||||||
|
private Long pumpCount;
|
||||||
|
|
||||||
|
/** 设计扬程 */
|
||||||
|
@Excel(name = "设计扬程")
|
||||||
|
@ApiModelProperty("设计扬程")
|
||||||
|
private BigDecimal designLift;
|
||||||
|
|
||||||
|
/** 装机功率 */
|
||||||
|
@Excel(name = "装机功率")
|
||||||
|
@ApiModelProperty("装机功率")
|
||||||
|
private Long installedPower;
|
||||||
|
|
||||||
|
/** 装机流量 */
|
||||||
|
@Excel(name = "装机流量")
|
||||||
|
@ApiModelProperty("装机流量")
|
||||||
|
private Long installedFlow;
|
||||||
|
|
||||||
|
/** 工程任务 */
|
||||||
|
@Excel(name = "工程任务")
|
||||||
|
@ApiModelProperty("工程任务")
|
||||||
|
private String task;
|
||||||
|
|
||||||
|
/** 工程管理单位名称 */
|
||||||
|
@Excel(name = "工程管理单位名称")
|
||||||
|
@ApiModelProperty("工程管理单位名称")
|
||||||
|
private String managementUnit;
|
||||||
|
|
||||||
|
/** 权属 */
|
||||||
|
@Excel(name = "权属")
|
||||||
|
@ApiModelProperty("权属")
|
||||||
|
private String ownership;
|
||||||
|
|
||||||
|
/** 负责人 */
|
||||||
|
@Excel(name = "负责人")
|
||||||
|
@ApiModelProperty("负责人")
|
||||||
|
private String responsiblePerson;
|
||||||
|
|
||||||
|
/** 职位 */
|
||||||
|
@Excel(name = "职位")
|
||||||
|
@ApiModelProperty("职位")
|
||||||
|
private String position;
|
||||||
|
|
||||||
|
/** 电话 */
|
||||||
|
@Excel(name = "电话")
|
||||||
|
@ApiModelProperty("电话")
|
||||||
|
private String phone;
|
||||||
|
|
||||||
|
/** 是否完成划界 */
|
||||||
|
@Excel(name = "是否完成划界")
|
||||||
|
@ApiModelProperty("是否完成划界")
|
||||||
|
private Integer isDemarcated;
|
||||||
|
|
||||||
|
/** 是否完成确权 */
|
||||||
|
@Excel(name = "是否完成确权")
|
||||||
|
@ApiModelProperty("是否完成确权")
|
||||||
|
private Integer isConfirmed;
|
||||||
|
|
||||||
|
/** 防汛物资 */
|
||||||
|
@Excel(name = "防汛物资")
|
||||||
|
@ApiModelProperty("防汛物资")
|
||||||
|
private String floodPrevention;
|
||||||
|
|
||||||
|
/** 删除标志(0代表存在,2代表删除) */
|
||||||
|
private Integer delFlag;
|
||||||
|
|
||||||
|
/** 所属站点id */
|
||||||
|
@Excel(name = "所属站点id")
|
||||||
|
@ApiModelProperty("所属站点id")
|
||||||
|
private Long siteId;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,63 @@
|
|||||||
|
package com.fastbee.ggroup.mapper;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.fastbee.ggroup.domain.GSiteIrrigateInfo;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 灌区基础信息Mapper接口
|
||||||
|
*
|
||||||
|
* @author kerwincui
|
||||||
|
* @date 2024-11-04
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface GSiteIrrigateInfoMapper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询灌区基础信息
|
||||||
|
*
|
||||||
|
* @param SiteId 灌区基础信息主键
|
||||||
|
* @return 灌区基础信息
|
||||||
|
*/
|
||||||
|
public GSiteIrrigateInfo selectGSiteIrrigateInfoBySiteId(Long SiteId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询灌区基础信息列表
|
||||||
|
*
|
||||||
|
* @param gSiteIrrigateInfo 灌区基础信息
|
||||||
|
* @return 灌区基础信息集合
|
||||||
|
*/
|
||||||
|
public List<GSiteIrrigateInfo> selectGSiteIrrigateInfoList(GSiteIrrigateInfo gSiteIrrigateInfo);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增灌区基础信息
|
||||||
|
*
|
||||||
|
* @param gSiteIrrigateInfo 灌区基础信息
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertGSiteIrrigateInfo(GSiteIrrigateInfo gSiteIrrigateInfo);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改灌区基础信息
|
||||||
|
*
|
||||||
|
* @param gSiteIrrigateInfo 灌区基础信息
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateGSiteIrrigateInfo(GSiteIrrigateInfo gSiteIrrigateInfo);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除灌区基础信息
|
||||||
|
*
|
||||||
|
* @param id 灌区基础信息主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteGSiteIrrigateInfoById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除灌区基础信息
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的数据主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteGSiteIrrigateInfoByIds(Long[] ids);
|
||||||
|
}
|
@ -0,0 +1,63 @@
|
|||||||
|
package com.fastbee.ggroup.mapper;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.fastbee.ggroup.domain.GSitePumpInfo;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 泵站信息Mapper接口
|
||||||
|
*
|
||||||
|
* @author kerwincui
|
||||||
|
* @date 2024-11-04
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface GSitePumpInfoMapper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询泵站信息
|
||||||
|
*
|
||||||
|
* @param SiteId 泵站信息主键
|
||||||
|
* @return 泵站信息
|
||||||
|
*/
|
||||||
|
public GSitePumpInfo selectGSitePumpInfoBySiteId(Long SiteId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询泵站信息列表
|
||||||
|
*
|
||||||
|
* @param gSitePumpInfo 泵站信息
|
||||||
|
* @return 泵站信息集合
|
||||||
|
*/
|
||||||
|
public List<GSitePumpInfo> selectGSitePumpInfoList(GSitePumpInfo gSitePumpInfo);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增泵站信息
|
||||||
|
*
|
||||||
|
* @param gSitePumpInfo 泵站信息
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertGSitePumpInfo(GSitePumpInfo gSitePumpInfo);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改泵站信息
|
||||||
|
*
|
||||||
|
* @param gSitePumpInfo 泵站信息
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateGSitePumpInfo(GSitePumpInfo gSitePumpInfo);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除泵站信息
|
||||||
|
*
|
||||||
|
* @param id 泵站信息主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteGSitePumpInfoById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除泵站信息
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的数据主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteGSitePumpInfoByIds(Long[] ids);
|
||||||
|
}
|
@ -4,6 +4,7 @@ import java.util.List;
|
|||||||
|
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
import com.fastbee.ggroup.domain.GSiteSluiceInfo;
|
import com.fastbee.ggroup.domain.GSiteSluiceInfo;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 水闸基本信息Mapper接口
|
* 水闸基本信息Mapper接口
|
||||||
@ -11,6 +12,7 @@ import com.fastbee.ggroup.domain.GSiteSluiceInfo;
|
|||||||
* @author kerwincui
|
* @author kerwincui
|
||||||
* @date 2024-10-31
|
* @date 2024-10-31
|
||||||
*/
|
*/
|
||||||
|
@Mapper
|
||||||
public interface GSiteSluiceInfoMapper extends BaseMapper<GSiteSluiceInfo>
|
public interface GSiteSluiceInfoMapper extends BaseMapper<GSiteSluiceInfo>
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
@ -20,7 +22,13 @@ public interface GSiteSluiceInfoMapper extends BaseMapper<GSiteSluiceInfo>
|
|||||||
* @return 水闸基本信息
|
* @return 水闸基本信息
|
||||||
*/
|
*/
|
||||||
public GSiteSluiceInfo selectGSiteSluiceInfoById(Long id);
|
public GSiteSluiceInfo selectGSiteSluiceInfoById(Long id);
|
||||||
|
/**
|
||||||
|
* 根据siteId查询水闸基本信息
|
||||||
|
*
|
||||||
|
* @param siteId 水闸基本信息主键
|
||||||
|
* @return 水闸基本信息
|
||||||
|
*/
|
||||||
|
public List<GSiteSluiceInfo> selectGSiteSluiceInfoBySiteId(Long siteId);
|
||||||
/**
|
/**
|
||||||
* 查询水闸基本信息列表
|
* 查询水闸基本信息列表
|
||||||
*
|
*
|
||||||
|
@ -0,0 +1,61 @@
|
|||||||
|
package com.fastbee.ggroup.service;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.fastbee.ggroup.domain.GSiteIrrigateInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 灌区基础信息Service接口
|
||||||
|
*
|
||||||
|
* @author kerwincui
|
||||||
|
* @date 2024-11-04
|
||||||
|
*/
|
||||||
|
public interface IGSiteIrrigateInfoService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询灌区基础信息
|
||||||
|
*
|
||||||
|
* @param SiteId 灌区基础信息外键
|
||||||
|
* @return 灌区基础信息
|
||||||
|
*/
|
||||||
|
public GSiteIrrigateInfo selectGSiteIrrigateInfoBySiteId(Long SiteId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改灌区站点基础信息
|
||||||
|
* @param gSiteIrrigateInfo 灌区站点基础信息
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateGSiteIrrigateInfo(GSiteIrrigateInfo gSiteIrrigateInfo);
|
||||||
|
/**
|
||||||
|
* 查询灌区基础信息列表
|
||||||
|
*
|
||||||
|
* @param gSiteIrrigateInfo 灌区基础信息
|
||||||
|
* @return 灌区基础信息集合
|
||||||
|
*/
|
||||||
|
public List<GSiteIrrigateInfo> selectGSiteIrrigateInfoList(GSiteIrrigateInfo gSiteIrrigateInfo);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增灌区基础信息
|
||||||
|
*
|
||||||
|
* @param gSiteIrrigateInfo 灌区基础信息
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertGSiteIrrigateInfo(GSiteIrrigateInfo gSiteIrrigateInfo);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除灌区基础信息
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的灌区基础信息主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteGSiteIrrigateInfoByIds(Long[] ids);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除灌区基础信息信息
|
||||||
|
*
|
||||||
|
* @param id 灌区基础信息主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteGSiteIrrigateInfoById(Long id);
|
||||||
|
}
|
@ -0,0 +1,61 @@
|
|||||||
|
package com.fastbee.ggroup.service;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.fastbee.ggroup.domain.GSitePumpInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 泵站信息Service接口
|
||||||
|
*
|
||||||
|
* @author kerwincui
|
||||||
|
* @date 2024-11-04
|
||||||
|
*/
|
||||||
|
public interface IGSitePumpInfoService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询泵站信息
|
||||||
|
*
|
||||||
|
* @param SiteId 泵站信息主键
|
||||||
|
* @return 泵站信息
|
||||||
|
*/
|
||||||
|
public GSitePumpInfo selectGSitePumpInfoBySiteId(Long SiteId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询泵站信息列表
|
||||||
|
*
|
||||||
|
* @param gSitePumpInfo 泵站信息
|
||||||
|
* @return 泵站信息集合
|
||||||
|
*/
|
||||||
|
public List<GSitePumpInfo> selectGSitePumpInfoList(GSitePumpInfo gSitePumpInfo);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增泵站信息
|
||||||
|
*
|
||||||
|
* @param gSitePumpInfo 泵站信息
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertGSitePumpInfo(GSitePumpInfo gSitePumpInfo);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改泵站信息
|
||||||
|
*
|
||||||
|
* @param gSitePumpInfo 泵站信息
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateGSiteSluiceInfo(GSitePumpInfo gSitePumpInfo);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除泵站信息
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的泵站信息主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteGSitePumpInfoByIds(Long[] ids);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除泵站信息信息
|
||||||
|
*
|
||||||
|
* @param id 泵站信息主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteGSitePumpInfoById(Long id);
|
||||||
|
}
|
@ -19,6 +19,13 @@ public interface IGSiteReservoirInfoService
|
|||||||
*/
|
*/
|
||||||
public GSiteReservoirInfo selectGSiteReservoirInfoById(Long id);
|
public GSiteReservoirInfo selectGSiteReservoirInfoById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 根据站点的id查询水闸的站点信息
|
||||||
|
* @param siteId 水闸站点的id
|
||||||
|
* @return 水闸站点的信息
|
||||||
|
*/
|
||||||
|
|
||||||
|
public List<GSiteReservoirInfo> selectGSiteReservoirInfoBySiteId(Long siteId);
|
||||||
/**
|
/**
|
||||||
* 查询水库站点基础信息列表
|
* 查询水库站点基础信息列表
|
||||||
*
|
*
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
package com.fastbee.ggroup.service;
|
package com.fastbee.ggroup.service;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.fastbee.ggroup.domain.GSiteReservoirInfo;
|
||||||
import com.fastbee.ggroup.domain.GSiteSluiceInfo;
|
import com.fastbee.ggroup.domain.GSiteSluiceInfo;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -18,7 +20,13 @@ public interface IGSiteSluiceInfoService
|
|||||||
* @return 水闸基本信息
|
* @return 水闸基本信息
|
||||||
*/
|
*/
|
||||||
public GSiteSluiceInfo selectGSiteSluiceInfoById(Long id);
|
public GSiteSluiceInfo selectGSiteSluiceInfoById(Long id);
|
||||||
|
/**
|
||||||
|
* 根据siteId查询水闸基本信息
|
||||||
|
*
|
||||||
|
* @param siteId 水闸基本信息外键
|
||||||
|
* @return 水闸基本信息
|
||||||
|
*/
|
||||||
|
public List<GSiteSluiceInfo> selectGSiteSluiceInfoBySiteId(Long siteId);
|
||||||
/**
|
/**
|
||||||
* 查询水闸基本信息列表
|
* 查询水闸基本信息列表
|
||||||
*
|
*
|
||||||
@ -35,14 +43,6 @@ public interface IGSiteSluiceInfoService
|
|||||||
*/
|
*/
|
||||||
public int insertGSiteSluiceInfo(GSiteSluiceInfo gSiteSluiceInfo);
|
public int insertGSiteSluiceInfo(GSiteSluiceInfo gSiteSluiceInfo);
|
||||||
|
|
||||||
/**
|
|
||||||
* 修改水闸基本信息
|
|
||||||
*
|
|
||||||
* @param gSiteSluiceInfo 水闸基本信息
|
|
||||||
* @return 结果
|
|
||||||
*/
|
|
||||||
public int updateGSiteSluiceInfo(GSiteSluiceInfo gSiteSluiceInfo);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 批量删除水闸基本信息
|
* 批量删除水闸基本信息
|
||||||
*
|
*
|
||||||
@ -58,4 +58,11 @@ public interface IGSiteSluiceInfoService
|
|||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
public int deleteGSiteSluiceInfoById(Long id);
|
public int deleteGSiteSluiceInfoById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param gSiteSluiceInfo 修改水闸的基本信息
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public int updateGSiteSluiceInfo(GSiteSluiceInfo gSiteSluiceInfo);
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,109 @@
|
|||||||
|
package com.fastbee.ggroup.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Objects;
|
||||||
|
|
||||||
|
import com.fastbee.common.exception.ServiceException;
|
||||||
|
import com.fastbee.common.utils.DateUtils;
|
||||||
|
import com.fastbee.ggroup.domain.GSiteReservoirInfo;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import com.fastbee.ggroup.mapper.GSiteIrrigateInfoMapper;
|
||||||
|
import com.fastbee.ggroup.domain.GSiteIrrigateInfo;
|
||||||
|
import com.fastbee.ggroup.service.IGSiteIrrigateInfoService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 灌区基础信息Service业务层处理
|
||||||
|
*
|
||||||
|
* @author kerwincui
|
||||||
|
* @date 2024-11-04
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class GSiteIrrigateInfoServiceImpl implements IGSiteIrrigateInfoService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private GSiteIrrigateInfoMapper gSiteIrrigateInfoMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询灌区基础信息
|
||||||
|
*
|
||||||
|
* @param SiteId 灌区基础信息外键
|
||||||
|
* @return 灌区基础信息
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public GSiteIrrigateInfo selectGSiteIrrigateInfoBySiteId(Long SiteId)
|
||||||
|
{
|
||||||
|
return gSiteIrrigateInfoMapper.selectGSiteIrrigateInfoBySiteId(SiteId);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* 修改灌区站点基础信息
|
||||||
|
* @param gSiteIrrigateInfo 灌区站点基础信息
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateGSiteIrrigateInfo(GSiteIrrigateInfo gSiteIrrigateInfo)
|
||||||
|
{
|
||||||
|
//必要参数校验
|
||||||
|
if(Objects.isNull(gSiteIrrigateInfo.getSiteId())){
|
||||||
|
throw new ServiceException("站点ID(siteId)字段不能为空!");
|
||||||
|
}
|
||||||
|
//检查是否有该条数据
|
||||||
|
if(Objects.isNull(gSiteIrrigateInfoMapper.selectGSiteIrrigateInfoBySiteId(gSiteIrrigateInfo.getSiteId()))){
|
||||||
|
//没有该条数据则新增
|
||||||
|
gSiteIrrigateInfo.setCreateTime(DateUtils.getNowDate());
|
||||||
|
return insertGSiteIrrigateInfo(gSiteIrrigateInfo);
|
||||||
|
}
|
||||||
|
gSiteIrrigateInfo.setUpdateTime(DateUtils.getNowDate());
|
||||||
|
return gSiteIrrigateInfoMapper.updateGSiteIrrigateInfo(gSiteIrrigateInfo);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* 查询灌区基础信息列表
|
||||||
|
*
|
||||||
|
* @param gSiteIrrigateInfo 灌区基础信息
|
||||||
|
* @return 灌区基础信息
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<GSiteIrrigateInfo> selectGSiteIrrigateInfoList(GSiteIrrigateInfo gSiteIrrigateInfo)
|
||||||
|
{
|
||||||
|
return gSiteIrrigateInfoMapper.selectGSiteIrrigateInfoList(gSiteIrrigateInfo);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增灌区基础信息
|
||||||
|
*
|
||||||
|
* @param gSiteIrrigateInfo 灌区基础信息
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertGSiteIrrigateInfo(GSiteIrrigateInfo gSiteIrrigateInfo)
|
||||||
|
{
|
||||||
|
gSiteIrrigateInfo.setCreateTime(DateUtils.getNowDate());
|
||||||
|
return gSiteIrrigateInfoMapper.insertGSiteIrrigateInfo(gSiteIrrigateInfo);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除灌区基础信息
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的灌区基础信息主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteGSiteIrrigateInfoByIds(Long[] ids)
|
||||||
|
{
|
||||||
|
return gSiteIrrigateInfoMapper.deleteGSiteIrrigateInfoByIds(ids);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除灌区基础信息信息
|
||||||
|
*
|
||||||
|
* @param id 灌区基础信息主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteGSiteIrrigateInfoById(Long id)
|
||||||
|
{
|
||||||
|
return gSiteIrrigateInfoMapper.deleteGSiteIrrigateInfoById(id);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,106 @@
|
|||||||
|
package com.fastbee.ggroup.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Objects;
|
||||||
|
|
||||||
|
import com.fastbee.common.exception.ServiceException;
|
||||||
|
import com.fastbee.common.utils.DateUtils;
|
||||||
|
import com.fastbee.ggroup.domain.GSiteSluiceInfo;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import com.fastbee.ggroup.mapper.GSitePumpInfoMapper;
|
||||||
|
import com.fastbee.ggroup.domain.GSitePumpInfo;
|
||||||
|
import com.fastbee.ggroup.service.IGSitePumpInfoService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 泵站信息Service业务层处理
|
||||||
|
*
|
||||||
|
* @author kerwincui
|
||||||
|
* @date 2024-11-04
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class GSitePumpInfoServiceImpl implements IGSitePumpInfoService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private GSitePumpInfoMapper gSitePumpInfoMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询泵站信息
|
||||||
|
*
|
||||||
|
* @param SiteId 泵站信息主键
|
||||||
|
* @return 泵站信息
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public GSitePumpInfo selectGSitePumpInfoBySiteId(Long SiteId)
|
||||||
|
{
|
||||||
|
return gSitePumpInfoMapper.selectGSitePumpInfoBySiteId(SiteId);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询泵站信息列表
|
||||||
|
*
|
||||||
|
* @param gSitePumpInfo 泵站信息
|
||||||
|
* @return 泵站信息
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<GSitePumpInfo> selectGSitePumpInfoList(GSitePumpInfo gSitePumpInfo)
|
||||||
|
{
|
||||||
|
return gSitePumpInfoMapper.selectGSitePumpInfoList(gSitePumpInfo);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增泵站信息
|
||||||
|
*
|
||||||
|
* @param gSitePumpInfo 泵站信息
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertGSitePumpInfo(GSitePumpInfo gSitePumpInfo)
|
||||||
|
{
|
||||||
|
gSitePumpInfo.setCreateTime(DateUtils.getNowDate());
|
||||||
|
return gSitePumpInfoMapper.insertGSitePumpInfo(gSitePumpInfo);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改泵站信息
|
||||||
|
*
|
||||||
|
* @param gSitePumpInfo 泵站信息
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateGSiteSluiceInfo(GSitePumpInfo gSitePumpInfo){
|
||||||
|
if (Objects.isNull(gSitePumpInfo.getSiteId())){
|
||||||
|
throw new ServiceException("站点ID(siteId)字段不能为空!");
|
||||||
|
}
|
||||||
|
if (Objects.isNull(gSitePumpInfoMapper.selectGSitePumpInfoBySiteId(gSitePumpInfo.getSiteId()))){
|
||||||
|
gSitePumpInfo.setCreateTime(DateUtils.getNowDate());
|
||||||
|
return gSitePumpInfoMapper.insertGSitePumpInfo(gSitePumpInfo);
|
||||||
|
}
|
||||||
|
gSitePumpInfo.setUpdateTime(DateUtils.getNowDate());
|
||||||
|
return gSitePumpInfoMapper.updateGSitePumpInfo(gSitePumpInfo);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除泵站信息
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的泵站信息主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteGSitePumpInfoByIds(Long[] ids)
|
||||||
|
{
|
||||||
|
return gSitePumpInfoMapper.deleteGSitePumpInfoByIds(ids);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除泵站信息信息
|
||||||
|
*
|
||||||
|
* @param id 泵站信息主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteGSitePumpInfoById(Long id)
|
||||||
|
{
|
||||||
|
return gSitePumpInfoMapper.deleteGSitePumpInfoById(id);
|
||||||
|
}
|
||||||
|
}
|
@ -35,6 +35,16 @@ public class GSiteReservoirInfoServiceImpl implements IGSiteReservoirInfoService
|
|||||||
return gSiteReservoirInfoMapper.selectGSiteReservoirInfoBySiteId(siteId);
|
return gSiteReservoirInfoMapper.selectGSiteReservoirInfoBySiteId(siteId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 根据站点的id查询水闸的站点信息
|
||||||
|
* @param siteId 水闸站点的id
|
||||||
|
* @return 水闸站点的信息
|
||||||
|
*/
|
||||||
|
|
||||||
|
public List<GSiteReservoirInfo> selectGSiteReservoirInfoBySiteId(Long siteId){
|
||||||
|
return (List<GSiteReservoirInfo>) gSiteReservoirInfoMapper.selectGSiteReservoirInfoBySiteId(siteId);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询水库站点基础信息列表
|
* 查询水库站点基础信息列表
|
||||||
*
|
*
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
package com.fastbee.ggroup.service.impl;
|
package com.fastbee.ggroup.service.impl;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
import java.util.Objects;
|
||||||
|
|
||||||
|
import com.fastbee.common.exception.ServiceException;
|
||||||
import com.fastbee.common.utils.DateUtils;
|
import com.fastbee.common.utils.DateUtils;
|
||||||
import com.fastbee.ggroup.mapper.GSiteSluiceInfoMapper;
|
import com.fastbee.ggroup.mapper.GSiteSluiceInfoMapper;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
@ -31,6 +34,17 @@ public class GSiteSluiceInfoServiceImpl implements IGSiteSluiceInfoService
|
|||||||
{
|
{
|
||||||
return gSiteSluiceInfoMapper.selectGSiteSluiceInfoById(id);
|
return gSiteSluiceInfoMapper.selectGSiteSluiceInfoById(id);
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* 根据站点的id查询水闸的站点信息
|
||||||
|
*
|
||||||
|
* @param siteId 水闸站点的id
|
||||||
|
* @return 水闸站点的信息
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<GSiteSluiceInfo> selectGSiteSluiceInfoBySiteId(Long siteId)
|
||||||
|
{
|
||||||
|
return gSiteSluiceInfoMapper.selectGSiteSluiceInfoBySiteId(siteId);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询水闸基本信息列表
|
* 查询水闸基本信息列表
|
||||||
@ -56,20 +70,6 @@ public class GSiteSluiceInfoServiceImpl implements IGSiteSluiceInfoService
|
|||||||
gSiteSluiceInfo.setCreateTime(DateUtils.getNowDate());
|
gSiteSluiceInfo.setCreateTime(DateUtils.getNowDate());
|
||||||
return gSiteSluiceInfoMapper.insertGSiteSluiceInfo(gSiteSluiceInfo);
|
return gSiteSluiceInfoMapper.insertGSiteSluiceInfo(gSiteSluiceInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* 修改水闸基本信息
|
|
||||||
*
|
|
||||||
* @param gSiteSluiceInfo 水闸基本信息
|
|
||||||
* @return 结果
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public int updateGSiteSluiceInfo(GSiteSluiceInfo gSiteSluiceInfo)
|
|
||||||
{
|
|
||||||
gSiteSluiceInfo.setUpdateTime(DateUtils.getNowDate());
|
|
||||||
return gSiteSluiceInfoMapper.updateGSiteSluiceInfo(gSiteSluiceInfo);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 批量删除水闸基本信息
|
* 批量删除水闸基本信息
|
||||||
*
|
*
|
||||||
@ -93,4 +93,22 @@ public class GSiteSluiceInfoServiceImpl implements IGSiteSluiceInfoService
|
|||||||
{
|
{
|
||||||
return gSiteSluiceInfoMapper.deleteGSiteSluiceInfoById(id);
|
return gSiteSluiceInfoMapper.deleteGSiteSluiceInfoById(id);
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param gSiteSluiceInfo 修改水闸的基本信息
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateGSiteSluiceInfo(GSiteSluiceInfo gSiteSluiceInfo){
|
||||||
|
if (Objects.isNull(gSiteSluiceInfo.getSiteId())){
|
||||||
|
throw new ServiceException("站点ID(siteId)字段不能为空!");
|
||||||
|
}
|
||||||
|
if (Objects.isNull(gSiteSluiceInfoMapper.selectGSiteSluiceInfoById(gSiteSluiceInfo.getId()))){
|
||||||
|
gSiteSluiceInfo.setCreateTime(DateUtils.getNowDate());
|
||||||
|
return gSiteSluiceInfoMapper.insertGSiteSluiceInfo(gSiteSluiceInfo);
|
||||||
|
}
|
||||||
|
gSiteSluiceInfo.setUpdateTime(DateUtils.getNowDate());
|
||||||
|
return gSiteSluiceInfoMapper.updateGSiteSluiceInfo(gSiteSluiceInfo);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,188 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.fastbee.ggroup.mapper.GSiteIrrigateInfoMapper">
|
||||||
|
|
||||||
|
<resultMap type="GSiteIrrigateInfo" id="GSiteIrrigateInfoResult">
|
||||||
|
<result property="id" column="id" />
|
||||||
|
<result property="projectName" column="project_name" />
|
||||||
|
<result property="projectCode" column="project_code" />
|
||||||
|
<result property="scale" column="scale" />
|
||||||
|
<result property="location" column="location" />
|
||||||
|
<result property="scope" column="scope" />
|
||||||
|
<result property="crossCounty" column="cross_county" />
|
||||||
|
<result property="cultivatedLandarea" column="cultivated_landArea" />
|
||||||
|
<result property="designedIrrigationArea" column="designed_irrigation_area" />
|
||||||
|
<result property="totalIrrigationArea" column="total_irrigation_area" />
|
||||||
|
<result property="adjustedCultivatedLandArea" column="adjusted_cultivated_land_area" />
|
||||||
|
<result property="gardenGrasslandArea" column="garden_grassland_area" />
|
||||||
|
<result property="managementUnitName" column="management_unit_name" />
|
||||||
|
<result property="managementType" column="management_type" />
|
||||||
|
<result property="mainWaterSource" column="main_water_source" />
|
||||||
|
<result property="supplementaryWaterSource" column="supplementary_water_source" />
|
||||||
|
<result property="waterUsersAssociation" column="water_users_association" />
|
||||||
|
<result property="waterUsersAssociationArea" column="water_users_association_area" />
|
||||||
|
<result property="specializedStaff" column="specialized_staff" />
|
||||||
|
<result property="subordination" column="subordination" />
|
||||||
|
<result property="approvedWaterPrices" column="approved_water_prices" />
|
||||||
|
<result property="approvedWaterPrice" column="approved_water_price" />
|
||||||
|
<result property="executedWaterPrice" column="executed_water_price" />
|
||||||
|
<result property="delFlag" column="del_flag" />
|
||||||
|
<result property="createTime" column="create_time" />
|
||||||
|
<result property="createBy" column="create_by" />
|
||||||
|
<result property="updateTime" column="update_time" />
|
||||||
|
<result property="updateBy" column="update_by" />
|
||||||
|
<result property="siteId" column="site_id" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectGSiteIrrigateInfoVo">
|
||||||
|
select id, project_name, project_code, scale, location, scope, cross_county, cultivated_landArea, designed_irrigation_area, total_irrigation_area, adjusted_cultivated_land_area, garden_grassland_area, management_unit_name, management_type, main_water_source, supplementary_water_source, water_users_association, water_users_association_area, specialized_staff, subordination, approved_water_prices, approved_water_price, executed_water_price, del_flag, create_time, create_by, update_time, update_by, site_id from g_site_irrigate_info
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectGSiteIrrigateInfoList" parameterType="GSiteIrrigateInfo" resultMap="GSiteIrrigateInfoResult">
|
||||||
|
<include refid="selectGSiteIrrigateInfoVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="projectName != null and projectName != ''"> and project_name like concat('%', #{projectName}, '%')</if>
|
||||||
|
<if test="projectCode != null and projectCode != ''"> and project_code = #{projectCode}</if>
|
||||||
|
<if test="scale != null and scale != ''"> and scale = #{scale}</if>
|
||||||
|
<if test="location != null and location != ''"> and location = #{location}</if>
|
||||||
|
<if test="scope != null and scope != ''"> and scope = #{scope}</if>
|
||||||
|
<if test="crossCounty != null "> and cross_county = #{crossCounty}</if>
|
||||||
|
<if test="cultivatedLandarea != null "> and cultivated_landArea = #{cultivatedLandarea}</if>
|
||||||
|
<if test="designedIrrigationArea != null "> and designed_irrigation_area = #{designedIrrigationArea}</if>
|
||||||
|
<if test="totalIrrigationArea != null "> and total_irrigation_area = #{totalIrrigationArea}</if>
|
||||||
|
<if test="adjustedCultivatedLandArea != null "> and adjusted_cultivated_land_area = #{adjustedCultivatedLandArea}</if>
|
||||||
|
<if test="gardenGrasslandArea != null "> and garden_grassland_area = #{gardenGrasslandArea}</if>
|
||||||
|
<if test="managementUnitName != null and managementUnitName != ''"> and management_unit_name like concat('%', #{managementUnitName}, '%')</if>
|
||||||
|
<if test="managementType != null and managementType != ''"> and management_type = #{managementType}</if>
|
||||||
|
<if test="mainWaterSource != null and mainWaterSource != ''"> and main_water_source = #{mainWaterSource}</if>
|
||||||
|
<if test="supplementaryWaterSource != null and supplementaryWaterSource != ''"> and supplementary_water_source = #{supplementaryWaterSource}</if>
|
||||||
|
<if test="waterUsersAssociation != null "> and water_users_association = #{waterUsersAssociation}</if>
|
||||||
|
<if test="waterUsersAssociationArea != null "> and water_users_association_area = #{waterUsersAssociationArea}</if>
|
||||||
|
<if test="specializedStaff != null "> and specialized_staff = #{specializedStaff}</if>
|
||||||
|
<if test="subordination != null and subordination != ''"> and subordination = #{subordination}</if>
|
||||||
|
<if test="approvedWaterPrices != null "> and approved_water_prices = #{approvedWaterPrices}</if>
|
||||||
|
<if test="approvedWaterPrice != null "> and approved_water_price = #{approvedWaterPrice}</if>
|
||||||
|
<if test="executedWaterPrice != null "> and executed_water_price = #{executedWaterPrice}</if>
|
||||||
|
<if test="siteId != null "> and site_id = #{siteId}</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectGSiteIrrigateInfoBySiteId" parameterType="Long" resultMap="GSiteIrrigateInfoResult">
|
||||||
|
<include refid="selectGSiteIrrigateInfoVo"/>
|
||||||
|
where site_id = #{site_id}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertGSiteIrrigateInfo" parameterType="GSiteIrrigateInfo">
|
||||||
|
insert into g_site_irrigate_info
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="id != null">id,</if>
|
||||||
|
<if test="projectName != null and projectName != ''">project_name,</if>
|
||||||
|
<if test="projectCode != null">project_code,</if>
|
||||||
|
<if test="scale != null">scale,</if>
|
||||||
|
<if test="location != null">location,</if>
|
||||||
|
<if test="scope != null">scope,</if>
|
||||||
|
<if test="crossCounty != null">cross_county,</if>
|
||||||
|
<if test="cultivatedLandarea != null">cultivated_landArea,</if>
|
||||||
|
<if test="designedIrrigationArea != null">designed_irrigation_area,</if>
|
||||||
|
<if test="totalIrrigationArea != null">total_irrigation_area,</if>
|
||||||
|
<if test="adjustedCultivatedLandArea != null">adjusted_cultivated_land_area,</if>
|
||||||
|
<if test="gardenGrasslandArea != null">garden_grassland_area,</if>
|
||||||
|
<if test="managementUnitName != null">management_unit_name,</if>
|
||||||
|
<if test="managementType != null">management_type,</if>
|
||||||
|
<if test="mainWaterSource != null">main_water_source,</if>
|
||||||
|
<if test="supplementaryWaterSource != null">supplementary_water_source,</if>
|
||||||
|
<if test="waterUsersAssociation != null">water_users_association,</if>
|
||||||
|
<if test="waterUsersAssociationArea != null">water_users_association_area,</if>
|
||||||
|
<if test="specializedStaff != null">specialized_staff,</if>
|
||||||
|
<if test="subordination != null">subordination,</if>
|
||||||
|
<if test="approvedWaterPrices != null">approved_water_prices,</if>
|
||||||
|
<if test="approvedWaterPrice != null">approved_water_price,</if>
|
||||||
|
<if test="executedWaterPrice != null">executed_water_price,</if>
|
||||||
|
<if test="delFlag != null">del_flag,</if>
|
||||||
|
<if test="createTime != null">create_time,</if>
|
||||||
|
<if test="createBy != null">create_by,</if>
|
||||||
|
<if test="updateTime != null">update_time,</if>
|
||||||
|
<if test="updateBy != null">update_by,</if>
|
||||||
|
<if test="siteId != null">site_id,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="id != null">#{id},</if>
|
||||||
|
<if test="projectName != null and projectName != ''">#{projectName},</if>
|
||||||
|
<if test="projectCode != null">#{projectCode},</if>
|
||||||
|
<if test="scale != null">#{scale},</if>
|
||||||
|
<if test="location != null">#{location},</if>
|
||||||
|
<if test="scope != null">#{scope},</if>
|
||||||
|
<if test="crossCounty != null">#{crossCounty},</if>
|
||||||
|
<if test="cultivatedLandarea != null">#{cultivatedLandarea},</if>
|
||||||
|
<if test="designedIrrigationArea != null">#{designedIrrigationArea},</if>
|
||||||
|
<if test="totalIrrigationArea != null">#{totalIrrigationArea},</if>
|
||||||
|
<if test="adjustedCultivatedLandArea != null">#{adjustedCultivatedLandArea},</if>
|
||||||
|
<if test="gardenGrasslandArea != null">#{gardenGrasslandArea},</if>
|
||||||
|
<if test="managementUnitName != null">#{managementUnitName},</if>
|
||||||
|
<if test="managementType != null">#{managementType},</if>
|
||||||
|
<if test="mainWaterSource != null">#{mainWaterSource},</if>
|
||||||
|
<if test="supplementaryWaterSource != null">#{supplementaryWaterSource},</if>
|
||||||
|
<if test="waterUsersAssociation != null">#{waterUsersAssociation},</if>
|
||||||
|
<if test="waterUsersAssociationArea != null">#{waterUsersAssociationArea},</if>
|
||||||
|
<if test="specializedStaff != null">#{specializedStaff},</if>
|
||||||
|
<if test="subordination != null">#{subordination},</if>
|
||||||
|
<if test="approvedWaterPrices != null">#{approvedWaterPrices},</if>
|
||||||
|
<if test="approvedWaterPrice != null">#{approvedWaterPrice},</if>
|
||||||
|
<if test="executedWaterPrice != null">#{executedWaterPrice},</if>
|
||||||
|
<if test="delFlag != null">#{delFlag},</if>
|
||||||
|
<if test="createTime != null">#{createTime},</if>
|
||||||
|
<if test="createBy != null">#{createBy},</if>
|
||||||
|
<if test="updateTime != null">#{updateTime},</if>
|
||||||
|
<if test="updateBy != null">#{updateBy},</if>
|
||||||
|
<if test="siteId != null">#{siteId},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updateGSiteIrrigateInfo" parameterType="GSiteIrrigateInfo">
|
||||||
|
update g_site_irrigate_info
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="projectName != null and projectName != ''">project_name = #{projectName},</if>
|
||||||
|
<if test="projectCode != null">project_code = #{projectCode},</if>
|
||||||
|
<if test="scale != null">scale = #{scale},</if>
|
||||||
|
<if test="location != null">location = #{location},</if>
|
||||||
|
<if test="scope != null">scope = #{scope},</if>
|
||||||
|
<if test="crossCounty != null">cross_county = #{crossCounty},</if>
|
||||||
|
<if test="cultivatedLandarea != null">cultivated_landArea = #{cultivatedLandarea},</if>
|
||||||
|
<if test="designedIrrigationArea != null">designed_irrigation_area = #{designedIrrigationArea},</if>
|
||||||
|
<if test="totalIrrigationArea != null">total_irrigation_area = #{totalIrrigationArea},</if>
|
||||||
|
<if test="adjustedCultivatedLandArea != null">adjusted_cultivated_land_area = #{adjustedCultivatedLandArea},</if>
|
||||||
|
<if test="gardenGrasslandArea != null">garden_grassland_area = #{gardenGrasslandArea},</if>
|
||||||
|
<if test="managementUnitName != null">management_unit_name = #{managementUnitName},</if>
|
||||||
|
<if test="managementType != null">management_type = #{managementType},</if>
|
||||||
|
<if test="mainWaterSource != null">main_water_source = #{mainWaterSource},</if>
|
||||||
|
<if test="supplementaryWaterSource != null">supplementary_water_source = #{supplementaryWaterSource},</if>
|
||||||
|
<if test="waterUsersAssociation != null">water_users_association = #{waterUsersAssociation},</if>
|
||||||
|
<if test="waterUsersAssociationArea != null">water_users_association_area = #{waterUsersAssociationArea},</if>
|
||||||
|
<if test="specializedStaff != null">specialized_staff = #{specializedStaff},</if>
|
||||||
|
<if test="subordination != null">subordination = #{subordination},</if>
|
||||||
|
<if test="approvedWaterPrices != null">approved_water_prices = #{approvedWaterPrices},</if>
|
||||||
|
<if test="approvedWaterPrice != null">approved_water_price = #{approvedWaterPrice},</if>
|
||||||
|
<if test="executedWaterPrice != null">executed_water_price = #{executedWaterPrice},</if>
|
||||||
|
<if test="delFlag != null">del_flag = #{delFlag},</if>
|
||||||
|
<if test="createTime != null">create_time = #{createTime},</if>
|
||||||
|
<if test="createBy != null">create_by = #{createBy},</if>
|
||||||
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||||
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||||
|
<if test="siteId != null">site_id = #{siteId},</if>
|
||||||
|
</trim>
|
||||||
|
where id = #{id}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deleteGSiteIrrigateInfoById" parameterType="Long">
|
||||||
|
delete from g_site_irrigate_info where id = #{id}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteGSiteIrrigateInfoByIds" parameterType="String">
|
||||||
|
delete from g_site_irrigate_info where id in
|
||||||
|
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||||
|
#{id}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
</mapper>
|
@ -0,0 +1,216 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.fastbee.ggroup.mapper.GSitePumpInfoMapper">
|
||||||
|
|
||||||
|
<resultMap type="GSitePumpInfo" id="GSitePumpInfoResult">
|
||||||
|
<result property="id" column="id" />
|
||||||
|
<result property="projectName" column="project_name" />
|
||||||
|
<result property="projectCode" column="project_code" />
|
||||||
|
<result property="geographicalCoordLongitude" column="geographical_coord_longitude" />
|
||||||
|
<result property="geographicalCoordLatitude" column="geographical_coord_latitude" />
|
||||||
|
<result property="location" column="location" />
|
||||||
|
<result property="waterResourceArea" column="water_resource_area" />
|
||||||
|
<result property="riverName" column="river_name" />
|
||||||
|
<result property="irrigationArea" column="irrigation_area" />
|
||||||
|
<result property="pumpStationType" column="pump_station_type" />
|
||||||
|
<result property="constructionStatus" column="construction_status" />
|
||||||
|
<result property="isHubProject" column="is_hub_project" />
|
||||||
|
<result property="isGateStation" column="is_gate_station" />
|
||||||
|
<result property="isSpringProject" column="is_spring_project" />
|
||||||
|
<result property="projectGrade" column="project_grade" />
|
||||||
|
<result property="buildingGrade" column="building_grade" />
|
||||||
|
<result property="pumpCount" column="pump_count" />
|
||||||
|
<result property="designLift" column="design_lift" />
|
||||||
|
<result property="installedPower" column="installed_power" />
|
||||||
|
<result property="installedFlow" column="installed_flow" />
|
||||||
|
<result property="task" column="task" />
|
||||||
|
<result property="managementUnit" column="management_unit" />
|
||||||
|
<result property="ownership" column="ownership" />
|
||||||
|
<result property="responsiblePerson" column="responsible_person" />
|
||||||
|
<result property="position" column="position" />
|
||||||
|
<result property="phone" column="phone" />
|
||||||
|
<result property="isDemarcated" column="is_demarcated" />
|
||||||
|
<result property="isConfirmed" column="is_confirmed" />
|
||||||
|
<result property="floodPrevention" column="flood_prevention" />
|
||||||
|
<result property="delFlag" column="del_flag" />
|
||||||
|
<result property="createTime" column="create_time" />
|
||||||
|
<result property="createBy" column="create_by" />
|
||||||
|
<result property="updateTime" column="update_time" />
|
||||||
|
<result property="updateBy" column="update_by" />
|
||||||
|
<result property="siteId" column="site_id" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectGSitePumpInfoVo">
|
||||||
|
select id, project_name, project_code, geographical_coord_longitude, geographical_coord_latitude, location, water_resource_area, river_name, irrigation_area, pump_station_type, construction_status, is_hub_project, is_gate_station, is_spring_project, project_grade, building_grade, pump_count, design_lift, installed_power, installed_flow, task, management_unit, ownership, responsible_person, position, phone, is_demarcated, is_confirmed, flood_prevention, del_flag, create_time, create_by, update_time, update_by, site_id from g_site_pump_info
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectGSitePumpInfoList" parameterType="GSitePumpInfo" resultMap="GSitePumpInfoResult">
|
||||||
|
<include refid="selectGSitePumpInfoVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="projectName != null and projectName != ''"> and project_name like concat('%', #{projectName}, '%')</if>
|
||||||
|
<if test="projectCode != null and projectCode != ''"> and project_code = #{projectCode}</if>
|
||||||
|
<if test="geographicalCoordLongitude != null "> and geographical_coord_longitude = #{geographicalCoordLongitude}</if>
|
||||||
|
<if test="geographicalCoordLatitude != null "> and geographical_coord_latitude = #{geographicalCoordLatitude}</if>
|
||||||
|
<if test="location != null and location != ''"> and location = #{location}</if>
|
||||||
|
<if test="waterResourceArea != null and waterResourceArea != ''"> and water_resource_area = #{waterResourceArea}</if>
|
||||||
|
<if test="riverName != null and riverName != ''"> and river_name like concat('%', #{riverName}, '%')</if>
|
||||||
|
<if test="irrigationArea != null and irrigationArea != ''"> and irrigation_area = #{irrigationArea}</if>
|
||||||
|
<if test="pumpStationType != null and pumpStationType != ''"> and pump_station_type = #{pumpStationType}</if>
|
||||||
|
<if test="constructionStatus != null and constructionStatus != ''"> and construction_status = #{constructionStatus}</if>
|
||||||
|
<if test="isHubProject != null "> and is_hub_project = #{isHubProject}</if>
|
||||||
|
<if test="isGateStation != null "> and is_gate_station = #{isGateStation}</if>
|
||||||
|
<if test="isSpringProject != null "> and is_spring_project = #{isSpringProject}</if>
|
||||||
|
<if test="projectGrade != null "> and project_grade = #{projectGrade}</if>
|
||||||
|
<if test="buildingGrade != null "> and building_grade = #{buildingGrade}</if>
|
||||||
|
<if test="pumpCount != null "> and pump_count = #{pumpCount}</if>
|
||||||
|
<if test="designLift != null "> and design_lift = #{designLift}</if>
|
||||||
|
<if test="installedPower != null "> and installed_power = #{installedPower}</if>
|
||||||
|
<if test="installedFlow != null "> and installed_flow = #{installedFlow}</if>
|
||||||
|
<if test="task != null and task != ''"> and task = #{task}</if>
|
||||||
|
<if test="managementUnit != null and managementUnit != ''"> and management_unit = #{managementUnit}</if>
|
||||||
|
<if test="ownership != null and ownership != ''"> and ownership = #{ownership}</if>
|
||||||
|
<if test="responsiblePerson != null and responsiblePerson != ''"> and responsible_person = #{responsiblePerson}</if>
|
||||||
|
<if test="position != null and position != ''"> and position = #{position}</if>
|
||||||
|
<if test="phone != null and phone != ''"> and phone = #{phone}</if>
|
||||||
|
<if test="isDemarcated != null "> and is_demarcated = #{isDemarcated}</if>
|
||||||
|
<if test="isConfirmed != null "> and is_confirmed = #{isConfirmed}</if>
|
||||||
|
<if test="floodPrevention != null and floodPrevention != ''"> and flood_prevention = #{floodPrevention}</if>
|
||||||
|
<if test="siteId != null "> and site_id = #{siteId}</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectGSitePumpInfoBySiteId" parameterType="Long" resultMap="GSitePumpInfoResult">
|
||||||
|
<include refid="selectGSitePumpInfoVo"/>
|
||||||
|
where site_id = #{site_id}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertGSitePumpInfo" parameterType="GSitePumpInfo" useGeneratedKeys="true" keyProperty="id">
|
||||||
|
insert into g_site_pump_info
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="projectName != null and projectName != ''">project_name,</if>
|
||||||
|
<if test="projectCode != null">project_code,</if>
|
||||||
|
<if test="geographicalCoordLongitude != null">geographical_coord_longitude,</if>
|
||||||
|
<if test="geographicalCoordLatitude != null">geographical_coord_latitude,</if>
|
||||||
|
<if test="location != null and location != ''">location,</if>
|
||||||
|
<if test="waterResourceArea != null and waterResourceArea != ''">water_resource_area,</if>
|
||||||
|
<if test="riverName != null and riverName != ''">river_name,</if>
|
||||||
|
<if test="irrigationArea != null and irrigationArea != ''">irrigation_area,</if>
|
||||||
|
<if test="pumpStationType != null and pumpStationType != ''">pump_station_type,</if>
|
||||||
|
<if test="constructionStatus != null and constructionStatus != ''">construction_status,</if>
|
||||||
|
<if test="isHubProject != null">is_hub_project,</if>
|
||||||
|
<if test="isGateStation != null">is_gate_station,</if>
|
||||||
|
<if test="isSpringProject != null">is_spring_project,</if>
|
||||||
|
<if test="projectGrade != null">project_grade,</if>
|
||||||
|
<if test="buildingGrade != null">building_grade,</if>
|
||||||
|
<if test="pumpCount != null">pump_count,</if>
|
||||||
|
<if test="designLift != null">design_lift,</if>
|
||||||
|
<if test="installedPower != null">installed_power,</if>
|
||||||
|
<if test="installedFlow != null">installed_flow,</if>
|
||||||
|
<if test="task != null and task != ''">task,</if>
|
||||||
|
<if test="managementUnit != null and managementUnit != ''">management_unit,</if>
|
||||||
|
<if test="ownership != null">ownership,</if>
|
||||||
|
<if test="responsiblePerson != null">responsible_person,</if>
|
||||||
|
<if test="position != null">position,</if>
|
||||||
|
<if test="phone != null">phone,</if>
|
||||||
|
<if test="isDemarcated != null">is_demarcated,</if>
|
||||||
|
<if test="isConfirmed != null">is_confirmed,</if>
|
||||||
|
<if test="floodPrevention != null">flood_prevention,</if>
|
||||||
|
<if test="delFlag != null">del_flag,</if>
|
||||||
|
<if test="createTime != null">create_time,</if>
|
||||||
|
<if test="createBy != null">create_by,</if>
|
||||||
|
<if test="updateTime != null">update_time,</if>
|
||||||
|
<if test="updateBy != null">update_by,</if>
|
||||||
|
<if test="siteId != null">site_id,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="projectName != null and projectName != ''">#{projectName},</if>
|
||||||
|
<if test="projectCode != null">#{projectCode},</if>
|
||||||
|
<if test="geographicalCoordLongitude != null">#{geographicalCoordLongitude},</if>
|
||||||
|
<if test="geographicalCoordLatitude != null">#{geographicalCoordLatitude},</if>
|
||||||
|
<if test="location != null and location != ''">#{location},</if>
|
||||||
|
<if test="waterResourceArea != null and waterResourceArea != ''">#{waterResourceArea},</if>
|
||||||
|
<if test="riverName != null and riverName != ''">#{riverName},</if>
|
||||||
|
<if test="irrigationArea != null and irrigationArea != ''">#{irrigationArea},</if>
|
||||||
|
<if test="pumpStationType != null and pumpStationType != ''">#{pumpStationType},</if>
|
||||||
|
<if test="constructionStatus != null and constructionStatus != ''">#{constructionStatus},</if>
|
||||||
|
<if test="isHubProject != null">#{isHubProject},</if>
|
||||||
|
<if test="isGateStation != null">#{isGateStation},</if>
|
||||||
|
<if test="isSpringProject != null">#{isSpringProject},</if>
|
||||||
|
<if test="projectGrade != null">#{projectGrade},</if>
|
||||||
|
<if test="buildingGrade != null">#{buildingGrade},</if>
|
||||||
|
<if test="pumpCount != null">#{pumpCount},</if>
|
||||||
|
<if test="designLift != null">#{designLift},</if>
|
||||||
|
<if test="installedPower != null">#{installedPower},</if>
|
||||||
|
<if test="installedFlow != null">#{installedFlow},</if>
|
||||||
|
<if test="task != null and task != ''">#{task},</if>
|
||||||
|
<if test="managementUnit != null and managementUnit != ''">#{managementUnit},</if>
|
||||||
|
<if test="ownership != null">#{ownership},</if>
|
||||||
|
<if test="responsiblePerson != null">#{responsiblePerson},</if>
|
||||||
|
<if test="position != null">#{position},</if>
|
||||||
|
<if test="phone != null">#{phone},</if>
|
||||||
|
<if test="isDemarcated != null">#{isDemarcated},</if>
|
||||||
|
<if test="isConfirmed != null">#{isConfirmed},</if>
|
||||||
|
<if test="floodPrevention != null">#{floodPrevention},</if>
|
||||||
|
<if test="delFlag != null">#{delFlag},</if>
|
||||||
|
<if test="createTime != null">#{createTime},</if>
|
||||||
|
<if test="createBy != null">#{createBy},</if>
|
||||||
|
<if test="updateTime != null">#{updateTime},</if>
|
||||||
|
<if test="updateBy != null">#{updateBy},</if>
|
||||||
|
<if test="siteId != null">#{siteId},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updateGSitePumpInfo" parameterType="GSitePumpInfo">
|
||||||
|
update g_site_pump_info
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="projectName != null and projectName != ''">project_name = #{projectName},</if>
|
||||||
|
<if test="projectCode != null">project_code = #{projectCode},</if>
|
||||||
|
<if test="geographicalCoordLongitude != null">geographical_coord_longitude = #{geographicalCoordLongitude},</if>
|
||||||
|
<if test="geographicalCoordLatitude != null">geographical_coord_latitude = #{geographicalCoordLatitude},</if>
|
||||||
|
<if test="location != null and location != ''">location = #{location},</if>
|
||||||
|
<if test="waterResourceArea != null and waterResourceArea != ''">water_resource_area = #{waterResourceArea},</if>
|
||||||
|
<if test="riverName != null and riverName != ''">river_name = #{riverName},</if>
|
||||||
|
<if test="irrigationArea != null and irrigationArea != ''">irrigation_area = #{irrigationArea},</if>
|
||||||
|
<if test="pumpStationType != null and pumpStationType != ''">pump_station_type = #{pumpStationType},</if>
|
||||||
|
<if test="constructionStatus != null and constructionStatus != ''">construction_status = #{constructionStatus},</if>
|
||||||
|
<if test="isHubProject != null">is_hub_project = #{isHubProject},</if>
|
||||||
|
<if test="isGateStation != null">is_gate_station = #{isGateStation},</if>
|
||||||
|
<if test="isSpringProject != null">is_spring_project = #{isSpringProject},</if>
|
||||||
|
<if test="projectGrade != null">project_grade = #{projectGrade},</if>
|
||||||
|
<if test="buildingGrade != null">building_grade = #{buildingGrade},</if>
|
||||||
|
<if test="pumpCount != null">pump_count = #{pumpCount},</if>
|
||||||
|
<if test="designLift != null">design_lift = #{designLift},</if>
|
||||||
|
<if test="installedPower != null">installed_power = #{installedPower},</if>
|
||||||
|
<if test="installedFlow != null">installed_flow = #{installedFlow},</if>
|
||||||
|
<if test="task != null and task != ''">task = #{task},</if>
|
||||||
|
<if test="managementUnit != null and managementUnit != ''">management_unit = #{managementUnit},</if>
|
||||||
|
<if test="ownership != null">ownership = #{ownership},</if>
|
||||||
|
<if test="responsiblePerson != null">responsible_person = #{responsiblePerson},</if>
|
||||||
|
<if test="position != null">position = #{position},</if>
|
||||||
|
<if test="phone != null">phone = #{phone},</if>
|
||||||
|
<if test="isDemarcated != null">is_demarcated = #{isDemarcated},</if>
|
||||||
|
<if test="isConfirmed != null">is_confirmed = #{isConfirmed},</if>
|
||||||
|
<if test="floodPrevention != null">flood_prevention = #{floodPrevention},</if>
|
||||||
|
<if test="delFlag != null">del_flag = #{delFlag},</if>
|
||||||
|
<if test="createTime != null">create_time = #{createTime},</if>
|
||||||
|
<if test="createBy != null">create_by = #{createBy},</if>
|
||||||
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||||
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||||
|
<if test="siteId != null">site_id = #{siteId},</if>
|
||||||
|
</trim>
|
||||||
|
where id = #{id}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deleteGSitePumpInfoById" parameterType="Long">
|
||||||
|
delete from g_site_pump_info where id = #{id}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteGSitePumpInfoByIds" parameterType="String">
|
||||||
|
delete from g_site_pump_info where id in
|
||||||
|
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||||
|
#{id}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
</mapper>
|
@ -2,7 +2,7 @@
|
|||||||
<!DOCTYPE mapper
|
<!DOCTYPE mapper
|
||||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="com.fastbee.ggroup.mapper.GSiteReservoirInfoMapper">
|
<mapper namespace="com.fastbee.ggroup.mapper.GSiteSluiceInfoMapper">
|
||||||
|
|
||||||
<resultMap type="GSiteSluiceInfo" id="GSiteSluiceInfoResult">
|
<resultMap type="GSiteSluiceInfo" id="GSiteSluiceInfoResult">
|
||||||
<result property="id" column="id" />
|
<result property="id" column="id" />
|
||||||
@ -97,7 +97,10 @@
|
|||||||
<include refid="selectGSiteSluiceInfoVo"/>
|
<include refid="selectGSiteSluiceInfoVo"/>
|
||||||
where id = #{id}
|
where id = #{id}
|
||||||
</select>
|
</select>
|
||||||
|
<select id="selectGSiteSluiceInfoBySiteId" parameterType="Long" resultMap="GSiteSluiceInfoResult">
|
||||||
|
<include refid="selectGSiteSluiceInfoVo"/>
|
||||||
|
where site_id = #{site_id}
|
||||||
|
</select>
|
||||||
<insert id="insertGSiteSluiceInfo" parameterType="GSiteSluiceInfo" useGeneratedKeys="true" keyProperty="id">
|
<insert id="insertGSiteSluiceInfo" parameterType="GSiteSluiceInfo" useGeneratedKeys="true" keyProperty="id">
|
||||||
insert into g_site_sluice_info
|
insert into g_site_sluice_info
|
||||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user