Commit f6c423f4 by jiang'yun

修改

parent 90e91349
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,11 +86,11 @@ public class SjDjjc extends BaseEntity ...@@ -86,11 +86,11 @@ public class SjDjjc extends BaseEntity
/** 井底横坐标 */ /** 井底横坐标 */
@Excel(name = "井底横坐标") @Excel(name = "井底横坐标")
private BigDecimal jdhzb; private Double jdhzb;
/** 井底纵坐标 */ /** 井底纵坐标 */
@Excel(name = "井底纵坐标") @Excel(name = "井底纵坐标")
private BigDecimal jdzzb; private Double jdzzb;
/** 状态 */ /** 状态 */
@Excel(name = "状态") @Excel(name = "状态")
......
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 ...@@ -58,4 +58,8 @@ public interface SjDjjcMapper
* @return 结果 * @return 结果
*/ */
public int deleteSjDjjcByIds(Long[] ids); public int deleteSjDjjcByIds(Long[] ids);
SjDjjc selectSjDjjcByJh(String jh);
} }
...@@ -2,6 +2,7 @@ package com.ruoyi.project.zjsgfa.mapper; ...@@ -2,6 +2,7 @@ package com.ruoyi.project.zjsgfa.mapper;
import java.util.List; import java.util.List;
import com.ruoyi.project.zjsgfa.domain.SjJsjg; import com.ruoyi.project.zjsgfa.domain.SjJsjg;
import org.apache.ibatis.annotations.Param;
/** /**
* 设计信息-井身结构Mapper接口 * 设计信息-井身结构Mapper接口
...@@ -58,4 +59,9 @@ public interface SjJsjgMapper ...@@ -58,4 +59,9 @@ public interface SjJsjgMapper
* @return 结果 * @return 结果
*/ */
public int deleteSjJsjgByIds(Long[] ids); 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; ...@@ -2,6 +2,7 @@ package com.ruoyi.project.zjsgfa.service.impl;
import java.util.List; import java.util.List;
import com.ruoyi.common.utils.DateUtils; import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.common.utils.SecurityUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.ruoyi.project.zjsgfa.mapper.SjDjjcMapper; import com.ruoyi.project.zjsgfa.mapper.SjDjjcMapper;
...@@ -53,6 +54,12 @@ public class SjDjjcServiceImpl implements ISjDjjcService ...@@ -53,6 +54,12 @@ public class SjDjjcServiceImpl implements ISjDjjcService
@Override @Override
public int insertSjDjjc(SjDjjc sjDjjc) public int insertSjDjjc(SjDjjc sjDjjc)
{ {
SjDjjc sjDjjc1 =sjDjjcMapper.selectSjDjjcByJh(sjDjjc.getJh());
if(sjDjjc1!=null){
return 3;
}
sjDjjc.setCreatedBy(SecurityUtils.getUsername());
return sjDjjcMapper.insertSjDjjc(sjDjjc); return sjDjjcMapper.insertSjDjjc(sjDjjc);
} }
...@@ -66,6 +73,7 @@ public class SjDjjcServiceImpl implements ISjDjjcService ...@@ -66,6 +73,7 @@ public class SjDjjcServiceImpl implements ISjDjjcService
public int updateSjDjjc(SjDjjc sjDjjc) public int updateSjDjjc(SjDjjc sjDjjc)
{ {
sjDjjc.setUpdateTime(DateUtils.getNowDate()); sjDjjc.setUpdateTime(DateUtils.getNowDate());
sjDjjc.setUpdateBy(SecurityUtils.getUsername());
return sjDjjcMapper.updateSjDjjc(sjDjjc); 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" ...@@ -58,6 +58,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<include refid="selectSjDjjcVo"/> <include refid="selectSjDjjcVo"/>
where id = #{id} where id = #{id}
</select> </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 id="insertSjDjjc" parameterType="SjDjjc" useGeneratedKeys="true" keyProperty="id">
insert into sj_djjc insert into sj_djjc
...@@ -108,7 +112,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -108,7 +112,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<update id="updateSjDjjc" parameterType="SjDjjc"> <update id="updateSjDjjc" parameterType="SjDjjc">
update sj_djjc update sj_djjc
<trim prefix="SET" suffixOverrides=","> <trim prefix="SET" suffixOverrides=",">
<if test="jh != null">jh = #{jh},</if>
<if test="jb != null">jb = #{jb},</if> <if test="jb != null">jb = #{jb},</if>
<if test="jx != null">jx = #{jx},</if> <if test="jx != null">jx = #{jx},</if>
<if test="jkhzb != null">jkhzb = #{jkhzb},</if> <if test="jkhzb != null">jkhzb = #{jkhzb},</if>
...@@ -128,7 +131,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -128,7 +131,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="jdzzb != null">jdzzb = #{jdzzb},</if> <if test="jdzzb != null">jdzzb = #{jdzzb},</if>
<if test="zt != null">zt = #{zt},</if> <if test="zt != null">zt = #{zt},</if>
</trim> </trim>
where id = #{id} where jh = #{jh}
</update> </update>
<delete id="deleteSjDjjcById" parameterType="Long"> <delete id="deleteSjDjjcById" parameterType="Long">
......
...@@ -81,6 +81,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -81,6 +81,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateTime != null">#{updateTime},</if> <if test="updateTime != null">#{updateTime},</if>
</trim> </trim>
</insert> </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 id="updateSjJsjg" parameterType="SjJsjg">
update sj_jsjg update sj_jsjg
...@@ -112,4 +118,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -112,4 +118,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
#{id} #{id}
</foreach> </foreach>
</delete> </delete>
<delete id="deleteSjJsjgByJh">
delete from sj_jsjg where jh = #{jh}
</delete>
</mapper> </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
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