64 changed files with 3013 additions and 0 deletions
@ -0,0 +1,81 @@ |
|||
package com.kms.yxgh.base; |
|||
|
|||
import java.io.Serializable; |
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
|
|||
/** |
|||
* 响应信息主体 |
|||
* |
|||
* @author Lion Li |
|||
*/ |
|||
@Data |
|||
@NoArgsConstructor |
|||
public class Response<T> implements Serializable { |
|||
|
|||
/** |
|||
* 成功 |
|||
*/ |
|||
public static final String SUCCESS = "200"; |
|||
/** |
|||
* 失败 |
|||
*/ |
|||
public static final String FAIL = "500"; |
|||
|
|||
/** |
|||
* 消息状态码 |
|||
*/ |
|||
private Long code; |
|||
|
|||
/** |
|||
* 消息内容 |
|||
*/ |
|||
private String msg; |
|||
|
|||
/** |
|||
* 数据对象 |
|||
*/ |
|||
private T data; |
|||
|
|||
public static <T> Response<T> ok() { |
|||
return restResult(null, SUCCESS, "操作成功"); |
|||
} |
|||
|
|||
public static <T> Response<T> ok(T data) { |
|||
return restResult(data, SUCCESS, "操作成功"); |
|||
} |
|||
|
|||
public static <T> Response<T> ok(String msg, T data) { |
|||
return restResult(data, SUCCESS, msg); |
|||
} |
|||
|
|||
public static <T> Response<T> fail() { |
|||
return restResult(null, FAIL, "操作失败"); |
|||
} |
|||
|
|||
|
|||
public static <T> Response<T> fail(String code, String msg) { |
|||
return restResult(null, code, msg); |
|||
} |
|||
|
|||
private static <T> Response<T> restResult(T data, String code, String msg) { |
|||
Response<T> response = new Response<>(); |
|||
response.setCode(code); |
|||
response.setData(data); |
|||
response.setMsg(msg); |
|||
return response; |
|||
} |
|||
|
|||
public void setCode(String code) { |
|||
this.code = Long.valueOf(code); |
|||
} |
|||
|
|||
public void setCode(Long code) { |
|||
this.code = code; |
|||
} |
|||
|
|||
public Boolean isSuccess() { |
|||
return (this.getCode() + "").equals(SUCCESS); |
|||
} |
|||
|
|||
} |
@ -0,0 +1,91 @@ |
|||
package com.kms.yxgh.df.controller; |
|||
|
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import com.kms.yxgh.base.Response; |
|||
import com.kms.yxgh.df.domain.dto.DfCheckingDetailDto; |
|||
import com.kms.yxgh.df.domain.dto.SimpleDfCheckingDto; |
|||
import com.kms.yxgh.df.domain.entity.DfChecking; |
|||
import com.kms.yxgh.df.service.DfCheckingService; |
|||
import com.shuili.common.annotation.Log; |
|||
import com.shuili.common.core.domain.SearchParam; |
|||
import com.shuili.common.enums.BusinessType; |
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import java.util.List; |
|||
import lombok.AllArgsConstructor; |
|||
import org.springframework.web.bind.annotation.DeleteMapping; |
|||
import org.springframework.web.bind.annotation.GetMapping; |
|||
import org.springframework.web.bind.annotation.PathVariable; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.PutMapping; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
/** |
|||
* @ClassName: CheckingController |
|||
* @Description: TODO |
|||
* @Date: 2023/11/10 上午11:16 * |
|||
* @author: hxh |
|||
* @version: 1.0 |
|||
*/ |
|||
@RestController |
|||
@AllArgsConstructor |
|||
@RequestMapping("/run/df/checking") |
|||
@Api(tags = "堤防巡视检查") |
|||
public class CheckingController { |
|||
|
|||
|
|||
private final DfCheckingService dfCheckingService; |
|||
|
|||
/** |
|||
* 查询堤防巡视检查列表 |
|||
*/ |
|||
@PostMapping("/list") |
|||
@ApiOperation("堤防巡视检查列表") |
|||
public IPage<DfChecking> list(@RequestBody SearchParam<DfChecking> sp) { |
|||
return dfCheckingService.selectPage(sp); |
|||
} |
|||
|
|||
@PostMapping("/list-simple") |
|||
@ApiOperation("堤防巡视检查列表-简略信息") |
|||
public Response<List<SimpleDfCheckingDto>> listSimple(@RequestBody SearchParam<DfChecking> sp) { |
|||
return Response.ok(); |
|||
} |
|||
|
|||
|
|||
/** |
|||
* 获取堤防巡视检查详细信息 |
|||
*/ |
|||
@ApiOperation(" 堤防巡视检查详情") |
|||
@GetMapping(value = "/{id}") |
|||
public Response<DfCheckingDetailDto> getInfo(@PathVariable("id") Long id) { |
|||
// return Response.ok(dfCheckingService.getById(id));
|
|||
return Response.ok(); |
|||
} |
|||
|
|||
|
|||
/** |
|||
* 修改堤防巡视检查 |
|||
*/ |
|||
@ApiOperation("堤防巡视检查修改") |
|||
@Log(title = "堤防巡视检查修改", businessType = BusinessType.UPDATE) |
|||
@PutMapping |
|||
public Response<DfCheckingDetailDto> edit(@RequestBody DfCheckingDetailDto dfChecking) { |
|||
// dfCheckingService.updateById(dfChecking);
|
|||
return Response.ok(); |
|||
} |
|||
|
|||
/** |
|||
* 删除堤防巡视检查 |
|||
*/ |
|||
@ApiOperation("堤防巡视检查删除") |
|||
@Log(title = "堤防巡视检查删除", businessType = BusinessType.DELETE) |
|||
@DeleteMapping("/{ids}") |
|||
public Response<Boolean> remove(@PathVariable Long[] ids) { |
|||
// dfCheckingService.removeByIds(Arrays.asList(ids));
|
|||
return Response.ok(); |
|||
} |
|||
|
|||
|
|||
} |
@ -0,0 +1,87 @@ |
|||
package com.kms.yxgh.df.controller; |
|||
|
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import com.kms.common.utils.BaseEntityUtils; |
|||
import com.kms.yxgh.base.Response; |
|||
import com.kms.yxgh.df.domain.entity.DfPlan; |
|||
import com.kms.yxgh.df.service.DfPlanService; |
|||
import com.shuili.common.annotation.Log; |
|||
import com.shuili.common.core.domain.SearchParam; |
|||
import com.shuili.common.enums.BusinessType; |
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import lombok.AllArgsConstructor; |
|||
import org.springframework.web.bind.annotation.DeleteMapping; |
|||
import org.springframework.web.bind.annotation.GetMapping; |
|||
import org.springframework.web.bind.annotation.PathVariable; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.PutMapping; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
|
|||
/** |
|||
* 堤防巡视检查计划Controller |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@RestController |
|||
@AllArgsConstructor |
|||
@RequestMapping("/run/df/plan") |
|||
@Api(tags = "堤防巡视检查计划") |
|||
public class PlanController { |
|||
|
|||
private final DfPlanService dfPlanService; |
|||
|
|||
/** |
|||
* 查询堤防巡视检查计划列表 |
|||
*/ |
|||
@PostMapping("/list") |
|||
@ApiOperation("堤防巡视检查计划列表") |
|||
public IPage<DfPlan> list(@RequestBody SearchParam<DfPlan> sp) { |
|||
return dfPlanService.selectPage(sp); |
|||
} |
|||
|
|||
|
|||
/** |
|||
* 获取堤防巡视检查计划详细信息 |
|||
*/ |
|||
@ApiOperation(" 堤防巡视检查计划详情") |
|||
@GetMapping(value = "/{id}") |
|||
public Response<?> getInfo(@PathVariable("id") Long id) { |
|||
return Response.ok(); |
|||
} |
|||
|
|||
/** |
|||
* 新增堤防巡视检查计划 |
|||
*/ |
|||
@Log(title = "堤防巡视检查计划新增", businessType = BusinessType.INSERT) |
|||
@PostMapping |
|||
@ApiOperation("堤防巡视检查计划新增") |
|||
public Response<?> add(@RequestBody DfPlan dfPlan) { |
|||
BaseEntityUtils.preInsert(dfPlan); |
|||
return Response.ok(); |
|||
} |
|||
|
|||
/** |
|||
* 修改堤防巡视检查计划 |
|||
*/ |
|||
@ApiOperation("堤防巡视检查计划修改") |
|||
@Log(title = "堤防巡视检查计划修改", businessType = BusinessType.UPDATE) |
|||
@PutMapping |
|||
public Response<?> edit(@RequestBody DfPlan dfPlan) { |
|||
return Response.ok(); |
|||
} |
|||
|
|||
/** |
|||
* 删除堤防巡视检查计划 |
|||
*/ |
|||
@ApiOperation("堤防巡视检查计划删除") |
|||
@Log(title = "堤防巡视检查计划删除", businessType = BusinessType.DELETE) |
|||
@DeleteMapping("/{ids}") |
|||
public Response<?> remove(@PathVariable Long[] ids) { |
|||
return Response.ok(); |
|||
} |
|||
} |
@ -0,0 +1,108 @@ |
|||
package com.kms.yxgh.df.controller; |
|||
|
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import com.kms.common.utils.BaseEntityUtils; |
|||
import com.kms.yxgh.df.domain.entity.DfTrace; |
|||
import com.kms.yxgh.df.service.DfTraceService; |
|||
import com.shuili.common.annotation.Log; |
|||
import com.shuili.common.core.controller.BaseController; |
|||
import com.shuili.common.core.domain.AjaxResult; |
|||
import com.shuili.common.core.domain.SearchParam; |
|||
import com.shuili.common.enums.BusinessType; |
|||
import com.shuili.common.utils.poi.ExcelUtil; |
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import java.util.Arrays; |
|||
import java.util.List; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.DeleteMapping; |
|||
import org.springframework.web.bind.annotation.GetMapping; |
|||
import org.springframework.web.bind.annotation.PathVariable; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.PutMapping; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
|
|||
/** |
|||
* 堤防巡视检查检查记录轨迹Controller |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping("/run/df/trace") |
|||
@Api(tags = "堤防巡视检查检查记录轨迹") |
|||
public class TraceController extends BaseController |
|||
{ |
|||
@Autowired |
|||
private DfTraceService dfTraceService; |
|||
|
|||
/** |
|||
* 查询堤防巡视检查检查记录轨迹列表 |
|||
*/ |
|||
@PostMapping("/list") |
|||
@ApiOperation("堤防巡视检查检查记录轨迹列表") |
|||
public IPage list(@RequestBody SearchParam<DfTrace> sp) |
|||
{ |
|||
return dfTraceService.selectPage(sp); |
|||
} |
|||
|
|||
/** |
|||
* 导出堤防巡视检查检查记录轨迹列表 |
|||
*/ |
|||
@Log(title = "堤防巡视检查检查记录轨迹导出", businessType = BusinessType.EXPORT) |
|||
@PostMapping("/export") |
|||
@ApiOperation("堤防巡视检查检查记录轨迹导出") |
|||
public AjaxResult export(@RequestBody DfTrace dfTrace) |
|||
{ |
|||
List<DfTrace> list = dfTraceService.listByIds(dfTrace.getIds()); |
|||
ExcelUtil<DfTrace> util = new ExcelUtil<>(DfTrace.class); |
|||
return util.exportExcel(list, "trace"); |
|||
} |
|||
|
|||
/** |
|||
* 获取堤防巡视检查检查记录轨迹详细信息 |
|||
*/ |
|||
@ApiOperation(" 堤防巡视检查检查记录轨迹详情") |
|||
@GetMapping(value = "/{id}") |
|||
public AjaxResult getInfo(@PathVariable("id") Long id) |
|||
{ |
|||
return AjaxResult.success(dfTraceService.getById(id)); |
|||
} |
|||
|
|||
/** |
|||
* 新增堤防巡视检查检查记录轨迹 |
|||
*/ |
|||
@Log(title = "堤防巡视检查检查记录轨迹新增", businessType = BusinessType.INSERT) |
|||
@PostMapping |
|||
@ApiOperation("堤防巡视检查检查记录轨迹新增") |
|||
public AjaxResult add(@RequestBody DfTrace dfTrace) |
|||
{ |
|||
BaseEntityUtils.preInsert(dfTrace); |
|||
return toAjax(dfTraceService.save(dfTrace)); |
|||
} |
|||
|
|||
/** |
|||
* 修改堤防巡视检查检查记录轨迹 |
|||
*/ |
|||
@ApiOperation("堤防巡视检查检查记录轨迹修改") |
|||
@Log(title = "堤防巡视检查检查记录轨迹修改", businessType = BusinessType.UPDATE) |
|||
@PutMapping |
|||
public AjaxResult edit(@RequestBody DfTrace dfTrace) |
|||
{ |
|||
return toAjax(dfTraceService.updateById(dfTrace)); |
|||
} |
|||
|
|||
/** |
|||
* 删除堤防巡视检查检查记录轨迹 |
|||
*/ |
|||
@ApiOperation("堤防巡视检查检查记录轨迹删除") |
|||
@Log(title = "堤防巡视检查检查记录轨迹删除", businessType = BusinessType.DELETE) |
|||
@DeleteMapping("/{ids}") |
|||
public AjaxResult remove(@PathVariable Long[] ids) |
|||
{ |
|||
return toAjax(dfTraceService.removeByIds(Arrays.asList(ids))); |
|||
} |
|||
} |
@ -0,0 +1,45 @@ |
|||
package com.kms.yxgh.df.domain.dto; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import java.util.List; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @ClassName: CheckingVo |
|||
* @Description: TODO |
|||
* @Date: 2023/11/10 上午11:56 * |
|||
* @author: hxh |
|||
* @version: 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel("堤防巡视检查详情") |
|||
public class DfCheckingDetailDto { |
|||
|
|||
@ApiModelProperty("主键") |
|||
private String id; |
|||
|
|||
@ApiModelProperty("巡查名称") |
|||
private String name; |
|||
|
|||
@ApiModelProperty("巡查类型") |
|||
private Long type; |
|||
|
|||
@ApiModelProperty("检查项") |
|||
private List<DfCheckingItem> items; |
|||
|
|||
|
|||
@Data |
|||
public static class DfCheckingItem { |
|||
|
|||
@ApiModelProperty("主键") |
|||
private String id; |
|||
|
|||
@ApiModelProperty("检查部位") |
|||
private List<String> parts; |
|||
|
|||
@ApiModelProperty("检查内容") |
|||
private String content; |
|||
} |
|||
|
|||
} |
@ -0,0 +1,62 @@ |
|||
package com.kms.yxgh.df.domain.dto; |
|||
|
|||
import com.alibaba.fastjson.JSONObject; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
import lombok.Data; |
|||
|
|||
|
|||
/** |
|||
* 堤防巡视检查计划详情 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Data |
|||
@ApiModel("堤防巡视检查计划详情") |
|||
public class DfPlanDetailDto { |
|||
|
|||
@ApiModelProperty("主键") |
|||
private String id; |
|||
|
|||
@ApiModelProperty("巡查ID") |
|||
private Long xcId; |
|||
|
|||
@ApiModelProperty("巡查类型") |
|||
private Long type; |
|||
|
|||
@ApiModelProperty("检查次数") |
|||
private Long frequency; |
|||
|
|||
@ApiModelProperty("周期") |
|||
private Long cycleType; |
|||
|
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@ApiModelProperty("提醒时间") |
|||
private Date reminderTime; |
|||
|
|||
@ApiModelProperty("附加配置") |
|||
private JSONObject otherConfig; |
|||
|
|||
@ApiModelProperty("执行人") |
|||
private List<Operator> operators; |
|||
|
|||
|
|||
@Data |
|||
public static class Operator { |
|||
|
|||
@ApiModelProperty("主键") |
|||
private String id; |
|||
|
|||
@ApiModelProperty("用户id") |
|||
private String uid; |
|||
@ApiModelProperty("用户名称") |
|||
private String name; |
|||
|
|||
|
|||
} |
|||
|
|||
} |
@ -0,0 +1,23 @@ |
|||
package com.kms.yxgh.df.domain.dto; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
|
|||
/** |
|||
* 堤防巡视检查简短信息 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Data |
|||
@ApiModel("堤防巡视检查") |
|||
public class SimpleDfCheckingDto { |
|||
|
|||
@ApiModelProperty("主键") |
|||
private String id; |
|||
|
|||
@ApiModelProperty("巡查名称") |
|||
private String name; |
|||
} |
@ -0,0 +1,60 @@ |
|||
package com.kms.yxgh.df.domain.entity; |
|||
|
|||
import com.shuili.common.core.domain.BaseEntity; |
|||
import java.util.Date; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
import com.shuili.common.annotation.Excel; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
|
|||
|
|||
/** |
|||
* 堤防巡视检查对象 bs_sgc_df_xs |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@TableName("bs_sgc_df_xs") |
|||
@Data |
|||
@ApiModel("堤防巡视检查") |
|||
public class DfChecking extends BaseEntity |
|||
{ |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** 巡查名称 */ |
|||
@Excel(name = "巡查名称") |
|||
@ApiModelProperty("巡查名称") |
|||
private String name; |
|||
|
|||
/** 巡查类型 */ |
|||
@Excel(name = "巡查类型") |
|||
@ApiModelProperty("巡查类型") |
|||
private Long type; |
|||
|
|||
/** 创建人 */ |
|||
@Excel(name = "创建人") |
|||
@ApiModelProperty("创建人") |
|||
private String createUid; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("创建时间") |
|||
private Date createDate; |
|||
|
|||
/** 最近修改人 */ |
|||
@Excel(name = "最近修改人") |
|||
@ApiModelProperty("最近修改人") |
|||
private String updateUid; |
|||
|
|||
/** 最近修改时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "最近修改时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("最近修改时间") |
|||
private Date updateDate; |
|||
|
|||
} |
@ -0,0 +1,65 @@ |
|||
package com.kms.yxgh.df.domain.entity; |
|||
|
|||
import com.shuili.common.core.domain.BaseEntity; |
|||
import java.util.Date; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
import com.shuili.common.annotation.Excel; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
|
|||
|
|||
/** |
|||
* 堤防巡视检查项对象 bs_sgc_df_xsx |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@TableName("bs_sgc_df_xsx") |
|||
@Data |
|||
@ApiModel("堤防巡视检查项") |
|||
public class DfCheckingItem extends BaseEntity |
|||
{ |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** 巡查ID */ |
|||
@Excel(name = "巡查ID") |
|||
@ApiModelProperty("巡查ID") |
|||
private Long xcId; |
|||
|
|||
/** 检查部位 */ |
|||
@Excel(name = "检查部位") |
|||
@ApiModelProperty("检查部位") |
|||
private String parts; |
|||
|
|||
/** 检查内容 */ |
|||
@Excel(name = "检查内容") |
|||
@ApiModelProperty("检查内容") |
|||
private String content; |
|||
|
|||
/** 创建人 */ |
|||
@Excel(name = "创建人") |
|||
@ApiModelProperty("创建人") |
|||
private String createUid; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("创建时间") |
|||
private Date createDate; |
|||
|
|||
/** 最近修改人 */ |
|||
@Excel(name = "最近修改人") |
|||
@ApiModelProperty("最近修改人") |
|||
private String updateUid; |
|||
|
|||
/** 最近修改时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "最近修改时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("最近修改时间") |
|||
private Date updateDate; |
|||
|
|||
} |
@ -0,0 +1,81 @@ |
|||
package com.kms.yxgh.df.domain.entity; |
|||
|
|||
import com.shuili.common.core.domain.BaseEntity; |
|||
import java.util.Date; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
import com.shuili.common.annotation.Excel; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
|
|||
|
|||
/** |
|||
* 堤防巡视检查计划对象 bs_sgc_df_xsjh |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@TableName("bs_sgc_df_xsjh") |
|||
@Data |
|||
@ApiModel("堤防巡视检查计划") |
|||
public class DfPlan extends BaseEntity |
|||
{ |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** 巡查ID */ |
|||
@Excel(name = "巡查ID") |
|||
@ApiModelProperty("巡查ID") |
|||
private Long xcId; |
|||
|
|||
/** 巡查类型 */ |
|||
@Excel(name = "巡查类型") |
|||
@ApiModelProperty("巡查类型") |
|||
private Long type; |
|||
|
|||
/** 检查次数 */ |
|||
@Excel(name = "检查次数") |
|||
@ApiModelProperty("检查次数") |
|||
private Long frequency; |
|||
|
|||
/** 周期 */ |
|||
@Excel(name = "周期") |
|||
@ApiModelProperty("周期") |
|||
private Long cycleType; |
|||
|
|||
/** 提醒时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "提醒时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("提醒时间") |
|||
private Date reminderTime; |
|||
|
|||
/** 附加配置 */ |
|||
@Excel(name = "附加配置") |
|||
@ApiModelProperty("附加配置") |
|||
private String otherConfig; |
|||
|
|||
/** 创建人 */ |
|||
@Excel(name = "创建人") |
|||
@ApiModelProperty("创建人") |
|||
private String createUid; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("创建时间") |
|||
private Date createDate; |
|||
|
|||
/** 最近修改人 */ |
|||
@Excel(name = "最近修改人") |
|||
@ApiModelProperty("最近修改人") |
|||
private String updateUid; |
|||
|
|||
/** 最近修改时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "最近修改时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("最近修改时间") |
|||
private Date updateDate; |
|||
|
|||
} |
@ -0,0 +1,60 @@ |
|||
package com.kms.yxgh.df.domain.entity; |
|||
|
|||
import com.shuili.common.core.domain.BaseEntity; |
|||
import java.util.Date; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
import com.shuili.common.annotation.Excel; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
|
|||
|
|||
/** |
|||
* 堤防巡视检查计划执行人对象 bs_sgc_df_xsjhzx |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@TableName("bs_sgc_df_xsjhzx") |
|||
@Data |
|||
@ApiModel("堤防巡视检查计划执行人") |
|||
public class DfPlanOperator extends BaseEntity |
|||
{ |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** 巡查计划ID */ |
|||
@Excel(name = "巡查计划ID") |
|||
@ApiModelProperty("巡查计划ID") |
|||
private Long planId; |
|||
|
|||
/** 执行人 */ |
|||
@Excel(name = "执行人") |
|||
@ApiModelProperty("执行人") |
|||
private String operatorUid; |
|||
|
|||
/** 创建人 */ |
|||
@Excel(name = "创建人") |
|||
@ApiModelProperty("创建人") |
|||
private String createUid; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("创建时间") |
|||
private Date createDate; |
|||
|
|||
/** 最近修改人 */ |
|||
@Excel(name = "最近修改人") |
|||
@ApiModelProperty("最近修改人") |
|||
private String updateUid; |
|||
|
|||
/** 最近修改时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "最近修改时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("最近修改时间") |
|||
private Date updateDate; |
|||
|
|||
} |
@ -0,0 +1,70 @@ |
|||
package com.kms.yxgh.df.domain.entity; |
|||
|
|||
import com.shuili.common.core.domain.BaseEntity; |
|||
import java.util.Date; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
import com.shuili.common.annotation.Excel; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
|
|||
|
|||
/** |
|||
* 堤防巡视检查计划点位对象 bs_sgc_df_xsjhdw |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@TableName("bs_sgc_df_xsjhdw") |
|||
@Data |
|||
@ApiModel("堤防巡视检查计划点位") |
|||
public class DfPoint extends BaseEntity |
|||
{ |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** 巡查计划ID */ |
|||
@Excel(name = "巡查计划ID") |
|||
@ApiModelProperty("巡查计划ID") |
|||
private Long planId; |
|||
|
|||
/** 经度 */ |
|||
@Excel(name = "经度") |
|||
@ApiModelProperty("经度") |
|||
private Long longitude; |
|||
|
|||
/** 纬度 */ |
|||
@Excel(name = "纬度") |
|||
@ApiModelProperty("纬度") |
|||
private Long latitude; |
|||
|
|||
/** 海拔 */ |
|||
@Excel(name = "海拔") |
|||
@ApiModelProperty("海拔") |
|||
private Long altitude; |
|||
|
|||
/** 创建人 */ |
|||
@Excel(name = "创建人") |
|||
@ApiModelProperty("创建人") |
|||
private String createUid; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("创建时间") |
|||
private Date createDate; |
|||
|
|||
/** 最近修改人 */ |
|||
@Excel(name = "最近修改人") |
|||
@ApiModelProperty("最近修改人") |
|||
private String updateUid; |
|||
|
|||
/** 最近修改时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "最近修改时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("最近修改时间") |
|||
private Date updateDate; |
|||
|
|||
} |
@ -0,0 +1,65 @@ |
|||
package com.kms.yxgh.df.domain.entity; |
|||
|
|||
import com.shuili.common.core.domain.BaseEntity; |
|||
import java.util.Date; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
import com.shuili.common.annotation.Excel; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
|
|||
|
|||
/** |
|||
* 堤防巡视检查记录对象 bs_sgc_df_xsjhjl |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@TableName("bs_sgc_df_xsjhjl") |
|||
@Data |
|||
@ApiModel("堤防巡视检查记录") |
|||
public class DfRecord extends BaseEntity |
|||
{ |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** 巡查计划ID */ |
|||
@Excel(name = "巡查计划ID") |
|||
@ApiModelProperty("巡查计划ID") |
|||
private Long planId; |
|||
|
|||
/** 巡查记录名称 */ |
|||
@Excel(name = "巡查记录名称") |
|||
@ApiModelProperty("巡查记录名称") |
|||
private String name; |
|||
|
|||
/** 状态 */ |
|||
@Excel(name = "状态") |
|||
@ApiModelProperty("状态") |
|||
private Long status; |
|||
|
|||
/** 创建人 */ |
|||
@Excel(name = "创建人") |
|||
@ApiModelProperty("创建人") |
|||
private String createUid; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("创建时间") |
|||
private Date createDate; |
|||
|
|||
/** 最近修改人 */ |
|||
@Excel(name = "最近修改人") |
|||
@ApiModelProperty("最近修改人") |
|||
private String updateUid; |
|||
|
|||
/** 最近修改时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "最近修改时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("最近修改时间") |
|||
private Date updateDate; |
|||
|
|||
} |
@ -0,0 +1,75 @@ |
|||
package com.kms.yxgh.df.domain.entity; |
|||
|
|||
import com.shuili.common.core.domain.BaseEntity; |
|||
import java.util.Date; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
import com.shuili.common.annotation.Excel; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
|
|||
|
|||
/** |
|||
* 堤防巡视检查检查记录子项对象 bs_sgc_df_xsjhjlz |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@TableName("bs_sgc_df_xsjhjlz") |
|||
@Data |
|||
@ApiModel("堤防巡视检查检查记录子项") |
|||
public class DfRecordItem extends BaseEntity |
|||
{ |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** 巡查记录ID */ |
|||
@Excel(name = "巡查记录ID") |
|||
@ApiModelProperty("巡查记录ID") |
|||
private Long recordId; |
|||
|
|||
/** 检查部位 */ |
|||
@Excel(name = "检查部位") |
|||
@ApiModelProperty("检查部位") |
|||
private String parts; |
|||
|
|||
/** 检查内容 */ |
|||
@Excel(name = "检查内容") |
|||
@ApiModelProperty("检查内容") |
|||
private String content; |
|||
|
|||
/** 状态 */ |
|||
@Excel(name = "状态") |
|||
@ApiModelProperty("状态") |
|||
private Integer status; |
|||
|
|||
/** 存在问题 */ |
|||
@Excel(name = "存在问题") |
|||
@ApiModelProperty("存在问题") |
|||
private String problem; |
|||
|
|||
/** 创建人 */ |
|||
@Excel(name = "创建人") |
|||
@ApiModelProperty("创建人") |
|||
private String createUid; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("创建时间") |
|||
private Date createDate; |
|||
|
|||
/** 最近修改人 */ |
|||
@Excel(name = "最近修改人") |
|||
@ApiModelProperty("最近修改人") |
|||
private String updateUid; |
|||
|
|||
/** 最近修改时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "最近修改时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("最近修改时间") |
|||
private Date updateDate; |
|||
|
|||
} |
@ -0,0 +1,59 @@ |
|||
package com.kms.yxgh.df.domain.entity; |
|||
|
|||
import com.shuili.common.core.domain.BaseEntity; |
|||
import java.util.Date; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
import com.shuili.common.annotation.Excel; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
|
|||
|
|||
/** |
|||
* 堤防巡视检查检查记录轨迹对象 bs_sgc_df_xsjhjgj |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@TableName("bs_sgc_df_xsjhjgj") |
|||
@Data |
|||
@ApiModel("堤防巡视检查检查记录轨迹") |
|||
public class DfTrace extends BaseEntity |
|||
{ |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** 巡查记录ID */ |
|||
@Excel(name = "巡查记录ID") |
|||
@ApiModelProperty("巡查记录ID") |
|||
private Long recordId; |
|||
|
|||
/** 经度 */ |
|||
@Excel(name = "经度") |
|||
@ApiModelProperty("经度") |
|||
private Long longitude; |
|||
|
|||
/** 纬度 */ |
|||
@Excel(name = "纬度") |
|||
@ApiModelProperty("纬度") |
|||
private Long latitude; |
|||
|
|||
/** 海拔 */ |
|||
@Excel(name = "海拔") |
|||
@ApiModelProperty("海拔") |
|||
private Long altitude; |
|||
|
|||
/** 创建人 */ |
|||
@Excel(name = "创建人") |
|||
@ApiModelProperty("创建人") |
|||
private String createUid; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("创建时间") |
|||
private Date createDate; |
|||
|
|||
} |
@ -0,0 +1,16 @@ |
|||
package com.kms.yxgh.df.mapper; |
|||
|
|||
import org.springframework.stereotype.Repository; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.kms.yxgh.df.domain.entity.DfCheckingItem; |
|||
|
|||
/** |
|||
* 堤防巡视检查项Mapper接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Repository |
|||
public interface DfCheckingItemMapper extends BaseMapper<DfCheckingItem> { |
|||
|
|||
} |
@ -0,0 +1,16 @@ |
|||
package com.kms.yxgh.df.mapper; |
|||
|
|||
import org.springframework.stereotype.Repository; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.kms.yxgh.df.domain.entity.DfChecking; |
|||
|
|||
/** |
|||
* 堤防巡视检查Mapper接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Repository |
|||
public interface DfCheckingMapper extends BaseMapper<DfChecking> { |
|||
|
|||
} |
@ -0,0 +1,16 @@ |
|||
package com.kms.yxgh.df.mapper; |
|||
|
|||
import org.springframework.stereotype.Repository; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.kms.yxgh.df.domain.entity.DfPlan; |
|||
|
|||
/** |
|||
* 堤防巡视检查计划Mapper接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Repository |
|||
public interface DfPlanMapper extends BaseMapper<DfPlan> { |
|||
|
|||
} |
@ -0,0 +1,16 @@ |
|||
package com.kms.yxgh.df.mapper; |
|||
|
|||
import org.springframework.stereotype.Repository; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.kms.yxgh.df.domain.entity.DfPlanOperator; |
|||
|
|||
/** |
|||
* 堤防巡视检查计划执行人Mapper接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Repository |
|||
public interface DfPlanOperatorMapper extends BaseMapper<DfPlanOperator> { |
|||
|
|||
} |
@ -0,0 +1,16 @@ |
|||
package com.kms.yxgh.df.mapper; |
|||
|
|||
import org.springframework.stereotype.Repository; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.kms.yxgh.df.domain.entity.DfPoint; |
|||
|
|||
/** |
|||
* 堤防巡视检查计划点位Mapper接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Repository |
|||
public interface DfPointMapper extends BaseMapper<DfPoint> { |
|||
|
|||
} |
@ -0,0 +1,16 @@ |
|||
package com.kms.yxgh.df.mapper; |
|||
|
|||
import org.springframework.stereotype.Repository; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.kms.yxgh.df.domain.entity.DfRecordItem; |
|||
|
|||
/** |
|||
* 堤防巡视检查检查记录子项Mapper接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Repository |
|||
public interface DfRecordItemMapper extends BaseMapper<DfRecordItem> { |
|||
|
|||
} |
@ -0,0 +1,16 @@ |
|||
package com.kms.yxgh.df.mapper; |
|||
|
|||
import org.springframework.stereotype.Repository; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.kms.yxgh.df.domain.entity.DfRecord; |
|||
|
|||
/** |
|||
* 堤防巡视检查记录Mapper接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Repository |
|||
public interface DfRecordMapper extends BaseMapper<DfRecord> { |
|||
|
|||
} |
@ -0,0 +1,16 @@ |
|||
package com.kms.yxgh.df.mapper; |
|||
|
|||
import org.springframework.stereotype.Repository; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.kms.yxgh.df.domain.entity.DfTrace; |
|||
|
|||
/** |
|||
* 堤防巡视检查检查记录轨迹Mapper接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Repository |
|||
public interface DfTraceMapper extends BaseMapper<DfTrace> { |
|||
|
|||
} |
@ -0,0 +1,17 @@ |
|||
package com.kms.yxgh.df.service; |
|||
|
|||
import com.shuili.common.core.service.BaseService; |
|||
import com.kms.yxgh.df.mapper.DfCheckingItemMapper; |
|||
import com.kms.yxgh.df.domain.entity.DfCheckingItem; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
/** |
|||
* 堤防巡视检查项Service接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Service |
|||
public class DfCheckingItemService extends BaseService<DfCheckingItemMapper, DfCheckingItem>{ |
|||
|
|||
} |
@ -0,0 +1,17 @@ |
|||
package com.kms.yxgh.df.service; |
|||
|
|||
import com.shuili.common.core.service.BaseService; |
|||
import com.kms.yxgh.df.mapper.DfCheckingMapper; |
|||
import com.kms.yxgh.df.domain.entity.DfChecking; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
/** |
|||
* 堤防巡视检查Service接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Service |
|||
public class DfCheckingService extends BaseService<DfCheckingMapper, DfChecking>{ |
|||
|
|||
} |
@ -0,0 +1,17 @@ |
|||
package com.kms.yxgh.df.service; |
|||
|
|||
import com.shuili.common.core.service.BaseService; |
|||
import com.kms.yxgh.df.mapper.DfPlanOperatorMapper; |
|||
import com.kms.yxgh.df.domain.entity.DfPlanOperator; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
/** |
|||
* 堤防巡视检查计划执行人Service接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Service |
|||
public class DfPlanOperatorService extends BaseService<DfPlanOperatorMapper, DfPlanOperator>{ |
|||
|
|||
} |
@ -0,0 +1,17 @@ |
|||
package com.kms.yxgh.df.service; |
|||
|
|||
import com.shuili.common.core.service.BaseService; |
|||
import com.kms.yxgh.df.mapper.DfPlanMapper; |
|||
import com.kms.yxgh.df.domain.entity.DfPlan; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
/** |
|||
* 堤防巡视检查计划Service接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Service |
|||
public class DfPlanService extends BaseService<DfPlanMapper, DfPlan>{ |
|||
|
|||
} |
@ -0,0 +1,17 @@ |
|||
package com.kms.yxgh.df.service; |
|||
|
|||
import com.shuili.common.core.service.BaseService; |
|||
import com.kms.yxgh.df.mapper.DfPointMapper; |
|||
import com.kms.yxgh.df.domain.entity.DfPoint; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
/** |
|||
* 堤防巡视检查计划点位Service接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Service |
|||
public class DfPointService extends BaseService<DfPointMapper, DfPoint>{ |
|||
|
|||
} |
@ -0,0 +1,17 @@ |
|||
package com.kms.yxgh.df.service; |
|||
|
|||
import com.shuili.common.core.service.BaseService; |
|||
import com.kms.yxgh.df.mapper.DfRecordItemMapper; |
|||
import com.kms.yxgh.df.domain.entity.DfRecordItem; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
/** |
|||
* 堤防巡视检查检查记录子项Service接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Service |
|||
public class DfRecordItemService extends BaseService<DfRecordItemMapper, DfRecordItem>{ |
|||
|
|||
} |
@ -0,0 +1,17 @@ |
|||
package com.kms.yxgh.df.service; |
|||
|
|||
import com.shuili.common.core.service.BaseService; |
|||
import com.kms.yxgh.df.mapper.DfRecordMapper; |
|||
import com.kms.yxgh.df.domain.entity.DfRecord; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
/** |
|||
* 堤防巡视检查记录Service接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Service |
|||
public class DfRecordService extends BaseService<DfRecordMapper, DfRecord>{ |
|||
|
|||
} |
@ -0,0 +1,17 @@ |
|||
package com.kms.yxgh.df.service; |
|||
|
|||
import com.shuili.common.core.service.BaseService; |
|||
import com.kms.yxgh.df.mapper.DfTraceMapper; |
|||
import com.kms.yxgh.df.domain.entity.DfTrace; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
/** |
|||
* 堤防巡视检查检查记录轨迹Service接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Service |
|||
public class DfTraceService extends BaseService<DfTraceMapper, DfTrace>{ |
|||
|
|||
} |
@ -0,0 +1,111 @@ |
|||
package com.kms.yxgh.sz.controller; |
|||
|
|||
import java.util.Arrays; |
|||
import java.util.List; |
|||
|
|||
import com.shuili.common.core.controller.BaseController; |
|||
import com.shuili.common.core.domain.SearchParam; |
|||
import com.shuili.common.utils.poi.ExcelUtil; |
|||
import com.kms.common.utils.BaseEntityUtils; |
|||
|
|||
|
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
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.baomidou.mybatisplus.core.metadata.IPage; |
|||
|
|||
import com.shuili.common.annotation.Log; |
|||
import com.shuili.common.core.domain.AjaxResult; |
|||
import com.shuili.common.enums.BusinessType; |
|||
|
|||
|
|||
/** |
|||
* 水闸巡视检查Controller |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping("/run/sz/checking") |
|||
@Api(tags = "水闸巡视检查") |
|||
public class SzCheckingController extends BaseController |
|||
{ |
|||
@Autowired |
|||
private SzCheckingService szCheckingService; |
|||
|
|||
/** |
|||
* 查询水闸巡视检查列表 |
|||
*/ |
|||
@PostMapping("/list") |
|||
@ApiOperation("水闸巡视检查列表") |
|||
public IPage list(@RequestBody SearchParam<SzChecking> sp) |
|||
{ |
|||
return szCheckingService.selectPage(sp); |
|||
} |
|||
|
|||
/** |
|||
* 导出水闸巡视检查列表 |
|||
*/ |
|||
@Log(title = "水闸巡视检查导出", businessType = BusinessType.EXPORT) |
|||
@PostMapping("/export") |
|||
@ApiOperation("水闸巡视检查导出") |
|||
public AjaxResult export(@RequestBody SzChecking szChecking) |
|||
{ |
|||
List<SzChecking> list = szCheckingService.listByIds(szChecking.getIds()); |
|||
ExcelUtil<SzChecking> util = new ExcelUtil<>(SzChecking.class); |
|||
return util.exportExcel(list, "checking"); |
|||
} |
|||
|
|||
/** |
|||
* 获取水闸巡视检查详细信息 |
|||
*/ |
|||
@ApiOperation(" 水闸巡视检查详情") |
|||
@GetMapping(value = "/{id}") |
|||
public AjaxResult getInfo(@PathVariable("id") Long id) |
|||
{ |
|||
return AjaxResult.success(szCheckingService.getById(id)); |
|||
} |
|||
|
|||
/** |
|||
* 新增水闸巡视检查 |
|||
*/ |
|||
@Log(title = "水闸巡视检查新增", businessType = BusinessType.INSERT) |
|||
@PostMapping |
|||
@ApiOperation("水闸巡视检查新增") |
|||
public AjaxResult add(@RequestBody SzChecking szChecking) |
|||
{ |
|||
BaseEntityUtils.preInsert(szChecking); |
|||
return toAjax(szCheckingService.save(szChecking)); |
|||
} |
|||
|
|||
/** |
|||
* 修改水闸巡视检查 |
|||
*/ |
|||
@ApiOperation("水闸巡视检查修改") |
|||
@Log(title = "水闸巡视检查修改", businessType = BusinessType.UPDATE) |
|||
@PutMapping |
|||
public AjaxResult edit(@RequestBody SzChecking szChecking) |
|||
{ |
|||
return toAjax(szCheckingService.updateById(szChecking)); |
|||
} |
|||
|
|||
/** |
|||
* 删除水闸巡视检查 |
|||
*/ |
|||
@ApiOperation("水闸巡视检查删除") |
|||
@Log(title = "水闸巡视检查删除", businessType = BusinessType.DELETE) |
|||
@DeleteMapping("/{ids}") |
|||
public AjaxResult remove(@PathVariable Long[] ids) |
|||
{ |
|||
return toAjax(szCheckingService.removeByIds(Arrays.asList(ids))); |
|||
} |
|||
} |
@ -0,0 +1,111 @@ |
|||
package com.kms.yxgh.sz.controller; |
|||
|
|||
import java.util.Arrays; |
|||
import java.util.List; |
|||
|
|||
import com.shuili.common.core.controller.BaseController; |
|||
import com.shuili.common.core.domain.SearchParam; |
|||
import com.shuili.common.utils.poi.ExcelUtil; |
|||
import com.kms.common.utils.BaseEntityUtils; |
|||
|
|||
|
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
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.baomidou.mybatisplus.core.metadata.IPage; |
|||
|
|||
import com.shuili.common.annotation.Log; |
|||
import com.shuili.common.core.domain.AjaxResult; |
|||
import com.shuili.common.enums.BusinessType; |
|||
|
|||
|
|||
/** |
|||
* 水闸巡视检查项Controller |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping("/run/sz/checking/item") |
|||
@Api(tags = "水闸巡视检查项") |
|||
public class SzCheckingItemController extends BaseController |
|||
{ |
|||
@Autowired |
|||
private SzCheckingItemService szCheckingItemService; |
|||
|
|||
/** |
|||
* 查询水闸巡视检查项列表 |
|||
*/ |
|||
@PostMapping("/list") |
|||
@ApiOperation("水闸巡视检查项列表") |
|||
public IPage list(@RequestBody SearchParam<SzCheckingItem> sp) |
|||
{ |
|||
return szCheckingItemService.selectPage(sp); |
|||
} |
|||
|
|||
/** |
|||
* 导出水闸巡视检查项列表 |
|||
*/ |
|||
@Log(title = "水闸巡视检查项导出", businessType = BusinessType.EXPORT) |
|||
@PostMapping("/export") |
|||
@ApiOperation("水闸巡视检查项导出") |
|||
public AjaxResult export(@RequestBody SzCheckingItem szCheckingItem) |
|||
{ |
|||
List<SzCheckingItem> list = szCheckingItemService.listByIds(szCheckingItem.getIds()); |
|||
ExcelUtil<SzCheckingItem> util = new ExcelUtil<>(SzCheckingItem.class); |
|||
return util.exportExcel(list, "item"); |
|||
} |
|||
|
|||
/** |
|||
* 获取水闸巡视检查项详细信息 |
|||
*/ |
|||
@ApiOperation(" 水闸巡视检查项详情") |
|||
@GetMapping(value = "/{id}") |
|||
public AjaxResult getInfo(@PathVariable("id") Long id) |
|||
{ |
|||
return AjaxResult.success(szCheckingItemService.getById(id)); |
|||
} |
|||
|
|||
/** |
|||
* 新增水闸巡视检查项 |
|||
*/ |
|||
@Log(title = "水闸巡视检查项新增", businessType = BusinessType.INSERT) |
|||
@PostMapping |
|||
@ApiOperation("水闸巡视检查项新增") |
|||
public AjaxResult add(@RequestBody SzCheckingItem szCheckingItem) |
|||
{ |
|||
BaseEntityUtils.preInsert(szCheckingItem); |
|||
return toAjax(szCheckingItemService.save(szCheckingItem)); |
|||
} |
|||
|
|||
/** |
|||
* 修改水闸巡视检查项 |
|||
*/ |
|||
@ApiOperation("水闸巡视检查项修改") |
|||
@Log(title = "水闸巡视检查项修改", businessType = BusinessType.UPDATE) |
|||
@PutMapping |
|||
public AjaxResult edit(@RequestBody SzCheckingItem szCheckingItem) |
|||
{ |
|||
return toAjax(szCheckingItemService.updateById(szCheckingItem)); |
|||
} |
|||
|
|||
/** |
|||
* 删除水闸巡视检查项 |
|||
*/ |
|||
@ApiOperation("水闸巡视检查项删除") |
|||
@Log(title = "水闸巡视检查项删除", businessType = BusinessType.DELETE) |
|||
@DeleteMapping("/{ids}") |
|||
public AjaxResult remove(@PathVariable Long[] ids) |
|||
{ |
|||
return toAjax(szCheckingItemService.removeByIds(Arrays.asList(ids))); |
|||
} |
|||
} |
@ -0,0 +1,111 @@ |
|||
package com.kms.yxgh.sz.controller; |
|||
|
|||
import java.util.Arrays; |
|||
import java.util.List; |
|||
|
|||
import com.shuili.common.core.controller.BaseController; |
|||
import com.shuili.common.core.domain.SearchParam; |
|||
import com.shuili.common.utils.poi.ExcelUtil; |
|||
import com.kms.common.utils.BaseEntityUtils; |
|||
|
|||
|
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
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.baomidou.mybatisplus.core.metadata.IPage; |
|||
|
|||
import com.shuili.common.annotation.Log; |
|||
import com.shuili.common.core.domain.AjaxResult; |
|||
import com.shuili.common.enums.BusinessType; |
|||
|
|||
|
|||
/** |
|||
* 水闸巡视检查计划Controller |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping("/run/sz/plan") |
|||
@Api(tags = "水闸巡视检查计划") |
|||
public class SzPlanController extends BaseController |
|||
{ |
|||
@Autowired |
|||
private SzPlanService szPlanService; |
|||
|
|||
/** |
|||
* 查询水闸巡视检查计划列表 |
|||
*/ |
|||
@PostMapping("/list") |
|||
@ApiOperation("水闸巡视检查计划列表") |
|||
public IPage list(@RequestBody SearchParam<SzPlan> sp) |
|||
{ |
|||
return szPlanService.selectPage(sp); |
|||
} |
|||
|
|||
/** |
|||
* 导出水闸巡视检查计划列表 |
|||
*/ |
|||
@Log(title = "水闸巡视检查计划导出", businessType = BusinessType.EXPORT) |
|||
@PostMapping("/export") |
|||
@ApiOperation("水闸巡视检查计划导出") |
|||
public AjaxResult export(@RequestBody SzPlan szPlan) |
|||
{ |
|||
List<SzPlan> list = szPlanService.listByIds(szPlan.getIds()); |
|||
ExcelUtil<SzPlan> util = new ExcelUtil<>(SzPlan.class); |
|||
return util.exportExcel(list, "plan"); |
|||
} |
|||
|
|||
/** |
|||
* 获取水闸巡视检查计划详细信息 |
|||
*/ |
|||
@ApiOperation(" 水闸巡视检查计划详情") |
|||
@GetMapping(value = "/{id}") |
|||
public AjaxResult getInfo(@PathVariable("id") Long id) |
|||
{ |
|||
return AjaxResult.success(szPlanService.getById(id)); |
|||
} |
|||
|
|||
/** |
|||
* 新增水闸巡视检查计划 |
|||
*/ |
|||
@Log(title = "水闸巡视检查计划新增", businessType = BusinessType.INSERT) |
|||
@PostMapping |
|||
@ApiOperation("水闸巡视检查计划新增") |
|||
public AjaxResult add(@RequestBody SzPlan szPlan) |
|||
{ |
|||
BaseEntityUtils.preInsert(szPlan); |
|||
return toAjax(szPlanService.save(szPlan)); |
|||
} |
|||
|
|||
/** |
|||
* 修改水闸巡视检查计划 |
|||
*/ |
|||
@ApiOperation("水闸巡视检查计划修改") |
|||
@Log(title = "水闸巡视检查计划修改", businessType = BusinessType.UPDATE) |
|||
@PutMapping |
|||
public AjaxResult edit(@RequestBody SzPlan szPlan) |
|||
{ |
|||
return toAjax(szPlanService.updateById(szPlan)); |
|||
} |
|||
|
|||
/** |
|||
* 删除水闸巡视检查计划 |
|||
*/ |
|||
@ApiOperation("水闸巡视检查计划删除") |
|||
@Log(title = "水闸巡视检查计划删除", businessType = BusinessType.DELETE) |
|||
@DeleteMapping("/{ids}") |
|||
public AjaxResult remove(@PathVariable Long[] ids) |
|||
{ |
|||
return toAjax(szPlanService.removeByIds(Arrays.asList(ids))); |
|||
} |
|||
} |
@ -0,0 +1,111 @@ |
|||
package com.kms.yxgh.sz.controller; |
|||
|
|||
import java.util.Arrays; |
|||
import java.util.List; |
|||
|
|||
import com.shuili.common.core.controller.BaseController; |
|||
import com.shuili.common.core.domain.SearchParam; |
|||
import com.shuili.common.utils.poi.ExcelUtil; |
|||
import com.kms.common.utils.BaseEntityUtils; |
|||
|
|||
|
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
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.baomidou.mybatisplus.core.metadata.IPage; |
|||
|
|||
import com.shuili.common.annotation.Log; |
|||
import com.shuili.common.core.domain.AjaxResult; |
|||
import com.shuili.common.enums.BusinessType; |
|||
|
|||
|
|||
/** |
|||
* 水闸巡视检查计划执行人Controller |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping("/run/sz/plan/operator") |
|||
@Api(tags = "水闸巡视检查计划执行人") |
|||
public class SzPlanOperatorController extends BaseController |
|||
{ |
|||
@Autowired |
|||
private SzPlanOperatorService szPlanOperatorService; |
|||
|
|||
/** |
|||
* 查询水闸巡视检查计划执行人列表 |
|||
*/ |
|||
@PostMapping("/list") |
|||
@ApiOperation("水闸巡视检查计划执行人列表") |
|||
public IPage list(@RequestBody SearchParam<SzPlanOperator> sp) |
|||
{ |
|||
return szPlanOperatorService.selectPage(sp); |
|||
} |
|||
|
|||
/** |
|||
* 导出水闸巡视检查计划执行人列表 |
|||
*/ |
|||
@Log(title = "水闸巡视检查计划执行人导出", businessType = BusinessType.EXPORT) |
|||
@PostMapping("/export") |
|||
@ApiOperation("水闸巡视检查计划执行人导出") |
|||
public AjaxResult export(@RequestBody SzPlanOperator szPlanOperator) |
|||
{ |
|||
List<SzPlanOperator> list = szPlanOperatorService.listByIds(szPlanOperator.getIds()); |
|||
ExcelUtil<SzPlanOperator> util = new ExcelUtil<>(SzPlanOperator.class); |
|||
return util.exportExcel(list, "operator"); |
|||
} |
|||
|
|||
/** |
|||
* 获取水闸巡视检查计划执行人详细信息 |
|||
*/ |
|||
@ApiOperation(" 水闸巡视检查计划执行人详情") |
|||
@GetMapping(value = "/{id}") |
|||
public AjaxResult getInfo(@PathVariable("id") Long id) |
|||
{ |
|||
return AjaxResult.success(szPlanOperatorService.getById(id)); |
|||
} |
|||
|
|||
/** |
|||
* 新增水闸巡视检查计划执行人 |
|||
*/ |
|||
@Log(title = "水闸巡视检查计划执行人新增", businessType = BusinessType.INSERT) |
|||
@PostMapping |
|||
@ApiOperation("水闸巡视检查计划执行人新增") |
|||
public AjaxResult add(@RequestBody SzPlanOperator szPlanOperator) |
|||
{ |
|||
BaseEntityUtils.preInsert(szPlanOperator); |
|||
return toAjax(szPlanOperatorService.save(szPlanOperator)); |
|||
} |
|||
|
|||
/** |
|||
* 修改水闸巡视检查计划执行人 |
|||
*/ |
|||
@ApiOperation("水闸巡视检查计划执行人修改") |
|||
@Log(title = "水闸巡视检查计划执行人修改", businessType = BusinessType.UPDATE) |
|||
@PutMapping |
|||
public AjaxResult edit(@RequestBody SzPlanOperator szPlanOperator) |
|||
{ |
|||
return toAjax(szPlanOperatorService.updateById(szPlanOperator)); |
|||
} |
|||
|
|||
/** |
|||
* 删除水闸巡视检查计划执行人 |
|||
*/ |
|||
@ApiOperation("水闸巡视检查计划执行人删除") |
|||
@Log(title = "水闸巡视检查计划执行人删除", businessType = BusinessType.DELETE) |
|||
@DeleteMapping("/{ids}") |
|||
public AjaxResult remove(@PathVariable Long[] ids) |
|||
{ |
|||
return toAjax(szPlanOperatorService.removeByIds(Arrays.asList(ids))); |
|||
} |
|||
} |
@ -0,0 +1,111 @@ |
|||
package com.kms.yxgh.sz.controller; |
|||
|
|||
import java.util.Arrays; |
|||
import java.util.List; |
|||
|
|||
import com.shuili.common.core.controller.BaseController; |
|||
import com.shuili.common.core.domain.SearchParam; |
|||
import com.shuili.common.utils.poi.ExcelUtil; |
|||
import com.kms.common.utils.BaseEntityUtils; |
|||
|
|||
|
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
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.baomidou.mybatisplus.core.metadata.IPage; |
|||
|
|||
import com.shuili.common.annotation.Log; |
|||
import com.shuili.common.core.domain.AjaxResult; |
|||
import com.shuili.common.enums.BusinessType; |
|||
|
|||
|
|||
/** |
|||
* 水闸巡视检查计划点位Controller |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping("/run/sz/point") |
|||
@Api(tags = "水闸巡视检查计划点位") |
|||
public class SzPointController extends BaseController |
|||
{ |
|||
@Autowired |
|||
private SzPointService szPointService; |
|||
|
|||
/** |
|||
* 查询水闸巡视检查计划点位列表 |
|||
*/ |
|||
@PostMapping("/list") |
|||
@ApiOperation("水闸巡视检查计划点位列表") |
|||
public IPage list(@RequestBody SearchParam<SzPoint> sp) |
|||
{ |
|||
return szPointService.selectPage(sp); |
|||
} |
|||
|
|||
/** |
|||
* 导出水闸巡视检查计划点位列表 |
|||
*/ |
|||
@Log(title = "水闸巡视检查计划点位导出", businessType = BusinessType.EXPORT) |
|||
@PostMapping("/export") |
|||
@ApiOperation("水闸巡视检查计划点位导出") |
|||
public AjaxResult export(@RequestBody SzPoint szPoint) |
|||
{ |
|||
List<SzPoint> list = szPointService.listByIds(szPoint.getIds()); |
|||
ExcelUtil<SzPoint> util = new ExcelUtil<>(SzPoint.class); |
|||
return util.exportExcel(list, "point"); |
|||
} |
|||
|
|||
/** |
|||
* 获取水闸巡视检查计划点位详细信息 |
|||
*/ |
|||
@ApiOperation(" 水闸巡视检查计划点位详情") |
|||
@GetMapping(value = "/{id}") |
|||
public AjaxResult getInfo(@PathVariable("id") Long id) |
|||
{ |
|||
return AjaxResult.success(szPointService.getById(id)); |
|||
} |
|||
|
|||
/** |
|||
* 新增水闸巡视检查计划点位 |
|||
*/ |
|||
@Log(title = "水闸巡视检查计划点位新增", businessType = BusinessType.INSERT) |
|||
@PostMapping |
|||
@ApiOperation("水闸巡视检查计划点位新增") |
|||
public AjaxResult add(@RequestBody SzPoint szPoint) |
|||
{ |
|||
BaseEntityUtils.preInsert(szPoint); |
|||
return toAjax(szPointService.save(szPoint)); |
|||
} |
|||
|
|||
/** |
|||
* 修改水闸巡视检查计划点位 |
|||
*/ |
|||
@ApiOperation("水闸巡视检查计划点位修改") |
|||
@Log(title = "水闸巡视检查计划点位修改", businessType = BusinessType.UPDATE) |
|||
@PutMapping |
|||
public AjaxResult edit(@RequestBody SzPoint szPoint) |
|||
{ |
|||
return toAjax(szPointService.updateById(szPoint)); |
|||
} |
|||
|
|||
/** |
|||
* 删除水闸巡视检查计划点位 |
|||
*/ |
|||
@ApiOperation("水闸巡视检查计划点位删除") |
|||
@Log(title = "水闸巡视检查计划点位删除", businessType = BusinessType.DELETE) |
|||
@DeleteMapping("/{ids}") |
|||
public AjaxResult remove(@PathVariable Long[] ids) |
|||
{ |
|||
return toAjax(szPointService.removeByIds(Arrays.asList(ids))); |
|||
} |
|||
} |
@ -0,0 +1,111 @@ |
|||
package com.kms.yxgh.sz.controller; |
|||
|
|||
import java.util.Arrays; |
|||
import java.util.List; |
|||
|
|||
import com.shuili.common.core.controller.BaseController; |
|||
import com.shuili.common.core.domain.SearchParam; |
|||
import com.shuili.common.utils.poi.ExcelUtil; |
|||
import com.kms.common.utils.BaseEntityUtils; |
|||
|
|||
|
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
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.baomidou.mybatisplus.core.metadata.IPage; |
|||
|
|||
import com.shuili.common.annotation.Log; |
|||
import com.shuili.common.core.domain.AjaxResult; |
|||
import com.shuili.common.enums.BusinessType; |
|||
|
|||
|
|||
/** |
|||
* 水闸巡视检查记录Controller |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping("/run/sz/record") |
|||
@Api(tags = "水闸巡视检查记录") |
|||
public class SzRecordController extends BaseController |
|||
{ |
|||
@Autowired |
|||
private SzRecordService szRecordService; |
|||
|
|||
/** |
|||
* 查询水闸巡视检查记录列表 |
|||
*/ |
|||
@PostMapping("/list") |
|||
@ApiOperation("水闸巡视检查记录列表") |
|||
public IPage list(@RequestBody SearchParam<SzRecord> sp) |
|||
{ |
|||
return szRecordService.selectPage(sp); |
|||
} |
|||
|
|||
/** |
|||
* 导出水闸巡视检查记录列表 |
|||
*/ |
|||
@Log(title = "水闸巡视检查记录导出", businessType = BusinessType.EXPORT) |
|||
@PostMapping("/export") |
|||
@ApiOperation("水闸巡视检查记录导出") |
|||
public AjaxResult export(@RequestBody SzRecord szRecord) |
|||
{ |
|||
List<SzRecord> list = szRecordService.listByIds(szRecord.getIds()); |
|||
ExcelUtil<SzRecord> util = new ExcelUtil<>(SzRecord.class); |
|||
return util.exportExcel(list, "record"); |
|||
} |
|||
|
|||
/** |
|||
* 获取水闸巡视检查记录详细信息 |
|||
*/ |
|||
@ApiOperation(" 水闸巡视检查记录详情") |
|||
@GetMapping(value = "/{id}") |
|||
public AjaxResult getInfo(@PathVariable("id") Long id) |
|||
{ |
|||
return AjaxResult.success(szRecordService.getById(id)); |
|||
} |
|||
|
|||
/** |
|||
* 新增水闸巡视检查记录 |
|||
*/ |
|||
@Log(title = "水闸巡视检查记录新增", businessType = BusinessType.INSERT) |
|||
@PostMapping |
|||
@ApiOperation("水闸巡视检查记录新增") |
|||
public AjaxResult add(@RequestBody SzRecord szRecord) |
|||
{ |
|||
BaseEntityUtils.preInsert(szRecord); |
|||
return toAjax(szRecordService.save(szRecord)); |
|||
} |
|||
|
|||
/** |
|||
* 修改水闸巡视检查记录 |
|||
*/ |
|||
@ApiOperation("水闸巡视检查记录修改") |
|||
@Log(title = "水闸巡视检查记录修改", businessType = BusinessType.UPDATE) |
|||
@PutMapping |
|||
public AjaxResult edit(@RequestBody SzRecord szRecord) |
|||
{ |
|||
return toAjax(szRecordService.updateById(szRecord)); |
|||
} |
|||
|
|||
/** |
|||
* 删除水闸巡视检查记录 |
|||
*/ |
|||
@ApiOperation("水闸巡视检查记录删除") |
|||
@Log(title = "水闸巡视检查记录删除", businessType = BusinessType.DELETE) |
|||
@DeleteMapping("/{ids}") |
|||
public AjaxResult remove(@PathVariable Long[] ids) |
|||
{ |
|||
return toAjax(szRecordService.removeByIds(Arrays.asList(ids))); |
|||
} |
|||
} |
@ -0,0 +1,111 @@ |
|||
package com.kms.yxgh.sz.controller; |
|||
|
|||
import java.util.Arrays; |
|||
import java.util.List; |
|||
|
|||
import com.shuili.common.core.controller.BaseController; |
|||
import com.shuili.common.core.domain.SearchParam; |
|||
import com.shuili.common.utils.poi.ExcelUtil; |
|||
import com.kms.common.utils.BaseEntityUtils; |
|||
|
|||
|
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
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.baomidou.mybatisplus.core.metadata.IPage; |
|||
|
|||
import com.shuili.common.annotation.Log; |
|||
import com.shuili.common.core.domain.AjaxResult; |
|||
import com.shuili.common.enums.BusinessType; |
|||
|
|||
|
|||
/** |
|||
* 水闸巡视检查检查记录子项Controller |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping("/run/sz/record/item") |
|||
@Api(tags = "水闸巡视检查检查记录子项") |
|||
public class SzRecordItemController extends BaseController |
|||
{ |
|||
@Autowired |
|||
private SzRecordItemService szRecordItemService; |
|||
|
|||
/** |
|||
* 查询水闸巡视检查检查记录子项列表 |
|||
*/ |
|||
@PostMapping("/list") |
|||
@ApiOperation("水闸巡视检查检查记录子项列表") |
|||
public IPage list(@RequestBody SearchParam<SzRecordItem> sp) |
|||
{ |
|||
return szRecordItemService.selectPage(sp); |
|||
} |
|||
|
|||
/** |
|||
* 导出水闸巡视检查检查记录子项列表 |
|||
*/ |
|||
@Log(title = "水闸巡视检查检查记录子项导出", businessType = BusinessType.EXPORT) |
|||
@PostMapping("/export") |
|||
@ApiOperation("水闸巡视检查检查记录子项导出") |
|||
public AjaxResult export(@RequestBody SzRecordItem szRecordItem) |
|||
{ |
|||
List<SzRecordItem> list = szRecordItemService.listByIds(szRecordItem.getIds()); |
|||
ExcelUtil<SzRecordItem> util = new ExcelUtil<>(SzRecordItem.class); |
|||
return util.exportExcel(list, "item"); |
|||
} |
|||
|
|||
/** |
|||
* 获取水闸巡视检查检查记录子项详细信息 |
|||
*/ |
|||
@ApiOperation(" 水闸巡视检查检查记录子项详情") |
|||
@GetMapping(value = "/{id}") |
|||
public AjaxResult getInfo(@PathVariable("id") Long id) |
|||
{ |
|||
return AjaxResult.success(szRecordItemService.getById(id)); |
|||
} |
|||
|
|||
/** |
|||
* 新增水闸巡视检查检查记录子项 |
|||
*/ |
|||
@Log(title = "水闸巡视检查检查记录子项新增", businessType = BusinessType.INSERT) |
|||
@PostMapping |
|||
@ApiOperation("水闸巡视检查检查记录子项新增") |
|||
public AjaxResult add(@RequestBody SzRecordItem szRecordItem) |
|||
{ |
|||
BaseEntityUtils.preInsert(szRecordItem); |
|||
return toAjax(szRecordItemService.save(szRecordItem)); |
|||
} |
|||
|
|||
/** |
|||
* 修改水闸巡视检查检查记录子项 |
|||
*/ |
|||
@ApiOperation("水闸巡视检查检查记录子项修改") |
|||
@Log(title = "水闸巡视检查检查记录子项修改", businessType = BusinessType.UPDATE) |
|||
@PutMapping |
|||
public AjaxResult edit(@RequestBody SzRecordItem szRecordItem) |
|||
{ |
|||
return toAjax(szRecordItemService.updateById(szRecordItem)); |
|||
} |
|||
|
|||
/** |
|||
* 删除水闸巡视检查检查记录子项 |
|||
*/ |
|||
@ApiOperation("水闸巡视检查检查记录子项删除") |
|||
@Log(title = "水闸巡视检查检查记录子项删除", businessType = BusinessType.DELETE) |
|||
@DeleteMapping("/{ids}") |
|||
public AjaxResult remove(@PathVariable Long[] ids) |
|||
{ |
|||
return toAjax(szRecordItemService.removeByIds(Arrays.asList(ids))); |
|||
} |
|||
} |
@ -0,0 +1,111 @@ |
|||
package com.kms.yxgh.sz.controller; |
|||
|
|||
import java.util.Arrays; |
|||
import java.util.List; |
|||
|
|||
import com.shuili.common.core.controller.BaseController; |
|||
import com.shuili.common.core.domain.SearchParam; |
|||
import com.shuili.common.utils.poi.ExcelUtil; |
|||
import com.kms.common.utils.BaseEntityUtils; |
|||
|
|||
|
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
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.baomidou.mybatisplus.core.metadata.IPage; |
|||
|
|||
import com.shuili.common.annotation.Log; |
|||
import com.shuili.common.core.domain.AjaxResult; |
|||
import com.shuili.common.enums.BusinessType; |
|||
|
|||
|
|||
/** |
|||
* 水闸巡视检查检查记录轨迹Controller |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping("/run/sz/trace") |
|||
@Api(tags = "水闸巡视检查检查记录轨迹") |
|||
public class SzTraceController extends BaseController |
|||
{ |
|||
@Autowired |
|||
private SzTraceService szTraceService; |
|||
|
|||
/** |
|||
* 查询水闸巡视检查检查记录轨迹列表 |
|||
*/ |
|||
@PostMapping("/list") |
|||
@ApiOperation("水闸巡视检查检查记录轨迹列表") |
|||
public IPage list(@RequestBody SearchParam<SzTrace> sp) |
|||
{ |
|||
return szTraceService.selectPage(sp); |
|||
} |
|||
|
|||
/** |
|||
* 导出水闸巡视检查检查记录轨迹列表 |
|||
*/ |
|||
@Log(title = "水闸巡视检查检查记录轨迹导出", businessType = BusinessType.EXPORT) |
|||
@PostMapping("/export") |
|||
@ApiOperation("水闸巡视检查检查记录轨迹导出") |
|||
public AjaxResult export(@RequestBody SzTrace szTrace) |
|||
{ |
|||
List<SzTrace> list = szTraceService.listByIds(szTrace.getIds()); |
|||
ExcelUtil<SzTrace> util = new ExcelUtil<>(SzTrace.class); |
|||
return util.exportExcel(list, "trace"); |
|||
} |
|||
|
|||
/** |
|||
* 获取水闸巡视检查检查记录轨迹详细信息 |
|||
*/ |
|||
@ApiOperation(" 水闸巡视检查检查记录轨迹详情") |
|||
@GetMapping(value = "/{id}") |
|||
public AjaxResult getInfo(@PathVariable("id") Long id) |
|||
{ |
|||
return AjaxResult.success(szTraceService.getById(id)); |
|||
} |
|||
|
|||
/** |
|||
* 新增水闸巡视检查检查记录轨迹 |
|||
*/ |
|||
@Log(title = "水闸巡视检查检查记录轨迹新增", businessType = BusinessType.INSERT) |
|||
@PostMapping |
|||
@ApiOperation("水闸巡视检查检查记录轨迹新增") |
|||
public AjaxResult add(@RequestBody SzTrace szTrace) |
|||
{ |
|||
BaseEntityUtils.preInsert(szTrace); |
|||
return toAjax(szTraceService.save(szTrace)); |
|||
} |
|||
|
|||
/** |
|||
* 修改水闸巡视检查检查记录轨迹 |
|||
*/ |
|||
@ApiOperation("水闸巡视检查检查记录轨迹修改") |
|||
@Log(title = "水闸巡视检查检查记录轨迹修改", businessType = BusinessType.UPDATE) |
|||
@PutMapping |
|||
public AjaxResult edit(@RequestBody SzTrace szTrace) |
|||
{ |
|||
return toAjax(szTraceService.updateById(szTrace)); |
|||
} |
|||
|
|||
/** |
|||
* 删除水闸巡视检查检查记录轨迹 |
|||
*/ |
|||
@ApiOperation("水闸巡视检查检查记录轨迹删除") |
|||
@Log(title = "水闸巡视检查检查记录轨迹删除", businessType = BusinessType.DELETE) |
|||
@DeleteMapping("/{ids}") |
|||
public AjaxResult remove(@PathVariable Long[] ids) |
|||
{ |
|||
return toAjax(szTraceService.removeByIds(Arrays.asList(ids))); |
|||
} |
|||
} |
@ -0,0 +1,54 @@ |
|||
package com.kms.yxgh.sz.controller.df; |
|||
|
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import com.kms.yxgh.df.domain.entity.DfChecking; |
|||
import com.kms.yxgh.df.service.DfCheckingService; |
|||
import com.shuili.common.core.domain.AjaxResult; |
|||
import com.shuili.common.core.domain.SearchParam; |
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import lombok.AllArgsConstructor; |
|||
import org.springframework.web.bind.annotation.GetMapping; |
|||
import org.springframework.web.bind.annotation.PathVariable; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
/** |
|||
* @ClassName: CheckingController |
|||
* @Description: TODO |
|||
* @Date: 2023/11/10 上午11:16 * |
|||
* @author: hxh |
|||
* @version: 1.0 |
|||
*/ |
|||
@RestController |
|||
@AllArgsConstructor |
|||
@RequestMapping("/run/df/checking") |
|||
@Api(tags = "堤防巡视检查") |
|||
public class CheckingController { |
|||
|
|||
|
|||
private final DfCheckingService dfCheckingService; |
|||
|
|||
/** |
|||
* 查询堤防巡视检查列表 |
|||
*/ |
|||
@PostMapping("/list") |
|||
@ApiOperation("堤防巡视检查列表") |
|||
public IPage<DfChecking> list(@RequestBody SearchParam<DfChecking> sp) { |
|||
return dfCheckingService.selectPage(sp); |
|||
} |
|||
|
|||
|
|||
/** |
|||
* 获取堤防巡视检查详细信息 |
|||
*/ |
|||
@ApiOperation(" 堤防巡视检查详情") |
|||
@GetMapping(value = "/{id}") |
|||
public AjaxResult getInfo(@PathVariable("id") Long id) { |
|||
return AjaxResult.success(dfCheckingService.getById(id)); |
|||
} |
|||
|
|||
|
|||
} |
@ -0,0 +1,60 @@ |
|||
package com.kms.yxgh.sz.domain.entity; |
|||
|
|||
import com.shuili.common.core.domain.BaseEntity; |
|||
import java.util.Date; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
import com.shuili.common.annotation.Excel; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
|
|||
|
|||
/** |
|||
* 水闸巡视检查对象 bs_sgc_sz_xs |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@TableName("bs_sgc_sz_xs") |
|||
@Data |
|||
@ApiModel("水闸巡视检查") |
|||
public class SzChecking extends BaseEntity |
|||
{ |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** 巡查名称 */ |
|||
@Excel(name = "巡查名称") |
|||
@ApiModelProperty("巡查名称") |
|||
private String name; |
|||
|
|||
/** 巡查类型 */ |
|||
@Excel(name = "巡查类型") |
|||
@ApiModelProperty("巡查类型") |
|||
private Long type; |
|||
|
|||
/** 创建人 */ |
|||
@Excel(name = "创建人") |
|||
@ApiModelProperty("创建人") |
|||
private String createUid; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("创建时间") |
|||
private Date createDate; |
|||
|
|||
/** 最近修改人 */ |
|||
@Excel(name = "最近修改人") |
|||
@ApiModelProperty("最近修改人") |
|||
private String updateUid; |
|||
|
|||
/** 最近修改时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "最近修改时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("最近修改时间") |
|||
private Date updateDate; |
|||
|
|||
} |
@ -0,0 +1,65 @@ |
|||
package com.kms.yxgh.sz.domain.entity; |
|||
|
|||
import com.shuili.common.core.domain.BaseEntity; |
|||
import java.util.Date; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
import com.shuili.common.annotation.Excel; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
|
|||
|
|||
/** |
|||
* 水闸巡视检查项对象 bs_sgc_sz_xsx |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@TableName("bs_sgc_sz_xsx") |
|||
@Data |
|||
@ApiModel("水闸巡视检查项") |
|||
public class SzCheckingItem extends BaseEntity |
|||
{ |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** 巡查ID */ |
|||
@Excel(name = "巡查ID") |
|||
@ApiModelProperty("巡查ID") |
|||
private Long xcId; |
|||
|
|||
/** 检查部位 */ |
|||
@Excel(name = "检查部位") |
|||
@ApiModelProperty("检查部位") |
|||
private String parts; |
|||
|
|||
/** 检查内容 */ |
|||
@Excel(name = "检查内容") |
|||
@ApiModelProperty("检查内容") |
|||
private String content; |
|||
|
|||
/** 创建人 */ |
|||
@Excel(name = "创建人") |
|||
@ApiModelProperty("创建人") |
|||
private String createUid; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("创建时间") |
|||
private Date createDate; |
|||
|
|||
/** 最近修改人 */ |
|||
@Excel(name = "最近修改人") |
|||
@ApiModelProperty("最近修改人") |
|||
private String updateUid; |
|||
|
|||
/** 最近修改时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "最近修改时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("最近修改时间") |
|||
private Date updateDate; |
|||
|
|||
} |
@ -0,0 +1,81 @@ |
|||
package com.kms.yxgh.sz.domain.entity; |
|||
|
|||
import com.shuili.common.core.domain.BaseEntity; |
|||
import java.util.Date; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
import com.shuili.common.annotation.Excel; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
|
|||
|
|||
/** |
|||
* 水闸巡视检查计划对象 bs_sgc_sz_xsjh |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@TableName("bs_sgc_sz_xsjh") |
|||
@Data |
|||
@ApiModel("水闸巡视检查计划") |
|||
public class SzPlan extends BaseEntity |
|||
{ |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** 巡查ID */ |
|||
@Excel(name = "巡查ID") |
|||
@ApiModelProperty("巡查ID") |
|||
private Long xcId; |
|||
|
|||
/** 巡查类型 */ |
|||
@Excel(name = "巡查类型") |
|||
@ApiModelProperty("巡查类型") |
|||
private Long type; |
|||
|
|||
/** 检查次数 */ |
|||
@Excel(name = "检查次数") |
|||
@ApiModelProperty("检查次数") |
|||
private Long frequency; |
|||
|
|||
/** 周期 */ |
|||
@Excel(name = "周期") |
|||
@ApiModelProperty("周期") |
|||
private Long cycleType; |
|||
|
|||
/** 提醒时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "提醒时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("提醒时间") |
|||
private Date reminderTime; |
|||
|
|||
/** 附加配置 */ |
|||
@Excel(name = "附加配置") |
|||
@ApiModelProperty("附加配置") |
|||
private String otherConfig; |
|||
|
|||
/** 创建人 */ |
|||
@Excel(name = "创建人") |
|||
@ApiModelProperty("创建人") |
|||
private String createUid; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("创建时间") |
|||
private Date createDate; |
|||
|
|||
/** 最近修改人 */ |
|||
@Excel(name = "最近修改人") |
|||
@ApiModelProperty("最近修改人") |
|||
private String updateUid; |
|||
|
|||
/** 最近修改时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "最近修改时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("最近修改时间") |
|||
private Date updateDate; |
|||
|
|||
} |
@ -0,0 +1,60 @@ |
|||
package com.kms.yxgh.sz.domain.entity; |
|||
|
|||
import com.shuili.common.core.domain.BaseEntity; |
|||
import java.util.Date; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
import com.shuili.common.annotation.Excel; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
|
|||
|
|||
/** |
|||
* 水闸巡视检查计划执行人对象 bs_sgc_sz_xsjhzx |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@TableName("bs_sgc_sz_xsjhzx") |
|||
@Data |
|||
@ApiModel("水闸巡视检查计划执行人") |
|||
public class SzPlanOperator extends BaseEntity |
|||
{ |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** 巡查计划ID */ |
|||
@Excel(name = "巡查计划ID") |
|||
@ApiModelProperty("巡查计划ID") |
|||
private Long planId; |
|||
|
|||
/** 执行人 */ |
|||
@Excel(name = "执行人") |
|||
@ApiModelProperty("执行人") |
|||
private String operatorUid; |
|||
|
|||
/** 创建人 */ |
|||
@Excel(name = "创建人") |
|||
@ApiModelProperty("创建人") |
|||
private String createUid; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("创建时间") |
|||
private Date createDate; |
|||
|
|||
/** 最近修改人 */ |
|||
@Excel(name = "最近修改人") |
|||
@ApiModelProperty("最近修改人") |
|||
private String updateUid; |
|||
|
|||
/** 最近修改时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "最近修改时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("最近修改时间") |
|||
private Date updateDate; |
|||
|
|||
} |
@ -0,0 +1,70 @@ |
|||
package com.kms.yxgh.sz.domain.entity; |
|||
|
|||
import com.shuili.common.core.domain.BaseEntity; |
|||
import java.util.Date; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
import com.shuili.common.annotation.Excel; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
|
|||
|
|||
/** |
|||
* 水闸巡视检查计划点位对象 bs_sgc_sz_xsjhdw |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@TableName("bs_sgc_sz_xsjhdw") |
|||
@Data |
|||
@ApiModel("水闸巡视检查计划点位") |
|||
public class SzPoint extends BaseEntity |
|||
{ |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** 巡查计划ID */ |
|||
@Excel(name = "巡查计划ID") |
|||
@ApiModelProperty("巡查计划ID") |
|||
private Long planId; |
|||
|
|||
/** 经度 */ |
|||
@Excel(name = "经度") |
|||
@ApiModelProperty("经度") |
|||
private Double longitude; |
|||
|
|||
/** 纬度 */ |
|||
@Excel(name = "纬度") |
|||
@ApiModelProperty("纬度") |
|||
private Double latitude; |
|||
|
|||
/** 海拔 */ |
|||
@Excel(name = "海拔") |
|||
@ApiModelProperty("海拔") |
|||
private Double altitude; |
|||
|
|||
/** 创建人 */ |
|||
@Excel(name = "创建人") |
|||
@ApiModelProperty("创建人") |
|||
private String createUid; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("创建时间") |
|||
private Date createDate; |
|||
|
|||
/** 最近修改人 */ |
|||
@Excel(name = "最近修改人") |
|||
@ApiModelProperty("最近修改人") |
|||
private String updateUid; |
|||
|
|||
/** 最近修改时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "最近修改时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("最近修改时间") |
|||
private Date updateDate; |
|||
|
|||
} |
@ -0,0 +1,65 @@ |
|||
package com.kms.yxgh.sz.domain.entity; |
|||
|
|||
import com.shuili.common.core.domain.BaseEntity; |
|||
import java.util.Date; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
import com.shuili.common.annotation.Excel; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
|
|||
|
|||
/** |
|||
* 水闸巡视检查记录对象 bs_sgc_sz_xsjhjl |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@TableName("bs_sgc_sz_xsjhjl") |
|||
@Data |
|||
@ApiModel("水闸巡视检查记录") |
|||
public class SzRecord extends BaseEntity |
|||
{ |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** 巡查计划ID */ |
|||
@Excel(name = "巡查计划ID") |
|||
@ApiModelProperty("巡查计划ID") |
|||
private Long planId; |
|||
|
|||
/** 巡查记录名称 */ |
|||
@Excel(name = "巡查记录名称") |
|||
@ApiModelProperty("巡查记录名称") |
|||
private String name; |
|||
|
|||
/** 状态 */ |
|||
@Excel(name = "状态") |
|||
@ApiModelProperty("状态") |
|||
private Long status; |
|||
|
|||
/** 创建人 */ |
|||
@Excel(name = "创建人") |
|||
@ApiModelProperty("创建人") |
|||
private String createUid; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("创建时间") |
|||
private Date createDate; |
|||
|
|||
/** 最近修改人 */ |
|||
@Excel(name = "最近修改人") |
|||
@ApiModelProperty("最近修改人") |
|||
private String updateUid; |
|||
|
|||
/** 最近修改时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "最近修改时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("最近修改时间") |
|||
private Date updateDate; |
|||
|
|||
} |
@ -0,0 +1,75 @@ |
|||
package com.kms.yxgh.sz.domain.entity; |
|||
|
|||
import com.shuili.common.core.domain.BaseEntity; |
|||
import java.util.Date; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
import com.shuili.common.annotation.Excel; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
|
|||
|
|||
/** |
|||
* 水闸巡视检查检查记录子项对象 bs_sgc_sz_xsjhjlz |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@TableName("bs_sgc_sz_xsjhjlz") |
|||
@Data |
|||
@ApiModel("水闸巡视检查检查记录子项") |
|||
public class SzRecordItem extends BaseEntity |
|||
{ |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** 巡查记录ID */ |
|||
@Excel(name = "巡查记录ID") |
|||
@ApiModelProperty("巡查记录ID") |
|||
private Long recordId; |
|||
|
|||
/** 检查部位 */ |
|||
@Excel(name = "检查部位") |
|||
@ApiModelProperty("检查部位") |
|||
private String parts; |
|||
|
|||
/** 检查内容 */ |
|||
@Excel(name = "检查内容") |
|||
@ApiModelProperty("检查内容") |
|||
private String content; |
|||
|
|||
/** 状态 */ |
|||
@Excel(name = "状态") |
|||
@ApiModelProperty("状态") |
|||
private Long status; |
|||
|
|||
/** 存在问题 */ |
|||
@Excel(name = "存在问题") |
|||
@ApiModelProperty("存在问题") |
|||
private String problem; |
|||
|
|||
/** 创建人 */ |
|||
@Excel(name = "创建人") |
|||
@ApiModelProperty("创建人") |
|||
private String createUid; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("创建时间") |
|||
private Date createDate; |
|||
|
|||
/** 最近修改人 */ |
|||
@Excel(name = "最近修改人") |
|||
@ApiModelProperty("最近修改人") |
|||
private String updateUid; |
|||
|
|||
/** 最近修改时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "最近修改时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("最近修改时间") |
|||
private Date updateDate; |
|||
|
|||
} |
@ -0,0 +1,59 @@ |
|||
package com.kms.yxgh.sz.domain.entity; |
|||
|
|||
import com.shuili.common.core.domain.BaseEntity; |
|||
import java.util.Date; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
import com.shuili.common.annotation.Excel; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
|
|||
|
|||
/** |
|||
* 水闸巡视检查检查记录轨迹对象 bs_sgc_sz_xsjhjgj |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@TableName("bs_sgc_sz_xsjhjgj") |
|||
@Data |
|||
@ApiModel("水闸巡视检查检查记录轨迹") |
|||
public class SzTrace extends BaseEntity |
|||
{ |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** 巡查记录ID */ |
|||
@Excel(name = "巡查记录ID") |
|||
@ApiModelProperty("巡查记录ID") |
|||
private Long recordId; |
|||
|
|||
/** 经度 */ |
|||
@Excel(name = "经度") |
|||
@ApiModelProperty("经度") |
|||
private Double longitude; |
|||
|
|||
/** 纬度 */ |
|||
@Excel(name = "纬度") |
|||
@ApiModelProperty("纬度") |
|||
private Double latitude; |
|||
|
|||
/** 海拔 */ |
|||
@Excel(name = "海拔") |
|||
@ApiModelProperty("海拔") |
|||
private Double altitude; |
|||
|
|||
/** 创建人 */ |
|||
@Excel(name = "创建人") |
|||
@ApiModelProperty("创建人") |
|||
private String createUid; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
@ApiModelProperty("创建时间") |
|||
private Date createDate; |
|||
|
|||
} |
@ -0,0 +1,15 @@ |
|||
package com.kms.yxgh.sz.mapper; |
|||
|
|||
import org.springframework.stereotype.Repository; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
|
|||
/** |
|||
* 水闸巡视检查项Mapper接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Repository |
|||
public interface SzCheckingItemMapper extends BaseMapper<SzCheckingItem> { |
|||
|
|||
} |
@ -0,0 +1,15 @@ |
|||
package com.kms.yxgh.sz.mapper; |
|||
|
|||
import org.springframework.stereotype.Repository; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
|
|||
/** |
|||
* 水闸巡视检查Mapper接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Repository |
|||
public interface SzCheckingMapper extends BaseMapper<SzChecking> { |
|||
|
|||
} |
@ -0,0 +1,15 @@ |
|||
package com.kms.yxgh.sz.mapper; |
|||
|
|||
import org.springframework.stereotype.Repository; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
|
|||
/** |
|||
* 水闸巡视检查计划Mapper接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Repository |
|||
public interface SzPlanMapper extends BaseMapper<SzPlan> { |
|||
|
|||
} |
@ -0,0 +1,15 @@ |
|||
package com.kms.yxgh.sz.mapper; |
|||
|
|||
import org.springframework.stereotype.Repository; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
|
|||
/** |
|||
* 水闸巡视检查计划执行人Mapper接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Repository |
|||
public interface SzPlanOperatorMapper extends BaseMapper<SzPlanOperator> { |
|||
|
|||
} |
@ -0,0 +1,15 @@ |
|||
package com.kms.yxgh.sz.mapper; |
|||
|
|||
import org.springframework.stereotype.Repository; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
|
|||
/** |
|||
* 水闸巡视检查计划点位Mapper接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Repository |
|||
public interface SzPointMapper extends BaseMapper<SzPoint> { |
|||
|
|||
} |
@ -0,0 +1,15 @@ |
|||
package com.kms.yxgh.sz.mapper; |
|||
|
|||
import org.springframework.stereotype.Repository; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
|
|||
/** |
|||
* 水闸巡视检查检查记录子项Mapper接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Repository |
|||
public interface SzRecordItemMapper extends BaseMapper<SzRecordItem> { |
|||
|
|||
} |
@ -0,0 +1,15 @@ |
|||
package com.kms.yxgh.sz.mapper; |
|||
|
|||
import org.springframework.stereotype.Repository; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
|
|||
/** |
|||
* 水闸巡视检查记录Mapper接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Repository |
|||
public interface SzRecordMapper extends BaseMapper<SzRecord> { |
|||
|
|||
} |
@ -0,0 +1,15 @@ |
|||
package com.kms.yxgh.sz.mapper; |
|||
|
|||
import org.springframework.stereotype.Repository; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
|
|||
/** |
|||
* 水闸巡视检查检查记录轨迹Mapper接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Repository |
|||
public interface SzTraceMapper extends BaseMapper<SzTrace> { |
|||
|
|||
} |
@ -0,0 +1,15 @@ |
|||
package com.kms.yxgh.sz.service; |
|||
|
|||
import com.shuili.common.core.service.BaseService; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
/** |
|||
* 水闸巡视检查项Service接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Service |
|||
public class SzCheckingItemService extends BaseService<SzCheckingItemMapper, SzCheckingItem>{ |
|||
|
|||
} |
@ -0,0 +1,15 @@ |
|||
package com.kms.yxgh.sz.service; |
|||
|
|||
import com.shuili.common.core.service.BaseService; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
/** |
|||
* 水闸巡视检查Service接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Service |
|||
public class SzCheckingService extends BaseService<SzCheckingMapper, SzChecking>{ |
|||
|
|||
} |
@ -0,0 +1,15 @@ |
|||
package com.kms.yxgh.sz.service; |
|||
|
|||
import com.shuili.common.core.service.BaseService; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
/** |
|||
* 水闸巡视检查计划执行人Service接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Service |
|||
public class SzPlanOperatorService extends BaseService<SzPlanOperatorMapper, SzPlanOperator>{ |
|||
|
|||
} |
@ -0,0 +1,15 @@ |
|||
package com.kms.yxgh.sz.service; |
|||
|
|||
import com.shuili.common.core.service.BaseService; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
/** |
|||
* 水闸巡视检查计划Service接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Service |
|||
public class SzPlanService extends BaseService<SzPlanMapper, SzPlan>{ |
|||
|
|||
} |
@ -0,0 +1,15 @@ |
|||
package com.kms.yxgh.sz.service; |
|||
|
|||
import com.shuili.common.core.service.BaseService; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
/** |
|||
* 水闸巡视检查计划点位Service接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Service |
|||
public class SzPointService extends BaseService<SzPointMapper, SzPoint>{ |
|||
|
|||
} |
@ -0,0 +1,15 @@ |
|||
package com.kms.yxgh.sz.service; |
|||
|
|||
import com.shuili.common.core.service.BaseService; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
/** |
|||
* 水闸巡视检查检查记录子项Service接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Service |
|||
public class SzRecordItemService extends BaseService<SzRecordItemMapper, SzRecordItem>{ |
|||
|
|||
} |
@ -0,0 +1,15 @@ |
|||
package com.kms.yxgh.sz.service; |
|||
|
|||
import com.shuili.common.core.service.BaseService; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
/** |
|||
* 水闸巡视检查记录Service接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Service |
|||
public class SzRecordService extends BaseService<SzRecordMapper, SzRecord>{ |
|||
|
|||
} |
@ -0,0 +1,15 @@ |
|||
package com.kms.yxgh.sz.service; |
|||
|
|||
import com.shuili.common.core.service.BaseService; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
/** |
|||
* 水闸巡视检查检查记录轨迹Service接口 |
|||
* |
|||
* @author sy |
|||
* @date 2023-11-09 |
|||
*/ |
|||
@Service |
|||
public class SzTraceService extends BaseService<SzTraceMapper, SzTrace>{ |
|||
|
|||
} |
Loading…
Reference in new issue