Commit f6c423f4 by jiang'yun

修改

parent 90e91349
......@@ -5,10 +5,15 @@ import java.io.InputStream;
import java.io.OutputStream;
import java.math.BigDecimal;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.project.zjsgfa.domain.SjJsjg;
import com.ruoyi.project.zjsgfa.domain.SjJygjInfo;
import com.ruoyi.project.zjsgfa.mapper.SjJsjgMapper;
import com.ruoyi.project.zjsgfa.mapper.SjJygjInfoMapper;
import org.apache.poi.ss.usermodel.*;
import org.apache.poi.xssf.usermodel.XSSFRow;
import org.apache.poi.xssf.usermodel.XSSFSheet;
......@@ -40,6 +45,13 @@ public class SjDjjcController extends BaseController
@Autowired
private ISjDjjcService sjDjjcService;
@Autowired
private SjJsjgMapper sjJsjgMapper;
@Autowired
private SjJygjInfoMapper sjJygjInfoMapper;
/**
* 查询设计信息-井基础信息列表
*/
......@@ -96,7 +108,13 @@ public class SjDjjcController extends BaseController
@PostMapping
public AjaxResult add(@RequestBody SjDjjc sjDjjc)
{
return toAjax(sjDjjcService.insertSjDjjc(sjDjjc));
int i = sjDjjcService.insertSjDjjc(sjDjjc);
if(i==3){
return AjaxResult.error("该井号已存在!");
}else {
return toAjax(i);
}
}
/**
......@@ -132,7 +150,7 @@ public class SjDjjcController extends BaseController
OutputStream out = null;
InputStream in = null;
try {
in =this.getClass().getResourceAsStream("/static/excel/sjdjjcdrmb.xlsx");
in =this.getClass().getResourceAsStream("/static/excel/sjdrmb.xlsx");
exl = WorkbookFactory.create(in);
out = response.getOutputStream();
response.reset();
......@@ -141,23 +159,7 @@ public class SjDjjcController extends BaseController
response.setHeader("Content-Disposition", "attachment;filename=" + filename);
response.setContentType(MediaType.APPLICATION_OCTET_STREAM_VALUE);
Sheet sheet = exl.getSheet("Sheet1");
CellStyle cellStyle = exl.createCellStyle();
cellStyle.setAlignment(HorizontalAlignment.CENTER);
cellStyle.setVerticalAlignment(VerticalAlignment.CENTER);
cellStyle.setBorderBottom(BorderStyle.THIN); //下边框
cellStyle.setBorderLeft(BorderStyle.THIN);//左边框
cellStyle.setBorderTop(BorderStyle.THIN);//上边框
cellStyle.setBorderRight(BorderStyle.THIN);//右边框
cellStyle.setBottomBorderColor(IndexedColors.BLACK.getIndex());
cellStyle.setLeftBorderColor(IndexedColors.BLACK.getIndex());
cellStyle.setRightBorderColor(IndexedColors.BLACK.getIndex());
cellStyle.setTopBorderColor(IndexedColors.BLACK.getIndex());
Font cellFont = exl.createFont();
cellFont.setFontHeightInPoints((short)9); // 字体大小
cellFont.setFontName("宋体"); // 字体应用到当前单元格上
cellStyle.setFont(cellFont);
cellStyle.setWrapText(true);//设置自动换行
exl.write(out);
exl.close();
......@@ -196,64 +198,167 @@ public class SjDjjcController extends BaseController
try {
//装载流
workbook = new XSSFWorkbook(file.getInputStream());
// 获取一个工作表,下标从0开始
// 获取井基础信息表,下标从0开始
XSSFSheet sheet = workbook.getSheetAt(0);
int lastRowNum = sheet.getLastRowNum();
String jh ="";
// 通过循环,逐行取出表中每行数据
for(int i=0;i<=lastRowNum;i++){//跳过第一行
for(int i=0;i<=lastRowNum;i++){
//跳过第一行
if(i==0){
continue;
}
// 获取行
XSSFRow row = sheet.getRow(i);
System.out.println(row);
SjDjjc info=new SjDjjc();
String jh=new DataFormatter().formatCellValue(row.getCell(0));
jh=new DataFormatter().formatCellValue(row.getCell(0));
if(StringUtils.isEmpty(jh)){
return AjaxResult.error("第"+(i+1)+"行井号不能为空");
return AjaxResult.error("井基础信息中第"+(i+1)+"行井号不能为空");
}
info.setJh(jh);
String jb=new DataFormatter().formatCellValue(row.getCell(1));
if(StringUtils.isEmpty(jb)){
return AjaxResult.error("第"+(i+1)+"行井别不能为空");
return AjaxResult.error("井基础信息中第"+(i+1)+"行井别不能为空");
}
info.setJb(jb);
String jx=new DataFormatter().formatCellValue(row.getCell(2));
if(StringUtils.isEmpty(jx)){
return AjaxResult.error("第"+(i+1)+"行井型不能为空");
return AjaxResult.error("井基础信息中第"+(i+1)+"行井型不能为空");
}
info.setJx(jx);
String jkhzb=new DataFormatter().formatCellValue(row.getCell(3));
if(StringUtils.isEmpty(jkhzb)){
return AjaxResult.error("第"+(i+1)+"行井口横坐标不能为空");
return AjaxResult.error("井基础信息中第"+(i+1)+"行井口横坐标不能为空");
}
info.setJkhzb(Double.parseDouble(jkhzb));
String jkzzb=new DataFormatter().formatCellValue(row.getCell(4));
if(StringUtils.isEmpty(jkzzb)){
return AjaxResult.error("第"+(i+1)+"行井口纵坐标不能为空");
return AjaxResult.error("井基础信息中第"+(i+1)+"行井口纵坐标不能为空");
}
info.setJkzzb(Double.parseDouble(jkzzb));
String gzwz=new DataFormatter().formatCellValue(row.getCell(5));
String jdhzb=new DataFormatter().formatCellValue(row.getCell(5));
if(StringUtils.isEmpty(jdhzb)){
return AjaxResult.error("井基础信息中第"+(i+1)+"行井底横坐标不能为空");
}
info.setJdhzb(Double.parseDouble(jdhzb));
String jdzzb=new DataFormatter().formatCellValue(row.getCell(6));
if(StringUtils.isEmpty(jdzzb)){
return AjaxResult.error("井基础信息中第"+(i+1)+"行井底纵坐标不能为空");
}
info.setJdzzb(Double.parseDouble(jdzzb));
String gzwz=new DataFormatter().formatCellValue(row.getCell(7));
info.setGzwz(gzwz);
String wzcw=new DataFormatter().formatCellValue(row.getCell(6));
String wzcw=new DataFormatter().formatCellValue(row.getCell(8));
info.setWzcw(wzcw);
String ztmd=new DataFormatter().formatCellValue(row.getCell(7));
String ztmd=new DataFormatter().formatCellValue(row.getCell(9));
info.setZtmd(ztmd);
String wzyz=new DataFormatter().formatCellValue(row.getCell(8));
String wzyz=new DataFormatter().formatCellValue(row.getCell(10));
info.setWzyz(wzyz);
String wjff=new DataFormatter().formatCellValue(row.getCell(9));
String wjff=new DataFormatter().formatCellValue(row.getCell(11));
info.setWjfa(wjff);
String zjgs=new DataFormatter().formatCellValue(row.getCell(12));
info.setZjgs(zjgs);
String zjd=new DataFormatter().formatCellValue(row.getCell(13));
info.setZjd(zjd);
sjDjjcService.updateSjDjjc(info);
}
sjDjjcService.insertSjDjjc(info);
//井身结构---------------------------------------------------
sheet = workbook.getSheetAt(2);
lastRowNum = sheet.getLastRowNum();
List<SjJsjg> sjJsjgList=new ArrayList<>();
for(int i=0;i<=lastRowNum;i++){
if(i==0 || i==1){
continue;
}
SjJsjg sjJsjg =new SjJsjg();
sjJsjg.setJh(jh);
XSSFRow row = sheet.getRow(i);
String kc=new DataFormatter().formatCellValue(row.getCell(0));
if(StringUtils.isEmpty(kc)){
return AjaxResult.error("井身结构表第"+(i+1)+"行开次不能为空");
}
sjJsjg.setKc(kc);
String ztzj=new DataFormatter().formatCellValue(row.getCell(1));
if(StringUtils.isEmpty(ztzj)){
return AjaxResult.error("井身结构表第"+(i+1)+"行钻头直径不能为空");
}
sjJsjg.setZtzj(Double.parseDouble(ztzj));
String js=new DataFormatter().formatCellValue(row.getCell(2));
if(StringUtils.isEmpty(js)){
return AjaxResult.error("井身结构表第"+(i+1)+"行井深不能为空");
}
sjJsjg.setJs(Double.parseDouble(js));
String tgwj=new DataFormatter().formatCellValue(row.getCell(3));
if(StringUtils.isEmpty(tgwj)){
return AjaxResult.error("井身结构表第"+(i+1)+"行套管外径不能为空");
}
sjJsjg.setTtwj(Double.parseDouble(tgwj));
String tgds=new DataFormatter().formatCellValue(row.getCell(4));
if(StringUtils.isEmpty(tgds)){
return AjaxResult.error("井身结构表第"+(i+1)+"行套管顶深不能为空");
}
sjJsjg.setTtds(Double.parseDouble(tgds));
String tgxs=new DataFormatter().formatCellValue(row.getCell(5));
if(StringUtils.isEmpty(tgxs)){
return AjaxResult.error("井身结构表第"+(i+1)+"行套管下深不能为空");
}
sjJsjg.setTtxs(Double.parseDouble(tgxs));
String snfg=new DataFormatter().formatCellValue(row.getCell(6));
if(StringUtils.isEmpty(snfg)){
sjJsjg.setSnfg(Double.parseDouble("0"));
}else {
sjJsjg.setSnfg(Double.parseDouble(snfg));
}
String bz=new DataFormatter().formatCellValue(row.getCell(7));
sjJsjg.setBz(bz);
sjJsjgList.add(sjJsjg);
}
if(sjJsjgList.size()>0){
//先删除该井数据
sjJsjgMapper.deleteSjJsjgByJh(jh);
//执行插入
sjJsjgMapper.insertSjJsjgBatch(sjJsjgList);
}
//井身结构 end---------------------------------------------------
//井眼轨迹 ---------------------------------------------------
sheet = workbook.getSheetAt(3);
lastRowNum = sheet.getLastRowNum();
for(int i=0;i<=1;i++){
XSSFRow row = sheet.getRow(i);
String kc=new DataFormatter().formatCellValue(row.getCell(1));
}
} catch (IOException e) {
e.getMessage();
e.printStackTrace();
......@@ -268,4 +373,8 @@ public class SjDjjcController extends BaseController
}
package com.ruoyi.project.zjsgfa.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.framework.aspectj.lang.annotation.Log;
import com.ruoyi.framework.aspectj.lang.enums.BusinessType;
import com.ruoyi.project.zjsgfa.domain.SjTgTgqdjh;
import com.ruoyi.project.zjsgfa.service.ISjTgTgqdjhService;
import com.ruoyi.framework.web.controller.BaseController;
import com.ruoyi.framework.web.domain.AjaxResult;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.framework.web.page.TableDataInfo;
/**
* 设计信息-套管柱强度校核Controller
*
* @author ruoyi
* @date 2025-07-17
*/
@RestController
@RequestMapping("/system/sjTgTgqdjh")
public class SjTgTgqdjhController extends BaseController
{
@Autowired
private ISjTgTgqdjhService sjTgTgqdjhService;
/**
* 查询设计信息-套管柱强度校核列表
*/
//@PreAuthorize("@ss.hasPermi('system:sjTgTgqdjh:list')")
@GetMapping("/list")
public TableDataInfo list(SjTgTgqdjh sjTgTgqdjh)
{
startPage();
List<SjTgTgqdjh> list = sjTgTgqdjhService.selectSjTgTgqdjhList(sjTgTgqdjh);
return getDataTable(list);
}
/**
* 导出设计信息-套管柱强度校核列表
*/
//@PreAuthorize("@ss.hasPermi('system:sjTgTgqdjh:export')")
@Log(title = "设计信息-套管柱强度校核", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, SjTgTgqdjh sjTgTgqdjh)
{
List<SjTgTgqdjh> list = sjTgTgqdjhService.selectSjTgTgqdjhList(sjTgTgqdjh);
ExcelUtil<SjTgTgqdjh> util = new ExcelUtil<SjTgTgqdjh>(SjTgTgqdjh.class);
util.exportExcel(response, list, "设计信息-套管柱强度校核数据");
}
/**
* 获取设计信息-套管柱强度校核详细信息
*/
//@PreAuthorize("@ss.hasPermi('system:sjTgTgqdjh:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(sjTgTgqdjhService.selectSjTgTgqdjhById(id));
}
/**
* 新增设计信息-套管柱强度校核
*/
//@PreAuthorize("@ss.hasPermi('system:sjTgTgqdjh:add')")
@Log(title = "设计信息-套管柱强度校核", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody SjTgTgqdjh sjTgTgqdjh)
{
return toAjax(sjTgTgqdjhService.insertSjTgTgqdjh(sjTgTgqdjh));
}
/**
* 修改设计信息-套管柱强度校核
*/
//@PreAuthorize("@ss.hasPermi('system:sjTgTgqdjh:edit')")
@Log(title = "设计信息-套管柱强度校核", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody SjTgTgqdjh sjTgTgqdjh)
{
return toAjax(sjTgTgqdjhService.updateSjTgTgqdjh(sjTgTgqdjh));
}
/**
* 删除设计信息-套管柱强度校核
*/
//@PreAuthorize("@ss.hasPermi('system:sjTgTgqdjh:remove')")
@Log(title = "设计信息-套管柱强度校核", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(sjTgTgqdjhService.deleteSjTgTgqdjhByIds(ids));
}
}
package com.ruoyi.project.zjsgfa.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.framework.aspectj.lang.annotation.Log;
import com.ruoyi.framework.aspectj.lang.enums.BusinessType;
import com.ruoyi.project.zjsgfa.domain.SjTgTgxnsj;
import com.ruoyi.project.zjsgfa.service.ISjTgTgxnsjService;
import com.ruoyi.framework.web.controller.BaseController;
import com.ruoyi.framework.web.domain.AjaxResult;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.framework.web.page.TableDataInfo;
/**
* 设计信息-套管性能数据Controller
*
* @author ruoyi
* @date 2025-07-17
*/
@RestController
@RequestMapping("/system/sjTgTgxnsj")
public class SjTgTgxnsjController extends BaseController
{
@Autowired
private ISjTgTgxnsjService sjTgTgxnsjService;
/**
* 查询设计信息-套管性能数据列表
*/
//@PreAuthorize("@ss.hasPermi('system:sjTgTgxnsj:list')")
@GetMapping("/list")
public TableDataInfo list(SjTgTgxnsj sjTgTgxnsj)
{
startPage();
List<SjTgTgxnsj> list = sjTgTgxnsjService.selectSjTgTgxnsjList(sjTgTgxnsj);
return getDataTable(list);
}
/**
* 导出设计信息-套管性能数据列表
*/
//@PreAuthorize("@ss.hasPermi('system:sjTgTgxnsj:export')")
@Log(title = "设计信息-套管性能数据", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, SjTgTgxnsj sjTgTgxnsj)
{
List<SjTgTgxnsj> list = sjTgTgxnsjService.selectSjTgTgxnsjList(sjTgTgxnsj);
ExcelUtil<SjTgTgxnsj> util = new ExcelUtil<SjTgTgxnsj>(SjTgTgxnsj.class);
util.exportExcel(response, list, "设计信息-套管性能数据数据");
}
/**
* 获取设计信息-套管性能数据详细信息
*/
//@PreAuthorize("@ss.hasPermi('system:sjTgTgxnsj:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(sjTgTgxnsjService.selectSjTgTgxnsjById(id));
}
/**
* 新增设计信息-套管性能数据
*/
//@PreAuthorize("@ss.hasPermi('system:sjTgTgxnsj:add')")
@Log(title = "设计信息-套管性能数据", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody SjTgTgxnsj sjTgTgxnsj)
{
return toAjax(sjTgTgxnsjService.insertSjTgTgxnsj(sjTgTgxnsj));
}
/**
* 修改设计信息-套管性能数据
*/
//@PreAuthorize("@ss.hasPermi('system:sjTgTgxnsj:edit')")
@Log(title = "设计信息-套管性能数据", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody SjTgTgxnsj sjTgTgxnsj)
{
return toAjax(sjTgTgxnsjService.updateSjTgTgxnsj(sjTgTgxnsj));
}
/**
* 删除设计信息-套管性能数据
*/
//@PreAuthorize("@ss.hasPermi('system:sjTgTgxnsj:remove')")
@Log(title = "设计信息-套管性能数据", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(sjTgTgxnsjService.deleteSjTgTgxnsjByIds(ids));
}
}
package com.ruoyi.project.zjsgfa.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.framework.aspectj.lang.annotation.Log;
import com.ruoyi.framework.aspectj.lang.enums.BusinessType;
import com.ruoyi.project.zjsgfa.domain.SjTgTgz;
import com.ruoyi.project.zjsgfa.service.ISjTgTgzService;
import com.ruoyi.framework.web.controller.BaseController;
import com.ruoyi.framework.web.domain.AjaxResult;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.framework.web.page.TableDataInfo;
/**
* 设计信息-套管柱数据Controller
*
* @author ruoyi
* @date 2025-07-17
*/
@RestController
@RequestMapping("/system/sjTgTgz")
public class SjTgTgzController extends BaseController
{
@Autowired
private ISjTgTgzService sjTgTgzService;
/**
* 查询设计信息-套管柱数据列表
*/
//@PreAuthorize("@ss.hasPermi('system:sjTgTgz:list')")
@GetMapping("/list")
public TableDataInfo list(SjTgTgz sjTgTgz)
{
startPage();
List<SjTgTgz> list = sjTgTgzService.selectSjTgTgzList(sjTgTgz);
return getDataTable(list);
}
/**
* 导出设计信息-套管柱数据列表
*/
//@PreAuthorize("@ss.hasPermi('system:sjTgTgz:export')")
@Log(title = "设计信息-套管柱数据", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, SjTgTgz sjTgTgz)
{
List<SjTgTgz> list = sjTgTgzService.selectSjTgTgzList(sjTgTgz);
ExcelUtil<SjTgTgz> util = new ExcelUtil<SjTgTgz>(SjTgTgz.class);
util.exportExcel(response, list, "设计信息-套管柱数据数据");
}
/**
* 获取设计信息-套管柱数据详细信息
*/
//@PreAuthorize("@ss.hasPermi('system:sjTgTgz:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(sjTgTgzService.selectSjTgTgzById(id));
}
/**
* 新增设计信息-套管柱数据
*/
//@PreAuthorize("@ss.hasPermi('system:sjTgTgz:add')")
@Log(title = "设计信息-套管柱数据", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody SjTgTgz sjTgTgz)
{
return toAjax(sjTgTgzService.insertSjTgTgz(sjTgTgz));
}
/**
* 修改设计信息-套管柱数据
*/
//@PreAuthorize("@ss.hasPermi('system:sjTgTgz:edit')")
@Log(title = "设计信息-套管柱数据", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody SjTgTgz sjTgTgz)
{
return toAjax(sjTgTgzService.updateSjTgTgz(sjTgTgz));
}
/**
* 删除设计信息-套管柱数据
*/
//@PreAuthorize("@ss.hasPermi('system:sjTgTgz:remove')")
@Log(title = "设计信息-套管柱数据", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(sjTgTgzService.deleteSjTgTgzByIds(ids));
}
}
package com.ruoyi.project.zjsgfa.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.framework.aspectj.lang.annotation.Log;
import com.ruoyi.framework.aspectj.lang.enums.BusinessType;
import com.ruoyi.project.zjsgfa.domain.SjZjyCljl;
import com.ruoyi.project.zjsgfa.service.ISjZjyCljlService;
import com.ruoyi.framework.web.controller.BaseController;
import com.ruoyi.framework.web.domain.AjaxResult;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.framework.web.page.TableDataInfo;
/**
* 设计信息-钻井液材料加量Controller
*
* @author ruoyi
* @date 2025-07-17
*/
@RestController
@RequestMapping("/system/sjZjyCljl")
public class SjZjyCljlController extends BaseController
{
@Autowired
private ISjZjyCljlService sjZjyCljlService;
/**
* 查询设计信息-钻井液材料加量列表
*/
//@PreAuthorize("@ss.hasPermi('system:sjZjyCljl:list')")
@GetMapping("/list")
public TableDataInfo list(SjZjyCljl sjZjyCljl)
{
startPage();
List<SjZjyCljl> list = sjZjyCljlService.selectSjZjyCljlList(sjZjyCljl);
return getDataTable(list);
}
/**
* 导出设计信息-钻井液材料加量列表
*/
//@PreAuthorize("@ss.hasPermi('system:sjZjyCljl:export')")
@Log(title = "设计信息-钻井液材料加量", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, SjZjyCljl sjZjyCljl)
{
List<SjZjyCljl> list = sjZjyCljlService.selectSjZjyCljlList(sjZjyCljl);
ExcelUtil<SjZjyCljl> util = new ExcelUtil<SjZjyCljl>(SjZjyCljl.class);
util.exportExcel(response, list, "设计信息-钻井液材料加量数据");
}
/**
* 获取设计信息-钻井液材料加量详细信息
*/
//@PreAuthorize("@ss.hasPermi('system:sjZjyCljl:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(sjZjyCljlService.selectSjZjyCljlById(id));
}
/**
* 新增设计信息-钻井液材料加量
*/
//@PreAuthorize("@ss.hasPermi('system:sjZjyCljl:add')")
@Log(title = "设计信息-钻井液材料加量", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody SjZjyCljl sjZjyCljl)
{
return toAjax(sjZjyCljlService.insertSjZjyCljl(sjZjyCljl));
}
/**
* 修改设计信息-钻井液材料加量
*/
//@PreAuthorize("@ss.hasPermi('system:sjZjyCljl:edit')")
@Log(title = "设计信息-钻井液材料加量", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody SjZjyCljl sjZjyCljl)
{
return toAjax(sjZjyCljlService.updateSjZjyCljl(sjZjyCljl));
}
/**
* 删除设计信息-钻井液材料加量
*/
//@PreAuthorize("@ss.hasPermi('system:sjZjyCljl:remove')")
@Log(title = "设计信息-钻井液材料加量", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(sjZjyCljlService.deleteSjZjyCljlByIds(ids));
}
}
package com.ruoyi.project.zjsgfa.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.framework.aspectj.lang.annotation.Log;
import com.ruoyi.framework.aspectj.lang.enums.BusinessType;
import com.ruoyi.project.zjsgfa.domain.SjZjyFdsj;
import com.ruoyi.project.zjsgfa.service.ISjZjyFdsjService;
import com.ruoyi.framework.web.controller.BaseController;
import com.ruoyi.framework.web.domain.AjaxResult;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.framework.web.page.TableDataInfo;
/**
* 设计信息-分段钻井液设计Controller
*
* @author ruoyi
* @date 2025-07-17
*/
@RestController
@RequestMapping("/system/sjZjyFdsj")
public class SjZjyFdsjController extends BaseController
{
@Autowired
private ISjZjyFdsjService sjZjyFdsjService;
/**
* 查询设计信息-分段钻井液设计列表
*/
//@PreAuthorize("@ss.hasPermi('system:sjZjyFdsj:list')")
@GetMapping("/list")
public TableDataInfo list(SjZjyFdsj sjZjyFdsj)
{
startPage();
List<SjZjyFdsj> list = sjZjyFdsjService.selectSjZjyFdsjList(sjZjyFdsj);
return getDataTable(list);
}
/**
* 导出设计信息-分段钻井液设计列表
*/
//@PreAuthorize("@ss.hasPermi('system:sjZjyFdsj:export')")
@Log(title = "设计信息-分段钻井液设计", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, SjZjyFdsj sjZjyFdsj)
{
List<SjZjyFdsj> list = sjZjyFdsjService.selectSjZjyFdsjList(sjZjyFdsj);
ExcelUtil<SjZjyFdsj> util = new ExcelUtil<SjZjyFdsj>(SjZjyFdsj.class);
util.exportExcel(response, list, "设计信息-分段钻井液设计数据");
}
/**
* 获取设计信息-分段钻井液设计详细信息
*/
//@PreAuthorize("@ss.hasPermi('system:sjZjyFdsj:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(sjZjyFdsjService.selectSjZjyFdsjById(id));
}
/**
* 新增设计信息-分段钻井液设计
*/
//@PreAuthorize("@ss.hasPermi('system:sjZjyFdsj:add')")
@Log(title = "设计信息-分段钻井液设计", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody SjZjyFdsj sjZjyFdsj)
{
return toAjax(sjZjyFdsjService.insertSjZjyFdsj(sjZjyFdsj));
}
/**
* 修改设计信息-分段钻井液设计
*/
//@PreAuthorize("@ss.hasPermi('system:sjZjyFdsj:edit')")
@Log(title = "设计信息-分段钻井液设计", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody SjZjyFdsj sjZjyFdsj)
{
return toAjax(sjZjyFdsjService.updateSjZjyFdsj(sjZjyFdsj));
}
/**
* 删除设计信息-分段钻井液设计
*/
//@PreAuthorize("@ss.hasPermi('system:sjZjyFdsj:remove')")
@Log(title = "设计信息-分段钻井液设计", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(sjZjyFdsjService.deleteSjZjyFdsjByIds(ids));
}
}
package com.ruoyi.project.zjsgfa.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.framework.aspectj.lang.annotation.Log;
import com.ruoyi.framework.aspectj.lang.enums.BusinessType;
import com.ruoyi.project.zjsgfa.domain.SjZjyFdxnb;
import com.ruoyi.project.zjsgfa.service.ISjZjyFdxnbService;
import com.ruoyi.framework.web.controller.BaseController;
import com.ruoyi.framework.web.domain.AjaxResult;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.framework.web.page.TableDataInfo;
/**
* 设计信息-分段钻井液性能设计Controller
*
* @author ruoyi
* @date 2025-07-17
*/
@RestController
@RequestMapping("/system/sjZjyFdxnb")
public class SjZjyFdxnbController extends BaseController
{
@Autowired
private ISjZjyFdxnbService sjZjyFdxnbService;
/**
* 查询设计信息-分段钻井液性能设计列表
*/
//@PreAuthorize("@ss.hasPermi('system:sjZjyFdxnb:list')")
@GetMapping("/list")
public TableDataInfo list(SjZjyFdxnb sjZjyFdxnb)
{
startPage();
List<SjZjyFdxnb> list = sjZjyFdxnbService.selectSjZjyFdxnbList(sjZjyFdxnb);
return getDataTable(list);
}
/**
* 导出设计信息-分段钻井液性能设计列表
*/
//@PreAuthorize("@ss.hasPermi('system:sjZjyFdxnb:export')")
@Log(title = "设计信息-分段钻井液性能设计", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, SjZjyFdxnb sjZjyFdxnb)
{
List<SjZjyFdxnb> list = sjZjyFdxnbService.selectSjZjyFdxnbList(sjZjyFdxnb);
ExcelUtil<SjZjyFdxnb> util = new ExcelUtil<SjZjyFdxnb>(SjZjyFdxnb.class);
util.exportExcel(response, list, "设计信息-分段钻井液性能设计数据");
}
/**
* 获取设计信息-分段钻井液性能设计详细信息
*/
//@PreAuthorize("@ss.hasPermi('system:sjZjyFdxnb:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(sjZjyFdxnbService.selectSjZjyFdxnbById(id));
}
/**
* 新增设计信息-分段钻井液性能设计
*/
//@PreAuthorize("@ss.hasPermi('system:sjZjyFdxnb:add')")
@Log(title = "设计信息-分段钻井液性能设计", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody SjZjyFdxnb sjZjyFdxnb)
{
return toAjax(sjZjyFdxnbService.insertSjZjyFdxnb(sjZjyFdxnb));
}
/**
* 修改设计信息-分段钻井液性能设计
*/
//@PreAuthorize("@ss.hasPermi('system:sjZjyFdxnb:edit')")
@Log(title = "设计信息-分段钻井液性能设计", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody SjZjyFdxnb sjZjyFdxnb)
{
return toAjax(sjZjyFdxnbService.updateSjZjyFdxnb(sjZjyFdxnb));
}
/**
* 删除设计信息-分段钻井液性能设计
*/
//@PreAuthorize("@ss.hasPermi('system:sjZjyFdxnb:remove')")
@Log(title = "设计信息-分段钻井液性能设计", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(sjZjyFdxnbService.deleteSjZjyFdxnbByIds(ids));
}
}
package com.ruoyi.project.zjsgfa.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.framework.aspectj.lang.annotation.Log;
import com.ruoyi.framework.aspectj.lang.enums.BusinessType;
import com.ruoyi.project.zjsgfa.domain.SjZlyq;
import com.ruoyi.project.zjsgfa.service.ISjZlyqService;
import com.ruoyi.framework.web.controller.BaseController;
import com.ruoyi.framework.web.domain.AjaxResult;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.framework.web.page.TableDataInfo;
/**
* 设计信息-井身质量要求Controller
*
* @author ruoyi
* @date 2025-07-17
*/
@RestController
@RequestMapping("/system/sjZlyq")
public class SjZlyqController extends BaseController
{
@Autowired
private ISjZlyqService sjZlyqService;
/**
* 查询设计信息-井身质量要求列表
*/
//@PreAuthorize("@ss.hasPermi('system:sjZlyq:list')")
@GetMapping("/list")
public TableDataInfo list(SjZlyq sjZlyq)
{
startPage();
List<SjZlyq> list = sjZlyqService.selectSjZlyqList(sjZlyq);
return getDataTable(list);
}
/**
* 导出设计信息-井身质量要求列表
*/
//@PreAuthorize("@ss.hasPermi('system:sjZlyq:export')")
@Log(title = "设计信息-井身质量要求", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, SjZlyq sjZlyq)
{
List<SjZlyq> list = sjZlyqService.selectSjZlyqList(sjZlyq);
ExcelUtil<SjZlyq> util = new ExcelUtil<SjZlyq>(SjZlyq.class);
util.exportExcel(response, list, "设计信息-井身质量要求数据");
}
/**
* 获取设计信息-井身质量要求详细信息
*/
//@PreAuthorize("@ss.hasPermi('system:sjZlyq:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(sjZlyqService.selectSjZlyqById(id));
}
/**
* 新增设计信息-井身质量要求
*/
//@PreAuthorize("@ss.hasPermi('system:sjZlyq:add')")
@Log(title = "设计信息-井身质量要求", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody SjZlyq sjZlyq)
{
return toAjax(sjZlyqService.insertSjZlyq(sjZlyq));
}
/**
* 修改设计信息-井身质量要求
*/
//@PreAuthorize("@ss.hasPermi('system:sjZlyq:edit')")
@Log(title = "设计信息-井身质量要求", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody SjZlyq sjZlyq)
{
return toAjax(sjZlyqService.updateSjZlyq(sjZlyq));
}
/**
* 删除设计信息-井身质量要求
*/
//@PreAuthorize("@ss.hasPermi('system:sjZlyq:remove')")
@Log(title = "设计信息-井身质量要求", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(sjZlyqService.deleteSjZlyqByIds(ids));
}
}
package com.ruoyi.project.zjsgfa.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.framework.aspectj.lang.annotation.Log;
import com.ruoyi.framework.aspectj.lang.enums.BusinessType;
import com.ruoyi.project.zjsgfa.domain.SjZlyqXx;
import com.ruoyi.project.zjsgfa.service.ISjZlyqXxService;
import com.ruoyi.framework.web.controller.BaseController;
import com.ruoyi.framework.web.domain.AjaxResult;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.framework.web.page.TableDataInfo;
/**
* 设计信息-井身质量要求详细Controller
*
* @author ruoyi
* @date 2025-07-17
*/
@RestController
@RequestMapping("/system/sjZlyqXx")
public class SjZlyqXxController extends BaseController
{
@Autowired
private ISjZlyqXxService sjZlyqXxService;
/**
* 查询设计信息-井身质量要求详细列表
*/
//@PreAuthorize("@ss.hasPermi('system:sjZlyqXx:list')")
@GetMapping("/list")
public TableDataInfo list(SjZlyqXx sjZlyqXx)
{
startPage();
List<SjZlyqXx> list = sjZlyqXxService.selectSjZlyqXxList(sjZlyqXx);
return getDataTable(list);
}
/**
* 导出设计信息-井身质量要求详细列表
*/
//@PreAuthorize("@ss.hasPermi('system:sjZlyqXx:export')")
@Log(title = "设计信息-井身质量要求详细", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, SjZlyqXx sjZlyqXx)
{
List<SjZlyqXx> list = sjZlyqXxService.selectSjZlyqXxList(sjZlyqXx);
ExcelUtil<SjZlyqXx> util = new ExcelUtil<SjZlyqXx>(SjZlyqXx.class);
util.exportExcel(response, list, "设计信息-井身质量要求详细数据");
}
/**
* 获取设计信息-井身质量要求详细详细信息
*/
//@PreAuthorize("@ss.hasPermi('system:sjZlyqXx:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(sjZlyqXxService.selectSjZlyqXxById(id));
}
/**
* 新增设计信息-井身质量要求详细
*/
//@PreAuthorize("@ss.hasPermi('system:sjZlyqXx:add')")
@Log(title = "设计信息-井身质量要求详细", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody SjZlyqXx sjZlyqXx)
{
return toAjax(sjZlyqXxService.insertSjZlyqXx(sjZlyqXx));
}
/**
* 修改设计信息-井身质量要求详细
*/
//@PreAuthorize("@ss.hasPermi('system:sjZlyqXx:edit')")
@Log(title = "设计信息-井身质量要求详细", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody SjZlyqXx sjZlyqXx)
{
return toAjax(sjZlyqXxService.updateSjZlyqXx(sjZlyqXx));
}
/**
* 删除设计信息-井身质量要求详细
*/
//@PreAuthorize("@ss.hasPermi('system:sjZlyqXx:remove')")
@Log(title = "设计信息-井身质量要求详细", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(sjZlyqXxService.deleteSjZlyqXxByIds(ids));
}
}
package com.ruoyi.project.zjsgfa.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.framework.aspectj.lang.annotation.Log;
import com.ruoyi.framework.aspectj.lang.enums.BusinessType;
import com.ruoyi.project.zjsgfa.domain.SjZlyqZbyq;
import com.ruoyi.project.zjsgfa.service.ISjZlyqZbyqService;
import com.ruoyi.framework.web.controller.BaseController;
import com.ruoyi.framework.web.domain.AjaxResult;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.framework.web.page.TableDataInfo;
/**
* 设计信息-中靶要求-定向井Controller
*
* @author ruoyi
* @date 2025-07-17
*/
@RestController
@RequestMapping("/system/sjZlyqZbyq")
public class SjZlyqZbyqController extends BaseController
{
@Autowired
private ISjZlyqZbyqService sjZlyqZbyqService;
/**
* 查询设计信息-中靶要求-定向井列表
*/
//@PreAuthorize("@ss.hasPermi('system:sjZlyqZbyq:list')")
@GetMapping("/list")
public TableDataInfo list(SjZlyqZbyq sjZlyqZbyq)
{
startPage();
List<SjZlyqZbyq> list = sjZlyqZbyqService.selectSjZlyqZbyqList(sjZlyqZbyq);
return getDataTable(list);
}
/**
* 导出设计信息-中靶要求-定向井列表
*/
//@PreAuthorize("@ss.hasPermi('system:sjZlyqZbyq:export')")
@Log(title = "设计信息-中靶要求-定向井", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, SjZlyqZbyq sjZlyqZbyq)
{
List<SjZlyqZbyq> list = sjZlyqZbyqService.selectSjZlyqZbyqList(sjZlyqZbyq);
ExcelUtil<SjZlyqZbyq> util = new ExcelUtil<SjZlyqZbyq>(SjZlyqZbyq.class);
util.exportExcel(response, list, "设计信息-中靶要求-定向井数据");
}
/**
* 获取设计信息-中靶要求-定向井详细信息
*/
//@PreAuthorize("@ss.hasPermi('system:sjZlyqZbyq:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(sjZlyqZbyqService.selectSjZlyqZbyqById(id));
}
/**
* 新增设计信息-中靶要求-定向井
*/
//@PreAuthorize("@ss.hasPermi('system:sjZlyqZbyq:add')")
@Log(title = "设计信息-中靶要求-定向井", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody SjZlyqZbyq sjZlyqZbyq)
{
return toAjax(sjZlyqZbyqService.insertSjZlyqZbyq(sjZlyqZbyq));
}
/**
* 修改设计信息-中靶要求-定向井
*/
//@PreAuthorize("@ss.hasPermi('system:sjZlyqZbyq:edit')")
@Log(title = "设计信息-中靶要求-定向井", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody SjZlyqZbyq sjZlyqZbyq)
{
return toAjax(sjZlyqZbyqService.updateSjZlyqZbyq(sjZlyqZbyq));
}
/**
* 删除设计信息-中靶要求-定向井
*/
//@PreAuthorize("@ss.hasPermi('system:sjZlyqZbyq:remove')")
@Log(title = "设计信息-中靶要求-定向井", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(sjZlyqZbyqService.deleteSjZlyqZbyqByIds(ids));
}
}
......@@ -86,53 +86,53 @@ public class SjDjjc extends BaseEntity
/** 井底横坐标 */
@Excel(name = "井底横坐标")
private BigDecimal jdhzb;
private Double jdhzb;
/** 井底纵坐标 */
@Excel(name = "井底纵坐标")
private BigDecimal jdzzb;
private Double jdzzb;
/** 状态 */
@Excel(name = "状态")
private String zt;
public void setId(Long id)
public void setId(Long id)
{
this.id = id;
}
public Long getId()
public Long getId()
{
return id;
}
public void setJh(String jh)
public void setJh(String jh)
{
this.jh = jh;
}
public String getJh()
public String getJh()
{
return jh;
}
public void setJb(String jb)
public void setJb(String jb)
{
this.jb = jb;
}
public String getJb()
public String getJb()
{
return jb;
}
public void setJx(String jx)
public void setJx(String jx)
{
this.jx = jx;
}
public String getJx()
public String getJx()
{
return jx;
}
......@@ -157,72 +157,72 @@ public class SjDjjc extends BaseEntity
return jkzzb;
}
public void setGzwz(String gzwz)
public void setGzwz(String gzwz)
{
this.gzwz = gzwz;
}
public String getGzwz()
public String getGzwz()
{
return gzwz;
}
public void setWzcw(String wzcw)
public void setWzcw(String wzcw)
{
this.wzcw = wzcw;
}
public String getWzcw()
public String getWzcw()
{
return wzcw;
}
public void setZtmd(String ztmd)
public void setZtmd(String ztmd)
{
this.ztmd = ztmd;
}
public String getZtmd()
public String getZtmd()
{
return ztmd;
}
public void setWzyz(String wzyz)
public void setWzyz(String wzyz)
{
this.wzyz = wzyz;
}
public String getWzyz()
public String getWzyz()
{
return wzyz;
}
public void setWjfa(String wjfa)
public void setWjfa(String wjfa)
{
this.wjfa = wjfa;
}
public String getWjfa()
public String getWjfa()
{
return wjfa;
}
public void setCreatedBy(String createdBy)
public void setCreatedBy(String createdBy)
{
this.createdBy = createdBy;
}
public String getCreatedBy()
public String getCreatedBy()
{
return createdBy;
}
public void setCreatedTime(Date createdTime)
public void setCreatedTime(Date createdTime)
{
this.createdTime = createdTime;
}
public Date getCreatedTime()
public Date getCreatedTime()
{
return createdTime;
}
......
package com.ruoyi.project.zjsgfa.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
/**
* 设计信息-套管柱强度校核对象 sj_tg_tgqdjh
*
* @author ruoyi
* @date 2025-07-17
*/
public class SjTgTgqdjh extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long id;
/** 井号 */
@Excel(name = "井号")
private String jh;
/** 开次 */
@Excel(name = "开次")
private String kc;
/** 井段 */
@Excel(name = "井段")
private String jd;
/** 每米质量 */
@Excel(name = "每米质量")
private Double mmzl;
/** 段净重 */
@Excel(name = "段净重")
private Double djz;
/** 累计重 */
@Excel(name = "累计重")
private Double ljz;
/** 抗外挤最大载荷 */
@Excel(name = "抗外挤最大载荷")
private Double zdzhkwj;
/** 抗外挤安全系数 */
@Excel(name = "抗外挤安全系数")
private Double aqxskwj;
/** 抗内压最大载荷 */
@Excel(name = "抗内压最大载荷")
private Double zdzhkny;
/** 抗内压安全系数 */
@Excel(name = "抗内压安全系数")
private Double aqxskny;
/** 抗拉最大载荷 */
@Excel(name = "抗拉最大载荷")
private Double zdzhkl;
/** 抗拉安全系数 */
@Excel(name = "抗拉安全系数")
private Double aqxskl;
/** 备注 */
@Excel(name = "备注")
private String bz;
/** 创建人 */
@Excel(name = "创建人")
private String createdBy;
/** 创建时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date createdTime;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setJh(String jh)
{
this.jh = jh;
}
public String getJh()
{
return jh;
}
public void setKc(String kc)
{
this.kc = kc;
}
public String getKc()
{
return kc;
}
public void setJd(String jd)
{
this.jd = jd;
}
public String getJd()
{
return jd;
}
public void setMmzl(Double mmzl)
{
this.mmzl = mmzl;
}
public Double getMmzl()
{
return mmzl;
}
public void setDjz(Double djz)
{
this.djz = djz;
}
public Double getDjz()
{
return djz;
}
public void setLjz(Double ljz)
{
this.ljz = ljz;
}
public Double getLjz()
{
return ljz;
}
public void setZdzhkwj(Double zdzhkwj)
{
this.zdzhkwj = zdzhkwj;
}
public Double getZdzhkwj()
{
return zdzhkwj;
}
public void setAqxskwj(Double aqxskwj)
{
this.aqxskwj = aqxskwj;
}
public Double getAqxskwj()
{
return aqxskwj;
}
public void setZdzhkny(Double zdzhkny)
{
this.zdzhkny = zdzhkny;
}
public Double getZdzhkny()
{
return zdzhkny;
}
public void setAqxskny(Double aqxskny)
{
this.aqxskny = aqxskny;
}
public Double getAqxskny()
{
return aqxskny;
}
public void setZdzhkl(Double zdzhkl)
{
this.zdzhkl = zdzhkl;
}
public Double getZdzhkl()
{
return zdzhkl;
}
public void setAqxskl(Double aqxskl)
{
this.aqxskl = aqxskl;
}
public Double getAqxskl()
{
return aqxskl;
}
public void setBz(String bz)
{
this.bz = bz;
}
public String getBz()
{
return bz;
}
public void setCreatedBy(String createdBy)
{
this.createdBy = createdBy;
}
public String getCreatedBy()
{
return createdBy;
}
public void setCreatedTime(Date createdTime)
{
this.createdTime = createdTime;
}
public Date getCreatedTime()
{
return createdTime;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("jh", getJh())
.append("kc", getKc())
.append("jd", getJd())
.append("mmzl", getMmzl())
.append("djz", getDjz())
.append("ljz", getLjz())
.append("zdzhkwj", getZdzhkwj())
.append("aqxskwj", getAqxskwj())
.append("zdzhkny", getZdzhkny())
.append("aqxskny", getAqxskny())
.append("zdzhkl", getZdzhkl())
.append("aqxskl", getAqxskl())
.append("bz", getBz())
.append("createdBy", getCreatedBy())
.append("createdTime", getCreatedTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.toString();
}
}
package com.ruoyi.project.zjsgfa.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
/**
* 设计信息-套管性能数据对象 sj_tg_tgxnsj
*
* @author ruoyi
* @date 2025-07-17
*/
public class SjTgTgxnsj extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long id;
/** 井号 */
@Excel(name = "井号")
private String jh;
/** 外径 */
@Excel(name = "外径")
private Double wj;
/** 钢级 */
@Excel(name = "钢级")
private String gj;
/** 壁厚 */
@Excel(name = "壁厚")
private Double bh;
/** 扣型 */
@Excel(name = "扣型")
private String kx;
/** 每米重量 */
@Excel(name = "每米重量")
private Double mmzl;
/** 接箍外径 */
@Excel(name = "接箍外径")
private Double jgwj;
/** 抗拉强度 */
@Excel(name = "抗拉强度")
private Double klqd;
/** 抗挤强度 */
@Excel(name = "抗挤强度")
private Double kjqd;
/** 抗内压强度 */
@Excel(name = "抗内压强度")
private Double knyqd;
/** 备注 */
@Excel(name = "备注")
private String bz;
/** 创建人 */
@Excel(name = "创建人")
private String createdBy;
/** 创建时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date createdTime;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setJh(String jh)
{
this.jh = jh;
}
public String getJh()
{
return jh;
}
public void setWj(Double wj)
{
this.wj = wj;
}
public Double getWj()
{
return wj;
}
public void setGj(String gj)
{
this.gj = gj;
}
public String getGj()
{
return gj;
}
public void setBh(Double bh)
{
this.bh = bh;
}
public Double getBh()
{
return bh;
}
public void setKx(String kx)
{
this.kx = kx;
}
public String getKx()
{
return kx;
}
public void setMmzl(Double mmzl)
{
this.mmzl = mmzl;
}
public Double getMmzl()
{
return mmzl;
}
public void setJgwj(Double jgwj)
{
this.jgwj = jgwj;
}
public Double getJgwj()
{
return jgwj;
}
public void setKlqd(Double klqd)
{
this.klqd = klqd;
}
public Double getKlqd()
{
return klqd;
}
public void setKjqd(Double kjqd)
{
this.kjqd = kjqd;
}
public Double getKjqd()
{
return kjqd;
}
public void setKnyqd(Double knyqd)
{
this.knyqd = knyqd;
}
public Double getKnyqd()
{
return knyqd;
}
public void setBz(String bz)
{
this.bz = bz;
}
public String getBz()
{
return bz;
}
public void setCreatedBy(String createdBy)
{
this.createdBy = createdBy;
}
public String getCreatedBy()
{
return createdBy;
}
public void setCreatedTime(Date createdTime)
{
this.createdTime = createdTime;
}
public Date getCreatedTime()
{
return createdTime;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("jh", getJh())
.append("wj", getWj())
.append("gj", getGj())
.append("bh", getBh())
.append("kx", getKx())
.append("mmzl", getMmzl())
.append("jgwj", getJgwj())
.append("klqd", getKlqd())
.append("kjqd", getKjqd())
.append("knyqd", getKnyqd())
.append("bz", getBz())
.append("createdBy", getCreatedBy())
.append("createdTime", getCreatedTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.toString();
}
}
package com.ruoyi.project.zjsgfa.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
/**
* 设计信息-套管柱数据对象 sj_tg_tgz
*
* @author ruoyi
* @date 2025-07-17
*/
public class SjTgTgz extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long id;
/** 井号 */
@Excel(name = "井号")
private String jh;
/** 开次 */
@Excel(name = "开次")
private String kc;
/** 井段 */
@Excel(name = "井段")
private String jd;
/** 外径 */
@Excel(name = "外径")
private Double wj;
/** 钢级 */
@Excel(name = "钢级")
private String gj;
/** 壁厚 */
@Excel(name = "壁厚")
private Double bh;
/** 扣型 */
@Excel(name = "扣型")
private String kx;
/** 最佳上扣扭矩 */
@Excel(name = "最佳上扣扭矩")
private Double zjsknj;
/** 长度 */
@Excel(name = "长度")
private Double cd;
/** 钻井液密度 */
@Excel(name = "钻井液密度")
private Double zjymd;
/** 备注 */
@Excel(name = "备注")
private String bz;
/** 创建人 */
@Excel(name = "创建人")
private String createdBy;
/** 创建时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date createdTime;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setJh(String jh)
{
this.jh = jh;
}
public String getJh()
{
return jh;
}
public void setKc(String kc)
{
this.kc = kc;
}
public String getKc()
{
return kc;
}
public void setJd(String jd)
{
this.jd = jd;
}
public String getJd()
{
return jd;
}
public void setWj(Double wj)
{
this.wj = wj;
}
public Double getWj()
{
return wj;
}
public void setGj(String gj)
{
this.gj = gj;
}
public String getGj()
{
return gj;
}
public void setBh(Double bh)
{
this.bh = bh;
}
public Double getBh()
{
return bh;
}
public void setKx(String kx)
{
this.kx = kx;
}
public String getKx()
{
return kx;
}
public void setZjsknj(Double zjsknj)
{
this.zjsknj = zjsknj;
}
public Double getZjsknj()
{
return zjsknj;
}
public void setCd(Double cd)
{
this.cd = cd;
}
public Double getCd()
{
return cd;
}
public void setZjymd(Double zjymd)
{
this.zjymd = zjymd;
}
public Double getZjymd()
{
return zjymd;
}
public void setBz(String bz)
{
this.bz = bz;
}
public String getBz()
{
return bz;
}
public void setCreatedBy(String createdBy)
{
this.createdBy = createdBy;
}
public String getCreatedBy()
{
return createdBy;
}
public void setCreatedTime(Date createdTime)
{
this.createdTime = createdTime;
}
public Date getCreatedTime()
{
return createdTime;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("jh", getJh())
.append("kc", getKc())
.append("jd", getJd())
.append("wj", getWj())
.append("gj", getGj())
.append("bh", getBh())
.append("kx", getKx())
.append("zjsknj", getZjsknj())
.append("cd", getCd())
.append("zjymd", getZjymd())
.append("bz", getBz())
.append("createdBy", getCreatedBy())
.append("createdTime", getCreatedTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.toString();
}
}
package com.ruoyi.project.zjsgfa.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
/**
* 设计信息-钻井液材料加量对象 sj_zjy_cljl
*
* @author ruoyi
* @date 2025-07-17
*/
public class SjZjyCljl extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long id;
/** 井号 */
@Excel(name = "井号")
private String jh;
/** 材料名称及代号 */
@Excel(name = "材料名称及代号")
private String clmc;
/** 一开加量 (kg/m3) */
@Excel(name = "一开加量 ", readConverterExp = "k=g/m3")
private String ykjl;
/** 二开加量 (kg/m3) */
@Excel(name = "二开加量 ", readConverterExp = "k=g/m3")
private String ekjl;
/** 三开加量 (kg/m3) */
@Excel(name = "三开加量 ", readConverterExp = "k=g/m3")
private String skjl;
/** 四开加量 (kg/m3) */
@Excel(name = "四开加量 ", readConverterExp = "k=g/m3")
private String sikjl;
/** 五开加量 (kg/m3) */
@Excel(name = "五开加量 ", readConverterExp = "k=g/m3")
private String wkjl;
/** 备注 */
@Excel(name = "备注")
private String bz;
/** 创建人 */
@Excel(name = "创建人")
private String createdBy;
/** 创建时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date createdTime;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setJh(String jh)
{
this.jh = jh;
}
public String getJh()
{
return jh;
}
public void setClmc(String clmc)
{
this.clmc = clmc;
}
public String getClmc()
{
return clmc;
}
public void setYkjl(String ykjl)
{
this.ykjl = ykjl;
}
public String getYkjl()
{
return ykjl;
}
public void setEkjl(String ekjl)
{
this.ekjl = ekjl;
}
public String getEkjl()
{
return ekjl;
}
public void setSkjl(String skjl)
{
this.skjl = skjl;
}
public String getSkjl()
{
return skjl;
}
public void setSikjl(String sikjl)
{
this.sikjl = sikjl;
}
public String getSikjl()
{
return sikjl;
}
public void setWkjl(String wkjl)
{
this.wkjl = wkjl;
}
public String getWkjl()
{
return wkjl;
}
public void setBz(String bz)
{
this.bz = bz;
}
public String getBz()
{
return bz;
}
public void setCreatedBy(String createdBy)
{
this.createdBy = createdBy;
}
public String getCreatedBy()
{
return createdBy;
}
public void setCreatedTime(Date createdTime)
{
this.createdTime = createdTime;
}
public Date getCreatedTime()
{
return createdTime;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("jh", getJh())
.append("clmc", getClmc())
.append("ykjl", getYkjl())
.append("ekjl", getEkjl())
.append("skjl", getSkjl())
.append("sikjl", getSikjl())
.append("wkjl", getWkjl())
.append("bz", getBz())
.append("createdBy", getCreatedBy())
.append("createdTime", getCreatedTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.toString();
}
}
package com.ruoyi.project.zjsgfa.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
/**
* 设计信息-分段钻井液设计对象 sj_zjy_fdsj
*
* @author ruoyi
* @date 2025-07-17
*/
public class SjZjyFdsj extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long id;
/** 井号 */
@Excel(name = "井号")
private String jh;
/** 开次 */
@Excel(name = "开次")
private String kc;
/** 井段 */
@Excel(name = "井段")
private String jd;
/** 钻井液体系 */
@Excel(name = "钻井液体系")
private String zjytx;
/** 备注 */
@Excel(name = "备注")
private String bz;
/** 创建人 */
@Excel(name = "创建人")
private String createdBy;
/** 创建时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date createdTime;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setJh(String jh)
{
this.jh = jh;
}
public String getJh()
{
return jh;
}
public void setKc(String kc)
{
this.kc = kc;
}
public String getKc()
{
return kc;
}
public void setJd(String jd)
{
this.jd = jd;
}
public String getJd()
{
return jd;
}
public void setZjytx(String zjytx)
{
this.zjytx = zjytx;
}
public String getZjytx()
{
return zjytx;
}
public void setBz(String bz)
{
this.bz = bz;
}
public String getBz()
{
return bz;
}
public void setCreatedBy(String createdBy)
{
this.createdBy = createdBy;
}
public String getCreatedBy()
{
return createdBy;
}
public void setCreatedTime(Date createdTime)
{
this.createdTime = createdTime;
}
public Date getCreatedTime()
{
return createdTime;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("jh", getJh())
.append("kc", getKc())
.append("jd", getJd())
.append("zjytx", getZjytx())
.append("bz", getBz())
.append("createdBy", getCreatedBy())
.append("createdTime", getCreatedTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.toString();
}
}
package com.ruoyi.project.zjsgfa.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
/**
* 设计信息-分段钻井液性能设计对象 sj_zjy_fdxnb
*
* @author ruoyi
* @date 2025-07-17
*/
public class SjZjyFdxnb extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long id;
/** 井号 */
@Excel(name = "井号")
private String jh;
/** 井段 */
@Excel(name = "井段")
private String jd;
/** 密度(g/cm3) */
@Excel(name = "密度(g/cm3)")
private String md;
/** 马氏漏斗黏度(s) */
@Excel(name = "马氏漏斗黏度(s)")
private String msldnd;
/** API 滤失量(ml) */
@Excel(name = "API 滤失量(ml)")
private String apilsl;
/** API 泥饼(mm) */
@Excel(name = "API 泥饼(mm)")
private String apinb;
/** 静切力(Pa) */
@Excel(name = "静切力(Pa)")
private String jql;
/** pH值 */
@Excel(name = "pH值")
private String ph;
/** 含砂量(%) */
@Excel(name = "含砂量(%)")
private String hsl;
/** 总固含(%) */
@Excel(name = "总固含(%)")
private String zgh;
/** 摩阻系数 */
@Excel(name = "摩阻系数")
private String mzxs;
/** 动切力 */
@Excel(name = "动切力")
private String dql;
/** 塑性黏度 */
@Excel(name = "塑性黏度")
private String sxnd;
/** 备注 */
@Excel(name = "备注")
private String bz;
/** 创建人 */
@Excel(name = "创建人")
private String createdBy;
/** 创建时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date createdTime;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setJh(String jh)
{
this.jh = jh;
}
public String getJh()
{
return jh;
}
public void setJd(String jd)
{
this.jd = jd;
}
public String getJd()
{
return jd;
}
public void setMd(String md)
{
this.md = md;
}
public String getMd()
{
return md;
}
public void setMsldnd(String msldnd)
{
this.msldnd = msldnd;
}
public String getMsldnd()
{
return msldnd;
}
public void setApilsl(String apilsl)
{
this.apilsl = apilsl;
}
public String getApilsl()
{
return apilsl;
}
public void setApinb(String apinb)
{
this.apinb = apinb;
}
public String getApinb()
{
return apinb;
}
public void setJql(String jql)
{
this.jql = jql;
}
public String getJql()
{
return jql;
}
public void setPh(String ph)
{
this.ph = ph;
}
public String getPh()
{
return ph;
}
public void setHsl(String hsl)
{
this.hsl = hsl;
}
public String getHsl()
{
return hsl;
}
public void setZgh(String zgh)
{
this.zgh = zgh;
}
public String getZgh()
{
return zgh;
}
public void setMzxs(String mzxs)
{
this.mzxs = mzxs;
}
public String getMzxs()
{
return mzxs;
}
public void setDql(String dql)
{
this.dql = dql;
}
public String getDql()
{
return dql;
}
public void setSxnd(String sxnd)
{
this.sxnd = sxnd;
}
public String getSxnd()
{
return sxnd;
}
public void setBz(String bz)
{
this.bz = bz;
}
public String getBz()
{
return bz;
}
public void setCreatedBy(String createdBy)
{
this.createdBy = createdBy;
}
public String getCreatedBy()
{
return createdBy;
}
public void setCreatedTime(Date createdTime)
{
this.createdTime = createdTime;
}
public Date getCreatedTime()
{
return createdTime;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("jh", getJh())
.append("jd", getJd())
.append("md", getMd())
.append("msldnd", getMsldnd())
.append("apilsl", getApilsl())
.append("apinb", getApinb())
.append("jql", getJql())
.append("ph", getPh())
.append("hsl", getHsl())
.append("zgh", getZgh())
.append("mzxs", getMzxs())
.append("dql", getDql())
.append("sxnd", getSxnd())
.append("bz", getBz())
.append("createdBy", getCreatedBy())
.append("createdTime", getCreatedTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.toString();
}
}
package com.ruoyi.project.zjsgfa.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
/**
* 设计信息-井身质量要求对象 sj_zlyq
*
* @author ruoyi
* @date 2025-07-17
*/
public class SjZlyq extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long id;
/** 井号 */
@Excel(name = "井号")
private String jh;
/** 井段 */
@Excel(name = "井段")
private String jd;
/** 井斜角 */
@Excel(name = "井斜角")
private Double jxj;
/** 全角变化率 */
@Excel(name = "全角变化率")
private Double qjbhl;
/** 备注 */
@Excel(name = "备注")
private String bz;
/** 创建人 */
@Excel(name = "创建人")
private String createdBy;
/** 创建时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date createdTime;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setJh(String jh)
{
this.jh = jh;
}
public String getJh()
{
return jh;
}
public void setJd(String jd)
{
this.jd = jd;
}
public String getJd()
{
return jd;
}
public void setJxj(Double jxj)
{
this.jxj = jxj;
}
public Double getJxj()
{
return jxj;
}
public void setQjbhl(Double qjbhl)
{
this.qjbhl = qjbhl;
}
public Double getQjbhl()
{
return qjbhl;
}
public void setBz(String bz)
{
this.bz = bz;
}
public String getBz()
{
return bz;
}
public void setCreatedBy(String createdBy)
{
this.createdBy = createdBy;
}
public String getCreatedBy()
{
return createdBy;
}
public void setCreatedTime(Date createdTime)
{
this.createdTime = createdTime;
}
public Date getCreatedTime()
{
return createdTime;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("jh", getJh())
.append("jd", getJd())
.append("jxj", getJxj())
.append("qjbhl", getQjbhl())
.append("bz", getBz())
.append("createdBy", getCreatedBy())
.append("createdTime", getCreatedTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.toString();
}
}
package com.ruoyi.project.zjsgfa.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
/**
* 设计信息-井身质量要求详细对象 sj_zlyq_xx
*
* @author ruoyi
* @date 2025-07-17
*/
public class SjZlyqXx extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long id;
/** 井号 */
@Excel(name = "井号")
private String jh;
/** 定向井段井身质量要求 */
@Excel(name = "定向井段井身质量要求")
private String dxjzlyq;
/** 固井质量要求 */
@Excel(name = "固井质量要求")
private String gjzlyq;
/** 完成井井口质量要求 */
@Excel(name = "完成井井口质量要求")
private String wcjjkzlyq;
/** 油气层污染判定要求 */
@Excel(name = "油气层污染判定要求")
private String yqcwrpdyq;
/** 备注 */
@Excel(name = "备注")
private String bz;
/** 创建人 */
@Excel(name = "创建人")
private String createdBy;
/** 创建时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date createdTime;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setJh(String jh)
{
this.jh = jh;
}
public String getJh()
{
return jh;
}
public void setDxjzlyq(String dxjzlyq)
{
this.dxjzlyq = dxjzlyq;
}
public String getDxjzlyq()
{
return dxjzlyq;
}
public void setGjzlyq(String gjzlyq)
{
this.gjzlyq = gjzlyq;
}
public String getGjzlyq()
{
return gjzlyq;
}
public void setWcjjkzlyq(String wcjjkzlyq)
{
this.wcjjkzlyq = wcjjkzlyq;
}
public String getWcjjkzlyq()
{
return wcjjkzlyq;
}
public void setYqcwrpdyq(String yqcwrpdyq)
{
this.yqcwrpdyq = yqcwrpdyq;
}
public String getYqcwrpdyq()
{
return yqcwrpdyq;
}
public void setBz(String bz)
{
this.bz = bz;
}
public String getBz()
{
return bz;
}
public void setCreatedBy(String createdBy)
{
this.createdBy = createdBy;
}
public String getCreatedBy()
{
return createdBy;
}
public void setCreatedTime(Date createdTime)
{
this.createdTime = createdTime;
}
public Date getCreatedTime()
{
return createdTime;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("jh", getJh())
.append("dxjzlyq", getDxjzlyq())
.append("gjzlyq", getGjzlyq())
.append("wcjjkzlyq", getWcjjkzlyq())
.append("yqcwrpdyq", getYqcwrpdyq())
.append("bz", getBz())
.append("createdBy", getCreatedBy())
.append("createdTime", getCreatedTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.toString();
}
}
package com.ruoyi.project.zjsgfa.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
/**
* 设计信息-中靶要求-定向井对象 sj_zlyq_zbyq
*
* @author ruoyi
* @date 2025-07-17
*/
public class SjZlyqZbyq extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long id;
/** 井号 */
@Excel(name = "井号")
private String jh;
/** 靶点 */
@Excel(name = "靶点")
private String bd;
/** 靶半径 */
@Excel(name = "靶半径")
private Double bbj;
/** 备注 */
@Excel(name = "备注")
private String bz;
/** 创建人 */
@Excel(name = "创建人")
private String createdBy;
/** 创建时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date createdTime;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setJh(String jh)
{
this.jh = jh;
}
public String getJh()
{
return jh;
}
public void setBd(String bd)
{
this.bd = bd;
}
public String getBd()
{
return bd;
}
public void setBbj(Double bbj)
{
this.bbj = bbj;
}
public Double getBbj()
{
return bbj;
}
public void setBz(String bz)
{
this.bz = bz;
}
public String getBz()
{
return bz;
}
public void setCreatedBy(String createdBy)
{
this.createdBy = createdBy;
}
public String getCreatedBy()
{
return createdBy;
}
public void setCreatedTime(Date createdTime)
{
this.createdTime = createdTime;
}
public Date getCreatedTime()
{
return createdTime;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("jh", getJh())
.append("bd", getBd())
.append("bbj", getBbj())
.append("bz", getBz())
.append("createdBy", getCreatedBy())
.append("createdTime", getCreatedTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.toString();
}
}
......@@ -58,4 +58,8 @@ public interface SjDjjcMapper
* @return 结果
*/
public int deleteSjDjjcByIds(Long[] ids);
SjDjjc selectSjDjjcByJh(String jh);
}
......@@ -2,6 +2,7 @@ package com.ruoyi.project.zjsgfa.mapper;
import java.util.List;
import com.ruoyi.project.zjsgfa.domain.SjJsjg;
import org.apache.ibatis.annotations.Param;
/**
* 设计信息-井身结构Mapper接口
......@@ -58,4 +59,9 @@ public interface SjJsjgMapper
* @return 结果
*/
public int deleteSjJsjgByIds(Long[] ids);
int deleteSjJsjgByJh(String jh);
int insertSjJsjgBatch(@Param("list") List<SjJsjg> list);
}
package com.ruoyi.project.zjsgfa.mapper;
import java.util.List;
import com.ruoyi.project.zjsgfa.domain.SjTgTgqdjh;
/**
* 设计信息-套管柱强度校核Mapper接口
*
* @author ruoyi
* @date 2025-07-17
*/
public interface SjTgTgqdjhMapper
{
/**
* 查询设计信息-套管柱强度校核
*
* @param id 设计信息-套管柱强度校核主键
* @return 设计信息-套管柱强度校核
*/
public SjTgTgqdjh selectSjTgTgqdjhById(Long id);
/**
* 查询设计信息-套管柱强度校核列表
*
* @param sjTgTgqdjh 设计信息-套管柱强度校核
* @return 设计信息-套管柱强度校核集合
*/
public List<SjTgTgqdjh> selectSjTgTgqdjhList(SjTgTgqdjh sjTgTgqdjh);
/**
* 新增设计信息-套管柱强度校核
*
* @param sjTgTgqdjh 设计信息-套管柱强度校核
* @return 结果
*/
public int insertSjTgTgqdjh(SjTgTgqdjh sjTgTgqdjh);
/**
* 修改设计信息-套管柱强度校核
*
* @param sjTgTgqdjh 设计信息-套管柱强度校核
* @return 结果
*/
public int updateSjTgTgqdjh(SjTgTgqdjh sjTgTgqdjh);
/**
* 删除设计信息-套管柱强度校核
*
* @param id 设计信息-套管柱强度校核主键
* @return 结果
*/
public int deleteSjTgTgqdjhById(Long id);
/**
* 批量删除设计信息-套管柱强度校核
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deleteSjTgTgqdjhByIds(Long[] ids);
}
package com.ruoyi.project.zjsgfa.mapper;
import java.util.List;
import com.ruoyi.project.zjsgfa.domain.SjTgTgxnsj;
/**
* 设计信息-套管性能数据Mapper接口
*
* @author ruoyi
* @date 2025-07-17
*/
public interface SjTgTgxnsjMapper
{
/**
* 查询设计信息-套管性能数据
*
* @param id 设计信息-套管性能数据主键
* @return 设计信息-套管性能数据
*/
public SjTgTgxnsj selectSjTgTgxnsjById(Long id);
/**
* 查询设计信息-套管性能数据列表
*
* @param sjTgTgxnsj 设计信息-套管性能数据
* @return 设计信息-套管性能数据集合
*/
public List<SjTgTgxnsj> selectSjTgTgxnsjList(SjTgTgxnsj sjTgTgxnsj);
/**
* 新增设计信息-套管性能数据
*
* @param sjTgTgxnsj 设计信息-套管性能数据
* @return 结果
*/
public int insertSjTgTgxnsj(SjTgTgxnsj sjTgTgxnsj);
/**
* 修改设计信息-套管性能数据
*
* @param sjTgTgxnsj 设计信息-套管性能数据
* @return 结果
*/
public int updateSjTgTgxnsj(SjTgTgxnsj sjTgTgxnsj);
/**
* 删除设计信息-套管性能数据
*
* @param id 设计信息-套管性能数据主键
* @return 结果
*/
public int deleteSjTgTgxnsjById(Long id);
/**
* 批量删除设计信息-套管性能数据
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deleteSjTgTgxnsjByIds(Long[] ids);
}
package com.ruoyi.project.zjsgfa.mapper;
import java.util.List;
import com.ruoyi.project.zjsgfa.domain.SjTgTgz;
/**
* 设计信息-套管柱数据Mapper接口
*
* @author ruoyi
* @date 2025-07-17
*/
public interface SjTgTgzMapper
{
/**
* 查询设计信息-套管柱数据
*
* @param id 设计信息-套管柱数据主键
* @return 设计信息-套管柱数据
*/
public SjTgTgz selectSjTgTgzById(Long id);
/**
* 查询设计信息-套管柱数据列表
*
* @param sjTgTgz 设计信息-套管柱数据
* @return 设计信息-套管柱数据集合
*/
public List<SjTgTgz> selectSjTgTgzList(SjTgTgz sjTgTgz);
/**
* 新增设计信息-套管柱数据
*
* @param sjTgTgz 设计信息-套管柱数据
* @return 结果
*/
public int insertSjTgTgz(SjTgTgz sjTgTgz);
/**
* 修改设计信息-套管柱数据
*
* @param sjTgTgz 设计信息-套管柱数据
* @return 结果
*/
public int updateSjTgTgz(SjTgTgz sjTgTgz);
/**
* 删除设计信息-套管柱数据
*
* @param id 设计信息-套管柱数据主键
* @return 结果
*/
public int deleteSjTgTgzById(Long id);
/**
* 批量删除设计信息-套管柱数据
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deleteSjTgTgzByIds(Long[] ids);
}
package com.ruoyi.project.zjsgfa.mapper;
import java.util.List;
import com.ruoyi.project.zjsgfa.domain.SjZjyCljl;
/**
* 设计信息-钻井液材料加量Mapper接口
*
* @author ruoyi
* @date 2025-07-17
*/
public interface SjZjyCljlMapper
{
/**
* 查询设计信息-钻井液材料加量
*
* @param id 设计信息-钻井液材料加量主键
* @return 设计信息-钻井液材料加量
*/
public SjZjyCljl selectSjZjyCljlById(Long id);
/**
* 查询设计信息-钻井液材料加量列表
*
* @param sjZjyCljl 设计信息-钻井液材料加量
* @return 设计信息-钻井液材料加量集合
*/
public List<SjZjyCljl> selectSjZjyCljlList(SjZjyCljl sjZjyCljl);
/**
* 新增设计信息-钻井液材料加量
*
* @param sjZjyCljl 设计信息-钻井液材料加量
* @return 结果
*/
public int insertSjZjyCljl(SjZjyCljl sjZjyCljl);
/**
* 修改设计信息-钻井液材料加量
*
* @param sjZjyCljl 设计信息-钻井液材料加量
* @return 结果
*/
public int updateSjZjyCljl(SjZjyCljl sjZjyCljl);
/**
* 删除设计信息-钻井液材料加量
*
* @param id 设计信息-钻井液材料加量主键
* @return 结果
*/
public int deleteSjZjyCljlById(Long id);
/**
* 批量删除设计信息-钻井液材料加量
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deleteSjZjyCljlByIds(Long[] ids);
}
package com.ruoyi.project.zjsgfa.mapper;
import java.util.List;
import com.ruoyi.project.zjsgfa.domain.SjZjyFdsj;
/**
* 设计信息-分段钻井液设计Mapper接口
*
* @author ruoyi
* @date 2025-07-17
*/
public interface SjZjyFdsjMapper
{
/**
* 查询设计信息-分段钻井液设计
*
* @param id 设计信息-分段钻井液设计主键
* @return 设计信息-分段钻井液设计
*/
public SjZjyFdsj selectSjZjyFdsjById(Long id);
/**
* 查询设计信息-分段钻井液设计列表
*
* @param sjZjyFdsj 设计信息-分段钻井液设计
* @return 设计信息-分段钻井液设计集合
*/
public List<SjZjyFdsj> selectSjZjyFdsjList(SjZjyFdsj sjZjyFdsj);
/**
* 新增设计信息-分段钻井液设计
*
* @param sjZjyFdsj 设计信息-分段钻井液设计
* @return 结果
*/
public int insertSjZjyFdsj(SjZjyFdsj sjZjyFdsj);
/**
* 修改设计信息-分段钻井液设计
*
* @param sjZjyFdsj 设计信息-分段钻井液设计
* @return 结果
*/
public int updateSjZjyFdsj(SjZjyFdsj sjZjyFdsj);
/**
* 删除设计信息-分段钻井液设计
*
* @param id 设计信息-分段钻井液设计主键
* @return 结果
*/
public int deleteSjZjyFdsjById(Long id);
/**
* 批量删除设计信息-分段钻井液设计
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deleteSjZjyFdsjByIds(Long[] ids);
}
package com.ruoyi.project.zjsgfa.mapper;
import java.util.List;
import com.ruoyi.project.zjsgfa.domain.SjZjyFdxnb;
/**
* 设计信息-分段钻井液性能设计Mapper接口
*
* @author ruoyi
* @date 2025-07-17
*/
public interface SjZjyFdxnbMapper
{
/**
* 查询设计信息-分段钻井液性能设计
*
* @param id 设计信息-分段钻井液性能设计主键
* @return 设计信息-分段钻井液性能设计
*/
public SjZjyFdxnb selectSjZjyFdxnbById(Long id);
/**
* 查询设计信息-分段钻井液性能设计列表
*
* @param sjZjyFdxnb 设计信息-分段钻井液性能设计
* @return 设计信息-分段钻井液性能设计集合
*/
public List<SjZjyFdxnb> selectSjZjyFdxnbList(SjZjyFdxnb sjZjyFdxnb);
/**
* 新增设计信息-分段钻井液性能设计
*
* @param sjZjyFdxnb 设计信息-分段钻井液性能设计
* @return 结果
*/
public int insertSjZjyFdxnb(SjZjyFdxnb sjZjyFdxnb);
/**
* 修改设计信息-分段钻井液性能设计
*
* @param sjZjyFdxnb 设计信息-分段钻井液性能设计
* @return 结果
*/
public int updateSjZjyFdxnb(SjZjyFdxnb sjZjyFdxnb);
/**
* 删除设计信息-分段钻井液性能设计
*
* @param id 设计信息-分段钻井液性能设计主键
* @return 结果
*/
public int deleteSjZjyFdxnbById(Long id);
/**
* 批量删除设计信息-分段钻井液性能设计
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deleteSjZjyFdxnbByIds(Long[] ids);
}
package com.ruoyi.project.zjsgfa.mapper;
import java.util.List;
import com.ruoyi.project.zjsgfa.domain.SjZlyq;
/**
* 设计信息-井身质量要求Mapper接口
*
* @author ruoyi
* @date 2025-07-17
*/
public interface SjZlyqMapper
{
/**
* 查询设计信息-井身质量要求
*
* @param id 设计信息-井身质量要求主键
* @return 设计信息-井身质量要求
*/
public SjZlyq selectSjZlyqById(Long id);
/**
* 查询设计信息-井身质量要求列表
*
* @param sjZlyq 设计信息-井身质量要求
* @return 设计信息-井身质量要求集合
*/
public List<SjZlyq> selectSjZlyqList(SjZlyq sjZlyq);
/**
* 新增设计信息-井身质量要求
*
* @param sjZlyq 设计信息-井身质量要求
* @return 结果
*/
public int insertSjZlyq(SjZlyq sjZlyq);
/**
* 修改设计信息-井身质量要求
*
* @param sjZlyq 设计信息-井身质量要求
* @return 结果
*/
public int updateSjZlyq(SjZlyq sjZlyq);
/**
* 删除设计信息-井身质量要求
*
* @param id 设计信息-井身质量要求主键
* @return 结果
*/
public int deleteSjZlyqById(Long id);
/**
* 批量删除设计信息-井身质量要求
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deleteSjZlyqByIds(Long[] ids);
}
package com.ruoyi.project.zjsgfa.mapper;
import java.util.List;
import com.ruoyi.project.zjsgfa.domain.SjZlyqXx;
/**
* 设计信息-井身质量要求详细Mapper接口
*
* @author ruoyi
* @date 2025-07-17
*/
public interface SjZlyqXxMapper
{
/**
* 查询设计信息-井身质量要求详细
*
* @param id 设计信息-井身质量要求详细主键
* @return 设计信息-井身质量要求详细
*/
public SjZlyqXx selectSjZlyqXxById(Long id);
/**
* 查询设计信息-井身质量要求详细列表
*
* @param sjZlyqXx 设计信息-井身质量要求详细
* @return 设计信息-井身质量要求详细集合
*/
public List<SjZlyqXx> selectSjZlyqXxList(SjZlyqXx sjZlyqXx);
/**
* 新增设计信息-井身质量要求详细
*
* @param sjZlyqXx 设计信息-井身质量要求详细
* @return 结果
*/
public int insertSjZlyqXx(SjZlyqXx sjZlyqXx);
/**
* 修改设计信息-井身质量要求详细
*
* @param sjZlyqXx 设计信息-井身质量要求详细
* @return 结果
*/
public int updateSjZlyqXx(SjZlyqXx sjZlyqXx);
/**
* 删除设计信息-井身质量要求详细
*
* @param id 设计信息-井身质量要求详细主键
* @return 结果
*/
public int deleteSjZlyqXxById(Long id);
/**
* 批量删除设计信息-井身质量要求详细
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deleteSjZlyqXxByIds(Long[] ids);
}
package com.ruoyi.project.zjsgfa.mapper;
import java.util.List;
import com.ruoyi.project.zjsgfa.domain.SjZlyqZbyq;
/**
* 设计信息-中靶要求-定向井Mapper接口
*
* @author ruoyi
* @date 2025-07-17
*/
public interface SjZlyqZbyqMapper
{
/**
* 查询设计信息-中靶要求-定向井
*
* @param id 设计信息-中靶要求-定向井主键
* @return 设计信息-中靶要求-定向井
*/
public SjZlyqZbyq selectSjZlyqZbyqById(Long id);
/**
* 查询设计信息-中靶要求-定向井列表
*
* @param sjZlyqZbyq 设计信息-中靶要求-定向井
* @return 设计信息-中靶要求-定向井集合
*/
public List<SjZlyqZbyq> selectSjZlyqZbyqList(SjZlyqZbyq sjZlyqZbyq);
/**
* 新增设计信息-中靶要求-定向井
*
* @param sjZlyqZbyq 设计信息-中靶要求-定向井
* @return 结果
*/
public int insertSjZlyqZbyq(SjZlyqZbyq sjZlyqZbyq);
/**
* 修改设计信息-中靶要求-定向井
*
* @param sjZlyqZbyq 设计信息-中靶要求-定向井
* @return 结果
*/
public int updateSjZlyqZbyq(SjZlyqZbyq sjZlyqZbyq);
/**
* 删除设计信息-中靶要求-定向井
*
* @param id 设计信息-中靶要求-定向井主键
* @return 结果
*/
public int deleteSjZlyqZbyqById(Long id);
/**
* 批量删除设计信息-中靶要求-定向井
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deleteSjZlyqZbyqByIds(Long[] ids);
}
package com.ruoyi.project.zjsgfa.service;
import java.util.List;
import com.ruoyi.project.zjsgfa.domain.SjTgTgqdjh;
/**
* 设计信息-套管柱强度校核Service接口
*
* @author ruoyi
* @date 2025-07-17
*/
public interface ISjTgTgqdjhService
{
/**
* 查询设计信息-套管柱强度校核
*
* @param id 设计信息-套管柱强度校核主键
* @return 设计信息-套管柱强度校核
*/
public SjTgTgqdjh selectSjTgTgqdjhById(Long id);
/**
* 查询设计信息-套管柱强度校核列表
*
* @param sjTgTgqdjh 设计信息-套管柱强度校核
* @return 设计信息-套管柱强度校核集合
*/
public List<SjTgTgqdjh> selectSjTgTgqdjhList(SjTgTgqdjh sjTgTgqdjh);
/**
* 新增设计信息-套管柱强度校核
*
* @param sjTgTgqdjh 设计信息-套管柱强度校核
* @return 结果
*/
public int insertSjTgTgqdjh(SjTgTgqdjh sjTgTgqdjh);
/**
* 修改设计信息-套管柱强度校核
*
* @param sjTgTgqdjh 设计信息-套管柱强度校核
* @return 结果
*/
public int updateSjTgTgqdjh(SjTgTgqdjh sjTgTgqdjh);
/**
* 批量删除设计信息-套管柱强度校核
*
* @param ids 需要删除的设计信息-套管柱强度校核主键集合
* @return 结果
*/
public int deleteSjTgTgqdjhByIds(Long[] ids);
/**
* 删除设计信息-套管柱强度校核信息
*
* @param id 设计信息-套管柱强度校核主键
* @return 结果
*/
public int deleteSjTgTgqdjhById(Long id);
}
package com.ruoyi.project.zjsgfa.service;
import java.util.List;
import com.ruoyi.project.zjsgfa.domain.SjTgTgxnsj;
/**
* 设计信息-套管性能数据Service接口
*
* @author ruoyi
* @date 2025-07-17
*/
public interface ISjTgTgxnsjService
{
/**
* 查询设计信息-套管性能数据
*
* @param id 设计信息-套管性能数据主键
* @return 设计信息-套管性能数据
*/
public SjTgTgxnsj selectSjTgTgxnsjById(Long id);
/**
* 查询设计信息-套管性能数据列表
*
* @param sjTgTgxnsj 设计信息-套管性能数据
* @return 设计信息-套管性能数据集合
*/
public List<SjTgTgxnsj> selectSjTgTgxnsjList(SjTgTgxnsj sjTgTgxnsj);
/**
* 新增设计信息-套管性能数据
*
* @param sjTgTgxnsj 设计信息-套管性能数据
* @return 结果
*/
public int insertSjTgTgxnsj(SjTgTgxnsj sjTgTgxnsj);
/**
* 修改设计信息-套管性能数据
*
* @param sjTgTgxnsj 设计信息-套管性能数据
* @return 结果
*/
public int updateSjTgTgxnsj(SjTgTgxnsj sjTgTgxnsj);
/**
* 批量删除设计信息-套管性能数据
*
* @param ids 需要删除的设计信息-套管性能数据主键集合
* @return 结果
*/
public int deleteSjTgTgxnsjByIds(Long[] ids);
/**
* 删除设计信息-套管性能数据信息
*
* @param id 设计信息-套管性能数据主键
* @return 结果
*/
public int deleteSjTgTgxnsjById(Long id);
}
package com.ruoyi.project.zjsgfa.service;
import java.util.List;
import com.ruoyi.project.zjsgfa.domain.SjTgTgz;
/**
* 设计信息-套管柱数据Service接口
*
* @author ruoyi
* @date 2025-07-17
*/
public interface ISjTgTgzService
{
/**
* 查询设计信息-套管柱数据
*
* @param id 设计信息-套管柱数据主键
* @return 设计信息-套管柱数据
*/
public SjTgTgz selectSjTgTgzById(Long id);
/**
* 查询设计信息-套管柱数据列表
*
* @param sjTgTgz 设计信息-套管柱数据
* @return 设计信息-套管柱数据集合
*/
public List<SjTgTgz> selectSjTgTgzList(SjTgTgz sjTgTgz);
/**
* 新增设计信息-套管柱数据
*
* @param sjTgTgz 设计信息-套管柱数据
* @return 结果
*/
public int insertSjTgTgz(SjTgTgz sjTgTgz);
/**
* 修改设计信息-套管柱数据
*
* @param sjTgTgz 设计信息-套管柱数据
* @return 结果
*/
public int updateSjTgTgz(SjTgTgz sjTgTgz);
/**
* 批量删除设计信息-套管柱数据
*
* @param ids 需要删除的设计信息-套管柱数据主键集合
* @return 结果
*/
public int deleteSjTgTgzByIds(Long[] ids);
/**
* 删除设计信息-套管柱数据信息
*
* @param id 设计信息-套管柱数据主键
* @return 结果
*/
public int deleteSjTgTgzById(Long id);
}
package com.ruoyi.project.zjsgfa.service;
import java.util.List;
import com.ruoyi.project.zjsgfa.domain.SjZjyCljl;
/**
* 设计信息-钻井液材料加量Service接口
*
* @author ruoyi
* @date 2025-07-17
*/
public interface ISjZjyCljlService
{
/**
* 查询设计信息-钻井液材料加量
*
* @param id 设计信息-钻井液材料加量主键
* @return 设计信息-钻井液材料加量
*/
public SjZjyCljl selectSjZjyCljlById(Long id);
/**
* 查询设计信息-钻井液材料加量列表
*
* @param sjZjyCljl 设计信息-钻井液材料加量
* @return 设计信息-钻井液材料加量集合
*/
public List<SjZjyCljl> selectSjZjyCljlList(SjZjyCljl sjZjyCljl);
/**
* 新增设计信息-钻井液材料加量
*
* @param sjZjyCljl 设计信息-钻井液材料加量
* @return 结果
*/
public int insertSjZjyCljl(SjZjyCljl sjZjyCljl);
/**
* 修改设计信息-钻井液材料加量
*
* @param sjZjyCljl 设计信息-钻井液材料加量
* @return 结果
*/
public int updateSjZjyCljl(SjZjyCljl sjZjyCljl);
/**
* 批量删除设计信息-钻井液材料加量
*
* @param ids 需要删除的设计信息-钻井液材料加量主键集合
* @return 结果
*/
public int deleteSjZjyCljlByIds(Long[] ids);
/**
* 删除设计信息-钻井液材料加量信息
*
* @param id 设计信息-钻井液材料加量主键
* @return 结果
*/
public int deleteSjZjyCljlById(Long id);
}
package com.ruoyi.project.zjsgfa.service;
import java.util.List;
import com.ruoyi.project.zjsgfa.domain.SjZjyFdsj;
/**
* 设计信息-分段钻井液设计Service接口
*
* @author ruoyi
* @date 2025-07-17
*/
public interface ISjZjyFdsjService
{
/**
* 查询设计信息-分段钻井液设计
*
* @param id 设计信息-分段钻井液设计主键
* @return 设计信息-分段钻井液设计
*/
public SjZjyFdsj selectSjZjyFdsjById(Long id);
/**
* 查询设计信息-分段钻井液设计列表
*
* @param sjZjyFdsj 设计信息-分段钻井液设计
* @return 设计信息-分段钻井液设计集合
*/
public List<SjZjyFdsj> selectSjZjyFdsjList(SjZjyFdsj sjZjyFdsj);
/**
* 新增设计信息-分段钻井液设计
*
* @param sjZjyFdsj 设计信息-分段钻井液设计
* @return 结果
*/
public int insertSjZjyFdsj(SjZjyFdsj sjZjyFdsj);
/**
* 修改设计信息-分段钻井液设计
*
* @param sjZjyFdsj 设计信息-分段钻井液设计
* @return 结果
*/
public int updateSjZjyFdsj(SjZjyFdsj sjZjyFdsj);
/**
* 批量删除设计信息-分段钻井液设计
*
* @param ids 需要删除的设计信息-分段钻井液设计主键集合
* @return 结果
*/
public int deleteSjZjyFdsjByIds(Long[] ids);
/**
* 删除设计信息-分段钻井液设计信息
*
* @param id 设计信息-分段钻井液设计主键
* @return 结果
*/
public int deleteSjZjyFdsjById(Long id);
}
package com.ruoyi.project.zjsgfa.service;
import java.util.List;
import com.ruoyi.project.zjsgfa.domain.SjZjyFdxnb;
/**
* 设计信息-分段钻井液性能设计Service接口
*
* @author ruoyi
* @date 2025-07-17
*/
public interface ISjZjyFdxnbService
{
/**
* 查询设计信息-分段钻井液性能设计
*
* @param id 设计信息-分段钻井液性能设计主键
* @return 设计信息-分段钻井液性能设计
*/
public SjZjyFdxnb selectSjZjyFdxnbById(Long id);
/**
* 查询设计信息-分段钻井液性能设计列表
*
* @param sjZjyFdxnb 设计信息-分段钻井液性能设计
* @return 设计信息-分段钻井液性能设计集合
*/
public List<SjZjyFdxnb> selectSjZjyFdxnbList(SjZjyFdxnb sjZjyFdxnb);
/**
* 新增设计信息-分段钻井液性能设计
*
* @param sjZjyFdxnb 设计信息-分段钻井液性能设计
* @return 结果
*/
public int insertSjZjyFdxnb(SjZjyFdxnb sjZjyFdxnb);
/**
* 修改设计信息-分段钻井液性能设计
*
* @param sjZjyFdxnb 设计信息-分段钻井液性能设计
* @return 结果
*/
public int updateSjZjyFdxnb(SjZjyFdxnb sjZjyFdxnb);
/**
* 批量删除设计信息-分段钻井液性能设计
*
* @param ids 需要删除的设计信息-分段钻井液性能设计主键集合
* @return 结果
*/
public int deleteSjZjyFdxnbByIds(Long[] ids);
/**
* 删除设计信息-分段钻井液性能设计信息
*
* @param id 设计信息-分段钻井液性能设计主键
* @return 结果
*/
public int deleteSjZjyFdxnbById(Long id);
}
package com.ruoyi.project.zjsgfa.service;
import java.util.List;
import com.ruoyi.project.zjsgfa.domain.SjZlyq;
/**
* 设计信息-井身质量要求Service接口
*
* @author ruoyi
* @date 2025-07-17
*/
public interface ISjZlyqService
{
/**
* 查询设计信息-井身质量要求
*
* @param id 设计信息-井身质量要求主键
* @return 设计信息-井身质量要求
*/
public SjZlyq selectSjZlyqById(Long id);
/**
* 查询设计信息-井身质量要求列表
*
* @param sjZlyq 设计信息-井身质量要求
* @return 设计信息-井身质量要求集合
*/
public List<SjZlyq> selectSjZlyqList(SjZlyq sjZlyq);
/**
* 新增设计信息-井身质量要求
*
* @param sjZlyq 设计信息-井身质量要求
* @return 结果
*/
public int insertSjZlyq(SjZlyq sjZlyq);
/**
* 修改设计信息-井身质量要求
*
* @param sjZlyq 设计信息-井身质量要求
* @return 结果
*/
public int updateSjZlyq(SjZlyq sjZlyq);
/**
* 批量删除设计信息-井身质量要求
*
* @param ids 需要删除的设计信息-井身质量要求主键集合
* @return 结果
*/
public int deleteSjZlyqByIds(Long[] ids);
/**
* 删除设计信息-井身质量要求信息
*
* @param id 设计信息-井身质量要求主键
* @return 结果
*/
public int deleteSjZlyqById(Long id);
}
package com.ruoyi.project.zjsgfa.service;
import java.util.List;
import com.ruoyi.project.zjsgfa.domain.SjZlyqXx;
/**
* 设计信息-井身质量要求详细Service接口
*
* @author ruoyi
* @date 2025-07-17
*/
public interface ISjZlyqXxService
{
/**
* 查询设计信息-井身质量要求详细
*
* @param id 设计信息-井身质量要求详细主键
* @return 设计信息-井身质量要求详细
*/
public SjZlyqXx selectSjZlyqXxById(Long id);
/**
* 查询设计信息-井身质量要求详细列表
*
* @param sjZlyqXx 设计信息-井身质量要求详细
* @return 设计信息-井身质量要求详细集合
*/
public List<SjZlyqXx> selectSjZlyqXxList(SjZlyqXx sjZlyqXx);
/**
* 新增设计信息-井身质量要求详细
*
* @param sjZlyqXx 设计信息-井身质量要求详细
* @return 结果
*/
public int insertSjZlyqXx(SjZlyqXx sjZlyqXx);
/**
* 修改设计信息-井身质量要求详细
*
* @param sjZlyqXx 设计信息-井身质量要求详细
* @return 结果
*/
public int updateSjZlyqXx(SjZlyqXx sjZlyqXx);
/**
* 批量删除设计信息-井身质量要求详细
*
* @param ids 需要删除的设计信息-井身质量要求详细主键集合
* @return 结果
*/
public int deleteSjZlyqXxByIds(Long[] ids);
/**
* 删除设计信息-井身质量要求详细信息
*
* @param id 设计信息-井身质量要求详细主键
* @return 结果
*/
public int deleteSjZlyqXxById(Long id);
}
package com.ruoyi.project.zjsgfa.service;
import java.util.List;
import com.ruoyi.project.zjsgfa.domain.SjZlyqZbyq;
/**
* 设计信息-中靶要求-定向井Service接口
*
* @author ruoyi
* @date 2025-07-17
*/
public interface ISjZlyqZbyqService
{
/**
* 查询设计信息-中靶要求-定向井
*
* @param id 设计信息-中靶要求-定向井主键
* @return 设计信息-中靶要求-定向井
*/
public SjZlyqZbyq selectSjZlyqZbyqById(Long id);
/**
* 查询设计信息-中靶要求-定向井列表
*
* @param sjZlyqZbyq 设计信息-中靶要求-定向井
* @return 设计信息-中靶要求-定向井集合
*/
public List<SjZlyqZbyq> selectSjZlyqZbyqList(SjZlyqZbyq sjZlyqZbyq);
/**
* 新增设计信息-中靶要求-定向井
*
* @param sjZlyqZbyq 设计信息-中靶要求-定向井
* @return 结果
*/
public int insertSjZlyqZbyq(SjZlyqZbyq sjZlyqZbyq);
/**
* 修改设计信息-中靶要求-定向井
*
* @param sjZlyqZbyq 设计信息-中靶要求-定向井
* @return 结果
*/
public int updateSjZlyqZbyq(SjZlyqZbyq sjZlyqZbyq);
/**
* 批量删除设计信息-中靶要求-定向井
*
* @param ids 需要删除的设计信息-中靶要求-定向井主键集合
* @return 结果
*/
public int deleteSjZlyqZbyqByIds(Long[] ids);
/**
* 删除设计信息-中靶要求-定向井信息
*
* @param id 设计信息-中靶要求-定向井主键
* @return 结果
*/
public int deleteSjZlyqZbyqById(Long id);
}
......@@ -2,6 +2,7 @@ package com.ruoyi.project.zjsgfa.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.common.utils.SecurityUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.project.zjsgfa.mapper.SjDjjcMapper;
......@@ -53,6 +54,12 @@ public class SjDjjcServiceImpl implements ISjDjjcService
@Override
public int insertSjDjjc(SjDjjc sjDjjc)
{
SjDjjc sjDjjc1 =sjDjjcMapper.selectSjDjjcByJh(sjDjjc.getJh());
if(sjDjjc1!=null){
return 3;
}
sjDjjc.setCreatedBy(SecurityUtils.getUsername());
return sjDjjcMapper.insertSjDjjc(sjDjjc);
}
......@@ -66,6 +73,7 @@ public class SjDjjcServiceImpl implements ISjDjjcService
public int updateSjDjjc(SjDjjc sjDjjc)
{
sjDjjc.setUpdateTime(DateUtils.getNowDate());
sjDjjc.setUpdateBy(SecurityUtils.getUsername());
return sjDjjcMapper.updateSjDjjc(sjDjjc);
}
......
package com.ruoyi.project.zjsgfa.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.project.zjsgfa.mapper.SjTgTgqdjhMapper;
import com.ruoyi.project.zjsgfa.domain.SjTgTgqdjh;
import com.ruoyi.project.zjsgfa.service.ISjTgTgqdjhService;
/**
* 设计信息-套管柱强度校核Service业务层处理
*
* @author ruoyi
* @date 2025-07-17
*/
@Service
public class SjTgTgqdjhServiceImpl implements ISjTgTgqdjhService
{
@Autowired
private SjTgTgqdjhMapper sjTgTgqdjhMapper;
/**
* 查询设计信息-套管柱强度校核
*
* @param id 设计信息-套管柱强度校核主键
* @return 设计信息-套管柱强度校核
*/
@Override
public SjTgTgqdjh selectSjTgTgqdjhById(Long id)
{
return sjTgTgqdjhMapper.selectSjTgTgqdjhById(id);
}
/**
* 查询设计信息-套管柱强度校核列表
*
* @param sjTgTgqdjh 设计信息-套管柱强度校核
* @return 设计信息-套管柱强度校核
*/
@Override
public List<SjTgTgqdjh> selectSjTgTgqdjhList(SjTgTgqdjh sjTgTgqdjh)
{
return sjTgTgqdjhMapper.selectSjTgTgqdjhList(sjTgTgqdjh);
}
/**
* 新增设计信息-套管柱强度校核
*
* @param sjTgTgqdjh 设计信息-套管柱强度校核
* @return 结果
*/
@Override
public int insertSjTgTgqdjh(SjTgTgqdjh sjTgTgqdjh)
{
return sjTgTgqdjhMapper.insertSjTgTgqdjh(sjTgTgqdjh);
}
/**
* 修改设计信息-套管柱强度校核
*
* @param sjTgTgqdjh 设计信息-套管柱强度校核
* @return 结果
*/
@Override
public int updateSjTgTgqdjh(SjTgTgqdjh sjTgTgqdjh)
{
sjTgTgqdjh.setUpdateTime(DateUtils.getNowDate());
return sjTgTgqdjhMapper.updateSjTgTgqdjh(sjTgTgqdjh);
}
/**
* 批量删除设计信息-套管柱强度校核
*
* @param ids 需要删除的设计信息-套管柱强度校核主键
* @return 结果
*/
@Override
public int deleteSjTgTgqdjhByIds(Long[] ids)
{
return sjTgTgqdjhMapper.deleteSjTgTgqdjhByIds(ids);
}
/**
* 删除设计信息-套管柱强度校核信息
*
* @param id 设计信息-套管柱强度校核主键
* @return 结果
*/
@Override
public int deleteSjTgTgqdjhById(Long id)
{
return sjTgTgqdjhMapper.deleteSjTgTgqdjhById(id);
}
}
package com.ruoyi.project.zjsgfa.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.project.zjsgfa.mapper.SjTgTgxnsjMapper;
import com.ruoyi.project.zjsgfa.domain.SjTgTgxnsj;
import com.ruoyi.project.zjsgfa.service.ISjTgTgxnsjService;
/**
* 设计信息-套管性能数据Service业务层处理
*
* @author ruoyi
* @date 2025-07-17
*/
@Service
public class SjTgTgxnsjServiceImpl implements ISjTgTgxnsjService
{
@Autowired
private SjTgTgxnsjMapper sjTgTgxnsjMapper;
/**
* 查询设计信息-套管性能数据
*
* @param id 设计信息-套管性能数据主键
* @return 设计信息-套管性能数据
*/
@Override
public SjTgTgxnsj selectSjTgTgxnsjById(Long id)
{
return sjTgTgxnsjMapper.selectSjTgTgxnsjById(id);
}
/**
* 查询设计信息-套管性能数据列表
*
* @param sjTgTgxnsj 设计信息-套管性能数据
* @return 设计信息-套管性能数据
*/
@Override
public List<SjTgTgxnsj> selectSjTgTgxnsjList(SjTgTgxnsj sjTgTgxnsj)
{
return sjTgTgxnsjMapper.selectSjTgTgxnsjList(sjTgTgxnsj);
}
/**
* 新增设计信息-套管性能数据
*
* @param sjTgTgxnsj 设计信息-套管性能数据
* @return 结果
*/
@Override
public int insertSjTgTgxnsj(SjTgTgxnsj sjTgTgxnsj)
{
return sjTgTgxnsjMapper.insertSjTgTgxnsj(sjTgTgxnsj);
}
/**
* 修改设计信息-套管性能数据
*
* @param sjTgTgxnsj 设计信息-套管性能数据
* @return 结果
*/
@Override
public int updateSjTgTgxnsj(SjTgTgxnsj sjTgTgxnsj)
{
sjTgTgxnsj.setUpdateTime(DateUtils.getNowDate());
return sjTgTgxnsjMapper.updateSjTgTgxnsj(sjTgTgxnsj);
}
/**
* 批量删除设计信息-套管性能数据
*
* @param ids 需要删除的设计信息-套管性能数据主键
* @return 结果
*/
@Override
public int deleteSjTgTgxnsjByIds(Long[] ids)
{
return sjTgTgxnsjMapper.deleteSjTgTgxnsjByIds(ids);
}
/**
* 删除设计信息-套管性能数据信息
*
* @param id 设计信息-套管性能数据主键
* @return 结果
*/
@Override
public int deleteSjTgTgxnsjById(Long id)
{
return sjTgTgxnsjMapper.deleteSjTgTgxnsjById(id);
}
}
package com.ruoyi.project.zjsgfa.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.project.zjsgfa.mapper.SjTgTgzMapper;
import com.ruoyi.project.zjsgfa.domain.SjTgTgz;
import com.ruoyi.project.zjsgfa.service.ISjTgTgzService;
/**
* 设计信息-套管柱数据Service业务层处理
*
* @author ruoyi
* @date 2025-07-17
*/
@Service
public class SjTgTgzServiceImpl implements ISjTgTgzService
{
@Autowired
private SjTgTgzMapper sjTgTgzMapper;
/**
* 查询设计信息-套管柱数据
*
* @param id 设计信息-套管柱数据主键
* @return 设计信息-套管柱数据
*/
@Override
public SjTgTgz selectSjTgTgzById(Long id)
{
return sjTgTgzMapper.selectSjTgTgzById(id);
}
/**
* 查询设计信息-套管柱数据列表
*
* @param sjTgTgz 设计信息-套管柱数据
* @return 设计信息-套管柱数据
*/
@Override
public List<SjTgTgz> selectSjTgTgzList(SjTgTgz sjTgTgz)
{
return sjTgTgzMapper.selectSjTgTgzList(sjTgTgz);
}
/**
* 新增设计信息-套管柱数据
*
* @param sjTgTgz 设计信息-套管柱数据
* @return 结果
*/
@Override
public int insertSjTgTgz(SjTgTgz sjTgTgz)
{
return sjTgTgzMapper.insertSjTgTgz(sjTgTgz);
}
/**
* 修改设计信息-套管柱数据
*
* @param sjTgTgz 设计信息-套管柱数据
* @return 结果
*/
@Override
public int updateSjTgTgz(SjTgTgz sjTgTgz)
{
sjTgTgz.setUpdateTime(DateUtils.getNowDate());
return sjTgTgzMapper.updateSjTgTgz(sjTgTgz);
}
/**
* 批量删除设计信息-套管柱数据
*
* @param ids 需要删除的设计信息-套管柱数据主键
* @return 结果
*/
@Override
public int deleteSjTgTgzByIds(Long[] ids)
{
return sjTgTgzMapper.deleteSjTgTgzByIds(ids);
}
/**
* 删除设计信息-套管柱数据信息
*
* @param id 设计信息-套管柱数据主键
* @return 结果
*/
@Override
public int deleteSjTgTgzById(Long id)
{
return sjTgTgzMapper.deleteSjTgTgzById(id);
}
}
package com.ruoyi.project.zjsgfa.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.project.zjsgfa.mapper.SjZjyCljlMapper;
import com.ruoyi.project.zjsgfa.domain.SjZjyCljl;
import com.ruoyi.project.zjsgfa.service.ISjZjyCljlService;
/**
* 设计信息-钻井液材料加量Service业务层处理
*
* @author ruoyi
* @date 2025-07-17
*/
@Service
public class SjZjyCljlServiceImpl implements ISjZjyCljlService
{
@Autowired
private SjZjyCljlMapper sjZjyCljlMapper;
/**
* 查询设计信息-钻井液材料加量
*
* @param id 设计信息-钻井液材料加量主键
* @return 设计信息-钻井液材料加量
*/
@Override
public SjZjyCljl selectSjZjyCljlById(Long id)
{
return sjZjyCljlMapper.selectSjZjyCljlById(id);
}
/**
* 查询设计信息-钻井液材料加量列表
*
* @param sjZjyCljl 设计信息-钻井液材料加量
* @return 设计信息-钻井液材料加量
*/
@Override
public List<SjZjyCljl> selectSjZjyCljlList(SjZjyCljl sjZjyCljl)
{
return sjZjyCljlMapper.selectSjZjyCljlList(sjZjyCljl);
}
/**
* 新增设计信息-钻井液材料加量
*
* @param sjZjyCljl 设计信息-钻井液材料加量
* @return 结果
*/
@Override
public int insertSjZjyCljl(SjZjyCljl sjZjyCljl)
{
return sjZjyCljlMapper.insertSjZjyCljl(sjZjyCljl);
}
/**
* 修改设计信息-钻井液材料加量
*
* @param sjZjyCljl 设计信息-钻井液材料加量
* @return 结果
*/
@Override
public int updateSjZjyCljl(SjZjyCljl sjZjyCljl)
{
sjZjyCljl.setUpdateTime(DateUtils.getNowDate());
return sjZjyCljlMapper.updateSjZjyCljl(sjZjyCljl);
}
/**
* 批量删除设计信息-钻井液材料加量
*
* @param ids 需要删除的设计信息-钻井液材料加量主键
* @return 结果
*/
@Override
public int deleteSjZjyCljlByIds(Long[] ids)
{
return sjZjyCljlMapper.deleteSjZjyCljlByIds(ids);
}
/**
* 删除设计信息-钻井液材料加量信息
*
* @param id 设计信息-钻井液材料加量主键
* @return 结果
*/
@Override
public int deleteSjZjyCljlById(Long id)
{
return sjZjyCljlMapper.deleteSjZjyCljlById(id);
}
}
package com.ruoyi.project.zjsgfa.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.project.zjsgfa.mapper.SjZjyFdsjMapper;
import com.ruoyi.project.zjsgfa.domain.SjZjyFdsj;
import com.ruoyi.project.zjsgfa.service.ISjZjyFdsjService;
/**
* 设计信息-分段钻井液设计Service业务层处理
*
* @author ruoyi
* @date 2025-07-17
*/
@Service
public class SjZjyFdsjServiceImpl implements ISjZjyFdsjService
{
@Autowired
private SjZjyFdsjMapper sjZjyFdsjMapper;
/**
* 查询设计信息-分段钻井液设计
*
* @param id 设计信息-分段钻井液设计主键
* @return 设计信息-分段钻井液设计
*/
@Override
public SjZjyFdsj selectSjZjyFdsjById(Long id)
{
return sjZjyFdsjMapper.selectSjZjyFdsjById(id);
}
/**
* 查询设计信息-分段钻井液设计列表
*
* @param sjZjyFdsj 设计信息-分段钻井液设计
* @return 设计信息-分段钻井液设计
*/
@Override
public List<SjZjyFdsj> selectSjZjyFdsjList(SjZjyFdsj sjZjyFdsj)
{
return sjZjyFdsjMapper.selectSjZjyFdsjList(sjZjyFdsj);
}
/**
* 新增设计信息-分段钻井液设计
*
* @param sjZjyFdsj 设计信息-分段钻井液设计
* @return 结果
*/
@Override
public int insertSjZjyFdsj(SjZjyFdsj sjZjyFdsj)
{
return sjZjyFdsjMapper.insertSjZjyFdsj(sjZjyFdsj);
}
/**
* 修改设计信息-分段钻井液设计
*
* @param sjZjyFdsj 设计信息-分段钻井液设计
* @return 结果
*/
@Override
public int updateSjZjyFdsj(SjZjyFdsj sjZjyFdsj)
{
sjZjyFdsj.setUpdateTime(DateUtils.getNowDate());
return sjZjyFdsjMapper.updateSjZjyFdsj(sjZjyFdsj);
}
/**
* 批量删除设计信息-分段钻井液设计
*
* @param ids 需要删除的设计信息-分段钻井液设计主键
* @return 结果
*/
@Override
public int deleteSjZjyFdsjByIds(Long[] ids)
{
return sjZjyFdsjMapper.deleteSjZjyFdsjByIds(ids);
}
/**
* 删除设计信息-分段钻井液设计信息
*
* @param id 设计信息-分段钻井液设计主键
* @return 结果
*/
@Override
public int deleteSjZjyFdsjById(Long id)
{
return sjZjyFdsjMapper.deleteSjZjyFdsjById(id);
}
}
package com.ruoyi.project.zjsgfa.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.project.zjsgfa.mapper.SjZjyFdxnbMapper;
import com.ruoyi.project.zjsgfa.domain.SjZjyFdxnb;
import com.ruoyi.project.zjsgfa.service.ISjZjyFdxnbService;
/**
* 设计信息-分段钻井液性能设计Service业务层处理
*
* @author ruoyi
* @date 2025-07-17
*/
@Service
public class SjZjyFdxnbServiceImpl implements ISjZjyFdxnbService
{
@Autowired
private SjZjyFdxnbMapper sjZjyFdxnbMapper;
/**
* 查询设计信息-分段钻井液性能设计
*
* @param id 设计信息-分段钻井液性能设计主键
* @return 设计信息-分段钻井液性能设计
*/
@Override
public SjZjyFdxnb selectSjZjyFdxnbById(Long id)
{
return sjZjyFdxnbMapper.selectSjZjyFdxnbById(id);
}
/**
* 查询设计信息-分段钻井液性能设计列表
*
* @param sjZjyFdxnb 设计信息-分段钻井液性能设计
* @return 设计信息-分段钻井液性能设计
*/
@Override
public List<SjZjyFdxnb> selectSjZjyFdxnbList(SjZjyFdxnb sjZjyFdxnb)
{
return sjZjyFdxnbMapper.selectSjZjyFdxnbList(sjZjyFdxnb);
}
/**
* 新增设计信息-分段钻井液性能设计
*
* @param sjZjyFdxnb 设计信息-分段钻井液性能设计
* @return 结果
*/
@Override
public int insertSjZjyFdxnb(SjZjyFdxnb sjZjyFdxnb)
{
return sjZjyFdxnbMapper.insertSjZjyFdxnb(sjZjyFdxnb);
}
/**
* 修改设计信息-分段钻井液性能设计
*
* @param sjZjyFdxnb 设计信息-分段钻井液性能设计
* @return 结果
*/
@Override
public int updateSjZjyFdxnb(SjZjyFdxnb sjZjyFdxnb)
{
sjZjyFdxnb.setUpdateTime(DateUtils.getNowDate());
return sjZjyFdxnbMapper.updateSjZjyFdxnb(sjZjyFdxnb);
}
/**
* 批量删除设计信息-分段钻井液性能设计
*
* @param ids 需要删除的设计信息-分段钻井液性能设计主键
* @return 结果
*/
@Override
public int deleteSjZjyFdxnbByIds(Long[] ids)
{
return sjZjyFdxnbMapper.deleteSjZjyFdxnbByIds(ids);
}
/**
* 删除设计信息-分段钻井液性能设计信息
*
* @param id 设计信息-分段钻井液性能设计主键
* @return 结果
*/
@Override
public int deleteSjZjyFdxnbById(Long id)
{
return sjZjyFdxnbMapper.deleteSjZjyFdxnbById(id);
}
}
package com.ruoyi.project.zjsgfa.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.project.zjsgfa.mapper.SjZlyqMapper;
import com.ruoyi.project.zjsgfa.domain.SjZlyq;
import com.ruoyi.project.zjsgfa.service.ISjZlyqService;
/**
* 设计信息-井身质量要求Service业务层处理
*
* @author ruoyi
* @date 2025-07-17
*/
@Service
public class SjZlyqServiceImpl implements ISjZlyqService
{
@Autowired
private SjZlyqMapper sjZlyqMapper;
/**
* 查询设计信息-井身质量要求
*
* @param id 设计信息-井身质量要求主键
* @return 设计信息-井身质量要求
*/
@Override
public SjZlyq selectSjZlyqById(Long id)
{
return sjZlyqMapper.selectSjZlyqById(id);
}
/**
* 查询设计信息-井身质量要求列表
*
* @param sjZlyq 设计信息-井身质量要求
* @return 设计信息-井身质量要求
*/
@Override
public List<SjZlyq> selectSjZlyqList(SjZlyq sjZlyq)
{
return sjZlyqMapper.selectSjZlyqList(sjZlyq);
}
/**
* 新增设计信息-井身质量要求
*
* @param sjZlyq 设计信息-井身质量要求
* @return 结果
*/
@Override
public int insertSjZlyq(SjZlyq sjZlyq)
{
return sjZlyqMapper.insertSjZlyq(sjZlyq);
}
/**
* 修改设计信息-井身质量要求
*
* @param sjZlyq 设计信息-井身质量要求
* @return 结果
*/
@Override
public int updateSjZlyq(SjZlyq sjZlyq)
{
sjZlyq.setUpdateTime(DateUtils.getNowDate());
return sjZlyqMapper.updateSjZlyq(sjZlyq);
}
/**
* 批量删除设计信息-井身质量要求
*
* @param ids 需要删除的设计信息-井身质量要求主键
* @return 结果
*/
@Override
public int deleteSjZlyqByIds(Long[] ids)
{
return sjZlyqMapper.deleteSjZlyqByIds(ids);
}
/**
* 删除设计信息-井身质量要求信息
*
* @param id 设计信息-井身质量要求主键
* @return 结果
*/
@Override
public int deleteSjZlyqById(Long id)
{
return sjZlyqMapper.deleteSjZlyqById(id);
}
}
package com.ruoyi.project.zjsgfa.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.project.zjsgfa.mapper.SjZlyqXxMapper;
import com.ruoyi.project.zjsgfa.domain.SjZlyqXx;
import com.ruoyi.project.zjsgfa.service.ISjZlyqXxService;
/**
* 设计信息-井身质量要求详细Service业务层处理
*
* @author ruoyi
* @date 2025-07-17
*/
@Service
public class SjZlyqXxServiceImpl implements ISjZlyqXxService
{
@Autowired
private SjZlyqXxMapper sjZlyqXxMapper;
/**
* 查询设计信息-井身质量要求详细
*
* @param id 设计信息-井身质量要求详细主键
* @return 设计信息-井身质量要求详细
*/
@Override
public SjZlyqXx selectSjZlyqXxById(Long id)
{
return sjZlyqXxMapper.selectSjZlyqXxById(id);
}
/**
* 查询设计信息-井身质量要求详细列表
*
* @param sjZlyqXx 设计信息-井身质量要求详细
* @return 设计信息-井身质量要求详细
*/
@Override
public List<SjZlyqXx> selectSjZlyqXxList(SjZlyqXx sjZlyqXx)
{
return sjZlyqXxMapper.selectSjZlyqXxList(sjZlyqXx);
}
/**
* 新增设计信息-井身质量要求详细
*
* @param sjZlyqXx 设计信息-井身质量要求详细
* @return 结果
*/
@Override
public int insertSjZlyqXx(SjZlyqXx sjZlyqXx)
{
return sjZlyqXxMapper.insertSjZlyqXx(sjZlyqXx);
}
/**
* 修改设计信息-井身质量要求详细
*
* @param sjZlyqXx 设计信息-井身质量要求详细
* @return 结果
*/
@Override
public int updateSjZlyqXx(SjZlyqXx sjZlyqXx)
{
sjZlyqXx.setUpdateTime(DateUtils.getNowDate());
return sjZlyqXxMapper.updateSjZlyqXx(sjZlyqXx);
}
/**
* 批量删除设计信息-井身质量要求详细
*
* @param ids 需要删除的设计信息-井身质量要求详细主键
* @return 结果
*/
@Override
public int deleteSjZlyqXxByIds(Long[] ids)
{
return sjZlyqXxMapper.deleteSjZlyqXxByIds(ids);
}
/**
* 删除设计信息-井身质量要求详细信息
*
* @param id 设计信息-井身质量要求详细主键
* @return 结果
*/
@Override
public int deleteSjZlyqXxById(Long id)
{
return sjZlyqXxMapper.deleteSjZlyqXxById(id);
}
}
package com.ruoyi.project.zjsgfa.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.project.zjsgfa.mapper.SjZlyqZbyqMapper;
import com.ruoyi.project.zjsgfa.domain.SjZlyqZbyq;
import com.ruoyi.project.zjsgfa.service.ISjZlyqZbyqService;
/**
* 设计信息-中靶要求-定向井Service业务层处理
*
* @author ruoyi
* @date 2025-07-17
*/
@Service
public class SjZlyqZbyqServiceImpl implements ISjZlyqZbyqService
{
@Autowired
private SjZlyqZbyqMapper sjZlyqZbyqMapper;
/**
* 查询设计信息-中靶要求-定向井
*
* @param id 设计信息-中靶要求-定向井主键
* @return 设计信息-中靶要求-定向井
*/
@Override
public SjZlyqZbyq selectSjZlyqZbyqById(Long id)
{
return sjZlyqZbyqMapper.selectSjZlyqZbyqById(id);
}
/**
* 查询设计信息-中靶要求-定向井列表
*
* @param sjZlyqZbyq 设计信息-中靶要求-定向井
* @return 设计信息-中靶要求-定向井
*/
@Override
public List<SjZlyqZbyq> selectSjZlyqZbyqList(SjZlyqZbyq sjZlyqZbyq)
{
return sjZlyqZbyqMapper.selectSjZlyqZbyqList(sjZlyqZbyq);
}
/**
* 新增设计信息-中靶要求-定向井
*
* @param sjZlyqZbyq 设计信息-中靶要求-定向井
* @return 结果
*/
@Override
public int insertSjZlyqZbyq(SjZlyqZbyq sjZlyqZbyq)
{
return sjZlyqZbyqMapper.insertSjZlyqZbyq(sjZlyqZbyq);
}
/**
* 修改设计信息-中靶要求-定向井
*
* @param sjZlyqZbyq 设计信息-中靶要求-定向井
* @return 结果
*/
@Override
public int updateSjZlyqZbyq(SjZlyqZbyq sjZlyqZbyq)
{
sjZlyqZbyq.setUpdateTime(DateUtils.getNowDate());
return sjZlyqZbyqMapper.updateSjZlyqZbyq(sjZlyqZbyq);
}
/**
* 批量删除设计信息-中靶要求-定向井
*
* @param ids 需要删除的设计信息-中靶要求-定向井主键
* @return 结果
*/
@Override
public int deleteSjZlyqZbyqByIds(Long[] ids)
{
return sjZlyqZbyqMapper.deleteSjZlyqZbyqByIds(ids);
}
/**
* 删除设计信息-中靶要求-定向井信息
*
* @param id 设计信息-中靶要求-定向井主键
* @return 结果
*/
@Override
public int deleteSjZlyqZbyqById(Long id)
{
return sjZlyqZbyqMapper.deleteSjZlyqZbyqById(id);
}
}
......@@ -58,6 +58,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<include refid="selectSjDjjcVo"/>
where id = #{id}
</select>
<select id="selectSjDjjcByJh" resultType="com.ruoyi.project.zjsgfa.domain.SjDjjc">
<include refid="selectSjDjjcVo"/>
where jh = #{jh}
</select>
<insert id="insertSjDjjc" parameterType="SjDjjc" useGeneratedKeys="true" keyProperty="id">
insert into sj_djjc
......@@ -108,7 +112,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<update id="updateSjDjjc" parameterType="SjDjjc">
update sj_djjc
<trim prefix="SET" suffixOverrides=",">
<if test="jh != null">jh = #{jh},</if>
<if test="jb != null">jb = #{jb},</if>
<if test="jx != null">jx = #{jx},</if>
<if test="jkhzb != null">jkhzb = #{jkhzb},</if>
......@@ -128,7 +131,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="jdzzb != null">jdzzb = #{jdzzb},</if>
<if test="zt != null">zt = #{zt},</if>
</trim>
where id = #{id}
where jh = #{jh}
</update>
<delete id="deleteSjDjjcById" parameterType="Long">
......
......@@ -81,6 +81,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateTime != null">#{updateTime},</if>
</trim>
</insert>
<insert id="insertSjJsjgBatch">
insert into sj_jsjg( jh, kc, ztzj, js, ttwj, ttds, ttxs, snfg, bz) values
<foreach item="item" index="index" collection="list" separator=",">
( #{item.jh}, #{item.kc}, #{item.ztzj}, #{item.js}, #{item.ttwj}, #{item.ttds}, #{item.ttxs}, #{item.snfg}, #{item.bz})
</foreach>
</insert>
<update id="updateSjJsjg" parameterType="SjJsjg">
update sj_jsjg
......@@ -112,4 +118,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
#{id}
</foreach>
</delete>
<delete id="deleteSjJsjgByJh">
delete from sj_jsjg where jh = #{jh}
</delete>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.project.zjsgfa.mapper.SjTgTgqdjhMapper">
<resultMap type="SjTgTgqdjh" id="SjTgTgqdjhResult">
<result property="id" column="id" />
<result property="jh" column="jh" />
<result property="kc" column="kc" />
<result property="jd" column="jd" />
<result property="mmzl" column="mmzl" />
<result property="djz" column="djz" />
<result property="ljz" column="ljz" />
<result property="zdzhkwj" column="zdzhkwj" />
<result property="aqxskwj" column="aqxskwj" />
<result property="zdzhkny" column="zdzhkny" />
<result property="aqxskny" column="aqxskny" />
<result property="zdzhkl" column="zdzhkl" />
<result property="aqxskl" column="aqxskl" />
<result property="bz" column="bz" />
<result property="createdBy" column="created_by" />
<result property="createdTime" column="created_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
</resultMap>
<sql id="selectSjTgTgqdjhVo">
select id, jh, kc, jd, mmzl, djz, ljz, zdzhkwj, aqxskwj, zdzhkny, aqxskny, zdzhkl, aqxskl, bz, created_by, created_time, update_by, update_time from sj_tg_tgqdjh
</sql>
<select id="selectSjTgTgqdjhList" parameterType="SjTgTgqdjh" resultMap="SjTgTgqdjhResult">
<include refid="selectSjTgTgqdjhVo"/>
<where>
<if test="jh != null and jh != ''"> and jh = #{jh}</if>
<if test="kc != null and kc != ''"> and kc = #{kc}</if>
<if test="jd != null and jd != ''"> and jd = #{jd}</if>
<if test="mmzl != null "> and mmzl = #{mmzl}</if>
<if test="djz != null "> and djz = #{djz}</if>
<if test="ljz != null "> and ljz = #{ljz}</if>
<if test="zdzhkwj != null "> and zdzhkwj = #{zdzhkwj}</if>
<if test="aqxskwj != null "> and aqxskwj = #{aqxskwj}</if>
<if test="zdzhkny != null "> and zdzhkny = #{zdzhkny}</if>
<if test="aqxskny != null "> and aqxskny = #{aqxskny}</if>
<if test="zdzhkl != null "> and zdzhkl = #{zdzhkl}</if>
<if test="aqxskl != null "> and aqxskl = #{aqxskl}</if>
<if test="bz != null and bz != ''"> and bz = #{bz}</if>
<if test="createdBy != null and createdBy != ''"> and created_by = #{createdBy}</if>
<if test="createdTime != null "> and created_time = #{createdTime}</if>
</where>
</select>
<select id="selectSjTgTgqdjhById" parameterType="Long" resultMap="SjTgTgqdjhResult">
<include refid="selectSjTgTgqdjhVo"/>
where id = #{id}
</select>
<insert id="insertSjTgTgqdjh" parameterType="SjTgTgqdjh" useGeneratedKeys="true" keyProperty="id">
insert into sj_tg_tgqdjh
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="jh != null">jh,</if>
<if test="kc != null">kc,</if>
<if test="jd != null">jd,</if>
<if test="mmzl != null">mmzl,</if>
<if test="djz != null">djz,</if>
<if test="ljz != null">ljz,</if>
<if test="zdzhkwj != null">zdzhkwj,</if>
<if test="aqxskwj != null">aqxskwj,</if>
<if test="zdzhkny != null">zdzhkny,</if>
<if test="aqxskny != null">aqxskny,</if>
<if test="zdzhkl != null">zdzhkl,</if>
<if test="aqxskl != null">aqxskl,</if>
<if test="bz != null">bz,</if>
<if test="createdBy != null">created_by,</if>
<if test="createdTime != null">created_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="jh != null">#{jh},</if>
<if test="kc != null">#{kc},</if>
<if test="jd != null">#{jd},</if>
<if test="mmzl != null">#{mmzl},</if>
<if test="djz != null">#{djz},</if>
<if test="ljz != null">#{ljz},</if>
<if test="zdzhkwj != null">#{zdzhkwj},</if>
<if test="aqxskwj != null">#{aqxskwj},</if>
<if test="zdzhkny != null">#{zdzhkny},</if>
<if test="aqxskny != null">#{aqxskny},</if>
<if test="zdzhkl != null">#{zdzhkl},</if>
<if test="aqxskl != null">#{aqxskl},</if>
<if test="bz != null">#{bz},</if>
<if test="createdBy != null">#{createdBy},</if>
<if test="createdTime != null">#{createdTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
</trim>
</insert>
<update id="updateSjTgTgqdjh" parameterType="SjTgTgqdjh">
update sj_tg_tgqdjh
<trim prefix="SET" suffixOverrides=",">
<if test="jh != null">jh = #{jh},</if>
<if test="kc != null">kc = #{kc},</if>
<if test="jd != null">jd = #{jd},</if>
<if test="mmzl != null">mmzl = #{mmzl},</if>
<if test="djz != null">djz = #{djz},</if>
<if test="ljz != null">ljz = #{ljz},</if>
<if test="zdzhkwj != null">zdzhkwj = #{zdzhkwj},</if>
<if test="aqxskwj != null">aqxskwj = #{aqxskwj},</if>
<if test="zdzhkny != null">zdzhkny = #{zdzhkny},</if>
<if test="aqxskny != null">aqxskny = #{aqxskny},</if>
<if test="zdzhkl != null">zdzhkl = #{zdzhkl},</if>
<if test="aqxskl != null">aqxskl = #{aqxskl},</if>
<if test="bz != null">bz = #{bz},</if>
<if test="createdBy != null">created_by = #{createdBy},</if>
<if test="createdTime != null">created_time = #{createdTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteSjTgTgqdjhById" parameterType="Long">
delete from sj_tg_tgqdjh where id = #{id}
</delete>
<delete id="deleteSjTgTgqdjhByIds" parameterType="String">
delete from sj_tg_tgqdjh where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.project.zjsgfa.mapper.SjTgTgxnsjMapper">
<resultMap type="SjTgTgxnsj" id="SjTgTgxnsjResult">
<result property="id" column="id" />
<result property="jh" column="jh" />
<result property="wj" column="wj" />
<result property="gj" column="gj" />
<result property="bh" column="bh" />
<result property="kx" column="kx" />
<result property="mmzl" column="mmzl" />
<result property="jgwj" column="jgwj" />
<result property="klqd" column="klqd" />
<result property="kjqd" column="kjqd" />
<result property="knyqd" column="knyqd" />
<result property="bz" column="bz" />
<result property="createdBy" column="created_by" />
<result property="createdTime" column="created_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
</resultMap>
<sql id="selectSjTgTgxnsjVo">
select id, jh, wj, gj, bh, kx, mmzl, jgwj, klqd, kjqd, knyqd, bz, created_by, created_time, update_by, update_time from sj_tg_tgxnsj
</sql>
<select id="selectSjTgTgxnsjList" parameterType="SjTgTgxnsj" resultMap="SjTgTgxnsjResult">
<include refid="selectSjTgTgxnsjVo"/>
<where>
<if test="jh != null and jh != ''"> and jh = #{jh}</if>
<if test="wj != null "> and wj = #{wj}</if>
<if test="gj != null and gj != ''"> and gj = #{gj}</if>
<if test="bh != null "> and bh = #{bh}</if>
<if test="kx != null and kx != ''"> and kx = #{kx}</if>
<if test="mmzl != null "> and mmzl = #{mmzl}</if>
<if test="jgwj != null "> and jgwj = #{jgwj}</if>
<if test="klqd != null "> and klqd = #{klqd}</if>
<if test="kjqd != null "> and kjqd = #{kjqd}</if>
<if test="knyqd != null "> and knyqd = #{knyqd}</if>
<if test="bz != null and bz != ''"> and bz = #{bz}</if>
<if test="createdBy != null and createdBy != ''"> and created_by = #{createdBy}</if>
<if test="createdTime != null "> and created_time = #{createdTime}</if>
</where>
</select>
<select id="selectSjTgTgxnsjById" parameterType="Long" resultMap="SjTgTgxnsjResult">
<include refid="selectSjTgTgxnsjVo"/>
where id = #{id}
</select>
<insert id="insertSjTgTgxnsj" parameterType="SjTgTgxnsj" useGeneratedKeys="true" keyProperty="id">
insert into sj_tg_tgxnsj
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="jh != null">jh,</if>
<if test="wj != null">wj,</if>
<if test="gj != null">gj,</if>
<if test="bh != null">bh,</if>
<if test="kx != null">kx,</if>
<if test="mmzl != null">mmzl,</if>
<if test="jgwj != null">jgwj,</if>
<if test="klqd != null">klqd,</if>
<if test="kjqd != null">kjqd,</if>
<if test="knyqd != null">knyqd,</if>
<if test="bz != null">bz,</if>
<if test="createdBy != null">created_by,</if>
<if test="createdTime != null">created_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="jh != null">#{jh},</if>
<if test="wj != null">#{wj},</if>
<if test="gj != null">#{gj},</if>
<if test="bh != null">#{bh},</if>
<if test="kx != null">#{kx},</if>
<if test="mmzl != null">#{mmzl},</if>
<if test="jgwj != null">#{jgwj},</if>
<if test="klqd != null">#{klqd},</if>
<if test="kjqd != null">#{kjqd},</if>
<if test="knyqd != null">#{knyqd},</if>
<if test="bz != null">#{bz},</if>
<if test="createdBy != null">#{createdBy},</if>
<if test="createdTime != null">#{createdTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
</trim>
</insert>
<update id="updateSjTgTgxnsj" parameterType="SjTgTgxnsj">
update sj_tg_tgxnsj
<trim prefix="SET" suffixOverrides=",">
<if test="jh != null">jh = #{jh},</if>
<if test="wj != null">wj = #{wj},</if>
<if test="gj != null">gj = #{gj},</if>
<if test="bh != null">bh = #{bh},</if>
<if test="kx != null">kx = #{kx},</if>
<if test="mmzl != null">mmzl = #{mmzl},</if>
<if test="jgwj != null">jgwj = #{jgwj},</if>
<if test="klqd != null">klqd = #{klqd},</if>
<if test="kjqd != null">kjqd = #{kjqd},</if>
<if test="knyqd != null">knyqd = #{knyqd},</if>
<if test="bz != null">bz = #{bz},</if>
<if test="createdBy != null">created_by = #{createdBy},</if>
<if test="createdTime != null">created_time = #{createdTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteSjTgTgxnsjById" parameterType="Long">
delete from sj_tg_tgxnsj where id = #{id}
</delete>
<delete id="deleteSjTgTgxnsjByIds" parameterType="String">
delete from sj_tg_tgxnsj where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.project.zjsgfa.mapper.SjTgTgzMapper">
<resultMap type="SjTgTgz" id="SjTgTgzResult">
<result property="id" column="id" />
<result property="jh" column="jh" />
<result property="kc" column="kc" />
<result property="jd" column="jd" />
<result property="wj" column="wj" />
<result property="gj" column="gj" />
<result property="bh" column="bh" />
<result property="kx" column="kx" />
<result property="zjsknj" column="zjsknj" />
<result property="cd" column="cd" />
<result property="zjymd" column="zjymd" />
<result property="bz" column="bz" />
<result property="createdBy" column="created_by" />
<result property="createdTime" column="created_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
</resultMap>
<sql id="selectSjTgTgzVo">
select id, jh, kc, jd, wj, gj, bh, kx, zjsknj, cd, zjymd, bz, created_by, created_time, update_by, update_time from sj_tg_tgz
</sql>
<select id="selectSjTgTgzList" parameterType="SjTgTgz" resultMap="SjTgTgzResult">
<include refid="selectSjTgTgzVo"/>
<where>
<if test="jh != null and jh != ''"> and jh = #{jh}</if>
<if test="kc != null and kc != ''"> and kc = #{kc}</if>
<if test="jd != null and jd != ''"> and jd = #{jd}</if>
<if test="wj != null "> and wj = #{wj}</if>
<if test="gj != null and gj != ''"> and gj = #{gj}</if>
<if test="bh != null "> and bh = #{bh}</if>
<if test="kx != null and kx != ''"> and kx = #{kx}</if>
<if test="zjsknj != null "> and zjsknj = #{zjsknj}</if>
<if test="cd != null "> and cd = #{cd}</if>
<if test="zjymd != null "> and zjymd = #{zjymd}</if>
<if test="bz != null and bz != ''"> and bz = #{bz}</if>
<if test="createdBy != null and createdBy != ''"> and created_by = #{createdBy}</if>
<if test="createdTime != null "> and created_time = #{createdTime}</if>
</where>
</select>
<select id="selectSjTgTgzById" parameterType="Long" resultMap="SjTgTgzResult">
<include refid="selectSjTgTgzVo"/>
where id = #{id}
</select>
<insert id="insertSjTgTgz" parameterType="SjTgTgz" useGeneratedKeys="true" keyProperty="id">
insert into sj_tg_tgz
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="jh != null">jh,</if>
<if test="kc != null">kc,</if>
<if test="jd != null">jd,</if>
<if test="wj != null">wj,</if>
<if test="gj != null">gj,</if>
<if test="bh != null">bh,</if>
<if test="kx != null">kx,</if>
<if test="zjsknj != null">zjsknj,</if>
<if test="cd != null">cd,</if>
<if test="zjymd != null">zjymd,</if>
<if test="bz != null">bz,</if>
<if test="createdBy != null">created_by,</if>
<if test="createdTime != null">created_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="jh != null">#{jh},</if>
<if test="kc != null">#{kc},</if>
<if test="jd != null">#{jd},</if>
<if test="wj != null">#{wj},</if>
<if test="gj != null">#{gj},</if>
<if test="bh != null">#{bh},</if>
<if test="kx != null">#{kx},</if>
<if test="zjsknj != null">#{zjsknj},</if>
<if test="cd != null">#{cd},</if>
<if test="zjymd != null">#{zjymd},</if>
<if test="bz != null">#{bz},</if>
<if test="createdBy != null">#{createdBy},</if>
<if test="createdTime != null">#{createdTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
</trim>
</insert>
<update id="updateSjTgTgz" parameterType="SjTgTgz">
update sj_tg_tgz
<trim prefix="SET" suffixOverrides=",">
<if test="jh != null">jh = #{jh},</if>
<if test="kc != null">kc = #{kc},</if>
<if test="jd != null">jd = #{jd},</if>
<if test="wj != null">wj = #{wj},</if>
<if test="gj != null">gj = #{gj},</if>
<if test="bh != null">bh = #{bh},</if>
<if test="kx != null">kx = #{kx},</if>
<if test="zjsknj != null">zjsknj = #{zjsknj},</if>
<if test="cd != null">cd = #{cd},</if>
<if test="zjymd != null">zjymd = #{zjymd},</if>
<if test="bz != null">bz = #{bz},</if>
<if test="createdBy != null">created_by = #{createdBy},</if>
<if test="createdTime != null">created_time = #{createdTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteSjTgTgzById" parameterType="Long">
delete from sj_tg_tgz where id = #{id}
</delete>
<delete id="deleteSjTgTgzByIds" parameterType="String">
delete from sj_tg_tgz where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.project.zjsgfa.mapper.SjZjyCljlMapper">
<resultMap type="SjZjyCljl" id="SjZjyCljlResult">
<result property="id" column="id" />
<result property="jh" column="jh" />
<result property="clmc" column="clmc" />
<result property="ykjl" column="ykjl" />
<result property="ekjl" column="ekjl" />
<result property="skjl" column="skjl" />
<result property="sikjl" column="sikjl" />
<result property="wkjl" column="wkjl" />
<result property="bz" column="bz" />
<result property="createdBy" column="created_by" />
<result property="createdTime" column="created_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
</resultMap>
<sql id="selectSjZjyCljlVo">
select id, jh, clmc, ykjl, ekjl, skjl, sikjl, wkjl, bz, created_by, created_time, update_by, update_time from sj_zjy_cljl
</sql>
<select id="selectSjZjyCljlList" parameterType="SjZjyCljl" resultMap="SjZjyCljlResult">
<include refid="selectSjZjyCljlVo"/>
<where>
<if test="jh != null and jh != ''"> and jh = #{jh}</if>
<if test="clmc != null and clmc != ''"> and clmc = #{clmc}</if>
<if test="ykjl != null and ykjl != ''"> and ykjl = #{ykjl}</if>
<if test="ekjl != null and ekjl != ''"> and ekjl = #{ekjl}</if>
<if test="skjl != null and skjl != ''"> and skjl = #{skjl}</if>
<if test="sikjl != null and sikjl != ''"> and sikjl = #{sikjl}</if>
<if test="wkjl != null and wkjl != ''"> and wkjl = #{wkjl}</if>
<if test="bz != null and bz != ''"> and bz = #{bz}</if>
<if test="createdBy != null and createdBy != ''"> and created_by = #{createdBy}</if>
<if test="createdTime != null "> and created_time = #{createdTime}</if>
</where>
</select>
<select id="selectSjZjyCljlById" parameterType="Long" resultMap="SjZjyCljlResult">
<include refid="selectSjZjyCljlVo"/>
where id = #{id}
</select>
<insert id="insertSjZjyCljl" parameterType="SjZjyCljl" useGeneratedKeys="true" keyProperty="id">
insert into sj_zjy_cljl
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="jh != null">jh,</if>
<if test="clmc != null">clmc,</if>
<if test="ykjl != null">ykjl,</if>
<if test="ekjl != null">ekjl,</if>
<if test="skjl != null">skjl,</if>
<if test="sikjl != null">sikjl,</if>
<if test="wkjl != null">wkjl,</if>
<if test="bz != null">bz,</if>
<if test="createdBy != null">created_by,</if>
<if test="createdTime != null">created_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="jh != null">#{jh},</if>
<if test="clmc != null">#{clmc},</if>
<if test="ykjl != null">#{ykjl},</if>
<if test="ekjl != null">#{ekjl},</if>
<if test="skjl != null">#{skjl},</if>
<if test="sikjl != null">#{sikjl},</if>
<if test="wkjl != null">#{wkjl},</if>
<if test="bz != null">#{bz},</if>
<if test="createdBy != null">#{createdBy},</if>
<if test="createdTime != null">#{createdTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
</trim>
</insert>
<update id="updateSjZjyCljl" parameterType="SjZjyCljl">
update sj_zjy_cljl
<trim prefix="SET" suffixOverrides=",">
<if test="jh != null">jh = #{jh},</if>
<if test="clmc != null">clmc = #{clmc},</if>
<if test="ykjl != null">ykjl = #{ykjl},</if>
<if test="ekjl != null">ekjl = #{ekjl},</if>
<if test="skjl != null">skjl = #{skjl},</if>
<if test="sikjl != null">sikjl = #{sikjl},</if>
<if test="wkjl != null">wkjl = #{wkjl},</if>
<if test="bz != null">bz = #{bz},</if>
<if test="createdBy != null">created_by = #{createdBy},</if>
<if test="createdTime != null">created_time = #{createdTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteSjZjyCljlById" parameterType="Long">
delete from sj_zjy_cljl where id = #{id}
</delete>
<delete id="deleteSjZjyCljlByIds" parameterType="String">
delete from sj_zjy_cljl where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.project.zjsgfa.mapper.SjZjyFdsjMapper">
<resultMap type="SjZjyFdsj" id="SjZjyFdsjResult">
<result property="id" column="id" />
<result property="jh" column="jh" />
<result property="kc" column="kc" />
<result property="jd" column="jd" />
<result property="zjytx" column="zjytx" />
<result property="bz" column="bz" />
<result property="createdBy" column="created_by" />
<result property="createdTime" column="created_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
</resultMap>
<sql id="selectSjZjyFdsjVo">
select id, jh, kc, jd, zjytx, bz, created_by, created_time, update_by, update_time from sj_zjy_fdsj
</sql>
<select id="selectSjZjyFdsjList" parameterType="SjZjyFdsj" resultMap="SjZjyFdsjResult">
<include refid="selectSjZjyFdsjVo"/>
<where>
<if test="jh != null and jh != ''"> and jh = #{jh}</if>
<if test="kc != null and kc != ''"> and kc = #{kc}</if>
<if test="jd != null and jd != ''"> and jd = #{jd}</if>
<if test="zjytx != null and zjytx != ''"> and zjytx = #{zjytx}</if>
<if test="bz != null and bz != ''"> and bz = #{bz}</if>
<if test="createdBy != null and createdBy != ''"> and created_by = #{createdBy}</if>
<if test="createdTime != null "> and created_time = #{createdTime}</if>
</where>
</select>
<select id="selectSjZjyFdsjById" parameterType="Long" resultMap="SjZjyFdsjResult">
<include refid="selectSjZjyFdsjVo"/>
where id = #{id}
</select>
<insert id="insertSjZjyFdsj" parameterType="SjZjyFdsj" useGeneratedKeys="true" keyProperty="id">
insert into sj_zjy_fdsj
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="jh != null">jh,</if>
<if test="kc != null">kc,</if>
<if test="jd != null">jd,</if>
<if test="zjytx != null">zjytx,</if>
<if test="bz != null">bz,</if>
<if test="createdBy != null">created_by,</if>
<if test="createdTime != null">created_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="jh != null">#{jh},</if>
<if test="kc != null">#{kc},</if>
<if test="jd != null">#{jd},</if>
<if test="zjytx != null">#{zjytx},</if>
<if test="bz != null">#{bz},</if>
<if test="createdBy != null">#{createdBy},</if>
<if test="createdTime != null">#{createdTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
</trim>
</insert>
<update id="updateSjZjyFdsj" parameterType="SjZjyFdsj">
update sj_zjy_fdsj
<trim prefix="SET" suffixOverrides=",">
<if test="jh != null">jh = #{jh},</if>
<if test="kc != null">kc = #{kc},</if>
<if test="jd != null">jd = #{jd},</if>
<if test="zjytx != null">zjytx = #{zjytx},</if>
<if test="bz != null">bz = #{bz},</if>
<if test="createdBy != null">created_by = #{createdBy},</if>
<if test="createdTime != null">created_time = #{createdTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteSjZjyFdsjById" parameterType="Long">
delete from sj_zjy_fdsj where id = #{id}
</delete>
<delete id="deleteSjZjyFdsjByIds" parameterType="String">
delete from sj_zjy_fdsj where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.project.zjsgfa.mapper.SjZjyFdxnbMapper">
<resultMap type="SjZjyFdxnb" id="SjZjyFdxnbResult">
<result property="id" column="id" />
<result property="jh" column="jh" />
<result property="jd" column="jd" />
<result property="md" column="md" />
<result property="msldnd" column="msldnd" />
<result property="apilsl" column="apilsl" />
<result property="apinb" column="apinb" />
<result property="jql" column="jql" />
<result property="ph" column="ph" />
<result property="hsl" column="hsl" />
<result property="zgh" column="zgh" />
<result property="mzxs" column="mzxs" />
<result property="dql" column="dql" />
<result property="sxnd" column="sxnd" />
<result property="bz" column="bz" />
<result property="createdBy" column="created_by" />
<result property="createdTime" column="created_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
</resultMap>
<sql id="selectSjZjyFdxnbVo">
select id, jh, jd, md, msldnd, apilsl, apinb, jql, ph, hsl, zgh, mzxs, dql, sxnd, bz, created_by, created_time, update_by, update_time from sj_zjy_fdxnb
</sql>
<select id="selectSjZjyFdxnbList" parameterType="SjZjyFdxnb" resultMap="SjZjyFdxnbResult">
<include refid="selectSjZjyFdxnbVo"/>
<where>
<if test="jh != null and jh != ''"> and jh = #{jh}</if>
<if test="jd != null and jd != ''"> and jd = #{jd}</if>
<if test="md != null and md != ''"> and md = #{md}</if>
<if test="msldnd != null and msldnd != ''"> and msldnd = #{msldnd}</if>
<if test="apilsl != null and apilsl != ''"> and apilsl = #{apilsl}</if>
<if test="apinb != null and apinb != ''"> and apinb = #{apinb}</if>
<if test="jql != null and jql != ''"> and jql = #{jql}</if>
<if test="ph != null and ph != ''"> and ph = #{ph}</if>
<if test="hsl != null and hsl != ''"> and hsl = #{hsl}</if>
<if test="zgh != null and zgh != ''"> and zgh = #{zgh}</if>
<if test="mzxs != null and mzxs != ''"> and mzxs = #{mzxs}</if>
<if test="dql != null and dql != ''"> and dql = #{dql}</if>
<if test="sxnd != null and sxnd != ''"> and sxnd = #{sxnd}</if>
<if test="bz != null and bz != ''"> and bz = #{bz}</if>
<if test="createdBy != null and createdBy != ''"> and created_by = #{createdBy}</if>
<if test="createdTime != null "> and created_time = #{createdTime}</if>
</where>
</select>
<select id="selectSjZjyFdxnbById" parameterType="Long" resultMap="SjZjyFdxnbResult">
<include refid="selectSjZjyFdxnbVo"/>
where id = #{id}
</select>
<insert id="insertSjZjyFdxnb" parameterType="SjZjyFdxnb" useGeneratedKeys="true" keyProperty="id">
insert into sj_zjy_fdxnb
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="jh != null">jh,</if>
<if test="jd != null">jd,</if>
<if test="md != null">md,</if>
<if test="msldnd != null">msldnd,</if>
<if test="apilsl != null">apilsl,</if>
<if test="apinb != null">apinb,</if>
<if test="jql != null">jql,</if>
<if test="ph != null">ph,</if>
<if test="hsl != null">hsl,</if>
<if test="zgh != null">zgh,</if>
<if test="mzxs != null">mzxs,</if>
<if test="dql != null">dql,</if>
<if test="sxnd != null">sxnd,</if>
<if test="bz != null">bz,</if>
<if test="createdBy != null">created_by,</if>
<if test="createdTime != null">created_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="jh != null">#{jh},</if>
<if test="jd != null">#{jd},</if>
<if test="md != null">#{md},</if>
<if test="msldnd != null">#{msldnd},</if>
<if test="apilsl != null">#{apilsl},</if>
<if test="apinb != null">#{apinb},</if>
<if test="jql != null">#{jql},</if>
<if test="ph != null">#{ph},</if>
<if test="hsl != null">#{hsl},</if>
<if test="zgh != null">#{zgh},</if>
<if test="mzxs != null">#{mzxs},</if>
<if test="dql != null">#{dql},</if>
<if test="sxnd != null">#{sxnd},</if>
<if test="bz != null">#{bz},</if>
<if test="createdBy != null">#{createdBy},</if>
<if test="createdTime != null">#{createdTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
</trim>
</insert>
<update id="updateSjZjyFdxnb" parameterType="SjZjyFdxnb">
update sj_zjy_fdxnb
<trim prefix="SET" suffixOverrides=",">
<if test="jh != null">jh = #{jh},</if>
<if test="jd != null">jd = #{jd},</if>
<if test="md != null">md = #{md},</if>
<if test="msldnd != null">msldnd = #{msldnd},</if>
<if test="apilsl != null">apilsl = #{apilsl},</if>
<if test="apinb != null">apinb = #{apinb},</if>
<if test="jql != null">jql = #{jql},</if>
<if test="ph != null">ph = #{ph},</if>
<if test="hsl != null">hsl = #{hsl},</if>
<if test="zgh != null">zgh = #{zgh},</if>
<if test="mzxs != null">mzxs = #{mzxs},</if>
<if test="dql != null">dql = #{dql},</if>
<if test="sxnd != null">sxnd = #{sxnd},</if>
<if test="bz != null">bz = #{bz},</if>
<if test="createdBy != null">created_by = #{createdBy},</if>
<if test="createdTime != null">created_time = #{createdTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteSjZjyFdxnbById" parameterType="Long">
delete from sj_zjy_fdxnb where id = #{id}
</delete>
<delete id="deleteSjZjyFdxnbByIds" parameterType="String">
delete from sj_zjy_fdxnb where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.project.zjsgfa.mapper.SjZlyqMapper">
<resultMap type="SjZlyq" id="SjZlyqResult">
<result property="id" column="id" />
<result property="jh" column="jh" />
<result property="jd" column="jd" />
<result property="jxj" column="jxj" />
<result property="qjbhl" column="qjbhl" />
<result property="bz" column="bz" />
<result property="createdBy" column="created_by" />
<result property="createdTime" column="created_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
</resultMap>
<sql id="selectSjZlyqVo">
select id, jh, jd, jxj, qjbhl, bz, created_by, created_time, update_by, update_time from sj_zlyq
</sql>
<select id="selectSjZlyqList" parameterType="SjZlyq" resultMap="SjZlyqResult">
<include refid="selectSjZlyqVo"/>
<where>
<if test="jh != null and jh != ''"> and jh = #{jh}</if>
<if test="jd != null and jd != ''"> and jd = #{jd}</if>
<if test="jxj != null "> and jxj = #{jxj}</if>
<if test="qjbhl != null "> and qjbhl = #{qjbhl}</if>
<if test="bz != null and bz != ''"> and bz = #{bz}</if>
<if test="createdBy != null and createdBy != ''"> and created_by = #{createdBy}</if>
<if test="createdTime != null "> and created_time = #{createdTime}</if>
</where>
</select>
<select id="selectSjZlyqById" parameterType="Long" resultMap="SjZlyqResult">
<include refid="selectSjZlyqVo"/>
where id = #{id}
</select>
<insert id="insertSjZlyq" parameterType="SjZlyq" useGeneratedKeys="true" keyProperty="id">
insert into sj_zlyq
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="jh != null">jh,</if>
<if test="jd != null">jd,</if>
<if test="jxj != null">jxj,</if>
<if test="qjbhl != null">qjbhl,</if>
<if test="bz != null">bz,</if>
<if test="createdBy != null">created_by,</if>
<if test="createdTime != null">created_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="jh != null">#{jh},</if>
<if test="jd != null">#{jd},</if>
<if test="jxj != null">#{jxj},</if>
<if test="qjbhl != null">#{qjbhl},</if>
<if test="bz != null">#{bz},</if>
<if test="createdBy != null">#{createdBy},</if>
<if test="createdTime != null">#{createdTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
</trim>
</insert>
<update id="updateSjZlyq" parameterType="SjZlyq">
update sj_zlyq
<trim prefix="SET" suffixOverrides=",">
<if test="jh != null">jh = #{jh},</if>
<if test="jd != null">jd = #{jd},</if>
<if test="jxj != null">jxj = #{jxj},</if>
<if test="qjbhl != null">qjbhl = #{qjbhl},</if>
<if test="bz != null">bz = #{bz},</if>
<if test="createdBy != null">created_by = #{createdBy},</if>
<if test="createdTime != null">created_time = #{createdTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteSjZlyqById" parameterType="Long">
delete from sj_zlyq where id = #{id}
</delete>
<delete id="deleteSjZlyqByIds" parameterType="String">
delete from sj_zlyq where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.project.zjsgfa.mapper.SjZlyqXxMapper">
<resultMap type="SjZlyqXx" id="SjZlyqXxResult">
<result property="id" column="id" />
<result property="jh" column="jh" />
<result property="dxjzlyq" column="dxjzlyq" />
<result property="gjzlyq" column="gjzlyq" />
<result property="wcjjkzlyq" column="wcjjkzlyq" />
<result property="yqcwrpdyq" column="yqcwrpdyq" />
<result property="bz" column="bz" />
<result property="createdBy" column="created_by" />
<result property="createdTime" column="created_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
</resultMap>
<sql id="selectSjZlyqXxVo">
select id, jh, dxjzlyq, gjzlyq, wcjjkzlyq, yqcwrpdyq, bz, created_by, created_time, update_by, update_time from sj_zlyq_xx
</sql>
<select id="selectSjZlyqXxList" parameterType="SjZlyqXx" resultMap="SjZlyqXxResult">
<include refid="selectSjZlyqXxVo"/>
<where>
<if test="jh != null and jh != ''"> and jh = #{jh}</if>
<if test="dxjzlyq != null and dxjzlyq != ''"> and dxjzlyq = #{dxjzlyq}</if>
<if test="gjzlyq != null and gjzlyq != ''"> and gjzlyq = #{gjzlyq}</if>
<if test="wcjjkzlyq != null and wcjjkzlyq != ''"> and wcjjkzlyq = #{wcjjkzlyq}</if>
<if test="yqcwrpdyq != null and yqcwrpdyq != ''"> and yqcwrpdyq = #{yqcwrpdyq}</if>
<if test="bz != null and bz != ''"> and bz = #{bz}</if>
<if test="createdBy != null and createdBy != ''"> and created_by = #{createdBy}</if>
<if test="createdTime != null "> and created_time = #{createdTime}</if>
</where>
</select>
<select id="selectSjZlyqXxById" parameterType="Long" resultMap="SjZlyqXxResult">
<include refid="selectSjZlyqXxVo"/>
where id = #{id}
</select>
<insert id="insertSjZlyqXx" parameterType="SjZlyqXx" useGeneratedKeys="true" keyProperty="id">
insert into sj_zlyq_xx
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="jh != null">jh,</if>
<if test="dxjzlyq != null">dxjzlyq,</if>
<if test="gjzlyq != null">gjzlyq,</if>
<if test="wcjjkzlyq != null">wcjjkzlyq,</if>
<if test="yqcwrpdyq != null">yqcwrpdyq,</if>
<if test="bz != null">bz,</if>
<if test="createdBy != null">created_by,</if>
<if test="createdTime != null">created_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="jh != null">#{jh},</if>
<if test="dxjzlyq != null">#{dxjzlyq},</if>
<if test="gjzlyq != null">#{gjzlyq},</if>
<if test="wcjjkzlyq != null">#{wcjjkzlyq},</if>
<if test="yqcwrpdyq != null">#{yqcwrpdyq},</if>
<if test="bz != null">#{bz},</if>
<if test="createdBy != null">#{createdBy},</if>
<if test="createdTime != null">#{createdTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
</trim>
</insert>
<update id="updateSjZlyqXx" parameterType="SjZlyqXx">
update sj_zlyq_xx
<trim prefix="SET" suffixOverrides=",">
<if test="jh != null">jh = #{jh},</if>
<if test="dxjzlyq != null">dxjzlyq = #{dxjzlyq},</if>
<if test="gjzlyq != null">gjzlyq = #{gjzlyq},</if>
<if test="wcjjkzlyq != null">wcjjkzlyq = #{wcjjkzlyq},</if>
<if test="yqcwrpdyq != null">yqcwrpdyq = #{yqcwrpdyq},</if>
<if test="bz != null">bz = #{bz},</if>
<if test="createdBy != null">created_by = #{createdBy},</if>
<if test="createdTime != null">created_time = #{createdTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteSjZlyqXxById" parameterType="Long">
delete from sj_zlyq_xx where id = #{id}
</delete>
<delete id="deleteSjZlyqXxByIds" parameterType="String">
delete from sj_zlyq_xx where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.project.zjsgfa.mapper.SjZlyqZbyqMapper">
<resultMap type="SjZlyqZbyq" id="SjZlyqZbyqResult">
<result property="id" column="id" />
<result property="jh" column="jh" />
<result property="bd" column="bd" />
<result property="bbj" column="bbj" />
<result property="bz" column="bz" />
<result property="createdBy" column="created_by" />
<result property="createdTime" column="created_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
</resultMap>
<sql id="selectSjZlyqZbyqVo">
select id, jh, bd, bbj, bz, created_by, created_time, update_by, update_time from sj_zlyq_zbyq
</sql>
<select id="selectSjZlyqZbyqList" parameterType="SjZlyqZbyq" resultMap="SjZlyqZbyqResult">
<include refid="selectSjZlyqZbyqVo"/>
<where>
<if test="jh != null and jh != ''"> and jh = #{jh}</if>
<if test="bd != null and bd != ''"> and bd = #{bd}</if>
<if test="bbj != null "> and bbj = #{bbj}</if>
<if test="bz != null and bz != ''"> and bz = #{bz}</if>
<if test="createdBy != null and createdBy != ''"> and created_by = #{createdBy}</if>
<if test="createdTime != null "> and created_time = #{createdTime}</if>
</where>
</select>
<select id="selectSjZlyqZbyqById" parameterType="Long" resultMap="SjZlyqZbyqResult">
<include refid="selectSjZlyqZbyqVo"/>
where id = #{id}
</select>
<insert id="insertSjZlyqZbyq" parameterType="SjZlyqZbyq" useGeneratedKeys="true" keyProperty="id">
insert into sj_zlyq_zbyq
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="jh != null">jh,</if>
<if test="bd != null">bd,</if>
<if test="bbj != null">bbj,</if>
<if test="bz != null">bz,</if>
<if test="createdBy != null">created_by,</if>
<if test="createdTime != null">created_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="jh != null">#{jh},</if>
<if test="bd != null">#{bd},</if>
<if test="bbj != null">#{bbj},</if>
<if test="bz != null">#{bz},</if>
<if test="createdBy != null">#{createdBy},</if>
<if test="createdTime != null">#{createdTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
</trim>
</insert>
<update id="updateSjZlyqZbyq" parameterType="SjZlyqZbyq">
update sj_zlyq_zbyq
<trim prefix="SET" suffixOverrides=",">
<if test="jh != null">jh = #{jh},</if>
<if test="bd != null">bd = #{bd},</if>
<if test="bbj != null">bbj = #{bbj},</if>
<if test="bz != null">bz = #{bz},</if>
<if test="createdBy != null">created_by = #{createdBy},</if>
<if test="createdTime != null">created_time = #{createdTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteSjZlyqZbyqById" parameterType="Long">
delete from sj_zlyq_zbyq where id = #{id}
</delete>
<delete id="deleteSjZlyqZbyqByIds" parameterType="String">
delete from sj_zlyq_zbyq where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment