feat: 新增电站基础信息模块功能
This commit is contained in:
parent
e5645c6466
commit
9481dc1c3b
@ -0,0 +1,55 @@
|
||||
package com.yfd.platform.qgc_base.controller;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.config.ResponseResult;
|
||||
import com.yfd.platform.qgc_base.domain.SdAiboxBH;
|
||||
import com.yfd.platform.qgc_base.domain.SdEngInfoBHOperateRequest;
|
||||
import com.yfd.platform.qgc_base.service.ISdAiboxBHService;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/base/aibox")
|
||||
@Tag(name = "AI智能监测装置管理")
|
||||
public class SdAiboxBHController {
|
||||
|
||||
@Resource
|
||||
private ISdAiboxBHService service;
|
||||
|
||||
@Resource
|
||||
private ObjectMapper objectMapper;
|
||||
|
||||
@PostMapping("/page")
|
||||
@Operation(summary = "分页查询")
|
||||
public ResponseResult queryPageList(@RequestBody DataSourceRequest request) {
|
||||
Page<SdAiboxBH> page = service.queryPageList(request);
|
||||
return ResponseResult.successData(page);
|
||||
}
|
||||
|
||||
@PostMapping("/add")
|
||||
@Operation(summary = "新增")
|
||||
public ResponseResult add(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdAiboxBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdAiboxBH.class);
|
||||
boolean result = service.add(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("新增成功") : ResponseResult.error("新增失败");
|
||||
}
|
||||
|
||||
@PostMapping("/update")
|
||||
@Operation(summary = "修改")
|
||||
public ResponseResult update(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdAiboxBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdAiboxBH.class);
|
||||
boolean result = service.update(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("修改成功") : ResponseResult.error("修改失败");
|
||||
}
|
||||
|
||||
@PostMapping("/delete")
|
||||
@Operation(summary = "删除")
|
||||
public ResponseResult delete(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
boolean result = service.delete(request == null ? null : request.getIds(), request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("删除成功") : ResponseResult.error("删除失败");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,55 @@
|
||||
package com.yfd.platform.qgc_base.controller;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.config.ResponseResult;
|
||||
import com.yfd.platform.qgc_base.domain.SdArtsgBH;
|
||||
import com.yfd.platform.qgc_base.domain.SdEngInfoBHOperateRequest;
|
||||
import com.yfd.platform.qgc_base.service.ISdArtsgBHService;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/base/artsg")
|
||||
@Tag(name = "人工产卵场管理")
|
||||
public class SdArtsgBHController {
|
||||
|
||||
@Resource
|
||||
private ISdArtsgBHService service;
|
||||
|
||||
@Resource
|
||||
private ObjectMapper objectMapper;
|
||||
|
||||
@PostMapping("/page")
|
||||
@Operation(summary = "分页查询")
|
||||
public ResponseResult queryPageList(@RequestBody DataSourceRequest request) {
|
||||
Page<SdArtsgBH> page = service.queryPageList(request);
|
||||
return ResponseResult.successData(page);
|
||||
}
|
||||
|
||||
@PostMapping("/add")
|
||||
@Operation(summary = "新增")
|
||||
public ResponseResult add(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdArtsgBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdArtsgBH.class);
|
||||
boolean result = service.add(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("新增成功") : ResponseResult.error("新增失败");
|
||||
}
|
||||
|
||||
@PostMapping("/update")
|
||||
@Operation(summary = "修改")
|
||||
public ResponseResult update(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdArtsgBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdArtsgBH.class);
|
||||
boolean result = service.update(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("修改成功") : ResponseResult.error("修改失败");
|
||||
}
|
||||
|
||||
@PostMapping("/delete")
|
||||
@Operation(summary = "删除")
|
||||
public ResponseResult delete(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
boolean result = service.delete(request == null ? null : request.getIds(), request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("删除成功") : ResponseResult.error("删除失败");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,55 @@
|
||||
package com.yfd.platform.qgc_base.controller;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.config.ResponseResult;
|
||||
import com.yfd.platform.qgc_base.domain.SdDwBH;
|
||||
import com.yfd.platform.qgc_base.domain.SdEngInfoBHOperateRequest;
|
||||
import com.yfd.platform.qgc_base.service.ISdDwBHService;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/base/dw")
|
||||
@Tag(name = "低温水设施管理")
|
||||
public class SdDwBHController {
|
||||
|
||||
@Resource
|
||||
private ISdDwBHService service;
|
||||
|
||||
@Resource
|
||||
private ObjectMapper objectMapper;
|
||||
|
||||
@PostMapping("/page")
|
||||
@Operation(summary = "分页查询")
|
||||
public ResponseResult queryPageList(@RequestBody DataSourceRequest request) {
|
||||
Page<SdDwBH> page = service.queryPageList(request);
|
||||
return ResponseResult.successData(page);
|
||||
}
|
||||
|
||||
@PostMapping("/add")
|
||||
@Operation(summary = "新增")
|
||||
public ResponseResult add(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdDwBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdDwBH.class);
|
||||
boolean result = service.add(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("新增成功") : ResponseResult.error("新增失败");
|
||||
}
|
||||
|
||||
@PostMapping("/update")
|
||||
@Operation(summary = "修改")
|
||||
public ResponseResult update(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdDwBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdDwBH.class);
|
||||
boolean result = service.update(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("修改成功") : ResponseResult.error("修改失败");
|
||||
}
|
||||
|
||||
@PostMapping("/delete")
|
||||
@Operation(summary = "删除")
|
||||
public ResponseResult delete(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
boolean result = service.delete(request == null ? null : request.getIds(), request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("删除成功") : ResponseResult.error("删除失败");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,55 @@
|
||||
package com.yfd.platform.qgc_base.controller;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.config.ResponseResult;
|
||||
import com.yfd.platform.qgc_base.domain.SdEqBH;
|
||||
import com.yfd.platform.qgc_base.domain.SdEngInfoBHOperateRequest;
|
||||
import com.yfd.platform.qgc_base.service.ISdEqBHService;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/base/eq")
|
||||
@Tag(name = "生态流量设施管理")
|
||||
public class SdEqBHController {
|
||||
|
||||
@Resource
|
||||
private ISdEqBHService service;
|
||||
|
||||
@Resource
|
||||
private ObjectMapper objectMapper;
|
||||
|
||||
@PostMapping("/page")
|
||||
@Operation(summary = "分页查询")
|
||||
public ResponseResult queryPageList(@RequestBody DataSourceRequest request) {
|
||||
Page<SdEqBH> page = service.queryPageList(request);
|
||||
return ResponseResult.successData(page);
|
||||
}
|
||||
|
||||
@PostMapping("/add")
|
||||
@Operation(summary = "新增")
|
||||
public ResponseResult add(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdEqBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdEqBH.class);
|
||||
boolean result = service.add(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("新增成功") : ResponseResult.error("新增失败");
|
||||
}
|
||||
|
||||
@PostMapping("/update")
|
||||
@Operation(summary = "修改")
|
||||
public ResponseResult update(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdEqBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdEqBH.class);
|
||||
boolean result = service.update(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("修改成功") : ResponseResult.error("修改失败");
|
||||
}
|
||||
|
||||
@PostMapping("/delete")
|
||||
@Operation(summary = "删除")
|
||||
public ResponseResult delete(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
boolean result = service.delete(request == null ? null : request.getIds(), request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("删除成功") : ResponseResult.error("删除失败");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,55 @@
|
||||
package com.yfd.platform.qgc_base.controller;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.config.ResponseResult;
|
||||
import com.yfd.platform.qgc_base.domain.SdFbrdBH;
|
||||
import com.yfd.platform.qgc_base.domain.SdEngInfoBHOperateRequest;
|
||||
import com.yfd.platform.qgc_base.service.ISdFbrdBHService;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/base/fbrd")
|
||||
@Tag(name = "鱼类增殖站管理")
|
||||
public class SdFbrdBHController {
|
||||
|
||||
@Resource
|
||||
private ISdFbrdBHService service;
|
||||
|
||||
@Resource
|
||||
private ObjectMapper objectMapper;
|
||||
|
||||
@PostMapping("/page")
|
||||
@Operation(summary = "分页查询")
|
||||
public ResponseResult queryPageList(@RequestBody DataSourceRequest request) {
|
||||
Page<SdFbrdBH> page = service.queryPageList(request);
|
||||
return ResponseResult.successData(page);
|
||||
}
|
||||
|
||||
@PostMapping("/add")
|
||||
@Operation(summary = "新增")
|
||||
public ResponseResult add(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdFbrdBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdFbrdBH.class);
|
||||
boolean result = service.add(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("新增成功") : ResponseResult.error("新增失败");
|
||||
}
|
||||
|
||||
@PostMapping("/update")
|
||||
@Operation(summary = "修改")
|
||||
public ResponseResult update(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdFbrdBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdFbrdBH.class);
|
||||
boolean result = service.update(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("修改成功") : ResponseResult.error("修改失败");
|
||||
}
|
||||
|
||||
@PostMapping("/delete")
|
||||
@Operation(summary = "删除")
|
||||
public ResponseResult delete(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
boolean result = service.delete(request == null ? null : request.getIds(), request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("删除成功") : ResponseResult.error("删除失败");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,55 @@
|
||||
package com.yfd.platform.qgc_base.controller;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.config.ResponseResult;
|
||||
import com.yfd.platform.qgc_base.domain.SdFhbtBH;
|
||||
import com.yfd.platform.qgc_base.domain.SdEngInfoBHOperateRequest;
|
||||
import com.yfd.platform.qgc_base.service.ISdFhbtBHService;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/base/fhbt")
|
||||
@Tag(name = "栖息地保护工程管理")
|
||||
public class SdFhbtBHController {
|
||||
|
||||
@Resource
|
||||
private ISdFhbtBHService service;
|
||||
|
||||
@Resource
|
||||
private ObjectMapper objectMapper;
|
||||
|
||||
@PostMapping("/page")
|
||||
@Operation(summary = "分页查询")
|
||||
public ResponseResult queryPageList(@RequestBody DataSourceRequest request) {
|
||||
Page<SdFhbtBH> page = service.queryPageList(request);
|
||||
return ResponseResult.successData(page);
|
||||
}
|
||||
|
||||
@PostMapping("/add")
|
||||
@Operation(summary = "新增")
|
||||
public ResponseResult add(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdFhbtBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdFhbtBH.class);
|
||||
boolean result = service.add(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("新增成功") : ResponseResult.error("新增失败");
|
||||
}
|
||||
|
||||
@PostMapping("/update")
|
||||
@Operation(summary = "修改")
|
||||
public ResponseResult update(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdFhbtBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdFhbtBH.class);
|
||||
boolean result = service.update(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("修改成功") : ResponseResult.error("修改失败");
|
||||
}
|
||||
|
||||
@PostMapping("/delete")
|
||||
@Operation(summary = "删除")
|
||||
public ResponseResult delete(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
boolean result = service.delete(request == null ? null : request.getIds(), request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("删除成功") : ResponseResult.error("删除失败");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,55 @@
|
||||
package com.yfd.platform.qgc_base.controller;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.config.ResponseResult;
|
||||
import com.yfd.platform.qgc_base.domain.SdOpinfoBH;
|
||||
import com.yfd.platform.qgc_base.domain.SdEngInfoBHOperateRequest;
|
||||
import com.yfd.platform.qgc_base.service.ISdOpinfoBHService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/base/opinfo")
|
||||
@Tag(name = "倾斜摄影管理")
|
||||
public class SdOpinfoBHController {
|
||||
|
||||
@Resource
|
||||
private ISdOpinfoBHService service;
|
||||
|
||||
@Resource
|
||||
private ObjectMapper objectMapper;
|
||||
|
||||
@PostMapping("/page")
|
||||
@Operation(summary = "分页查询")
|
||||
public ResponseResult queryPageList(@RequestBody DataSourceRequest request) {
|
||||
Page<SdOpinfoBH> page = service.queryPageList(request);
|
||||
return ResponseResult.successData(page);
|
||||
}
|
||||
|
||||
@PostMapping("/add")
|
||||
@Operation(summary = "新增")
|
||||
public ResponseResult add(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdOpinfoBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdOpinfoBH.class);
|
||||
boolean result = service.add(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("新增成功") : ResponseResult.error("新增失败");
|
||||
}
|
||||
|
||||
@PostMapping("/update")
|
||||
@Operation(summary = "修改")
|
||||
public ResponseResult update(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdOpinfoBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdOpinfoBH.class);
|
||||
boolean result = service.update(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("修改成功") : ResponseResult.error("修改失败");
|
||||
}
|
||||
|
||||
@PostMapping("/delete")
|
||||
@Operation(summary = "删除")
|
||||
public ResponseResult delete(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
boolean result = service.delete(request == null ? null : request.getIds(), request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("删除成功") : ResponseResult.error("删除失败");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,55 @@
|
||||
package com.yfd.platform.qgc_base.controller;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.config.ResponseResult;
|
||||
import com.yfd.platform.qgc_base.domain.SdOtteBH;
|
||||
import com.yfd.platform.qgc_base.domain.SdEngInfoBHOperateRequest;
|
||||
import com.yfd.platform.qgc_base.service.ISdOtteBHService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/base/otte")
|
||||
@Tag(name = "陆生生态保护工程管理")
|
||||
public class SdOtteBHController {
|
||||
|
||||
@Resource
|
||||
private ISdOtteBHService service;
|
||||
|
||||
@Resource
|
||||
private ObjectMapper objectMapper;
|
||||
|
||||
@PostMapping("/page")
|
||||
@Operation(summary = "分页查询")
|
||||
public ResponseResult queryPageList(@RequestBody DataSourceRequest request) {
|
||||
Page<SdOtteBH> page = service.queryPageList(request);
|
||||
return ResponseResult.successData(page);
|
||||
}
|
||||
|
||||
@PostMapping("/add")
|
||||
@Operation(summary = "新增")
|
||||
public ResponseResult add(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdOtteBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdOtteBH.class);
|
||||
boolean result = service.add(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("新增成功") : ResponseResult.error("新增失败");
|
||||
}
|
||||
|
||||
@PostMapping("/update")
|
||||
@Operation(summary = "修改")
|
||||
public ResponseResult update(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdOtteBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdOtteBH.class);
|
||||
boolean result = service.update(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("修改成功") : ResponseResult.error("修改失败");
|
||||
}
|
||||
|
||||
@PostMapping("/delete")
|
||||
@Operation(summary = "删除")
|
||||
public ResponseResult delete(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
boolean result = service.delete(request == null ? null : request.getIds(), request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("删除成功") : ResponseResult.error("删除失败");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,55 @@
|
||||
package com.yfd.platform.qgc_base.controller;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.config.ResponseResult;
|
||||
import com.yfd.platform.qgc_base.domain.SdOtweBH;
|
||||
import com.yfd.platform.qgc_base.domain.SdEngInfoBHOperateRequest;
|
||||
import com.yfd.platform.qgc_base.service.ISdOtweBHService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/base/otwe")
|
||||
@Tag(name = "水生生态保护工程管理")
|
||||
public class SdOtweBHController {
|
||||
|
||||
@Resource
|
||||
private ISdOtweBHService service;
|
||||
|
||||
@Resource
|
||||
private ObjectMapper objectMapper;
|
||||
|
||||
@PostMapping("/page")
|
||||
@Operation(summary = "分页查询")
|
||||
public ResponseResult queryPageList(@RequestBody DataSourceRequest request) {
|
||||
Page<SdOtweBH> page = service.queryPageList(request);
|
||||
return ResponseResult.successData(page);
|
||||
}
|
||||
|
||||
@PostMapping("/add")
|
||||
@Operation(summary = "新增")
|
||||
public ResponseResult add(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdOtweBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdOtweBH.class);
|
||||
boolean result = service.add(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("新增成功") : ResponseResult.error("新增失败");
|
||||
}
|
||||
|
||||
@PostMapping("/update")
|
||||
@Operation(summary = "修改")
|
||||
public ResponseResult update(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdOtweBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdOtweBH.class);
|
||||
boolean result = service.update(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("修改成功") : ResponseResult.error("修改失败");
|
||||
}
|
||||
|
||||
@PostMapping("/delete")
|
||||
@Operation(summary = "删除")
|
||||
public ResponseResult delete(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
boolean result = service.delete(request == null ? null : request.getIds(), request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("删除成功") : ResponseResult.error("删除失败");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,55 @@
|
||||
package com.yfd.platform.qgc_base.controller;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.config.ResponseResult;
|
||||
import com.yfd.platform.qgc_base.domain.SdSonarBH;
|
||||
import com.yfd.platform.qgc_base.domain.SdEngInfoBHOperateRequest;
|
||||
import com.yfd.platform.qgc_base.service.ISdSonarBHService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/base/sonar")
|
||||
@Tag(name = "声呐及水下摄像管理")
|
||||
public class SdSonarBHController {
|
||||
|
||||
@Resource
|
||||
private ISdSonarBHService service;
|
||||
|
||||
@Resource
|
||||
private ObjectMapper objectMapper;
|
||||
|
||||
@PostMapping("/page")
|
||||
@Operation(summary = "分页查询")
|
||||
public ResponseResult queryPageList(@RequestBody DataSourceRequest request) {
|
||||
Page<SdSonarBH> page = service.queryPageList(request);
|
||||
return ResponseResult.successData(page);
|
||||
}
|
||||
|
||||
@PostMapping("/add")
|
||||
@Operation(summary = "新增")
|
||||
public ResponseResult add(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdSonarBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdSonarBH.class);
|
||||
boolean result = service.add(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("新增成功") : ResponseResult.error("新增失败");
|
||||
}
|
||||
|
||||
@PostMapping("/update")
|
||||
@Operation(summary = "修改")
|
||||
public ResponseResult update(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdSonarBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdSonarBH.class);
|
||||
boolean result = service.update(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("修改成功") : ResponseResult.error("修改失败");
|
||||
}
|
||||
|
||||
@PostMapping("/delete")
|
||||
@Operation(summary = "删除")
|
||||
public ResponseResult delete(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
boolean result = service.delete(request == null ? null : request.getIds(), request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("删除成功") : ResponseResult.error("删除失败");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,55 @@
|
||||
package com.yfd.platform.qgc_base.controller;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.config.ResponseResult;
|
||||
import com.yfd.platform.qgc_base.domain.SdTeBH;
|
||||
import com.yfd.platform.qgc_base.domain.SdEngInfoBHOperateRequest;
|
||||
import com.yfd.platform.qgc_base.service.ISdTeBHService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/base/te")
|
||||
@Tag(name = "陆生生态调查断面管理")
|
||||
public class SdTeBHController {
|
||||
|
||||
@Resource
|
||||
private ISdTeBHService service;
|
||||
|
||||
@Resource
|
||||
private ObjectMapper objectMapper;
|
||||
|
||||
@PostMapping("/page")
|
||||
@Operation(summary = "分页查询")
|
||||
public ResponseResult queryPageList(@RequestBody DataSourceRequest request) {
|
||||
Page<SdTeBH> page = service.queryPageList(request);
|
||||
return ResponseResult.successData(page);
|
||||
}
|
||||
|
||||
@PostMapping("/add")
|
||||
@Operation(summary = "新增")
|
||||
public ResponseResult add(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdTeBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdTeBH.class);
|
||||
boolean result = service.add(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("新增成功") : ResponseResult.error("新增失败");
|
||||
}
|
||||
|
||||
@PostMapping("/update")
|
||||
@Operation(summary = "修改")
|
||||
public ResponseResult update(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdTeBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdTeBH.class);
|
||||
boolean result = service.update(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("修改成功") : ResponseResult.error("修改失败");
|
||||
}
|
||||
|
||||
@PostMapping("/delete")
|
||||
@Operation(summary = "删除")
|
||||
public ResponseResult delete(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
boolean result = service.delete(request == null ? null : request.getIds(), request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("删除成功") : ResponseResult.error("删除失败");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,55 @@
|
||||
package com.yfd.platform.qgc_base.controller;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.config.ResponseResult;
|
||||
import com.yfd.platform.qgc_base.domain.SdVaBH;
|
||||
import com.yfd.platform.qgc_base.domain.SdEngInfoBHOperateRequest;
|
||||
import com.yfd.platform.qgc_base.service.ISdVaBHService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/base/va")
|
||||
@Tag(name = "动物救助站管理")
|
||||
public class SdVaBHController {
|
||||
|
||||
@Resource
|
||||
private ISdVaBHService service;
|
||||
|
||||
@Resource
|
||||
private ObjectMapper objectMapper;
|
||||
|
||||
@PostMapping("/page")
|
||||
@Operation(summary = "分页查询")
|
||||
public ResponseResult queryPageList(@RequestBody DataSourceRequest request) {
|
||||
Page<SdVaBH> page = service.queryPageList(request);
|
||||
return ResponseResult.successData(page);
|
||||
}
|
||||
|
||||
@PostMapping("/add")
|
||||
@Operation(summary = "新增")
|
||||
public ResponseResult add(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdVaBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdVaBH.class);
|
||||
boolean result = service.add(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("新增成功") : ResponseResult.error("新增失败");
|
||||
}
|
||||
|
||||
@PostMapping("/update")
|
||||
@Operation(summary = "修改")
|
||||
public ResponseResult update(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdVaBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdVaBH.class);
|
||||
boolean result = service.update(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("修改成功") : ResponseResult.error("修改失败");
|
||||
}
|
||||
|
||||
@PostMapping("/delete")
|
||||
@Operation(summary = "删除")
|
||||
public ResponseResult delete(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
boolean result = service.delete(request == null ? null : request.getIds(), request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("删除成功") : ResponseResult.error("删除失败");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,55 @@
|
||||
package com.yfd.platform.qgc_base.controller;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.config.ResponseResult;
|
||||
import com.yfd.platform.qgc_base.domain.SdVdinfoB;
|
||||
import com.yfd.platform.qgc_base.domain.SdEngInfoBHOperateRequest;
|
||||
import com.yfd.platform.qgc_base.service.ISdVdinfoBService;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/base/vdinfo")
|
||||
@Tag(name = "视频站管理")
|
||||
public class SdVdinfoBController {
|
||||
|
||||
@Resource
|
||||
private ISdVdinfoBService service;
|
||||
|
||||
@Resource
|
||||
private ObjectMapper objectMapper;
|
||||
|
||||
@PostMapping("/page")
|
||||
@Operation(summary = "分页查询")
|
||||
public ResponseResult queryPageList(@RequestBody DataSourceRequest request) {
|
||||
Page<SdVdinfoB> page = service.queryPageList(request);
|
||||
return ResponseResult.successData(page);
|
||||
}
|
||||
|
||||
@PostMapping("/add")
|
||||
@Operation(summary = "新增")
|
||||
public ResponseResult add(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdVdinfoB entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdVdinfoB.class);
|
||||
boolean result = service.add(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("新增成功") : ResponseResult.error("新增失败");
|
||||
}
|
||||
|
||||
@PostMapping("/update")
|
||||
@Operation(summary = "修改")
|
||||
public ResponseResult update(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdVdinfoB entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdVdinfoB.class);
|
||||
boolean result = service.update(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("修改成功") : ResponseResult.error("修改失败");
|
||||
}
|
||||
|
||||
@PostMapping("/delete")
|
||||
@Operation(summary = "删除")
|
||||
public ResponseResult delete(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
boolean result = service.delete(request == null ? null : request.getIds(), request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("删除成功") : ResponseResult.error("删除失败");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,55 @@
|
||||
package com.yfd.platform.qgc_base.controller;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.config.ResponseResult;
|
||||
import com.yfd.platform.qgc_base.domain.SdVpBH;
|
||||
import com.yfd.platform.qgc_base.domain.SdEngInfoBHOperateRequest;
|
||||
import com.yfd.platform.qgc_base.service.ISdVpBHService;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/base/vp")
|
||||
@Tag(name = "珍稀植物保护工程管理")
|
||||
public class SdVpBHController {
|
||||
|
||||
@Resource
|
||||
private ISdVpBHService service;
|
||||
|
||||
@Resource
|
||||
private ObjectMapper objectMapper;
|
||||
|
||||
@PostMapping("/page")
|
||||
@Operation(summary = "分页查询")
|
||||
public ResponseResult queryPageList(@RequestBody DataSourceRequest request) {
|
||||
Page<SdVpBH> page = service.queryPageList(request);
|
||||
return ResponseResult.successData(page);
|
||||
}
|
||||
|
||||
@PostMapping("/add")
|
||||
@Operation(summary = "新增")
|
||||
public ResponseResult add(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdVpBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdVpBH.class);
|
||||
boolean result = service.add(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("新增成功") : ResponseResult.error("新增失败");
|
||||
}
|
||||
|
||||
@PostMapping("/update")
|
||||
@Operation(summary = "修改")
|
||||
public ResponseResult update(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdVpBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdVpBH.class);
|
||||
boolean result = service.update(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("修改成功") : ResponseResult.error("修改失败");
|
||||
}
|
||||
|
||||
@PostMapping("/delete")
|
||||
@Operation(summary = "删除")
|
||||
public ResponseResult delete(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
boolean result = service.delete(request == null ? null : request.getIds(), request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("删除成功") : ResponseResult.error("删除失败");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,55 @@
|
||||
package com.yfd.platform.qgc_base.controller;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.config.ResponseResult;
|
||||
import com.yfd.platform.qgc_base.domain.SdWeBH;
|
||||
import com.yfd.platform.qgc_base.domain.SdEngInfoBHOperateRequest;
|
||||
import com.yfd.platform.qgc_base.service.ISdWeBHService;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/base/we")
|
||||
@Tag(name = "水生生态调查断面管理")
|
||||
public class SdWeBHController {
|
||||
|
||||
@Resource
|
||||
private ISdWeBHService service;
|
||||
|
||||
@Resource
|
||||
private ObjectMapper objectMapper;
|
||||
|
||||
@PostMapping("/page")
|
||||
@Operation(summary = "分页查询")
|
||||
public ResponseResult queryPageList(@RequestBody DataSourceRequest request) {
|
||||
Page<SdWeBH> page = service.queryPageList(request);
|
||||
return ResponseResult.successData(page);
|
||||
}
|
||||
|
||||
@PostMapping("/add")
|
||||
@Operation(summary = "新增")
|
||||
public ResponseResult add(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdWeBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdWeBH.class);
|
||||
boolean result = service.add(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("新增成功") : ResponseResult.error("新增失败");
|
||||
}
|
||||
|
||||
@PostMapping("/update")
|
||||
@Operation(summary = "修改")
|
||||
public ResponseResult update(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdWeBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdWeBH.class);
|
||||
boolean result = service.update(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("修改成功") : ResponseResult.error("修改失败");
|
||||
}
|
||||
|
||||
@PostMapping("/delete")
|
||||
@Operation(summary = "删除")
|
||||
public ResponseResult delete(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
boolean result = service.delete(request == null ? null : request.getIds(), request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("删除成功") : ResponseResult.error("删除失败");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,55 @@
|
||||
package com.yfd.platform.qgc_base.controller;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.config.ResponseResult;
|
||||
import com.yfd.platform.qgc_base.domain.SdWqBH;
|
||||
import com.yfd.platform.qgc_base.domain.SdEngInfoBHOperateRequest;
|
||||
import com.yfd.platform.qgc_base.service.ISdWqBHService;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/base/wq")
|
||||
@Tag(name = "水质站管理")
|
||||
public class SdWqBHController {
|
||||
|
||||
@Resource
|
||||
private ISdWqBHService service;
|
||||
|
||||
@Resource
|
||||
private ObjectMapper objectMapper;
|
||||
|
||||
@PostMapping("/page")
|
||||
@Operation(summary = "分页查询")
|
||||
public ResponseResult queryPageList(@RequestBody DataSourceRequest request) {
|
||||
Page<SdWqBH> page = service.queryPageList(request);
|
||||
return ResponseResult.successData(page);
|
||||
}
|
||||
|
||||
@PostMapping("/add")
|
||||
@Operation(summary = "新增")
|
||||
public ResponseResult add(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdWqBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdWqBH.class);
|
||||
boolean result = service.add(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("新增成功") : ResponseResult.error("新增失败");
|
||||
}
|
||||
|
||||
@PostMapping("/update")
|
||||
@Operation(summary = "修改")
|
||||
public ResponseResult update(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdWqBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdWqBH.class);
|
||||
boolean result = service.update(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("修改成功") : ResponseResult.error("修改失败");
|
||||
}
|
||||
|
||||
@PostMapping("/delete")
|
||||
@Operation(summary = "删除")
|
||||
public ResponseResult delete(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
boolean result = service.delete(request == null ? null : request.getIds(), request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("删除成功") : ResponseResult.error("删除失败");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,55 @@
|
||||
package com.yfd.platform.qgc_base.controller;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.config.ResponseResult;
|
||||
import com.yfd.platform.qgc_base.domain.SdWtBH;
|
||||
import com.yfd.platform.qgc_base.domain.SdEngInfoBHOperateRequest;
|
||||
import com.yfd.platform.qgc_base.service.ISdWtBHService;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/base/wt")
|
||||
@Tag(name = "水温站管理")
|
||||
public class SdWtBHController {
|
||||
|
||||
@Resource
|
||||
private ISdWtBHService service;
|
||||
|
||||
@Resource
|
||||
private ObjectMapper objectMapper;
|
||||
|
||||
@PostMapping("/page")
|
||||
@Operation(summary = "分页查询")
|
||||
public ResponseResult queryPageList(@RequestBody DataSourceRequest request) {
|
||||
Page<SdWtBH> page = service.queryPageList(request);
|
||||
return ResponseResult.successData(page);
|
||||
}
|
||||
|
||||
@PostMapping("/add")
|
||||
@Operation(summary = "新增")
|
||||
public ResponseResult add(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdWtBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdWtBH.class);
|
||||
boolean result = service.add(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("新增成功") : ResponseResult.error("新增失败");
|
||||
}
|
||||
|
||||
@PostMapping("/update")
|
||||
@Operation(summary = "修改")
|
||||
public ResponseResult update(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
SdWtBH entity = request == null || request.getEngInfo() == null ? null : objectMapper.convertValue(request.getEngInfo(), SdWtBH.class);
|
||||
boolean result = service.update(entity, request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("修改成功") : ResponseResult.error("修改失败");
|
||||
}
|
||||
|
||||
@PostMapping("/delete")
|
||||
@Operation(summary = "删除")
|
||||
public ResponseResult delete(@RequestBody SdEngInfoBHOperateRequest request) {
|
||||
boolean result = service.delete(request == null ? null : request.getIds(), request == null ? null : request.getSource());
|
||||
return result ? ResponseResult.success("删除成功") : ResponseResult.error("删除失败");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,247 @@
|
||||
package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* AI边缘计算盒子基本属性表
|
||||
* </p>
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@TableName("SD_AIBOX_B_H")
|
||||
public class SdAiboxBH implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 测站编码
|
||||
*/
|
||||
@TableId(type = IdType.INPUT)
|
||||
private String stcd;
|
||||
|
||||
/**
|
||||
* 测站名称
|
||||
*/
|
||||
private String stnm;
|
||||
|
||||
/**
|
||||
* 测站类型
|
||||
*/
|
||||
private String sttp;
|
||||
|
||||
/**
|
||||
* 数据时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date tm;
|
||||
|
||||
/**
|
||||
* 位置经度
|
||||
*/
|
||||
private BigDecimal lgtd;
|
||||
|
||||
/**
|
||||
* 位置纬度
|
||||
*/
|
||||
private BigDecimal lttd;
|
||||
|
||||
/**
|
||||
* 高程
|
||||
*/
|
||||
private BigDecimal elev;
|
||||
|
||||
/**
|
||||
* 站址
|
||||
*/
|
||||
private String stlc;
|
||||
|
||||
/**
|
||||
* 建成日期
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date jcdt;
|
||||
|
||||
/**
|
||||
* 退役/拆除日期
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date wddt;
|
||||
|
||||
/**
|
||||
* 建设状态代码
|
||||
*/
|
||||
private Integer bldsttCode;
|
||||
|
||||
/**
|
||||
* 是否启用
|
||||
*/
|
||||
private Integer usfl;
|
||||
|
||||
/**
|
||||
* 数据是否接入
|
||||
*/
|
||||
private Integer dtin;
|
||||
|
||||
/**
|
||||
* 数据接入时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date dtinTm;
|
||||
|
||||
/**
|
||||
* 监测方式
|
||||
*/
|
||||
private Integer mway;
|
||||
|
||||
/**
|
||||
* 站索引
|
||||
*/
|
||||
private String stindx;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
private Integer orderIndex;
|
||||
|
||||
/**
|
||||
* 关联测站编码
|
||||
*/
|
||||
private String rstcd;
|
||||
|
||||
/**
|
||||
* 所属基地编码
|
||||
*/
|
||||
private String baseId;
|
||||
|
||||
/**
|
||||
* 所属基地流域编码
|
||||
*/
|
||||
private String hbrvcd;
|
||||
|
||||
/**
|
||||
* 所属流域代码
|
||||
*/
|
||||
private String rvcd;
|
||||
|
||||
/**
|
||||
* 简介
|
||||
*/
|
||||
private String introduce;
|
||||
|
||||
/**
|
||||
* LOGO
|
||||
*/
|
||||
private String logo;
|
||||
|
||||
/**
|
||||
* 介绍文件
|
||||
*/
|
||||
private String inffile;
|
||||
|
||||
/**
|
||||
* 服务对象
|
||||
*/
|
||||
private String fwdx;
|
||||
|
||||
/**
|
||||
* 供电方式
|
||||
*/
|
||||
private String gdfs;
|
||||
|
||||
/**
|
||||
* AI配置
|
||||
*/
|
||||
private String aipz;
|
||||
|
||||
/**
|
||||
* 模型版本
|
||||
*/
|
||||
private String mxbb;
|
||||
|
||||
/**
|
||||
* IP地址
|
||||
*/
|
||||
private String ipaddr;
|
||||
|
||||
/**
|
||||
* SIM卡信息
|
||||
*/
|
||||
private String siminfo;
|
||||
|
||||
/**
|
||||
* 联系人
|
||||
*/
|
||||
private String lxr;
|
||||
|
||||
/**
|
||||
* 用途
|
||||
*/
|
||||
private String purpose;
|
||||
|
||||
/**
|
||||
* 数据频率
|
||||
*/
|
||||
private String dtfrqcy;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 植被覆盖类型
|
||||
*/
|
||||
private BigDecimal vlsr;
|
||||
|
||||
/**
|
||||
* 植被覆盖调查时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date vlsrTm;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
private String recordUser;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date recordTime;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
private String modifyUser;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date modifyTime;
|
||||
|
||||
/**
|
||||
* 是否已删除
|
||||
*/
|
||||
private Integer isDeleted;
|
||||
|
||||
/**
|
||||
* 删除人
|
||||
*/
|
||||
private String deleteUser;
|
||||
|
||||
/**
|
||||
* 删除时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date deleteTime;
|
||||
}
|
||||
@ -0,0 +1,223 @@
|
||||
package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 人工产卵场工程信息表
|
||||
* </p>
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@TableName("SD_ARTSG_B_H")
|
||||
public class SdArtsgBH implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 测站编码
|
||||
*/
|
||||
@TableId(type = IdType.INPUT)
|
||||
private String stcd;
|
||||
|
||||
/**
|
||||
* 测站名称
|
||||
*/
|
||||
private String stnm;
|
||||
|
||||
/**
|
||||
* 测站类型
|
||||
*/
|
||||
private String sttp;
|
||||
|
||||
/**
|
||||
* 数据时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date tm;
|
||||
|
||||
/**
|
||||
* 位置经度
|
||||
*/
|
||||
private BigDecimal lgtd;
|
||||
|
||||
/**
|
||||
* 位置纬度
|
||||
*/
|
||||
private BigDecimal lttd;
|
||||
|
||||
/**
|
||||
* 高程
|
||||
*/
|
||||
private BigDecimal elev;
|
||||
|
||||
/**
|
||||
* 站址
|
||||
*/
|
||||
private String stlc;
|
||||
|
||||
/**
|
||||
* 是否启用
|
||||
*/
|
||||
private Integer usfl;
|
||||
|
||||
/**
|
||||
* 数据是否接入
|
||||
*/
|
||||
private Integer dtin;
|
||||
|
||||
/**
|
||||
* 数据接入时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date dtinTm;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
private Integer orderIndex;
|
||||
|
||||
/**
|
||||
* 关联测站编码
|
||||
*/
|
||||
private String rstcd;
|
||||
|
||||
/**
|
||||
* 所属基地编码
|
||||
*/
|
||||
private String baseId;
|
||||
|
||||
/**
|
||||
* 所属基地流域编码
|
||||
*/
|
||||
private String hbrvcd;
|
||||
|
||||
/**
|
||||
* 所属流域代码
|
||||
*/
|
||||
private String rvcd;
|
||||
|
||||
/**
|
||||
* 所属行政区编码
|
||||
*/
|
||||
private String addvcd;
|
||||
|
||||
/**
|
||||
* 规划设计日期
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date stdsdt;
|
||||
|
||||
/**
|
||||
* 计划开工日期
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date pststdt;
|
||||
|
||||
/**
|
||||
* 计划完工日期
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date pesstdt;
|
||||
|
||||
/**
|
||||
* 开工日期
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date swdt;
|
||||
|
||||
/**
|
||||
* 建成日期
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date jcdt;
|
||||
|
||||
/**
|
||||
* 退役/拆除日期
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date wddt;
|
||||
|
||||
/**
|
||||
* 建设状态代码
|
||||
*/
|
||||
private Integer bldsttCode;
|
||||
|
||||
/**
|
||||
* 简介
|
||||
*/
|
||||
private String introduce;
|
||||
|
||||
/**
|
||||
* LOGO
|
||||
*/
|
||||
private String logo;
|
||||
|
||||
/**
|
||||
* 介绍文件
|
||||
*/
|
||||
private String inffile;
|
||||
|
||||
/**
|
||||
* 投资
|
||||
*/
|
||||
private BigDecimal inv;
|
||||
|
||||
/**
|
||||
* 投资金额
|
||||
*/
|
||||
private Integer invinmn;
|
||||
|
||||
/**
|
||||
* 保护措施
|
||||
*/
|
||||
private String prtcts;
|
||||
|
||||
/**
|
||||
* 数量
|
||||
*/
|
||||
private Integer cnt;
|
||||
|
||||
/**
|
||||
* 面积
|
||||
*/
|
||||
private BigDecimal ar;
|
||||
|
||||
/**
|
||||
* 类型
|
||||
*/
|
||||
private String tp;
|
||||
|
||||
/**
|
||||
* 附件
|
||||
*/
|
||||
private String attm;
|
||||
|
||||
/**
|
||||
* 数据频率
|
||||
*/
|
||||
private String dtfrqcy;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 植被覆盖类型
|
||||
*/
|
||||
private BigDecimal vlsr;
|
||||
|
||||
/**
|
||||
* 植被覆盖调查时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date vlsrTm;
|
||||
}
|
||||
@ -0,0 +1,346 @@
|
||||
package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 低温水减缓设施信息表
|
||||
* </p>
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@TableName("SD_DW_B_H")
|
||||
public class SdDwBH implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 测站编码
|
||||
*/
|
||||
@TableId(type = IdType.INPUT)
|
||||
private String stcd;
|
||||
|
||||
/**
|
||||
* 数据时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date tm;
|
||||
|
||||
/**
|
||||
* 测站名称
|
||||
*/
|
||||
private String stnm;
|
||||
|
||||
/**
|
||||
* 测站类型
|
||||
*/
|
||||
private String sttp;
|
||||
|
||||
/**
|
||||
* 位置经度
|
||||
*/
|
||||
private BigDecimal lgtd;
|
||||
|
||||
/**
|
||||
* 位置纬度
|
||||
*/
|
||||
private BigDecimal lttd;
|
||||
|
||||
/**
|
||||
* 高程
|
||||
*/
|
||||
private BigDecimal elev;
|
||||
|
||||
/**
|
||||
* 站址
|
||||
*/
|
||||
private String stlc;
|
||||
|
||||
/**
|
||||
* 是否启用
|
||||
*/
|
||||
private Integer usfl;
|
||||
|
||||
/**
|
||||
* 数据是否接入
|
||||
*/
|
||||
private Integer dtin;
|
||||
|
||||
/**
|
||||
* 数据接入时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date dtinTm;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
private Integer orderIndex;
|
||||
|
||||
/**
|
||||
* 所属基地编码
|
||||
*/
|
||||
private String baseId;
|
||||
|
||||
/**
|
||||
* 所属基地流域编码
|
||||
*/
|
||||
private String hbrvcd;
|
||||
|
||||
/**
|
||||
* 关联测站编码
|
||||
*/
|
||||
private String rstcd;
|
||||
|
||||
/**
|
||||
* 规划设计日期
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date stdsdt;
|
||||
|
||||
/**
|
||||
* 计划开工日期
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date pststdt;
|
||||
|
||||
/**
|
||||
* 计划完工日期
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date pesstdt;
|
||||
|
||||
/**
|
||||
* 开工日期
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date swdt;
|
||||
|
||||
/**
|
||||
* 建成日期
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date jcdt;
|
||||
|
||||
/**
|
||||
* 退役/拆除日期
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date wddt;
|
||||
|
||||
/**
|
||||
* 建设状态代码
|
||||
*/
|
||||
private Integer bldsttCode;
|
||||
|
||||
/**
|
||||
* 简介
|
||||
*/
|
||||
private String introduce;
|
||||
|
||||
/**
|
||||
* LOGO
|
||||
*/
|
||||
private String logo;
|
||||
|
||||
/**
|
||||
* 介绍文件
|
||||
*/
|
||||
private String inffile;
|
||||
|
||||
/**
|
||||
* 投资
|
||||
*/
|
||||
private BigDecimal inv;
|
||||
|
||||
/**
|
||||
* 投资金额
|
||||
*/
|
||||
private Integer invinmn;
|
||||
|
||||
/**
|
||||
* 调度方式
|
||||
*/
|
||||
private Integer dispatch;
|
||||
|
||||
/**
|
||||
* 调度描述
|
||||
*/
|
||||
private String dispatchDes;
|
||||
|
||||
/**
|
||||
* 调度文件
|
||||
*/
|
||||
private String dispatchFile;
|
||||
|
||||
/**
|
||||
* 叠梁门层数高度
|
||||
*/
|
||||
private BigDecimal dcshg;
|
||||
|
||||
/**
|
||||
* 叠梁门单层取水口个数
|
||||
*/
|
||||
private BigDecimal dcsqskgs;
|
||||
|
||||
/**
|
||||
* 叠梁门层数
|
||||
*/
|
||||
private Integer dlmcnt;
|
||||
|
||||
/**
|
||||
* 叠梁门高度
|
||||
*/
|
||||
private BigDecimal dlmhg;
|
||||
|
||||
/**
|
||||
* 叠梁门底部高程
|
||||
*/
|
||||
private BigDecimal dlmdbgc;
|
||||
|
||||
/**
|
||||
* 叠梁门最大温度梯度
|
||||
*/
|
||||
private BigDecimal dlmmxwdp;
|
||||
|
||||
/**
|
||||
* 梯级电站台数
|
||||
*/
|
||||
private Integer ttscnt;
|
||||
|
||||
/**
|
||||
* 梯级电站高度
|
||||
*/
|
||||
private BigDecimal ttshg;
|
||||
|
||||
/**
|
||||
* 梯级电站最低死水位
|
||||
*/
|
||||
private BigDecimal ttszdss;
|
||||
|
||||
/**
|
||||
* 取水口段结构
|
||||
*/
|
||||
private String qzdqjg;
|
||||
|
||||
/**
|
||||
* 取水口段高度
|
||||
*/
|
||||
private BigDecimal qzdqhg;
|
||||
|
||||
/**
|
||||
* 隔水幕墙长度
|
||||
*/
|
||||
private BigDecimal gsmqcd;
|
||||
|
||||
/**
|
||||
* 隔水幕墙宽度
|
||||
*/
|
||||
private BigDecimal gsmqkd;
|
||||
|
||||
/**
|
||||
* 隔水幕墙材料
|
||||
*/
|
||||
private BigDecimal gsmqcl;
|
||||
|
||||
/**
|
||||
* 其他设施具体型式
|
||||
*/
|
||||
private String qtssjbtx;
|
||||
|
||||
/**
|
||||
* 天然河流平均水温
|
||||
*/
|
||||
private BigDecimal nravwt;
|
||||
|
||||
/**
|
||||
* 天然河流最高温月份多年平均水温
|
||||
*/
|
||||
private BigDecimal nrmxavwt;
|
||||
|
||||
/**
|
||||
* 天然河流最低温月份多年平均水温
|
||||
*/
|
||||
private BigDecimal nrmnavwt;
|
||||
|
||||
/**
|
||||
* 建成后坝下平均水温
|
||||
*/
|
||||
private BigDecimal dnavwt;
|
||||
|
||||
/**
|
||||
* 建成后坝下最高温月份多年平均水温
|
||||
*/
|
||||
private BigDecimal dnmxavwt;
|
||||
|
||||
/**
|
||||
* 建成后坝下最低温月份多年平均水温
|
||||
*/
|
||||
private BigDecimal dnmnavwt;
|
||||
|
||||
/**
|
||||
* 数据频率
|
||||
*/
|
||||
private String dtfrqcy;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 植被覆盖类型
|
||||
*/
|
||||
private BigDecimal vlsr;
|
||||
|
||||
/**
|
||||
* 植被覆盖调查时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date vlsrTm;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
private String recordUser;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date recordTime;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
private String modifyUser;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date modifyTime;
|
||||
|
||||
/**
|
||||
* 是否已删除
|
||||
*/
|
||||
private Integer isDeleted;
|
||||
|
||||
/**
|
||||
* 删除人
|
||||
*/
|
||||
private String deleteUser;
|
||||
|
||||
/**
|
||||
* 删除时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date deleteTime;
|
||||
}
|
||||
@ -0,0 +1,301 @@
|
||||
package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 生态流量泄放设施信息表
|
||||
* </p>
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@TableName("SD_EQ_B_H")
|
||||
public class SdEqBH implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 测站编码
|
||||
*/
|
||||
@TableId(type = IdType.INPUT)
|
||||
private String stcd;
|
||||
|
||||
/**
|
||||
* 测站名称
|
||||
*/
|
||||
private String stnm;
|
||||
|
||||
/**
|
||||
* 数据时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date tm;
|
||||
|
||||
/**
|
||||
* 测站类型
|
||||
*/
|
||||
private String sttp;
|
||||
|
||||
/**
|
||||
* 所属建设阶段
|
||||
*/
|
||||
private Integer blprd;
|
||||
|
||||
/**
|
||||
* 位置经度
|
||||
*/
|
||||
private BigDecimal lgtd;
|
||||
|
||||
/**
|
||||
* 位置纬度
|
||||
*/
|
||||
private BigDecimal lttd;
|
||||
|
||||
/**
|
||||
* 高程
|
||||
*/
|
||||
private BigDecimal elev;
|
||||
|
||||
/**
|
||||
* 站址
|
||||
*/
|
||||
private String stlc;
|
||||
|
||||
/**
|
||||
* 是否启用
|
||||
*/
|
||||
private Integer usfl;
|
||||
|
||||
/**
|
||||
* 数据是否接入
|
||||
*/
|
||||
private Integer dtin;
|
||||
|
||||
/**
|
||||
* 数据接入时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date dtinTm;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
private Integer orderIndex;
|
||||
|
||||
/**
|
||||
* 关联测站编码
|
||||
*/
|
||||
private String rstcd;
|
||||
|
||||
/**
|
||||
* 所属基地编码
|
||||
*/
|
||||
private String baseId;
|
||||
|
||||
/**
|
||||
* 所属基地流域编码
|
||||
*/
|
||||
private String hbrvcd;
|
||||
|
||||
/**
|
||||
* 规划设计日期
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date stdsdt;
|
||||
|
||||
/**
|
||||
* 计划开工日期
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date pststdt;
|
||||
|
||||
/**
|
||||
* 计划完工日期
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date pesstdt;
|
||||
|
||||
/**
|
||||
* 开工日期
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date swdt;
|
||||
|
||||
/**
|
||||
* 建成日期
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date jcdt;
|
||||
|
||||
/**
|
||||
* 退役/拆除日期
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date wddt;
|
||||
|
||||
/**
|
||||
* 建设状态代码
|
||||
*/
|
||||
private Integer bldsttCode;
|
||||
|
||||
/**
|
||||
* 简介
|
||||
*/
|
||||
private String introduce;
|
||||
|
||||
/**
|
||||
* LOGO
|
||||
*/
|
||||
private String logo;
|
||||
|
||||
/**
|
||||
* 介绍文件
|
||||
*/
|
||||
private String inffile;
|
||||
|
||||
/**
|
||||
* 投资
|
||||
*/
|
||||
private BigDecimal inv;
|
||||
|
||||
/**
|
||||
* 投资金额
|
||||
*/
|
||||
private Integer invinmn;
|
||||
|
||||
/**
|
||||
* 泄放孔结构
|
||||
*/
|
||||
private String flkjg;
|
||||
|
||||
/**
|
||||
* 泄放孔尺寸
|
||||
*/
|
||||
private String flksz;
|
||||
|
||||
/**
|
||||
* 单独泄放管渠
|
||||
*/
|
||||
private String ddzgq;
|
||||
|
||||
/**
|
||||
* 泄放孔口
|
||||
*/
|
||||
private String flkq;
|
||||
|
||||
/**
|
||||
* 进水口底板高程
|
||||
*/
|
||||
private BigDecimal jskdbgc;
|
||||
|
||||
/**
|
||||
* 出水口底板高程
|
||||
*/
|
||||
private BigDecimal cskdbgc;
|
||||
|
||||
/**
|
||||
* 检修放空管道
|
||||
*/
|
||||
private String jhfdgk;
|
||||
|
||||
/**
|
||||
* 泄放流量
|
||||
*/
|
||||
private BigDecimal fdll;
|
||||
|
||||
/**
|
||||
* 生态机组装机容量
|
||||
*/
|
||||
private BigDecimal stjzzjrl;
|
||||
|
||||
/**
|
||||
* 生态机组引水渠道
|
||||
*/
|
||||
private BigDecimal stjzysq;
|
||||
|
||||
/**
|
||||
* 数据频率
|
||||
*/
|
||||
private String dtfrqcy;
|
||||
|
||||
/**
|
||||
* 评估方法
|
||||
*/
|
||||
private String assessMethod;
|
||||
|
||||
/**
|
||||
* 是否计算器
|
||||
*/
|
||||
private Integer isJsq;
|
||||
|
||||
/**
|
||||
* 是否流量
|
||||
*/
|
||||
private String isFlow;
|
||||
|
||||
/**
|
||||
* 最小流量
|
||||
*/
|
||||
private BigDecimal minFlow;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 植被覆盖类型
|
||||
*/
|
||||
private BigDecimal vlsr;
|
||||
|
||||
/**
|
||||
* 植被覆盖调查时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date vlsrTm;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
private String recordUser;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date recordTime;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
private String modifyUser;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date modifyTime;
|
||||
|
||||
/**
|
||||
* 是否已删除
|
||||
*/
|
||||
private Integer isDeleted;
|
||||
|
||||
/**
|
||||
* 删除人
|
||||
*/
|
||||
private String deleteUser;
|
||||
|
||||
/**
|
||||
* 删除时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date deleteTime;
|
||||
}
|
||||
@ -0,0 +1,254 @@
|
||||
package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 鱼类增殖设施保护工程信息表
|
||||
* </p>
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@TableName("SD_FBRD_B_H")
|
||||
public class SdFbrdBH implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 测站编码
|
||||
*/
|
||||
@TableId(type = IdType.INPUT)
|
||||
private String stcd;
|
||||
|
||||
/**
|
||||
* 测站名称
|
||||
*/
|
||||
private String stnm;
|
||||
|
||||
/**
|
||||
* 测站类型
|
||||
*/
|
||||
private String sttp;
|
||||
|
||||
/**
|
||||
* 数据时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date tm;
|
||||
|
||||
/**
|
||||
* 所属建设阶段
|
||||
*/
|
||||
private Integer blprd;
|
||||
|
||||
/**
|
||||
* 位置经度
|
||||
*/
|
||||
private BigDecimal lgtd;
|
||||
|
||||
/**
|
||||
* 位置纬度
|
||||
*/
|
||||
private BigDecimal lttd;
|
||||
|
||||
/**
|
||||
* 高程
|
||||
*/
|
||||
private BigDecimal elev;
|
||||
|
||||
/**
|
||||
* 站址
|
||||
*/
|
||||
private String stlc;
|
||||
|
||||
/**
|
||||
* 是否启用
|
||||
*/
|
||||
private Integer usfl;
|
||||
|
||||
/**
|
||||
* 数据是否接入
|
||||
*/
|
||||
private Integer dtin;
|
||||
|
||||
/**
|
||||
* 数据接入时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date dtinTm;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
private Integer orderIndex;
|
||||
|
||||
/**
|
||||
* 关联测站编码
|
||||
*/
|
||||
private String rstcd;
|
||||
|
||||
/**
|
||||
* 所属基地编码
|
||||
*/
|
||||
private String baseId;
|
||||
|
||||
/**
|
||||
* 所属基地流域编码
|
||||
*/
|
||||
private String hbrvcd;
|
||||
|
||||
/**
|
||||
* 环评单位
|
||||
*/
|
||||
private String rengcd;
|
||||
|
||||
/**
|
||||
* 规划设计日期
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date stdsdt;
|
||||
|
||||
/**
|
||||
* 计划开工日期
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date pststdt;
|
||||
|
||||
/**
|
||||
* 计划完工日期
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date pesstdt;
|
||||
|
||||
/**
|
||||
* 开工日期
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date swdt;
|
||||
|
||||
/**
|
||||
* 建成日期
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date jcdt;
|
||||
|
||||
/**
|
||||
* 退役/拆除日期
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date wddt;
|
||||
|
||||
/**
|
||||
* 建设状态代码
|
||||
*/
|
||||
private Integer bldsttCode;
|
||||
|
||||
/**
|
||||
* 简介
|
||||
*/
|
||||
private String introduce;
|
||||
|
||||
/**
|
||||
* LOGO
|
||||
*/
|
||||
private String logo;
|
||||
|
||||
/**
|
||||
* 介绍文件
|
||||
*/
|
||||
private String inffile;
|
||||
|
||||
/**
|
||||
* 投资
|
||||
*/
|
||||
private BigDecimal inv;
|
||||
|
||||
/**
|
||||
* 投资金额
|
||||
*/
|
||||
private Integer invinmn;
|
||||
|
||||
/**
|
||||
* 增殖放流面积
|
||||
*/
|
||||
private BigDecimal zzflar;
|
||||
|
||||
/**
|
||||
* 增殖放流工艺
|
||||
*/
|
||||
private BigDecimal zzflgy;
|
||||
|
||||
/**
|
||||
* 增殖放流鱼种描述
|
||||
*/
|
||||
private String zzflyzms;
|
||||
|
||||
/**
|
||||
* 增殖放流标记方式
|
||||
*/
|
||||
private String zzflbjfs;
|
||||
|
||||
/**
|
||||
* 增殖放流对象
|
||||
*/
|
||||
private String zzfldx;
|
||||
|
||||
/**
|
||||
* 增殖放流数量
|
||||
*/
|
||||
private Integer zzflcnt;
|
||||
|
||||
/**
|
||||
* 增殖放流放流流程
|
||||
*/
|
||||
private String zzflfllc;
|
||||
|
||||
/**
|
||||
* 增殖放流时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date zzfltm;
|
||||
|
||||
/**
|
||||
* 增殖放流任务
|
||||
*/
|
||||
private String zzflrw;
|
||||
|
||||
/**
|
||||
* 设计单位
|
||||
*/
|
||||
private String dsun;
|
||||
|
||||
/**
|
||||
* 基本特性参数
|
||||
*/
|
||||
private String jbtxcs;
|
||||
|
||||
/**
|
||||
* 数据频率
|
||||
*/
|
||||
private String dtfrqcy;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 植被覆盖类型
|
||||
*/
|
||||
private BigDecimal vlsr;
|
||||
|
||||
/**
|
||||
* 植被覆盖调查时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date vlsrTm;
|
||||
}
|
||||
@ -0,0 +1,260 @@
|
||||
package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 栖息地保护工程信息表
|
||||
* </p>
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@TableName("SD_FHBT_B_H")
|
||||
public class SdFhbtBH implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 测站编码
|
||||
*/
|
||||
@TableId(type = IdType.INPUT)
|
||||
private String stcd;
|
||||
|
||||
/**
|
||||
* 测站名称
|
||||
*/
|
||||
private String stnm;
|
||||
|
||||
/**
|
||||
* 数据时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date tm;
|
||||
|
||||
/**
|
||||
* 所属建设阶段
|
||||
*/
|
||||
private Integer blprd;
|
||||
|
||||
/**
|
||||
* 位置经度
|
||||
*/
|
||||
private BigDecimal lgtd;
|
||||
|
||||
/**
|
||||
* 位置纬度
|
||||
*/
|
||||
private BigDecimal lttd;
|
||||
|
||||
/**
|
||||
* 高程
|
||||
*/
|
||||
private BigDecimal elev;
|
||||
|
||||
/**
|
||||
* 站址
|
||||
*/
|
||||
private String stlc;
|
||||
|
||||
/**
|
||||
* 是否启用
|
||||
*/
|
||||
private Integer usfl;
|
||||
|
||||
/**
|
||||
* 数据是否接入
|
||||
*/
|
||||
private Integer dtin;
|
||||
|
||||
/**
|
||||
* 数据接入时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date dtinTm;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
private Integer orderIndex;
|
||||
|
||||
/**
|
||||
* 关联测站编码
|
||||
*/
|
||||
private String rstcd;
|
||||
|
||||
/**
|
||||
* 所属基地编码
|
||||
*/
|
||||
private String baseId;
|
||||
|
||||
/**
|
||||
* 所属基地流域编码
|
||||
*/
|
||||
private String hbrvcd;
|
||||
|
||||
/**
|
||||
* 所属流域代码
|
||||
*/
|
||||
private String rvcd;
|
||||
|
||||
/**
|
||||
* 所属行政区编码
|
||||
*/
|
||||
private String addvcd;
|
||||
|
||||
/**
|
||||
* 河段描述
|
||||
*/
|
||||
private String reachdes;
|
||||
|
||||
/**
|
||||
* 经度纬度列表
|
||||
*/
|
||||
private String lglttd;
|
||||
|
||||
/**
|
||||
* 简介
|
||||
*/
|
||||
private String introduce;
|
||||
|
||||
/**
|
||||
* LOGO
|
||||
*/
|
||||
private String logo;
|
||||
|
||||
/**
|
||||
* 介绍文件
|
||||
*/
|
||||
private String inffile;
|
||||
|
||||
/**
|
||||
* 投资
|
||||
*/
|
||||
private BigDecimal inv;
|
||||
|
||||
/**
|
||||
* 投资金额
|
||||
*/
|
||||
private Integer invinmn;
|
||||
|
||||
/**
|
||||
* 保护对象
|
||||
*/
|
||||
private String bhdx;
|
||||
|
||||
/**
|
||||
* 保护范围
|
||||
*/
|
||||
private String bhfw;
|
||||
|
||||
/**
|
||||
* 保护措施
|
||||
*/
|
||||
private String bhcd;
|
||||
|
||||
/**
|
||||
* 保护面积
|
||||
*/
|
||||
private BigDecimal bhmj;
|
||||
|
||||
/**
|
||||
* 保护河流
|
||||
*/
|
||||
private Integer bhhl;
|
||||
|
||||
/**
|
||||
* 保护河道
|
||||
*/
|
||||
private Integer bhhd;
|
||||
|
||||
/**
|
||||
* 保护措施
|
||||
*/
|
||||
private String bhcs;
|
||||
|
||||
/**
|
||||
* 保护方式
|
||||
*/
|
||||
private String bhfs;
|
||||
|
||||
/**
|
||||
* 附件
|
||||
*/
|
||||
private String attm;
|
||||
|
||||
/**
|
||||
* 保护水文参数
|
||||
*/
|
||||
private String bhwwcd;
|
||||
|
||||
/**
|
||||
* 保护河相关系
|
||||
*/
|
||||
private String bhhxcd;
|
||||
|
||||
/**
|
||||
* 数据频率
|
||||
*/
|
||||
private String dtfrqcy;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 植被覆盖类型
|
||||
*/
|
||||
private BigDecimal vlsr;
|
||||
|
||||
/**
|
||||
* 植被覆盖调查时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date vlsrTm;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
private String recordUser;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date recordTime;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
private String modifyUser;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date modifyTime;
|
||||
|
||||
/**
|
||||
* 是否已删除
|
||||
*/
|
||||
private Integer isDeleted;
|
||||
|
||||
/**
|
||||
* 删除人
|
||||
*/
|
||||
private String deleteUser;
|
||||
|
||||
/**
|
||||
* 删除时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date deleteTime;
|
||||
}
|
||||
@ -0,0 +1,203 @@
|
||||
package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@TableName("SD_OPINFO_B_H")
|
||||
public class SdOpinfoBH implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId(type = IdType.INPUT)
|
||||
private String stcd;
|
||||
|
||||
private String stnm;
|
||||
|
||||
private String sttp;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date tm;
|
||||
|
||||
private Integer blprd;
|
||||
|
||||
private BigDecimal lgtd;
|
||||
|
||||
private BigDecimal lttd;
|
||||
|
||||
private BigDecimal elev;
|
||||
|
||||
private String stlc;
|
||||
|
||||
private Integer usfl;
|
||||
|
||||
private Integer dtin;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@TableField("DTIN_TM")
|
||||
private Date dtinTm;
|
||||
|
||||
@TableField("ORDER_INDEX")
|
||||
private Integer orderIndex;
|
||||
|
||||
private String rstcd;
|
||||
|
||||
@TableField("BASE_ID")
|
||||
private String baseId;
|
||||
|
||||
private String hbrvcd;
|
||||
|
||||
private String rvcd;
|
||||
|
||||
private String addvcd;
|
||||
|
||||
@TableField("STDSDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date stdsdt;
|
||||
|
||||
@TableField("PSTSTDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date pststdt;
|
||||
|
||||
@TableField("PESSTDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date pesstdt;
|
||||
|
||||
@TableField("SWDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date swdt;
|
||||
|
||||
@TableField("JCDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date jcdt;
|
||||
|
||||
@TableField("WDDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date wddt;
|
||||
|
||||
@TableField("BLDSTT_CODE")
|
||||
private Integer bldsttCode;
|
||||
|
||||
private String introduce;
|
||||
|
||||
private String logo;
|
||||
|
||||
private String inffile;
|
||||
|
||||
private String url;
|
||||
|
||||
private BigDecimal height;
|
||||
|
||||
private String boundary;
|
||||
|
||||
@TableField("CENTER_LGTD")
|
||||
private BigDecimal centerLgtd;
|
||||
|
||||
@TableField("CENTER_LTTD")
|
||||
private BigDecimal centerLttd;
|
||||
|
||||
@TableField("CENTER_ELEV")
|
||||
private BigDecimal centerElev;
|
||||
|
||||
private String description;
|
||||
|
||||
@TableField("CENTER1_LGTD")
|
||||
private BigDecimal center1Lgtd;
|
||||
|
||||
@TableField("CENTER1_LTTD")
|
||||
private BigDecimal center1Lttd;
|
||||
|
||||
@TableField("CENTER1_ELEV")
|
||||
private BigDecimal center1Elev;
|
||||
|
||||
@TableField("CLIPPING_PLANES")
|
||||
private String clippingPlanes;
|
||||
|
||||
@TableField("DESTINATION_TYPE")
|
||||
private String destinationType;
|
||||
|
||||
@TableField("DESTINATION_LGTD")
|
||||
private BigDecimal destinationLgtd;
|
||||
|
||||
@TableField("DESTINATION_LTTD")
|
||||
private BigDecimal destinationLttd;
|
||||
|
||||
@TableField("DESTINATION_ELEV")
|
||||
private BigDecimal destinationElev;
|
||||
|
||||
@TableField("ORIENTATION_ROLL")
|
||||
private BigDecimal orientationRoll;
|
||||
|
||||
@TableField("ORIENTATION_HEADING")
|
||||
private BigDecimal orientationHeading;
|
||||
|
||||
@TableField("ORIENTATION_PITCH")
|
||||
private BigDecimal orientationPitch;
|
||||
|
||||
@TableField("REVISE_SITE_ELEV")
|
||||
private BigDecimal reviseSiteElev;
|
||||
|
||||
@TableField("REVISE_SITE_ELEV_FACTOR")
|
||||
private BigDecimal reviseSiteElevFactor;
|
||||
|
||||
@TableField("DESTINATION_LGTD_WCS")
|
||||
private BigDecimal destinationLgtdWcs;
|
||||
|
||||
@TableField("DESTINATION_LTTD_WCS")
|
||||
private BigDecimal destinationLttdWcs;
|
||||
|
||||
@TableField("DESTINATION_ELEV_WCS")
|
||||
private BigDecimal destinationElevWcs;
|
||||
|
||||
@TableField("DESTINATION_LGTD_WGS84")
|
||||
private BigDecimal destinationLgtdWgs84;
|
||||
|
||||
@TableField("DESTINATION_LTTD_WGS84")
|
||||
private BigDecimal destinationLttdWgs84;
|
||||
|
||||
@TableField("DESTINATION_ELEV_WGS84")
|
||||
private BigDecimal destinationElevWgs84;
|
||||
|
||||
private String location;
|
||||
|
||||
private String accuracy;
|
||||
|
||||
@TableField("STNM_ALIAS")
|
||||
private String stnmAlias;
|
||||
|
||||
private String remark;
|
||||
|
||||
private BigDecimal vlsr;
|
||||
|
||||
@TableField("VLSR_TM")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date vlsrTm;
|
||||
|
||||
@TableField("RECORD_USER")
|
||||
private String recordUser;
|
||||
|
||||
@TableField("RECORD_TIME")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date recordTime;
|
||||
|
||||
@TableField("MODIFY_USER")
|
||||
private String modifyUser;
|
||||
|
||||
@TableField("MODIFY_TIME")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date modifyTime;
|
||||
|
||||
@TableField("IS_DELETED")
|
||||
private Integer isDeleted;
|
||||
|
||||
@TableField("DELETE_USER")
|
||||
private String deleteUser;
|
||||
|
||||
@TableField("DELETE_TIME")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date deleteTime;
|
||||
}
|
||||
@ -0,0 +1,104 @@
|
||||
package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@TableName("SD_OTTE_B_H")
|
||||
public class SdOtteBH implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId(type = IdType.INPUT)
|
||||
private String stcd;
|
||||
|
||||
private String stnm;
|
||||
|
||||
private String sttp;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date tm;
|
||||
|
||||
private Integer blprd;
|
||||
|
||||
private BigDecimal lgtd;
|
||||
|
||||
private BigDecimal lttd;
|
||||
|
||||
private BigDecimal elev;
|
||||
|
||||
private String stlc;
|
||||
|
||||
private Integer usfl;
|
||||
|
||||
private Integer dtin;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@TableField("DTIN_TM")
|
||||
private Date dtinTm;
|
||||
|
||||
@TableField("ORDER_INDEX")
|
||||
private Integer orderIndex;
|
||||
|
||||
private String rstcd;
|
||||
|
||||
@TableField("BASE_ID")
|
||||
private String baseId;
|
||||
|
||||
private String hbrvcd;
|
||||
|
||||
private String rvcd;
|
||||
|
||||
private String addvcd;
|
||||
|
||||
@TableField("STDSDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date stdsdt;
|
||||
|
||||
@TableField("PSTSTDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date pststdt;
|
||||
|
||||
@TableField("PESSTDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date pesstdt;
|
||||
|
||||
@TableField("SWDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date swdt;
|
||||
|
||||
@TableField("JCDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date jcdt;
|
||||
|
||||
@TableField("WDDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date wddt;
|
||||
|
||||
@TableField("BLDSTT_CODE")
|
||||
private Integer bldsttCode;
|
||||
|
||||
private String introduce;
|
||||
|
||||
private String logo;
|
||||
|
||||
private String inffile;
|
||||
|
||||
private BigDecimal inv;
|
||||
|
||||
private String jbtxcs;
|
||||
|
||||
private String dtfrqcy;
|
||||
|
||||
private String remark;
|
||||
|
||||
private BigDecimal vlsr;
|
||||
|
||||
@TableField("VLSR_TM")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date vlsrTm;
|
||||
}
|
||||
@ -0,0 +1,106 @@
|
||||
package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@TableName("SD_OTWE_B_H")
|
||||
public class SdOtweBH implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId(type = IdType.INPUT)
|
||||
private String stcd;
|
||||
|
||||
private String stnm;
|
||||
|
||||
private String sttp;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date tm;
|
||||
|
||||
private Integer blprd;
|
||||
|
||||
private BigDecimal lgtd;
|
||||
|
||||
private BigDecimal lttd;
|
||||
|
||||
private BigDecimal elev;
|
||||
|
||||
private String stlc;
|
||||
|
||||
private Integer usfl;
|
||||
|
||||
private Integer dtin;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@TableField("DTIN_TM")
|
||||
private Date dtinTm;
|
||||
|
||||
@TableField("ORDER_INDEX")
|
||||
private Integer orderIndex;
|
||||
|
||||
private String rstcd;
|
||||
|
||||
@TableField("BASE_ID")
|
||||
private String baseId;
|
||||
|
||||
private String hbrvcd;
|
||||
|
||||
private String rvcd;
|
||||
|
||||
private String addvcd;
|
||||
|
||||
@TableField("STDSDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date stdsdt;
|
||||
|
||||
@TableField("PSTSTDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date pststdt;
|
||||
|
||||
@TableField("PESSTDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date pesstdt;
|
||||
|
||||
@TableField("SWDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date swdt;
|
||||
|
||||
@TableField("JCDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date jcdt;
|
||||
|
||||
@TableField("WDDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date wddt;
|
||||
|
||||
@TableField("BLDSTT_CODE")
|
||||
private Integer bldsttCode;
|
||||
|
||||
private String introduce;
|
||||
|
||||
private String logo;
|
||||
|
||||
private String inffile;
|
||||
|
||||
private BigDecimal inv;
|
||||
|
||||
private Integer invinmn;
|
||||
|
||||
private String jbtxcs;
|
||||
|
||||
private String dtfrqcy;
|
||||
|
||||
private String remark;
|
||||
|
||||
private BigDecimal vlsr;
|
||||
|
||||
@TableField("VLSR_TM")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date vlsrTm;
|
||||
}
|
||||
@ -0,0 +1,119 @@
|
||||
package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@TableName("SD_SONAR_B_H")
|
||||
public class SdSonarBH implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId(type = IdType.INPUT)
|
||||
private String stcd;
|
||||
|
||||
private String stnm;
|
||||
|
||||
private String mntp;
|
||||
|
||||
private String sttp;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date tm;
|
||||
|
||||
private BigDecimal lgtd;
|
||||
|
||||
private BigDecimal lttd;
|
||||
|
||||
private BigDecimal elev;
|
||||
|
||||
private String stlc;
|
||||
|
||||
@TableField("JCDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date jcdt;
|
||||
|
||||
@TableField("WDDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date wddt;
|
||||
|
||||
@TableField("BLDSTT_CODE")
|
||||
private Integer bldsttCode;
|
||||
|
||||
private Integer usfl;
|
||||
|
||||
private Integer dtin;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@TableField("DTIN_TM")
|
||||
private Date dtinTm;
|
||||
|
||||
private Integer mway;
|
||||
|
||||
private String stindx;
|
||||
|
||||
@TableField("ORDER_INDEX")
|
||||
private Integer orderIndex;
|
||||
|
||||
private String rstcd;
|
||||
|
||||
@TableField("BASE_ID")
|
||||
private String baseId;
|
||||
|
||||
private String hbrvcd;
|
||||
|
||||
private String rvcd;
|
||||
|
||||
private String addvcd;
|
||||
|
||||
private String introduce;
|
||||
|
||||
private String logo;
|
||||
|
||||
private String inffile;
|
||||
|
||||
private String fwdx;
|
||||
|
||||
private String gcfs;
|
||||
|
||||
private String dtfrqcy;
|
||||
|
||||
private String remark;
|
||||
|
||||
private BigDecimal vlsr;
|
||||
|
||||
@TableField("VLSR_TM")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date vlsrTm;
|
||||
|
||||
@TableField("RECORD_USER")
|
||||
private String recordUser;
|
||||
|
||||
@TableField("RECORD_TIME")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date recordTime;
|
||||
|
||||
@TableField("MODIFY_USER")
|
||||
private String modifyUser;
|
||||
|
||||
@TableField("MODIFY_TIME")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date modifyTime;
|
||||
|
||||
@TableField("IS_DELETED")
|
||||
private Integer isDeleted;
|
||||
|
||||
@TableField("DELETE_USER")
|
||||
private String deleteUser;
|
||||
|
||||
@TableField("DELETE_TIME")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date deleteTime;
|
||||
|
||||
@TableField("WARN_STATE")
|
||||
private String warnState;
|
||||
}
|
||||
@ -0,0 +1,102 @@
|
||||
package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@TableName("SD_TE_B_H")
|
||||
public class SdTeBH implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId(type = IdType.INPUT)
|
||||
private String stcd;
|
||||
|
||||
private String stnm;
|
||||
|
||||
private String sttp;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date tm;
|
||||
|
||||
private BigDecimal lgtd;
|
||||
|
||||
private BigDecimal lttd;
|
||||
|
||||
private BigDecimal elev;
|
||||
|
||||
private String stlc;
|
||||
|
||||
private Integer usfl;
|
||||
|
||||
private Integer dtin;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@TableField("DTIN_TM")
|
||||
private Date dtinTm;
|
||||
|
||||
@TableField("ORDER_INDEX")
|
||||
private Integer orderIndex;
|
||||
|
||||
private String rstcd;
|
||||
|
||||
@TableField("BASE_ID")
|
||||
private String baseId;
|
||||
|
||||
private String hbrvcd;
|
||||
|
||||
private String rvcd;
|
||||
|
||||
private String addvcd;
|
||||
|
||||
@TableField("STDSDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date stdsdt;
|
||||
|
||||
@TableField("PSTSTDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date pststdt;
|
||||
|
||||
@TableField("PESSTDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date pesstdt;
|
||||
|
||||
@TableField("SWDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date swdt;
|
||||
|
||||
@TableField("JCDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date jcdt;
|
||||
|
||||
@TableField("WDDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date wddt;
|
||||
|
||||
@TableField("BLDSTT_CODE")
|
||||
private Integer bldsttCode;
|
||||
|
||||
private String introduce;
|
||||
|
||||
private String logo;
|
||||
|
||||
private String inffile;
|
||||
|
||||
private BigDecimal inv;
|
||||
|
||||
private Integer invinmn;
|
||||
|
||||
private String dtfrqcy;
|
||||
|
||||
private String remark;
|
||||
|
||||
private BigDecimal vlsr;
|
||||
|
||||
@TableField("VLSR_TM")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date vlsrTm;
|
||||
}
|
||||
@ -0,0 +1,136 @@
|
||||
package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@TableName("SD_VA_B_H")
|
||||
public class SdVaBH implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId(type = IdType.INPUT)
|
||||
private String stcd;
|
||||
|
||||
private String stnm;
|
||||
|
||||
private String sttp;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date tm;
|
||||
|
||||
private Integer blprd;
|
||||
|
||||
private BigDecimal lgtd;
|
||||
|
||||
private BigDecimal lttd;
|
||||
|
||||
private BigDecimal elev;
|
||||
|
||||
private String stlc;
|
||||
|
||||
private Integer usfl;
|
||||
|
||||
private Integer dtin;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@TableField("DTIN_TM")
|
||||
private Date dtinTm;
|
||||
|
||||
@TableField("ORDER_INDEX")
|
||||
private Integer orderIndex;
|
||||
|
||||
private String rstcd;
|
||||
|
||||
@TableField("BASE_ID")
|
||||
private String baseId;
|
||||
|
||||
private String hbrvcd;
|
||||
|
||||
private String rstcdmap;
|
||||
|
||||
@TableField("STDSDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date stdsdt;
|
||||
|
||||
@TableField("PSTSTDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date pststdt;
|
||||
|
||||
@TableField("PESSTDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date pesstdt;
|
||||
|
||||
@TableField("SWDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date swdt;
|
||||
|
||||
@TableField("JCDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date jcdt;
|
||||
|
||||
@TableField("WDDT")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date wddt;
|
||||
|
||||
@TableField("BLDSTT_CODE")
|
||||
private Integer bldsttCode;
|
||||
|
||||
private String introduce;
|
||||
|
||||
private String logo;
|
||||
|
||||
private String inffile;
|
||||
|
||||
private BigDecimal inv;
|
||||
|
||||
private BigDecimal area;
|
||||
|
||||
private String place;
|
||||
|
||||
private String bhfs;
|
||||
|
||||
private String bhyy;
|
||||
|
||||
private String bhdx;
|
||||
|
||||
private String bhdxlb;
|
||||
|
||||
private String dtfrqcy;
|
||||
|
||||
private String remark;
|
||||
|
||||
private BigDecimal vlsr;
|
||||
|
||||
@TableField("VLSR_TM")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date vlsrTm;
|
||||
|
||||
@TableField("RECORD_USER")
|
||||
private String recordUser;
|
||||
|
||||
@TableField("RECORD_TIME")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date recordTime;
|
||||
|
||||
@TableField("MODIFY_USER")
|
||||
private String modifyUser;
|
||||
|
||||
@TableField("MODIFY_TIME")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date modifyTime;
|
||||
|
||||
@TableField("IS_DELETED")
|
||||
private Integer isDeleted;
|
||||
|
||||
@TableField("DELETE_USER")
|
||||
private String deleteUser;
|
||||
|
||||
@TableField("DELETE_TIME")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date deleteTime;
|
||||
}
|
||||
@ -0,0 +1,179 @@
|
||||
package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@TableName("SD_VDINFO_B")
|
||||
public class SdVdinfoB implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId(type = IdType.INPUT)
|
||||
private String stcd;
|
||||
|
||||
private String stnm;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date tm;
|
||||
|
||||
private String mntp;
|
||||
|
||||
private String sttp;
|
||||
|
||||
private BigDecimal lgtd;
|
||||
|
||||
private BigDecimal lttd;
|
||||
|
||||
private BigDecimal elev;
|
||||
|
||||
private String stlc;
|
||||
|
||||
private String stindx;
|
||||
|
||||
private String description;
|
||||
|
||||
private String rstcd;
|
||||
|
||||
private String cstcd;
|
||||
|
||||
private String rvcd;
|
||||
|
||||
private String addvcd;
|
||||
|
||||
private String hycd;
|
||||
|
||||
@TableField("BASE_ID")
|
||||
private String baseId;
|
||||
|
||||
private String hbrvcd;
|
||||
|
||||
private String fhstcd;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date swdt;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date jcdt;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date wddt;
|
||||
|
||||
@TableField("BLDSTT_CODE")
|
||||
private Integer bldsttCode;
|
||||
|
||||
private Integer usfl;
|
||||
|
||||
private Integer dtin;
|
||||
|
||||
@TableField("DTIN_SRC")
|
||||
private String dtinSrc;
|
||||
|
||||
@TableField("DTIN_TM")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date dtinTm;
|
||||
|
||||
@TableField("DEVICE_INFO")
|
||||
private String deviceInfo;
|
||||
|
||||
@TableField("ACCESS_WAY")
|
||||
private String accessWay;
|
||||
|
||||
@TableField("DEVICE_SERIAL")
|
||||
private String deviceSerial;
|
||||
|
||||
@TableField("CHANNEL_NO")
|
||||
private String channelNo;
|
||||
|
||||
@TableField("CHANNEL_NAME")
|
||||
private String channelName;
|
||||
|
||||
private String gbchannel;
|
||||
|
||||
private String protocol;
|
||||
|
||||
private String quality;
|
||||
|
||||
private String transmode;
|
||||
|
||||
@TableField("IS_VD_CONTROL")
|
||||
private Integer isVdControl;
|
||||
|
||||
@TableField("CONTROL_MODE")
|
||||
private String controlMode;
|
||||
|
||||
private String url;
|
||||
|
||||
@TableField("INTRANET_URL")
|
||||
private String intranetUrl;
|
||||
|
||||
private String vduser;
|
||||
|
||||
private String vdpwd;
|
||||
|
||||
@TableField("STORAGE_WAY")
|
||||
private String storageWay;
|
||||
|
||||
private String frequency;
|
||||
|
||||
@TableField("CUT_TIME")
|
||||
private String cutTime;
|
||||
|
||||
@TableField("FRAME_RATE")
|
||||
private String frameRate;
|
||||
|
||||
@TableField("TS_DURATION")
|
||||
private String tsDuration;
|
||||
|
||||
@TableField("OCR_WAY")
|
||||
private String ocrWay;
|
||||
|
||||
private String eqreviewm;
|
||||
|
||||
private Integer jwupdate;
|
||||
|
||||
@TableField("AI_ENABLED")
|
||||
private Integer aiEnabled;
|
||||
|
||||
@TableField("AI_FREQUENCY")
|
||||
private String aiFrequency;
|
||||
|
||||
@TableField("AI_EXT_CODE")
|
||||
private String aiExtCode;
|
||||
|
||||
@TableField("AI_EXT_NAME")
|
||||
private String aiExtName;
|
||||
|
||||
@TableField("LIVE_ADDRESS")
|
||||
private String liveAddress;
|
||||
|
||||
private Integer vdhisday;
|
||||
|
||||
@TableField("DELAY_TIME")
|
||||
private String delayTime;
|
||||
|
||||
@TableField("DELAY_NUM")
|
||||
private Integer delayNum;
|
||||
|
||||
private String project;
|
||||
|
||||
private String dtfrqcy;
|
||||
|
||||
private String remark;
|
||||
|
||||
private BigDecimal vlsr;
|
||||
|
||||
@TableField("VLSR_TM")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date vlsrTm;
|
||||
|
||||
@TableField("WARN_STATE")
|
||||
private String warnState;
|
||||
}
|
||||
@ -0,0 +1,135 @@
|
||||
package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@TableName("SD_VP_B_H")
|
||||
public class SdVpBH implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId(type = IdType.INPUT)
|
||||
private String stcd;
|
||||
|
||||
private String stnm;
|
||||
|
||||
private String sttp;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date tm;
|
||||
|
||||
private Integer blprd;
|
||||
|
||||
private BigDecimal lgtd;
|
||||
|
||||
private BigDecimal lttd;
|
||||
|
||||
private BigDecimal elev;
|
||||
|
||||
private String stlc;
|
||||
|
||||
private Integer usfl;
|
||||
|
||||
private Integer dtin;
|
||||
|
||||
@TableField("DTIN_TM")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date dtinTm;
|
||||
|
||||
@TableField("ORDER_INDEX")
|
||||
private Integer orderIndex;
|
||||
|
||||
private String rstcd;
|
||||
|
||||
@TableField("BASE_ID")
|
||||
private String baseId;
|
||||
|
||||
private String hbrvcd;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date stdsdt;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date pststdt;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date pesstdt;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date swdt;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date jcdt;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date wddt;
|
||||
|
||||
@TableField("BLDSTT_CODE")
|
||||
private Integer bldsttCode;
|
||||
|
||||
private String introduce;
|
||||
|
||||
private String logo;
|
||||
|
||||
private String inffile;
|
||||
|
||||
private BigDecimal inv;
|
||||
|
||||
private Integer aptl;
|
||||
|
||||
private BigDecimal area;
|
||||
|
||||
private String place;
|
||||
|
||||
private String bhdx;
|
||||
|
||||
private String bhdxlb;
|
||||
|
||||
private String bhfs;
|
||||
|
||||
private String bhyy;
|
||||
|
||||
private Integer iscaec;
|
||||
|
||||
private String dtfrqcy;
|
||||
|
||||
private String remark;
|
||||
|
||||
private BigDecimal vlsr;
|
||||
|
||||
@TableField("VLSR_TM")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date vlsrTm;
|
||||
|
||||
@TableField("RECORD_USER")
|
||||
private String recordUser;
|
||||
|
||||
@TableField("RECORD_TIME")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date recordTime;
|
||||
|
||||
@TableField("MODIFY_USER")
|
||||
private String modifyUser;
|
||||
|
||||
@TableField("MODIFY_TIME")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date modifyTime;
|
||||
|
||||
@TableField("IS_DELETED")
|
||||
private Integer isDeleted;
|
||||
|
||||
@TableField("DELETE_USER")
|
||||
private String deleteUser;
|
||||
|
||||
@TableField("DELETE_TIME")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date deleteTime;
|
||||
}
|
||||
@ -0,0 +1,99 @@
|
||||
package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@TableName("SD_WE_B_H")
|
||||
public class SdWeBH implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId(type = IdType.INPUT)
|
||||
private String stcd;
|
||||
|
||||
private String stnm;
|
||||
|
||||
private String sttp;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date tm;
|
||||
|
||||
private BigDecimal lgtd;
|
||||
|
||||
private BigDecimal lttd;
|
||||
|
||||
private BigDecimal elev;
|
||||
|
||||
private String stlc;
|
||||
|
||||
private Integer usfl;
|
||||
|
||||
private Integer dtin;
|
||||
|
||||
@TableField("DTIN_TM")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date dtinTm;
|
||||
|
||||
@TableField("ORDER_INDEX")
|
||||
private Integer orderIndex;
|
||||
|
||||
private String rstcd;
|
||||
|
||||
@TableField("BASE_ID")
|
||||
private String baseId;
|
||||
|
||||
private String hbrvcd;
|
||||
|
||||
private String rvcd;
|
||||
|
||||
private String addvcd;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date stdsdt;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date pststdt;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date pesstdt;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date swdt;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date jcdt;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date wddt;
|
||||
|
||||
@TableField("BLDSTT_CODE")
|
||||
private Integer bldsttCode;
|
||||
|
||||
private String introduce;
|
||||
|
||||
private String logo;
|
||||
|
||||
private String inffile;
|
||||
|
||||
private BigDecimal inv;
|
||||
|
||||
private Integer invinmn;
|
||||
|
||||
private String dtfrqcy;
|
||||
|
||||
private String remark;
|
||||
|
||||
private BigDecimal vlsr;
|
||||
|
||||
@TableField("VLSR_TM")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date vlsrTm;
|
||||
}
|
||||
@ -0,0 +1,124 @@
|
||||
package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@TableName("SD_WQ_B_H")
|
||||
public class SdWqBH implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId(type = IdType.INPUT)
|
||||
private String stcd;
|
||||
|
||||
private String stnm;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date tm;
|
||||
|
||||
private String sttp;
|
||||
|
||||
private BigDecimal lgtd;
|
||||
|
||||
private BigDecimal lttd;
|
||||
|
||||
private BigDecimal elev;
|
||||
|
||||
private String stlc;
|
||||
|
||||
private String wwqtg;
|
||||
|
||||
private String wqtype;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date jcdt;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date wddt;
|
||||
|
||||
@TableField("BLDSTT_CODE")
|
||||
private Integer bldsttCode;
|
||||
|
||||
private String introduce;
|
||||
|
||||
private String logo;
|
||||
|
||||
private String inffile;
|
||||
|
||||
private Integer usfl;
|
||||
|
||||
private Integer dtin;
|
||||
|
||||
@TableField("DTIN_SRC")
|
||||
private String dtinSrc;
|
||||
|
||||
@TableField("DTIN_TYPE")
|
||||
private Integer dtinType;
|
||||
|
||||
@TableField("DTIN_TM")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date dtinTm;
|
||||
|
||||
private Integer mway;
|
||||
|
||||
private String stindx;
|
||||
|
||||
@TableField("ORDER_INDEX")
|
||||
private Integer orderIndex;
|
||||
|
||||
private String rstcd;
|
||||
|
||||
@TableField("BASE_ID")
|
||||
private String baseId;
|
||||
|
||||
private String hbrvcd;
|
||||
|
||||
private String fhstcd;
|
||||
|
||||
private Integer ispro;
|
||||
|
||||
private String dtfrqcy;
|
||||
|
||||
private String remark;
|
||||
|
||||
private BigDecimal vlsr;
|
||||
|
||||
@TableField("VLSR_TM")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date vlsrTm;
|
||||
|
||||
@TableField("RECORD_USER")
|
||||
private String recordUser;
|
||||
|
||||
@TableField("RECORD_TIME")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date recordTime;
|
||||
|
||||
@TableField("MODIFY_USER")
|
||||
private String modifyUser;
|
||||
|
||||
@TableField("MODIFY_TIME")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date modifyTime;
|
||||
|
||||
@TableField("IS_DELETED")
|
||||
private Integer isDeleted;
|
||||
|
||||
@TableField("DELETE_USER")
|
||||
private String deleteUser;
|
||||
|
||||
@TableField("DELETE_TIME")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date deleteTime;
|
||||
|
||||
@TableField("WARN_STATE")
|
||||
private String warnState;
|
||||
}
|
||||
@ -0,0 +1,150 @@
|
||||
package com.yfd.platform.qgc_base.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@TableName("SD_WT_B_H")
|
||||
public class SdWtBH implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId(type = IdType.INPUT)
|
||||
private String stcd;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date tm;
|
||||
|
||||
private String stnm;
|
||||
|
||||
private String sttp;
|
||||
|
||||
private BigDecimal lgtd;
|
||||
|
||||
private BigDecimal lttd;
|
||||
|
||||
private BigDecimal elev;
|
||||
|
||||
private String stlc;
|
||||
|
||||
private String stsr;
|
||||
|
||||
@TableField("WT_DEVICE_TYPE")
|
||||
private Integer wtDeviceType;
|
||||
|
||||
@TableField("WT_TYPE")
|
||||
private String wtType;
|
||||
|
||||
private String wts;
|
||||
|
||||
@TableField("WT_HGT_TYPE")
|
||||
private Integer wtHgtType;
|
||||
|
||||
@TableField("WT_FIRST_HGT")
|
||||
private BigDecimal wtFirstHgt;
|
||||
|
||||
@TableField("WT_DIST")
|
||||
private String wtDist;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date jcdt;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date wddt;
|
||||
|
||||
@TableField("BLDSTT_CODE")
|
||||
private Integer bldsttCode;
|
||||
|
||||
private BigDecimal inv;
|
||||
|
||||
private Integer invinmn;
|
||||
|
||||
private String introduce;
|
||||
|
||||
private String logo;
|
||||
|
||||
private String inffile;
|
||||
|
||||
private Integer usfl;
|
||||
|
||||
private Integer dtin;
|
||||
|
||||
@TableField("DTIN_SRC")
|
||||
private String dtinSrc;
|
||||
|
||||
@TableField("DTIN_TYPE")
|
||||
private Integer dtinType;
|
||||
|
||||
@TableField("DTIN_TM")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date dtinTm;
|
||||
|
||||
private Integer mway;
|
||||
|
||||
private String stindx;
|
||||
|
||||
@TableField("ORDER_INDEX")
|
||||
private Integer orderIndex;
|
||||
|
||||
private String dmstcd;
|
||||
|
||||
private String rstcd;
|
||||
|
||||
private String fhstcd;
|
||||
|
||||
private Integer ispro;
|
||||
|
||||
private String project;
|
||||
|
||||
private String dtfrqcy;
|
||||
|
||||
private String remark;
|
||||
|
||||
private BigDecimal vlsr;
|
||||
|
||||
@TableField("VLSR_TM")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date vlsrTm;
|
||||
|
||||
@TableField("RECORD_USER")
|
||||
private String recordUser;
|
||||
|
||||
@TableField("RECORD_TIME")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date recordTime;
|
||||
|
||||
@TableField("MODIFY_USER")
|
||||
private String modifyUser;
|
||||
|
||||
@TableField("MODIFY_TIME")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date modifyTime;
|
||||
|
||||
@TableField("IS_DELETED")
|
||||
private Integer isDeleted;
|
||||
|
||||
@TableField("DELETE_USER")
|
||||
private String deleteUser;
|
||||
|
||||
@TableField("DELETE_TIME")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date deleteTime;
|
||||
|
||||
@TableField("BASE_ID")
|
||||
private String baseId;
|
||||
|
||||
private String hbrvcd;
|
||||
|
||||
@TableField("WARN_STATE")
|
||||
private String warnState;
|
||||
|
||||
@TableField("IS_PUSH")
|
||||
private Integer isPush;
|
||||
}
|
||||
@ -0,0 +1,13 @@
|
||||
package com.yfd.platform.qgc_base.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.yfd.platform.qgc_base.domain.SdAiboxBH;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* AI边缘计算盒子基本属性表 Mapper 接口
|
||||
* </p>
|
||||
*/
|
||||
public interface SdAiboxBHMapper extends BaseMapper<SdAiboxBH> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,13 @@
|
||||
package com.yfd.platform.qgc_base.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.yfd.platform.qgc_base.domain.SdArtsgBH;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 人工产卵场工程信息表 Mapper 接口
|
||||
* </p>
|
||||
*/
|
||||
public interface SdArtsgBHMapper extends BaseMapper<SdArtsgBH> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,13 @@
|
||||
package com.yfd.platform.qgc_base.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.yfd.platform.qgc_base.domain.SdDwBH;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 低温水减缓设施信息表 Mapper 接口
|
||||
* </p>
|
||||
*/
|
||||
public interface SdDwBHMapper extends BaseMapper<SdDwBH> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,13 @@
|
||||
package com.yfd.platform.qgc_base.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.yfd.platform.qgc_base.domain.SdEqBH;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 生态流量泄放设施信息表 Mapper 接口
|
||||
* </p>
|
||||
*/
|
||||
public interface SdEqBHMapper extends BaseMapper<SdEqBH> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,13 @@
|
||||
package com.yfd.platform.qgc_base.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.yfd.platform.qgc_base.domain.SdFbrdBH;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 鱼类增殖设施保护工程信息表 Mapper 接口
|
||||
* </p>
|
||||
*/
|
||||
public interface SdFbrdBHMapper extends BaseMapper<SdFbrdBH> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,13 @@
|
||||
package com.yfd.platform.qgc_base.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.yfd.platform.qgc_base.domain.SdFhbtBH;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 栖息地保护工程信息表 Mapper 接口
|
||||
* </p>
|
||||
*/
|
||||
public interface SdFhbtBHMapper extends BaseMapper<SdFhbtBH> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
package com.yfd.platform.qgc_base.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.yfd.platform.qgc_base.domain.SdOpinfoBH;
|
||||
|
||||
public interface SdOpinfoBHMapper extends BaseMapper<SdOpinfoBH> {
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
package com.yfd.platform.qgc_base.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.yfd.platform.qgc_base.domain.SdOtteBH;
|
||||
|
||||
public interface SdOtteBHMapper extends BaseMapper<SdOtteBH> {
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
package com.yfd.platform.qgc_base.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.yfd.platform.qgc_base.domain.SdOtweBH;
|
||||
|
||||
public interface SdOtweBHMapper extends BaseMapper<SdOtweBH> {
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
package com.yfd.platform.qgc_base.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.yfd.platform.qgc_base.domain.SdSonarBH;
|
||||
|
||||
public interface SdSonarBHMapper extends BaseMapper<SdSonarBH> {
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
package com.yfd.platform.qgc_base.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.yfd.platform.qgc_base.domain.SdTeBH;
|
||||
|
||||
public interface SdTeBHMapper extends BaseMapper<SdTeBH> {
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
package com.yfd.platform.qgc_base.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.yfd.platform.qgc_base.domain.SdVaBH;
|
||||
|
||||
public interface SdVaBHMapper extends BaseMapper<SdVaBH> {
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
package com.yfd.platform.qgc_base.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.yfd.platform.qgc_base.domain.SdVdinfoB;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface SdVdinfoBMapper extends BaseMapper<SdVdinfoB> {
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
package com.yfd.platform.qgc_base.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.yfd.platform.qgc_base.domain.SdVpBH;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface SdVpBHMapper extends BaseMapper<SdVpBH> {
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
package com.yfd.platform.qgc_base.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.yfd.platform.qgc_base.domain.SdWeBH;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface SdWeBHMapper extends BaseMapper<SdWeBH> {
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
package com.yfd.platform.qgc_base.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.yfd.platform.qgc_base.domain.SdWqBH;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface SdWqBHMapper extends BaseMapper<SdWqBH> {
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
package com.yfd.platform.qgc_base.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.yfd.platform.qgc_base.domain.SdWtBH;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface SdWtBHMapper extends BaseMapper<SdWtBH> {
|
||||
}
|
||||
@ -9,4 +9,13 @@ public interface IMsOperationLogService {
|
||||
void recordEngUpdateLog(SdEngInfoBH before, SdEngInfoBH changeSet, String source);
|
||||
|
||||
void recordEngDeleteLog(SdEngInfoBH engInfo, String source);
|
||||
|
||||
/**
|
||||
* 通用操作日志记录
|
||||
* @param tableName 表名
|
||||
* @param recordId 记录ID(stcd)
|
||||
* @param operation 操作类型(新增/修改/删除)
|
||||
* @param source 操作来源
|
||||
*/
|
||||
void recordOperationLog(String tableName, String recordId, String operation, String source);
|
||||
}
|
||||
|
||||
@ -0,0 +1,36 @@
|
||||
package com.yfd.platform.qgc_base.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdAiboxBH;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* AI边缘计算盒子基本属性表 服务类
|
||||
* </p>
|
||||
*/
|
||||
public interface ISdAiboxBHService extends IService<SdAiboxBH> {
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
*/
|
||||
Page<SdAiboxBH> queryPageList(DataSourceRequest request);
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*/
|
||||
boolean add(SdAiboxBH entity, String source);
|
||||
|
||||
/**
|
||||
* 修改
|
||||
*/
|
||||
boolean update(SdAiboxBH entity, String source);
|
||||
|
||||
/**
|
||||
* 删除
|
||||
*/
|
||||
boolean delete(List<String> stcds, String source);
|
||||
}
|
||||
@ -0,0 +1,36 @@
|
||||
package com.yfd.platform.qgc_base.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdArtsgBH;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 人工产卵场工程信息表 服务类
|
||||
* </p>
|
||||
*/
|
||||
public interface ISdArtsgBHService extends IService<SdArtsgBH> {
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
*/
|
||||
Page<SdArtsgBH> queryPageList(DataSourceRequest request);
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*/
|
||||
boolean add(SdArtsgBH entity, String source);
|
||||
|
||||
/**
|
||||
* 修改
|
||||
*/
|
||||
boolean update(SdArtsgBH entity, String source);
|
||||
|
||||
/**
|
||||
* 删除
|
||||
*/
|
||||
boolean delete(List<String> stcds, String source);
|
||||
}
|
||||
@ -0,0 +1,36 @@
|
||||
package com.yfd.platform.qgc_base.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdDwBH;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 低温水减缓设施信息表 服务类
|
||||
* </p>
|
||||
*/
|
||||
public interface ISdDwBHService extends IService<SdDwBH> {
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
*/
|
||||
Page<SdDwBH> queryPageList(DataSourceRequest request);
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*/
|
||||
boolean add(SdDwBH entity, String source);
|
||||
|
||||
/**
|
||||
* 修改
|
||||
*/
|
||||
boolean update(SdDwBH entity, String source);
|
||||
|
||||
/**
|
||||
* 删除
|
||||
*/
|
||||
boolean delete(List<String> stcds, String source);
|
||||
}
|
||||
@ -0,0 +1,36 @@
|
||||
package com.yfd.platform.qgc_base.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdEqBH;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 生态流量泄放设施信息表 服务类
|
||||
* </p>
|
||||
*/
|
||||
public interface ISdEqBHService extends IService<SdEqBH> {
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
*/
|
||||
Page<SdEqBH> queryPageList(DataSourceRequest request);
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*/
|
||||
boolean add(SdEqBH entity, String source);
|
||||
|
||||
/**
|
||||
* 修改
|
||||
*/
|
||||
boolean update(SdEqBH entity, String source);
|
||||
|
||||
/**
|
||||
* 删除
|
||||
*/
|
||||
boolean delete(List<String> stcds, String source);
|
||||
}
|
||||
@ -0,0 +1,36 @@
|
||||
package com.yfd.platform.qgc_base.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdFbrdBH;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 鱼类增殖设施保护工程信息表 服务类
|
||||
* </p>
|
||||
*/
|
||||
public interface ISdFbrdBHService extends IService<SdFbrdBH> {
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
*/
|
||||
Page<SdFbrdBH> queryPageList(DataSourceRequest request);
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*/
|
||||
boolean add(SdFbrdBH entity, String source);
|
||||
|
||||
/**
|
||||
* 修改
|
||||
*/
|
||||
boolean update(SdFbrdBH entity, String source);
|
||||
|
||||
/**
|
||||
* 删除
|
||||
*/
|
||||
boolean delete(List<String> stcds, String source);
|
||||
}
|
||||
@ -0,0 +1,36 @@
|
||||
package com.yfd.platform.qgc_base.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdFhbtBH;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 栖息地保护工程信息表 服务类
|
||||
* </p>
|
||||
*/
|
||||
public interface ISdFhbtBHService extends IService<SdFhbtBH> {
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
*/
|
||||
Page<SdFhbtBH> queryPageList(DataSourceRequest request);
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*/
|
||||
boolean add(SdFhbtBH entity, String source);
|
||||
|
||||
/**
|
||||
* 修改
|
||||
*/
|
||||
boolean update(SdFhbtBH entity, String source);
|
||||
|
||||
/**
|
||||
* 删除
|
||||
*/
|
||||
boolean delete(List<String> stcds, String source);
|
||||
}
|
||||
@ -0,0 +1,15 @@
|
||||
package com.yfd.platform.qgc_base.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdOpinfoBH;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface ISdOpinfoBHService extends IService<SdOpinfoBH> {
|
||||
Page<SdOpinfoBH> queryPageList(DataSourceRequest request);
|
||||
boolean add(SdOpinfoBH entity, String source);
|
||||
boolean update(SdOpinfoBH entity, String source);
|
||||
boolean delete(List<String> stcds, String source);
|
||||
}
|
||||
@ -0,0 +1,15 @@
|
||||
package com.yfd.platform.qgc_base.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdOtteBH;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface ISdOtteBHService extends IService<SdOtteBH> {
|
||||
Page<SdOtteBH> queryPageList(DataSourceRequest request);
|
||||
boolean add(SdOtteBH entity, String source);
|
||||
boolean update(SdOtteBH entity, String source);
|
||||
boolean delete(List<String> stcds, String source);
|
||||
}
|
||||
@ -0,0 +1,15 @@
|
||||
package com.yfd.platform.qgc_base.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdOtweBH;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface ISdOtweBHService extends IService<SdOtweBH> {
|
||||
Page<SdOtweBH> queryPageList(DataSourceRequest request);
|
||||
boolean add(SdOtweBH entity, String source);
|
||||
boolean update(SdOtweBH entity, String source);
|
||||
boolean delete(List<String> stcds, String source);
|
||||
}
|
||||
@ -0,0 +1,15 @@
|
||||
package com.yfd.platform.qgc_base.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdSonarBH;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface ISdSonarBHService extends IService<SdSonarBH> {
|
||||
Page<SdSonarBH> queryPageList(DataSourceRequest request);
|
||||
boolean add(SdSonarBH entity, String source);
|
||||
boolean update(SdSonarBH entity, String source);
|
||||
boolean delete(List<String> stcds, String source);
|
||||
}
|
||||
@ -0,0 +1,15 @@
|
||||
package com.yfd.platform.qgc_base.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdTeBH;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface ISdTeBHService extends IService<SdTeBH> {
|
||||
Page<SdTeBH> queryPageList(DataSourceRequest request);
|
||||
boolean add(SdTeBH entity, String source);
|
||||
boolean update(SdTeBH entity, String source);
|
||||
boolean delete(List<String> stcds, String source);
|
||||
}
|
||||
@ -0,0 +1,15 @@
|
||||
package com.yfd.platform.qgc_base.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdVaBH;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface ISdVaBHService extends IService<SdVaBH> {
|
||||
Page<SdVaBH> queryPageList(DataSourceRequest request);
|
||||
boolean add(SdVaBH entity, String source);
|
||||
boolean update(SdVaBH entity, String source);
|
||||
boolean delete(List<String> stcds, String source);
|
||||
}
|
||||
@ -0,0 +1,15 @@
|
||||
package com.yfd.platform.qgc_base.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdVdinfoB;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface ISdVdinfoBService extends IService<SdVdinfoB> {
|
||||
Page<SdVdinfoB> queryPageList(DataSourceRequest request);
|
||||
boolean add(SdVdinfoB entity, String source);
|
||||
boolean update(SdVdinfoB entity, String source);
|
||||
boolean delete(List<String> stcds, String source);
|
||||
}
|
||||
@ -0,0 +1,15 @@
|
||||
package com.yfd.platform.qgc_base.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdVpBH;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface ISdVpBHService extends IService<SdVpBH> {
|
||||
Page<SdVpBH> queryPageList(DataSourceRequest request);
|
||||
boolean add(SdVpBH entity, String source);
|
||||
boolean update(SdVpBH entity, String source);
|
||||
boolean delete(List<String> stcds, String source);
|
||||
}
|
||||
@ -0,0 +1,15 @@
|
||||
package com.yfd.platform.qgc_base.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdWeBH;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface ISdWeBHService extends IService<SdWeBH> {
|
||||
Page<SdWeBH> queryPageList(DataSourceRequest request);
|
||||
boolean add(SdWeBH entity, String source);
|
||||
boolean update(SdWeBH entity, String source);
|
||||
boolean delete(List<String> stcds, String source);
|
||||
}
|
||||
@ -0,0 +1,15 @@
|
||||
package com.yfd.platform.qgc_base.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdWqBH;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface ISdWqBHService extends IService<SdWqBH> {
|
||||
Page<SdWqBH> queryPageList(DataSourceRequest request);
|
||||
boolean add(SdWqBH entity, String source);
|
||||
boolean update(SdWqBH entity, String source);
|
||||
boolean delete(List<String> stcds, String source);
|
||||
}
|
||||
@ -0,0 +1,15 @@
|
||||
package com.yfd.platform.qgc_base.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdWtBH;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface ISdWtBHService extends IService<SdWtBH> {
|
||||
Page<SdWtBH> queryPageList(DataSourceRequest request);
|
||||
boolean add(SdWtBH entity, String source);
|
||||
boolean update(SdWtBH entity, String source);
|
||||
boolean delete(List<String> stcds, String source);
|
||||
}
|
||||
@ -379,16 +379,26 @@ public class MsOperationLogServiceImpl implements IMsOperationLogService {
|
||||
}
|
||||
|
||||
private MsOperationLog buildMainLog(String recordId,String remark, String source) {
|
||||
return buildMainLog(ENG_TABLE_NAME, recordId, remark, source);
|
||||
}
|
||||
|
||||
private MsOperationLog buildMainLog(String tableName, String recordId, String remark, String source) {
|
||||
MsOperationLog log = new MsOperationLog();
|
||||
log.setOperator(resolveOperator());
|
||||
log.setOperateTime(new Date());
|
||||
log.setTableName(ENG_TABLE_NAME);
|
||||
log.setTableName(tableName);
|
||||
log.setRecordId(recordId);
|
||||
log.setSource(StrUtil.trimToNull(source));
|
||||
log.setRemark(remark);
|
||||
return log;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void recordOperationLog(String tableName, String recordId, String operation, String source) {
|
||||
MsOperationLog log = buildMainLog(tableName, recordId, operation, source);
|
||||
msOperationLogMapper.insert(log);
|
||||
}
|
||||
|
||||
private MsOperationLogDetail buildDetail(String mainId,
|
||||
String stationCode,
|
||||
String fieldCode,
|
||||
|
||||
@ -0,0 +1,72 @@
|
||||
package com.yfd.platform.qgc_base.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdAiboxBH;
|
||||
import com.yfd.platform.qgc_base.mapper.SdAiboxBHMapper;
|
||||
import com.yfd.platform.qgc_base.service.IMsOperationLogService;
|
||||
import com.yfd.platform.qgc_base.service.ISdAiboxBHService;
|
||||
import com.yfd.platform.utils.DataSourceRequestUtil;
|
||||
import com.yfd.platform.utils.SecurityUtils;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
public class SdAiboxBHServiceImpl extends ServiceImpl<SdAiboxBHMapper, SdAiboxBH> implements ISdAiboxBHService {
|
||||
|
||||
private static final String TABLE_NAME = "SD_AIBOX_B_H";
|
||||
|
||||
@Resource
|
||||
private IMsOperationLogService msOperationLogService;
|
||||
|
||||
@Override
|
||||
public Page<SdAiboxBH> queryPageList(DataSourceRequest request) {
|
||||
return DataSourceRequestUtil.executeQuery(request, SdAiboxBH.class, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean add(SdAiboxBH entity, String source) {
|
||||
boolean result = this.save(entity);
|
||||
if (result) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "新增", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean update(SdAiboxBH entity, String source) {
|
||||
SdAiboxBH before = this.getById(entity.getStcd());
|
||||
boolean result = this.updateById(entity);
|
||||
if (result && before != null) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "修改", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean delete(List<String> stcds, String source) {
|
||||
if (stcds == null || stcds.isEmpty()) return false;
|
||||
int count = 0;
|
||||
for (String stcd : stcds) {
|
||||
LambdaUpdateWrapper<SdAiboxBH> wrapper = new LambdaUpdateWrapper<>();
|
||||
wrapper.eq(SdAiboxBH::getStcd, stcd);
|
||||
wrapper.set(SdAiboxBH::getIsDeleted, 1);
|
||||
wrapper.set(SdAiboxBH::getDeleteUser, SecurityUtils.getCurrentUsername());
|
||||
wrapper.set(SdAiboxBH::getDeleteTime, new Date());
|
||||
if (this.update(wrapper)) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, stcd, "删除", source);
|
||||
count++;
|
||||
}
|
||||
}
|
||||
return count > 0;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,64 @@
|
||||
package com.yfd.platform.qgc_base.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdArtsgBH;
|
||||
import com.yfd.platform.qgc_base.mapper.SdArtsgBHMapper;
|
||||
import com.yfd.platform.qgc_base.service.IMsOperationLogService;
|
||||
import com.yfd.platform.qgc_base.service.ISdArtsgBHService;
|
||||
import com.yfd.platform.utils.DataSourceRequestUtil;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
public class SdArtsgBHServiceImpl extends ServiceImpl<SdArtsgBHMapper, SdArtsgBH> implements ISdArtsgBHService {
|
||||
|
||||
private static final String TABLE_NAME = "SD_ARTSG_B_H";
|
||||
|
||||
@Resource
|
||||
private IMsOperationLogService msOperationLogService;
|
||||
|
||||
@Override
|
||||
public Page<SdArtsgBH> queryPageList(DataSourceRequest request) {
|
||||
return DataSourceRequestUtil.executeQuery(request, SdArtsgBH.class, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean add(SdArtsgBH entity, String source) {
|
||||
boolean result = this.save(entity);
|
||||
if (result) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "新增", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean update(SdArtsgBH entity, String source) {
|
||||
SdArtsgBH before = this.getById(entity.getStcd());
|
||||
boolean result = this.updateById(entity);
|
||||
if (result && before != null) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "修改", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean delete(List<String> stcds, String source) {
|
||||
if (stcds == null || stcds.isEmpty()) return false;
|
||||
int count = 0;
|
||||
for (String stcd : stcds) {
|
||||
if (this.removeById(stcd)) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, stcd, "删除", source);
|
||||
count++;
|
||||
}
|
||||
}
|
||||
return count > 0;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,72 @@
|
||||
package com.yfd.platform.qgc_base.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdDwBH;
|
||||
import com.yfd.platform.qgc_base.mapper.SdDwBHMapper;
|
||||
import com.yfd.platform.qgc_base.service.IMsOperationLogService;
|
||||
import com.yfd.platform.qgc_base.service.ISdDwBHService;
|
||||
import com.yfd.platform.utils.DataSourceRequestUtil;
|
||||
import com.yfd.platform.utils.SecurityUtils;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
public class SdDwBHServiceImpl extends ServiceImpl<SdDwBHMapper, SdDwBH> implements ISdDwBHService {
|
||||
|
||||
private static final String TABLE_NAME = "SD_DW_B_H";
|
||||
|
||||
@Resource
|
||||
private IMsOperationLogService msOperationLogService;
|
||||
|
||||
@Override
|
||||
public Page<SdDwBH> queryPageList(DataSourceRequest request) {
|
||||
return DataSourceRequestUtil.executeQuery(request, SdDwBH.class, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean add(SdDwBH entity, String source) {
|
||||
boolean result = this.save(entity);
|
||||
if (result) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "新增", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean update(SdDwBH entity, String source) {
|
||||
SdDwBH before = this.getById(entity.getStcd());
|
||||
boolean result = this.updateById(entity);
|
||||
if (result && before != null) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "修改", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean delete(List<String> stcds, String source) {
|
||||
if (stcds == null || stcds.isEmpty()) return false;
|
||||
int count = 0;
|
||||
for (String stcd : stcds) {
|
||||
LambdaUpdateWrapper<SdDwBH> wrapper = new LambdaUpdateWrapper<>();
|
||||
wrapper.eq(SdDwBH::getStcd, stcd);
|
||||
wrapper.set(SdDwBH::getIsDeleted, 1);
|
||||
wrapper.set(SdDwBH::getDeleteUser, SecurityUtils.getCurrentUsername());
|
||||
wrapper.set(SdDwBH::getDeleteTime, new Date());
|
||||
if (this.update(wrapper)) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, stcd, "删除", source);
|
||||
count++;
|
||||
}
|
||||
}
|
||||
return count > 0;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,72 @@
|
||||
package com.yfd.platform.qgc_base.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdEqBH;
|
||||
import com.yfd.platform.qgc_base.mapper.SdEqBHMapper;
|
||||
import com.yfd.platform.qgc_base.service.IMsOperationLogService;
|
||||
import com.yfd.platform.qgc_base.service.ISdEqBHService;
|
||||
import com.yfd.platform.utils.DataSourceRequestUtil;
|
||||
import com.yfd.platform.utils.SecurityUtils;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
public class SdEqBHServiceImpl extends ServiceImpl<SdEqBHMapper, SdEqBH> implements ISdEqBHService {
|
||||
|
||||
private static final String TABLE_NAME = "SD_EQ_B_H";
|
||||
|
||||
@Resource
|
||||
private IMsOperationLogService msOperationLogService;
|
||||
|
||||
@Override
|
||||
public Page<SdEqBH> queryPageList(DataSourceRequest request) {
|
||||
return DataSourceRequestUtil.executeQuery(request, SdEqBH.class, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean add(SdEqBH entity, String source) {
|
||||
boolean result = this.save(entity);
|
||||
if (result) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "新增", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean update(SdEqBH entity, String source) {
|
||||
SdEqBH before = this.getById(entity.getStcd());
|
||||
boolean result = this.updateById(entity);
|
||||
if (result && before != null) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "修改", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean delete(List<String> stcds, String source) {
|
||||
if (stcds == null || stcds.isEmpty()) return false;
|
||||
int count = 0;
|
||||
for (String stcd : stcds) {
|
||||
LambdaUpdateWrapper<SdEqBH> wrapper = new LambdaUpdateWrapper<>();
|
||||
wrapper.eq(SdEqBH::getStcd, stcd);
|
||||
wrapper.set(SdEqBH::getIsDeleted, 1);
|
||||
wrapper.set(SdEqBH::getDeleteUser, SecurityUtils.getCurrentUsername());
|
||||
wrapper.set(SdEqBH::getDeleteTime, new Date());
|
||||
if (this.update(wrapper)) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, stcd, "删除", source);
|
||||
count++;
|
||||
}
|
||||
}
|
||||
return count > 0;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,64 @@
|
||||
package com.yfd.platform.qgc_base.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdFbrdBH;
|
||||
import com.yfd.platform.qgc_base.mapper.SdFbrdBHMapper;
|
||||
import com.yfd.platform.qgc_base.service.IMsOperationLogService;
|
||||
import com.yfd.platform.qgc_base.service.ISdFbrdBHService;
|
||||
import com.yfd.platform.utils.DataSourceRequestUtil;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
public class SdFbrdBHServiceImpl extends ServiceImpl<SdFbrdBHMapper, SdFbrdBH> implements ISdFbrdBHService {
|
||||
|
||||
private static final String TABLE_NAME = "SD_FBRD_B_H";
|
||||
|
||||
@Resource
|
||||
private IMsOperationLogService msOperationLogService;
|
||||
|
||||
@Override
|
||||
public Page<SdFbrdBH> queryPageList(DataSourceRequest request) {
|
||||
return DataSourceRequestUtil.executeQuery(request, SdFbrdBH.class, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean add(SdFbrdBH entity, String source) {
|
||||
boolean result = this.save(entity);
|
||||
if (result) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "新增", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean update(SdFbrdBH entity, String source) {
|
||||
SdFbrdBH before = this.getById(entity.getStcd());
|
||||
boolean result = this.updateById(entity);
|
||||
if (result && before != null) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "修改", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean delete(List<String> stcds, String source) {
|
||||
if (stcds == null || stcds.isEmpty()) return false;
|
||||
int count = 0;
|
||||
for (String stcd : stcds) {
|
||||
if (this.removeById(stcd)) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, stcd, "删除", source);
|
||||
count++;
|
||||
}
|
||||
}
|
||||
return count > 0;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,72 @@
|
||||
package com.yfd.platform.qgc_base.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdFhbtBH;
|
||||
import com.yfd.platform.qgc_base.mapper.SdFhbtBHMapper;
|
||||
import com.yfd.platform.qgc_base.service.IMsOperationLogService;
|
||||
import com.yfd.platform.qgc_base.service.ISdFhbtBHService;
|
||||
import com.yfd.platform.utils.DataSourceRequestUtil;
|
||||
import com.yfd.platform.utils.SecurityUtils;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
public class SdFhbtBHServiceImpl extends ServiceImpl<SdFhbtBHMapper, SdFhbtBH> implements ISdFhbtBHService {
|
||||
|
||||
private static final String TABLE_NAME = "SD_FHBT_B_H";
|
||||
|
||||
@Resource
|
||||
private IMsOperationLogService msOperationLogService;
|
||||
|
||||
@Override
|
||||
public Page<SdFhbtBH> queryPageList(DataSourceRequest request) {
|
||||
return DataSourceRequestUtil.executeQuery(request, SdFhbtBH.class, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean add(SdFhbtBH entity, String source) {
|
||||
boolean result = this.save(entity);
|
||||
if (result) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "新增", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean update(SdFhbtBH entity, String source) {
|
||||
SdFhbtBH before = this.getById(entity.getStcd());
|
||||
boolean result = this.updateById(entity);
|
||||
if (result && before != null) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "修改", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean delete(List<String> stcds, String source) {
|
||||
if (stcds == null || stcds.isEmpty()) return false;
|
||||
int count = 0;
|
||||
for (String stcd : stcds) {
|
||||
LambdaUpdateWrapper<SdFhbtBH> wrapper = new LambdaUpdateWrapper<>();
|
||||
wrapper.eq(SdFhbtBH::getStcd, stcd);
|
||||
wrapper.set(SdFhbtBH::getIsDeleted, 1);
|
||||
wrapper.set(SdFhbtBH::getDeleteUser, SecurityUtils.getCurrentUsername());
|
||||
wrapper.set(SdFhbtBH::getDeleteTime, new Date());
|
||||
if (this.update(wrapper)) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, stcd, "删除", source);
|
||||
count++;
|
||||
}
|
||||
}
|
||||
return count > 0;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,72 @@
|
||||
package com.yfd.platform.qgc_base.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdOpinfoBH;
|
||||
import com.yfd.platform.qgc_base.mapper.SdOpinfoBHMapper;
|
||||
import com.yfd.platform.qgc_base.service.IMsOperationLogService;
|
||||
import com.yfd.platform.qgc_base.service.ISdOpinfoBHService;
|
||||
import com.yfd.platform.utils.DataSourceRequestUtil;
|
||||
import com.yfd.platform.utils.SecurityUtils;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
public class SdOpinfoBHServiceImpl extends ServiceImpl<SdOpinfoBHMapper, SdOpinfoBH> implements ISdOpinfoBHService {
|
||||
|
||||
private static final String TABLE_NAME = "SD_OPINFO_B_H";
|
||||
|
||||
@Resource
|
||||
private IMsOperationLogService msOperationLogService;
|
||||
|
||||
@Override
|
||||
public Page<SdOpinfoBH> queryPageList(DataSourceRequest request) {
|
||||
return DataSourceRequestUtil.executeQuery(request, SdOpinfoBH.class, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean add(SdOpinfoBH entity, String source) {
|
||||
boolean result = this.save(entity);
|
||||
if (result) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "新增", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean update(SdOpinfoBH entity, String source) {
|
||||
SdOpinfoBH before = this.getById(entity.getStcd());
|
||||
boolean result = this.updateById(entity);
|
||||
if (result && before != null) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "修改", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean delete(List<String> stcds, String source) {
|
||||
if (stcds == null || stcds.isEmpty()) return false;
|
||||
int count = 0;
|
||||
for (String stcd : stcds) {
|
||||
LambdaUpdateWrapper<SdOpinfoBH> wrapper = new LambdaUpdateWrapper<>();
|
||||
wrapper.eq(SdOpinfoBH::getStcd, stcd);
|
||||
wrapper.set(SdOpinfoBH::getIsDeleted, 1);
|
||||
wrapper.set(SdOpinfoBH::getDeleteUser, SecurityUtils.getCurrentUsername());
|
||||
wrapper.set(SdOpinfoBH::getDeleteTime, new Date());
|
||||
if (this.update(wrapper)) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, stcd, "删除", source);
|
||||
count++;
|
||||
}
|
||||
}
|
||||
return count > 0;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,64 @@
|
||||
package com.yfd.platform.qgc_base.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdOtteBH;
|
||||
import com.yfd.platform.qgc_base.mapper.SdOtteBHMapper;
|
||||
import com.yfd.platform.qgc_base.service.IMsOperationLogService;
|
||||
import com.yfd.platform.qgc_base.service.ISdOtteBHService;
|
||||
import com.yfd.platform.utils.DataSourceRequestUtil;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
public class SdOtteBHServiceImpl extends ServiceImpl<SdOtteBHMapper, SdOtteBH> implements ISdOtteBHService {
|
||||
|
||||
private static final String TABLE_NAME = "SD_OTTE_B_H";
|
||||
|
||||
@Resource
|
||||
private IMsOperationLogService msOperationLogService;
|
||||
|
||||
@Override
|
||||
public Page<SdOtteBH> queryPageList(DataSourceRequest request) {
|
||||
return DataSourceRequestUtil.executeQuery(request, SdOtteBH.class, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean add(SdOtteBH entity, String source) {
|
||||
boolean result = this.save(entity);
|
||||
if (result) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "新增", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean update(SdOtteBH entity, String source) {
|
||||
SdOtteBH before = this.getById(entity.getStcd());
|
||||
boolean result = this.updateById(entity);
|
||||
if (result && before != null) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "修改", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean delete(List<String> stcds, String source) {
|
||||
if (stcds == null || stcds.isEmpty()) return false;
|
||||
int count = 0;
|
||||
for (String stcd : stcds) {
|
||||
if (this.removeById(stcd)) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, stcd, "删除", source);
|
||||
count++;
|
||||
}
|
||||
}
|
||||
return count > 0;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,64 @@
|
||||
package com.yfd.platform.qgc_base.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdOtweBH;
|
||||
import com.yfd.platform.qgc_base.mapper.SdOtweBHMapper;
|
||||
import com.yfd.platform.qgc_base.service.IMsOperationLogService;
|
||||
import com.yfd.platform.qgc_base.service.ISdOtweBHService;
|
||||
import com.yfd.platform.utils.DataSourceRequestUtil;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
public class SdOtweBHServiceImpl extends ServiceImpl<SdOtweBHMapper, SdOtweBH> implements ISdOtweBHService {
|
||||
|
||||
private static final String TABLE_NAME = "SD_OTWE_B_H";
|
||||
|
||||
@Resource
|
||||
private IMsOperationLogService msOperationLogService;
|
||||
|
||||
@Override
|
||||
public Page<SdOtweBH> queryPageList(DataSourceRequest request) {
|
||||
return DataSourceRequestUtil.executeQuery(request, SdOtweBH.class, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean add(SdOtweBH entity, String source) {
|
||||
boolean result = this.save(entity);
|
||||
if (result) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "新增", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean update(SdOtweBH entity, String source) {
|
||||
SdOtweBH before = this.getById(entity.getStcd());
|
||||
boolean result = this.updateById(entity);
|
||||
if (result && before != null) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "修改", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean delete(List<String> stcds, String source) {
|
||||
if (stcds == null || stcds.isEmpty()) return false;
|
||||
int count = 0;
|
||||
for (String stcd : stcds) {
|
||||
if (this.removeById(stcd)) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, stcd, "删除", source);
|
||||
count++;
|
||||
}
|
||||
}
|
||||
return count > 0;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,72 @@
|
||||
package com.yfd.platform.qgc_base.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdSonarBH;
|
||||
import com.yfd.platform.qgc_base.mapper.SdSonarBHMapper;
|
||||
import com.yfd.platform.qgc_base.service.IMsOperationLogService;
|
||||
import com.yfd.platform.qgc_base.service.ISdSonarBHService;
|
||||
import com.yfd.platform.utils.DataSourceRequestUtil;
|
||||
import com.yfd.platform.utils.SecurityUtils;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
public class SdSonarBHServiceImpl extends ServiceImpl<SdSonarBHMapper, SdSonarBH> implements ISdSonarBHService {
|
||||
|
||||
private static final String TABLE_NAME = "SD_SONAR_B_H";
|
||||
|
||||
@Resource
|
||||
private IMsOperationLogService msOperationLogService;
|
||||
|
||||
@Override
|
||||
public Page<SdSonarBH> queryPageList(DataSourceRequest request) {
|
||||
return DataSourceRequestUtil.executeQuery(request, SdSonarBH.class, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean add(SdSonarBH entity, String source) {
|
||||
boolean result = this.save(entity);
|
||||
if (result) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "新增", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean update(SdSonarBH entity, String source) {
|
||||
SdSonarBH before = this.getById(entity.getStcd());
|
||||
boolean result = this.updateById(entity);
|
||||
if (result && before != null) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "修改", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean delete(List<String> stcds, String source) {
|
||||
if (stcds == null || stcds.isEmpty()) return false;
|
||||
int count = 0;
|
||||
for (String stcd : stcds) {
|
||||
LambdaUpdateWrapper<SdSonarBH> wrapper = new LambdaUpdateWrapper<>();
|
||||
wrapper.eq(SdSonarBH::getStcd, stcd);
|
||||
wrapper.set(SdSonarBH::getIsDeleted, 1);
|
||||
wrapper.set(SdSonarBH::getDeleteUser, SecurityUtils.getCurrentUsername());
|
||||
wrapper.set(SdSonarBH::getDeleteTime, new Date());
|
||||
if (this.update(wrapper)) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, stcd, "删除", source);
|
||||
count++;
|
||||
}
|
||||
}
|
||||
return count > 0;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,64 @@
|
||||
package com.yfd.platform.qgc_base.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdTeBH;
|
||||
import com.yfd.platform.qgc_base.mapper.SdTeBHMapper;
|
||||
import com.yfd.platform.qgc_base.service.IMsOperationLogService;
|
||||
import com.yfd.platform.qgc_base.service.ISdTeBHService;
|
||||
import com.yfd.platform.utils.DataSourceRequestUtil;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
public class SdTeBHServiceImpl extends ServiceImpl<SdTeBHMapper, SdTeBH> implements ISdTeBHService {
|
||||
|
||||
private static final String TABLE_NAME = "SD_TE_B_H";
|
||||
|
||||
@Resource
|
||||
private IMsOperationLogService msOperationLogService;
|
||||
|
||||
@Override
|
||||
public Page<SdTeBH> queryPageList(DataSourceRequest request) {
|
||||
return DataSourceRequestUtil.executeQuery(request, SdTeBH.class, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean add(SdTeBH entity, String source) {
|
||||
boolean result = this.save(entity);
|
||||
if (result) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "新增", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean update(SdTeBH entity, String source) {
|
||||
SdTeBH before = this.getById(entity.getStcd());
|
||||
boolean result = this.updateById(entity);
|
||||
if (result && before != null) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "修改", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean delete(List<String> stcds, String source) {
|
||||
if (stcds == null || stcds.isEmpty()) return false;
|
||||
int count = 0;
|
||||
for (String stcd : stcds) {
|
||||
if (this.removeById(stcd)) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, stcd, "删除", source);
|
||||
count++;
|
||||
}
|
||||
}
|
||||
return count > 0;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,72 @@
|
||||
package com.yfd.platform.qgc_base.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdVaBH;
|
||||
import com.yfd.platform.qgc_base.mapper.SdVaBHMapper;
|
||||
import com.yfd.platform.qgc_base.service.IMsOperationLogService;
|
||||
import com.yfd.platform.qgc_base.service.ISdVaBHService;
|
||||
import com.yfd.platform.utils.DataSourceRequestUtil;
|
||||
import com.yfd.platform.utils.SecurityUtils;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
public class SdVaBHServiceImpl extends ServiceImpl<SdVaBHMapper, SdVaBH> implements ISdVaBHService {
|
||||
|
||||
private static final String TABLE_NAME = "SD_VA_B_H";
|
||||
|
||||
@Resource
|
||||
private IMsOperationLogService msOperationLogService;
|
||||
|
||||
@Override
|
||||
public Page<SdVaBH> queryPageList(DataSourceRequest request) {
|
||||
return DataSourceRequestUtil.executeQuery(request, SdVaBH.class, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean add(SdVaBH entity, String source) {
|
||||
boolean result = this.save(entity);
|
||||
if (result) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "新增", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean update(SdVaBH entity, String source) {
|
||||
SdVaBH before = this.getById(entity.getStcd());
|
||||
boolean result = this.updateById(entity);
|
||||
if (result && before != null) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "修改", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean delete(List<String> stcds, String source) {
|
||||
if (stcds == null || stcds.isEmpty()) return false;
|
||||
int count = 0;
|
||||
for (String stcd : stcds) {
|
||||
LambdaUpdateWrapper<SdVaBH> wrapper = new LambdaUpdateWrapper<>();
|
||||
wrapper.eq(SdVaBH::getStcd, stcd);
|
||||
wrapper.set(SdVaBH::getIsDeleted, 1);
|
||||
wrapper.set(SdVaBH::getDeleteUser, SecurityUtils.getCurrentUsername());
|
||||
wrapper.set(SdVaBH::getDeleteTime, new Date());
|
||||
if (this.update(wrapper)) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, stcd, "删除", source);
|
||||
count++;
|
||||
}
|
||||
}
|
||||
return count > 0;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,64 @@
|
||||
package com.yfd.platform.qgc_base.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdVdinfoB;
|
||||
import com.yfd.platform.qgc_base.mapper.SdVdinfoBMapper;
|
||||
import com.yfd.platform.qgc_base.service.IMsOperationLogService;
|
||||
import com.yfd.platform.qgc_base.service.ISdVdinfoBService;
|
||||
import com.yfd.platform.utils.DataSourceRequestUtil;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
public class SdVdinfoBServiceImpl extends ServiceImpl<SdVdinfoBMapper, SdVdinfoB> implements ISdVdinfoBService {
|
||||
|
||||
private static final String TABLE_NAME = "SD_VDINFO_B";
|
||||
|
||||
@Resource
|
||||
private IMsOperationLogService msOperationLogService;
|
||||
|
||||
@Override
|
||||
public Page<SdVdinfoB> queryPageList(DataSourceRequest request) {
|
||||
return DataSourceRequestUtil.executeQuery(request, SdVdinfoB.class, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean add(SdVdinfoB entity, String source) {
|
||||
boolean result = this.save(entity);
|
||||
if (result) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "新增", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean update(SdVdinfoB entity, String source) {
|
||||
SdVdinfoB before = this.getById(entity.getStcd());
|
||||
boolean result = this.updateById(entity);
|
||||
if (result && before != null) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "修改", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean delete(List<String> stcds, String source) {
|
||||
if (stcds == null || stcds.isEmpty()) return false;
|
||||
int count = 0;
|
||||
for (String stcd : stcds) {
|
||||
if (this.removeById(stcd)) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, stcd, "删除", source);
|
||||
count++;
|
||||
}
|
||||
}
|
||||
return count > 0;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,72 @@
|
||||
package com.yfd.platform.qgc_base.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdVpBH;
|
||||
import com.yfd.platform.qgc_base.mapper.SdVpBHMapper;
|
||||
import com.yfd.platform.qgc_base.service.IMsOperationLogService;
|
||||
import com.yfd.platform.qgc_base.service.ISdVpBHService;
|
||||
import com.yfd.platform.utils.DataSourceRequestUtil;
|
||||
import com.yfd.platform.utils.SecurityUtils;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
public class SdVpBHServiceImpl extends ServiceImpl<SdVpBHMapper, SdVpBH> implements ISdVpBHService {
|
||||
|
||||
private static final String TABLE_NAME = "SD_VP_B_H";
|
||||
|
||||
@Resource
|
||||
private IMsOperationLogService msOperationLogService;
|
||||
|
||||
@Override
|
||||
public Page<SdVpBH> queryPageList(DataSourceRequest request) {
|
||||
return DataSourceRequestUtil.executeQuery(request, SdVpBH.class, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean add(SdVpBH entity, String source) {
|
||||
boolean result = this.save(entity);
|
||||
if (result) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "新增", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean update(SdVpBH entity, String source) {
|
||||
SdVpBH before = this.getById(entity.getStcd());
|
||||
boolean result = this.updateById(entity);
|
||||
if (result && before != null) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "修改", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean delete(List<String> stcds, String source) {
|
||||
if (stcds == null || stcds.isEmpty()) return false;
|
||||
int count = 0;
|
||||
for (String stcd : stcds) {
|
||||
LambdaUpdateWrapper<SdVpBH> wrapper = new LambdaUpdateWrapper<>();
|
||||
wrapper.eq(SdVpBH::getStcd, stcd);
|
||||
wrapper.set(SdVpBH::getIsDeleted, 1);
|
||||
wrapper.set(SdVpBH::getDeleteUser, SecurityUtils.getCurrentUsername());
|
||||
wrapper.set(SdVpBH::getDeleteTime, new Date());
|
||||
if (this.update(wrapper)) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, stcd, "删除", source);
|
||||
count++;
|
||||
}
|
||||
}
|
||||
return count > 0;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,64 @@
|
||||
package com.yfd.platform.qgc_base.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdWeBH;
|
||||
import com.yfd.platform.qgc_base.mapper.SdWeBHMapper;
|
||||
import com.yfd.platform.qgc_base.service.IMsOperationLogService;
|
||||
import com.yfd.platform.qgc_base.service.ISdWeBHService;
|
||||
import com.yfd.platform.utils.DataSourceRequestUtil;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
public class SdWeBHServiceImpl extends ServiceImpl<SdWeBHMapper, SdWeBH> implements ISdWeBHService {
|
||||
|
||||
private static final String TABLE_NAME = "SD_WE_B_H";
|
||||
|
||||
@Resource
|
||||
private IMsOperationLogService msOperationLogService;
|
||||
|
||||
@Override
|
||||
public Page<SdWeBH> queryPageList(DataSourceRequest request) {
|
||||
return DataSourceRequestUtil.executeQuery(request, SdWeBH.class, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean add(SdWeBH entity, String source) {
|
||||
boolean result = this.save(entity);
|
||||
if (result) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "新增", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean update(SdWeBH entity, String source) {
|
||||
SdWeBH before = this.getById(entity.getStcd());
|
||||
boolean result = this.updateById(entity);
|
||||
if (result && before != null) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "修改", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean delete(List<String> stcds, String source) {
|
||||
if (stcds == null || stcds.isEmpty()) return false;
|
||||
int count = 0;
|
||||
for (String stcd : stcds) {
|
||||
if (this.removeById(stcd)) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, stcd, "删除", source);
|
||||
count++;
|
||||
}
|
||||
}
|
||||
return count > 0;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,72 @@
|
||||
package com.yfd.platform.qgc_base.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdWqBH;
|
||||
import com.yfd.platform.qgc_base.mapper.SdWqBHMapper;
|
||||
import com.yfd.platform.qgc_base.service.IMsOperationLogService;
|
||||
import com.yfd.platform.qgc_base.service.ISdWqBHService;
|
||||
import com.yfd.platform.utils.DataSourceRequestUtil;
|
||||
import com.yfd.platform.utils.SecurityUtils;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
public class SdWqBHServiceImpl extends ServiceImpl<SdWqBHMapper, SdWqBH> implements ISdWqBHService {
|
||||
|
||||
private static final String TABLE_NAME = "SD_WQ_B_H";
|
||||
|
||||
@Resource
|
||||
private IMsOperationLogService msOperationLogService;
|
||||
|
||||
@Override
|
||||
public Page<SdWqBH> queryPageList(DataSourceRequest request) {
|
||||
return DataSourceRequestUtil.executeQuery(request, SdWqBH.class, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean add(SdWqBH entity, String source) {
|
||||
boolean result = this.save(entity);
|
||||
if (result) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "新增", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean update(SdWqBH entity, String source) {
|
||||
SdWqBH before = this.getById(entity.getStcd());
|
||||
boolean result = this.updateById(entity);
|
||||
if (result && before != null) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "修改", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean delete(List<String> stcds, String source) {
|
||||
if (stcds == null || stcds.isEmpty()) return false;
|
||||
int count = 0;
|
||||
for (String stcd : stcds) {
|
||||
LambdaUpdateWrapper<SdWqBH> wrapper = new LambdaUpdateWrapper<>();
|
||||
wrapper.eq(SdWqBH::getStcd, stcd);
|
||||
wrapper.set(SdWqBH::getIsDeleted, 1);
|
||||
wrapper.set(SdWqBH::getDeleteUser, SecurityUtils.getCurrentUsername());
|
||||
wrapper.set(SdWqBH::getDeleteTime, new Date());
|
||||
if (this.update(wrapper)) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, stcd, "删除", source);
|
||||
count++;
|
||||
}
|
||||
}
|
||||
return count > 0;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,72 @@
|
||||
package com.yfd.platform.qgc_base.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.yfd.platform.common.DataSourceRequest;
|
||||
import com.yfd.platform.qgc_base.domain.SdWtBH;
|
||||
import com.yfd.platform.qgc_base.mapper.SdWtBHMapper;
|
||||
import com.yfd.platform.qgc_base.service.IMsOperationLogService;
|
||||
import com.yfd.platform.qgc_base.service.ISdWtBHService;
|
||||
import com.yfd.platform.utils.DataSourceRequestUtil;
|
||||
import com.yfd.platform.utils.SecurityUtils;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
public class SdWtBHServiceImpl extends ServiceImpl<SdWtBHMapper, SdWtBH> implements ISdWtBHService {
|
||||
|
||||
private static final String TABLE_NAME = "SD_WT_B_H";
|
||||
|
||||
@Resource
|
||||
private IMsOperationLogService msOperationLogService;
|
||||
|
||||
@Override
|
||||
public Page<SdWtBH> queryPageList(DataSourceRequest request) {
|
||||
return DataSourceRequestUtil.executeQuery(request, SdWtBH.class, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean add(SdWtBH entity, String source) {
|
||||
boolean result = this.save(entity);
|
||||
if (result) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "新增", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean update(SdWtBH entity, String source) {
|
||||
SdWtBH before = this.getById(entity.getStcd());
|
||||
boolean result = this.updateById(entity);
|
||||
if (result && before != null) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, entity.getStcd(), "修改", source);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean delete(List<String> stcds, String source) {
|
||||
if (stcds == null || stcds.isEmpty()) return false;
|
||||
int count = 0;
|
||||
for (String stcd : stcds) {
|
||||
LambdaUpdateWrapper<SdWtBH> wrapper = new LambdaUpdateWrapper<>();
|
||||
wrapper.eq(SdWtBH::getStcd, stcd);
|
||||
wrapper.set(SdWtBH::getIsDeleted, 1);
|
||||
wrapper.set(SdWtBH::getDeleteUser, SecurityUtils.getCurrentUsername());
|
||||
wrapper.set(SdWtBH::getDeleteTime, new Date());
|
||||
if (this.update(wrapper)) {
|
||||
msOperationLogService.recordOperationLog(TABLE_NAME, stcd, "删除", source);
|
||||
count++;
|
||||
}
|
||||
}
|
||||
return count > 0;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user