Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zjsgfa_mysql
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jiangyun
zjsgfa_mysql
Commits
a10754fc
Commit
a10754fc
authored
Nov 28, 2025
by
jiang'yun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
1e7a28b6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
720 additions
and
0 deletions
+720
-0
src/main/java/com/zjsgfa/project/zjsgfa/controller/JcxxJdxxController.java
+104
-0
src/main/java/com/zjsgfa/project/zjsgfa/domain/JcxxJdxx.java
+164
-0
src/main/java/com/zjsgfa/project/zjsgfa/mapper/JcxxJdxxMapper.java
+61
-0
src/main/java/com/zjsgfa/project/zjsgfa/service/IJcxxJdxxService.java
+61
-0
src/main/java/com/zjsgfa/project/zjsgfa/service/impl/JcxxJdxxServiceImpl.java
+95
-0
src/main/resources/mybatis/zjsgfa/JcxxJdxxMapper.xml
+235
-0
No files found.
src/main/java/com/zjsgfa/project/zjsgfa/controller/JcxxJdxxController.java
0 → 100644
View file @
a10754fc
package
com
.
zjsgfa
.
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.zjsgfa.framework.aspectj.lang.annotation.Log
;
import
com.zjsgfa.framework.aspectj.lang.enums.BusinessType
;
import
com.zjsgfa.project.zjsgfa.domain.JcxxJdxx
;
import
com.zjsgfa.project.zjsgfa.service.IJcxxJdxxService
;
import
com.zjsgfa.framework.web.controller.BaseController
;
import
com.zjsgfa.framework.web.domain.AjaxResult
;
import
com.zjsgfa.common.utils.poi.ExcelUtil
;
import
com.zjsgfa.framework.web.page.TableDataInfo
;
/**
* 基础信息-井队设置Controller
*
* @author ruoyi
* @date 2025-11-28
*/
@RestController
@RequestMapping
(
"/system/jcxxJdxx"
)
public
class
JcxxJdxxController
extends
BaseController
{
@Autowired
private
IJcxxJdxxService
jcxxJdxxService
;
/**
* 查询基础信息-井队设置列表
*/
////@PreAuthorize("@ss.hasPermi('system:jcxxJdxx:list')")
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
JcxxJdxx
jcxxJdxx
)
{
startPage
();
List
<
JcxxJdxx
>
list
=
jcxxJdxxService
.
selectJcxxJdxxList
(
jcxxJdxx
);
return
getDataTable
(
list
);
}
/**
* 导出基础信息-井队设置列表
*/
//@PreAuthorize("@ss.hasPermi('system:jcxxJdxx:export')")
@Log
(
title
=
"基础信息-井队设置"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
JcxxJdxx
jcxxJdxx
)
{
List
<
JcxxJdxx
>
list
=
jcxxJdxxService
.
selectJcxxJdxxList
(
jcxxJdxx
);
ExcelUtil
<
JcxxJdxx
>
util
=
new
ExcelUtil
<
JcxxJdxx
>(
JcxxJdxx
.
class
);
util
.
exportExcel
(
response
,
list
,
"基础信息-井队设置数据"
);
}
/**
* 获取基础信息-井队设置详细信息
*/
//@PreAuthorize("@ss.hasPermi('system:jcxxJdxx:query')")
@GetMapping
(
value
=
"/{id}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
{
return
success
(
jcxxJdxxService
.
selectJcxxJdxxById
(
id
));
}
/**
* 新增基础信息-井队设置
*/
//@PreAuthorize("@ss.hasPermi('system:jcxxJdxx:add')")
@Log
(
title
=
"基础信息-井队设置"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
JcxxJdxx
jcxxJdxx
)
{
return
toAjax
(
jcxxJdxxService
.
insertJcxxJdxx
(
jcxxJdxx
));
}
/**
* 修改基础信息-井队设置
*/
//@PreAuthorize("@ss.hasPermi('system:jcxxJdxx:edit')")
@Log
(
title
=
"基础信息-井队设置"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
JcxxJdxx
jcxxJdxx
)
{
return
toAjax
(
jcxxJdxxService
.
updateJcxxJdxx
(
jcxxJdxx
));
}
/**
* 删除基础信息-井队设置
*/
//@PreAuthorize("@ss.hasPermi('system:jcxxJdxx:remove')")
@Log
(
title
=
"基础信息-井队设置"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
{
return
toAjax
(
jcxxJdxxService
.
deleteJcxxJdxxByIds
(
ids
));
}
}
src/main/java/com/zjsgfa/project/zjsgfa/domain/JcxxJdxx.java
0 → 100644
View file @
a10754fc
package
com
.
zjsgfa
.
project
.
zjsgfa
.
domain
;
import
java.util.Date
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.zjsgfa.framework.aspectj.lang.annotation.Excel
;
import
com.zjsgfa.framework.web.domain.BaseEntity
;
import
lombok.Data
;
/**
* 基础信息-井队设置对象 jcxx_jdxx
*
* @author ruoyi
* @date 2025-11-28
*/
@Data
public
class
JcxxJdxx
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/** 主键 */
private
Long
id
;
/** 钻井公司 */
@Excel
(
name
=
"钻井公司"
)
private
String
zjgs
;
/** 井队 */
@Excel
(
name
=
"井队"
)
private
String
zjjd
;
/** 钻机型号 */
@Excel
(
name
=
"钻机型号"
)
private
String
zjxh
;
/** 网电电压 */
@Excel
(
name
=
"网电电压"
)
private
String
wddy
;
/** 电控稳定输出功率 */
@Excel
(
name
=
"电控稳定输出功率"
)
private
String
dkwdscgl
;
/** 整机能力-钻机类型 */
@Excel
(
name
=
"整机能力-钻机类型"
)
private
String
zjnlZjlx
;
/** 整机能力-最大承受拉力 */
@Excel
(
name
=
"整机能力-最大承受拉力"
)
private
String
zjnlZdcsll
;
/** 整机能力-最高承受泵压 */
@Excel
(
name
=
"整机能力-最高承受泵压"
)
private
String
zjnlZgcsby
;
/** 旋转系统-电动转盘最大扭矩 */
@Excel
(
name
=
"旋转系统-电动转盘最大扭矩"
)
private
String
xzxtDdzp
;
/** 旋转系统-顶驱最大扭矩 */
@Excel
(
name
=
"旋转系统-顶驱最大扭矩"
)
private
String
xzxtDq
;
/** 循环系统-1#泵类型 */
@Excel
(
name
=
"循环系统-1#泵类型"
)
private
String
xhxtB1lx
;
/** 循环系统-1#泵型号 */
@Excel
(
name
=
"循环系统-1#泵型号"
)
private
String
xhxtB1xh
;
/** 循环系统-1#泵最大功率 */
@Excel
(
name
=
"循环系统-1#泵最大功率"
)
private
String
xhxtB1zdgl
;
/** 循环系统-2#泵类型 */
@Excel
(
name
=
"循环系统-2#泵类型"
)
private
String
xhxtB2lx
;
/** 循环系统-2#泵型号 */
@Excel
(
name
=
"循环系统-2#泵型号"
)
private
String
xhxtB2xh
;
/** 循环系统-2#泵最大功率 */
@Excel
(
name
=
"循环系统-2#泵最大功率"
)
private
String
xhxtB2zdgl
;
/** 循环系统-3#泵类型 */
@Excel
(
name
=
"循环系统-3#泵类型"
)
private
String
xhxtB3lx
;
/** 循环系统-3#泵型号 */
@Excel
(
name
=
"循环系统-3#泵型号"
)
private
String
xhxtB3xh
;
/** 循环系统-3#泵最大功率 */
@Excel
(
name
=
"循环系统-3#泵最大功率"
)
private
String
xhxtB3zdgl
;
/** 固控设备-振动筛类型 */
@Excel
(
name
=
"固控设备-振动筛类型"
)
private
String
gksbZdslx
;
/** 固控设备-1#离心机类型 */
@Excel
(
name
=
"固控设备-1#离心机类型"
)
private
String
gksbLxj1lx
;
/** 固控设备-1#离心机主电机功率 */
@Excel
(
name
=
"固控设备-1#离心机主电机功率"
)
private
String
gksbLxj1zdjgl
;
/** 固控设备-2#离心机类型 */
@Excel
(
name
=
"固控设备-2#离心机类型"
)
private
String
gksbLxj2lx
;
/** 固控设备-2#离心机主电机功率 */
@Excel
(
name
=
"固控设备-2#离心机主电机功率"
)
private
String
gksbLxj2zdjgl
;
/** 固控设备-3#离心机类型 */
@Excel
(
name
=
"固控设备-3#离心机类型"
)
private
String
gksbLxj3lx
;
/** 固控设备-3#离心机主电机功率 */
@Excel
(
name
=
"固控设备-3#离心机主电机功率"
)
private
String
gksbLxj3zdjgl
;
/** 循环罐-数量 */
@Excel
(
name
=
"循环罐-数量"
)
private
String
xhgSl
;
/** 循环罐-总容量 */
@Excel
(
name
=
"循环罐-总容量"
)
private
String
xhgZrl
;
/** 储备罐-个量 */
@Excel
(
name
=
"储备罐-个量"
)
private
String
cbgSl
;
/** 储备罐-总容量 */
@Excel
(
name
=
"储备罐-总容量"
)
private
String
cbgZrl
;
/** 设备分析意见 */
@Excel
(
name
=
"设备分析意见"
)
private
String
sbfxyj
;
/** 应急联系方式 */
@Excel
(
name
=
"应急联系方式"
)
private
String
yjlxr
;
/** 备注 */
@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
;
}
src/main/java/com/zjsgfa/project/zjsgfa/mapper/JcxxJdxxMapper.java
0 → 100644
View file @
a10754fc
package
com
.
zjsgfa
.
project
.
zjsgfa
.
mapper
;
import
java.util.List
;
import
com.zjsgfa.project.zjsgfa.domain.JcxxJdxx
;
/**
* 基础信息-井队设置Mapper接口
*
* @author ruoyi
* @date 2025-11-28
*/
public
interface
JcxxJdxxMapper
{
/**
* 查询基础信息-井队设置
*
* @param id 基础信息-井队设置主键
* @return 基础信息-井队设置
*/
public
JcxxJdxx
selectJcxxJdxxById
(
Long
id
);
/**
* 查询基础信息-井队设置列表
*
* @param jcxxJdxx 基础信息-井队设置
* @return 基础信息-井队设置集合
*/
public
List
<
JcxxJdxx
>
selectJcxxJdxxList
(
JcxxJdxx
jcxxJdxx
);
/**
* 新增基础信息-井队设置
*
* @param jcxxJdxx 基础信息-井队设置
* @return 结果
*/
public
int
insertJcxxJdxx
(
JcxxJdxx
jcxxJdxx
);
/**
* 修改基础信息-井队设置
*
* @param jcxxJdxx 基础信息-井队设置
* @return 结果
*/
public
int
updateJcxxJdxx
(
JcxxJdxx
jcxxJdxx
);
/**
* 删除基础信息-井队设置
*
* @param id 基础信息-井队设置主键
* @return 结果
*/
public
int
deleteJcxxJdxxById
(
Long
id
);
/**
* 批量删除基础信息-井队设置
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public
int
deleteJcxxJdxxByIds
(
Long
[]
ids
);
}
src/main/java/com/zjsgfa/project/zjsgfa/service/IJcxxJdxxService.java
0 → 100644
View file @
a10754fc
package
com
.
zjsgfa
.
project
.
zjsgfa
.
service
;
import
java.util.List
;
import
com.zjsgfa.project.zjsgfa.domain.JcxxJdxx
;
/**
* 基础信息-井队设置Service接口
*
* @author ruoyi
* @date 2025-11-28
*/
public
interface
IJcxxJdxxService
{
/**
* 查询基础信息-井队设置
*
* @param id 基础信息-井队设置主键
* @return 基础信息-井队设置
*/
public
JcxxJdxx
selectJcxxJdxxById
(
Long
id
);
/**
* 查询基础信息-井队设置列表
*
* @param jcxxJdxx 基础信息-井队设置
* @return 基础信息-井队设置集合
*/
public
List
<
JcxxJdxx
>
selectJcxxJdxxList
(
JcxxJdxx
jcxxJdxx
);
/**
* 新增基础信息-井队设置
*
* @param jcxxJdxx 基础信息-井队设置
* @return 结果
*/
public
int
insertJcxxJdxx
(
JcxxJdxx
jcxxJdxx
);
/**
* 修改基础信息-井队设置
*
* @param jcxxJdxx 基础信息-井队设置
* @return 结果
*/
public
int
updateJcxxJdxx
(
JcxxJdxx
jcxxJdxx
);
/**
* 批量删除基础信息-井队设置
*
* @param ids 需要删除的基础信息-井队设置主键集合
* @return 结果
*/
public
int
deleteJcxxJdxxByIds
(
Long
[]
ids
);
/**
* 删除基础信息-井队设置信息
*
* @param id 基础信息-井队设置主键
* @return 结果
*/
public
int
deleteJcxxJdxxById
(
Long
id
);
}
src/main/java/com/zjsgfa/project/zjsgfa/service/impl/JcxxJdxxServiceImpl.java
0 → 100644
View file @
a10754fc
package
com
.
zjsgfa
.
project
.
zjsgfa
.
service
.
impl
;
import
java.util.List
;
import
com.zjsgfa.common.utils.DateUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.zjsgfa.project.zjsgfa.mapper.JcxxJdxxMapper
;
import
com.zjsgfa.project.zjsgfa.domain.JcxxJdxx
;
import
com.zjsgfa.project.zjsgfa.service.IJcxxJdxxService
;
/**
* 基础信息-井队设置Service业务层处理
*
* @author ruoyi
* @date 2025-11-28
*/
@Service
public
class
JcxxJdxxServiceImpl
implements
IJcxxJdxxService
{
@Autowired
private
JcxxJdxxMapper
jcxxJdxxMapper
;
/**
* 查询基础信息-井队设置
*
* @param id 基础信息-井队设置主键
* @return 基础信息-井队设置
*/
@Override
public
JcxxJdxx
selectJcxxJdxxById
(
Long
id
)
{
return
jcxxJdxxMapper
.
selectJcxxJdxxById
(
id
);
}
/**
* 查询基础信息-井队设置列表
*
* @param jcxxJdxx 基础信息-井队设置
* @return 基础信息-井队设置
*/
@Override
public
List
<
JcxxJdxx
>
selectJcxxJdxxList
(
JcxxJdxx
jcxxJdxx
)
{
return
jcxxJdxxMapper
.
selectJcxxJdxxList
(
jcxxJdxx
);
}
/**
* 新增基础信息-井队设置
*
* @param jcxxJdxx 基础信息-井队设置
* @return 结果
*/
@Override
public
int
insertJcxxJdxx
(
JcxxJdxx
jcxxJdxx
)
{
return
jcxxJdxxMapper
.
insertJcxxJdxx
(
jcxxJdxx
);
}
/**
* 修改基础信息-井队设置
*
* @param jcxxJdxx 基础信息-井队设置
* @return 结果
*/
@Override
public
int
updateJcxxJdxx
(
JcxxJdxx
jcxxJdxx
)
{
jcxxJdxx
.
setUpdateTime
(
DateUtils
.
getNowDate
());
return
jcxxJdxxMapper
.
updateJcxxJdxx
(
jcxxJdxx
);
}
/**
* 批量删除基础信息-井队设置
*
* @param ids 需要删除的基础信息-井队设置主键
* @return 结果
*/
@Override
public
int
deleteJcxxJdxxByIds
(
Long
[]
ids
)
{
return
jcxxJdxxMapper
.
deleteJcxxJdxxByIds
(
ids
);
}
/**
* 删除基础信息-井队设置信息
*
* @param id 基础信息-井队设置主键
* @return 结果
*/
@Override
public
int
deleteJcxxJdxxById
(
Long
id
)
{
return
jcxxJdxxMapper
.
deleteJcxxJdxxById
(
id
);
}
}
src/main/resources/mybatis/zjsgfa/JcxxJdxxMapper.xml
0 → 100644
View file @
a10754fc
<?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.zjsgfa.project.zjsgfa.mapper.JcxxJdxxMapper"
>
<resultMap
type=
"JcxxJdxx"
id=
"JcxxJdxxResult"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"zjgs"
column=
"zjgs"
/>
<result
property=
"zjjd"
column=
"zjjd"
/>
<result
property=
"zjxh"
column=
"zjxh"
/>
<result
property=
"wddy"
column=
"wddy"
/>
<result
property=
"dkwdscgl"
column=
"dkwdscgl"
/>
<result
property=
"zjnlZjlx"
column=
"zjnl_zjlx"
/>
<result
property=
"zjnlZdcsll"
column=
"zjnl_zdcsll"
/>
<result
property=
"zjnlZgcsby"
column=
"zjnl_zgcsby"
/>
<result
property=
"xzxtDdzp"
column=
"xzxt_ddzp"
/>
<result
property=
"xzxtDq"
column=
"xzxt_dq"
/>
<result
property=
"xhxtB1lx"
column=
"xhxt_b1lx"
/>
<result
property=
"xhxtB1xh"
column=
"xhxt_b1xh"
/>
<result
property=
"xhxtB1zdgl"
column=
"xhxt_b1zdgl"
/>
<result
property=
"xhxtB2lx"
column=
"xhxt_b2lx"
/>
<result
property=
"xhxtB2xh"
column=
"xhxt_b2xh"
/>
<result
property=
"xhxtB2zdgl"
column=
"xhxt_b2zdgl"
/>
<result
property=
"xhxtB3lx"
column=
"xhxt_b3lx"
/>
<result
property=
"xhxtB3xh"
column=
"xhxt_b3xh"
/>
<result
property=
"xhxtB3zdgl"
column=
"xhxt_b3zdgl"
/>
<result
property=
"gksbZdslx"
column=
"gksb_zdslx"
/>
<result
property=
"gksbLxj1lx"
column=
"gksb_lxj1lx"
/>
<result
property=
"gksbLxj1zdjgl"
column=
"gksb_lxj1zdjgl"
/>
<result
property=
"gksbLxj2lx"
column=
"gksb_lxj2lx"
/>
<result
property=
"gksbLxj2zdjgl"
column=
"gksb_lxj2zdjgl"
/>
<result
property=
"gksbLxj3lx"
column=
"gksb_lxj3lx"
/>
<result
property=
"gksbLxj3zdjgl"
column=
"gksb_lxj3zdjgl"
/>
<result
property=
"xhgSl"
column=
"xhg_sl"
/>
<result
property=
"xhgZrl"
column=
"xhg_zrl"
/>
<result
property=
"cbgSl"
column=
"cbg_sl"
/>
<result
property=
"cbgZrl"
column=
"cbg_zrl"
/>
<result
property=
"sbfxyj"
column=
"sbfxyj"
/>
<result
property=
"yjlxr"
column=
"yjlxr"
/>
<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=
"selectJcxxJdxxVo"
>
select id, zjgs, zjjd, zjxh, wddy, dkwdscgl, zjnl_zjlx, zjnl_zdcsll, zjnl_zgcsby, xzxt_ddzp, xzxt_dq, xhxt_b1lx, xhxt_b1xh, xhxt_b1zdgl, xhxt_b2lx, xhxt_b2xh, xhxt_b2zdgl, xhxt_b3lx, xhxt_b3xh, xhxt_b3zdgl, gksb_zdslx, gksb_lxj1lx, gksb_lxj1zdjgl, gksb_lxj2lx, gksb_lxj2zdjgl, gksb_lxj3lx, gksb_lxj3zdjgl, xhg_sl, xhg_zrl, cbg_sl, cbg_zrl, sbfxyj, yjlxr, bz, created_by, created_time, update_by, update_time from jcxx_jdxx
</sql>
<select
id=
"selectJcxxJdxxList"
parameterType=
"JcxxJdxx"
resultMap=
"JcxxJdxxResult"
>
<include
refid=
"selectJcxxJdxxVo"
/>
<where>
<if
test=
"zjgs != null and zjgs != ''"
>
and zjgs = #{zjgs}
</if>
<if
test=
"zjjd != null and zjjd != ''"
>
and zjjd = #{zjjd}
</if>
<if
test=
"zjxh != null and zjxh != ''"
>
and zjxh = #{zjxh}
</if>
<if
test=
"wddy != null and wddy != ''"
>
and wddy = #{wddy}
</if>
<if
test=
"dkwdscgl != null and dkwdscgl != ''"
>
and dkwdscgl = #{dkwdscgl}
</if>
<if
test=
"zjnlZjlx != null and zjnlZjlx != ''"
>
and zjnl_zjlx = #{zjnlZjlx}
</if>
<if
test=
"zjnlZdcsll != null and zjnlZdcsll != ''"
>
and zjnl_zdcsll = #{zjnlZdcsll}
</if>
<if
test=
"zjnlZgcsby != null and zjnlZgcsby != ''"
>
and zjnl_zgcsby = #{zjnlZgcsby}
</if>
<if
test=
"xzxtDdzp != null and xzxtDdzp != ''"
>
and xzxt_ddzp = #{xzxtDdzp}
</if>
<if
test=
"xzxtDq != null and xzxtDq != ''"
>
and xzxt_dq = #{xzxtDq}
</if>
<if
test=
"xhxtB1lx != null and xhxtB1lx != ''"
>
and xhxt_b1lx = #{xhxtB1lx}
</if>
<if
test=
"xhxtB1xh != null and xhxtB1xh != ''"
>
and xhxt_b1xh = #{xhxtB1xh}
</if>
<if
test=
"xhxtB1zdgl != null and xhxtB1zdgl != ''"
>
and xhxt_b1zdgl = #{xhxtB1zdgl}
</if>
<if
test=
"xhxtB2lx != null and xhxtB2lx != ''"
>
and xhxt_b2lx = #{xhxtB2lx}
</if>
<if
test=
"xhxtB2xh != null and xhxtB2xh != ''"
>
and xhxt_b2xh = #{xhxtB2xh}
</if>
<if
test=
"xhxtB2zdgl != null and xhxtB2zdgl != ''"
>
and xhxt_b2zdgl = #{xhxtB2zdgl}
</if>
<if
test=
"xhxtB3lx != null and xhxtB3lx != ''"
>
and xhxt_b3lx = #{xhxtB3lx}
</if>
<if
test=
"xhxtB3xh != null and xhxtB3xh != ''"
>
and xhxt_b3xh = #{xhxtB3xh}
</if>
<if
test=
"xhxtB3zdgl != null and xhxtB3zdgl != ''"
>
and xhxt_b3zdgl = #{xhxtB3zdgl}
</if>
<if
test=
"gksbZdslx != null and gksbZdslx != ''"
>
and gksb_zdslx = #{gksbZdslx}
</if>
<if
test=
"gksbLxj1lx != null and gksbLxj1lx != ''"
>
and gksb_lxj1lx = #{gksbLxj1lx}
</if>
<if
test=
"gksbLxj1zdjgl != null and gksbLxj1zdjgl != ''"
>
and gksb_lxj1zdjgl = #{gksbLxj1zdjgl}
</if>
<if
test=
"gksbLxj2lx != null and gksbLxj2lx != ''"
>
and gksb_lxj2lx = #{gksbLxj2lx}
</if>
<if
test=
"gksbLxj2zdjgl != null and gksbLxj2zdjgl != ''"
>
and gksb_lxj2zdjgl = #{gksbLxj2zdjgl}
</if>
<if
test=
"gksbLxj3lx != null and gksbLxj3lx != ''"
>
and gksb_lxj3lx = #{gksbLxj3lx}
</if>
<if
test=
"gksbLxj3zdjgl != null and gksbLxj3zdjgl != ''"
>
and gksb_lxj3zdjgl = #{gksbLxj3zdjgl}
</if>
<if
test=
"xhgSl != null and xhgSl != ''"
>
and xhg_sl = #{xhgSl}
</if>
<if
test=
"xhgZrl != null and xhgZrl != ''"
>
and xhg_zrl = #{xhgZrl}
</if>
<if
test=
"cbgSl != null and cbgSl != ''"
>
and cbg_sl = #{cbgSl}
</if>
<if
test=
"cbgZrl != null and cbgZrl != ''"
>
and cbg_zrl = #{cbgZrl}
</if>
<if
test=
"sbfxyj != null and sbfxyj != ''"
>
and sbfxyj = #{sbfxyj}
</if>
<if
test=
"yjlxr != null and yjlxr != ''"
>
and yjlxr = #{yjlxr}
</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=
"selectJcxxJdxxById"
parameterType=
"Long"
resultMap=
"JcxxJdxxResult"
>
<include
refid=
"selectJcxxJdxxVo"
/>
where id = #{id}
</select>
<insert
id=
"insertJcxxJdxx"
parameterType=
"JcxxJdxx"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
insert into jcxx_jdxx
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"zjgs != null"
>
zjgs,
</if>
<if
test=
"zjjd != null"
>
zjjd,
</if>
<if
test=
"zjxh != null"
>
zjxh,
</if>
<if
test=
"wddy != null"
>
wddy,
</if>
<if
test=
"dkwdscgl != null"
>
dkwdscgl,
</if>
<if
test=
"zjnlZjlx != null"
>
zjnl_zjlx,
</if>
<if
test=
"zjnlZdcsll != null"
>
zjnl_zdcsll,
</if>
<if
test=
"zjnlZgcsby != null"
>
zjnl_zgcsby,
</if>
<if
test=
"xzxtDdzp != null"
>
xzxt_ddzp,
</if>
<if
test=
"xzxtDq != null"
>
xzxt_dq,
</if>
<if
test=
"xhxtB1lx != null"
>
xhxt_b1lx,
</if>
<if
test=
"xhxtB1xh != null"
>
xhxt_b1xh,
</if>
<if
test=
"xhxtB1zdgl != null"
>
xhxt_b1zdgl,
</if>
<if
test=
"xhxtB2lx != null"
>
xhxt_b2lx,
</if>
<if
test=
"xhxtB2xh != null"
>
xhxt_b2xh,
</if>
<if
test=
"xhxtB2zdgl != null"
>
xhxt_b2zdgl,
</if>
<if
test=
"xhxtB3lx != null"
>
xhxt_b3lx,
</if>
<if
test=
"xhxtB3xh != null"
>
xhxt_b3xh,
</if>
<if
test=
"xhxtB3zdgl != null"
>
xhxt_b3zdgl,
</if>
<if
test=
"gksbZdslx != null"
>
gksb_zdslx,
</if>
<if
test=
"gksbLxj1lx != null"
>
gksb_lxj1lx,
</if>
<if
test=
"gksbLxj1zdjgl != null"
>
gksb_lxj1zdjgl,
</if>
<if
test=
"gksbLxj2lx != null"
>
gksb_lxj2lx,
</if>
<if
test=
"gksbLxj2zdjgl != null"
>
gksb_lxj2zdjgl,
</if>
<if
test=
"gksbLxj3lx != null"
>
gksb_lxj3lx,
</if>
<if
test=
"gksbLxj3zdjgl != null"
>
gksb_lxj3zdjgl,
</if>
<if
test=
"xhgSl != null"
>
xhg_sl,
</if>
<if
test=
"xhgZrl != null"
>
xhg_zrl,
</if>
<if
test=
"cbgSl != null"
>
cbg_sl,
</if>
<if
test=
"cbgZrl != null"
>
cbg_zrl,
</if>
<if
test=
"sbfxyj != null"
>
sbfxyj,
</if>
<if
test=
"yjlxr != null"
>
yjlxr,
</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=
"zjgs != null"
>
#{zjgs},
</if>
<if
test=
"zjjd != null"
>
#{zjjd},
</if>
<if
test=
"zjxh != null"
>
#{zjxh},
</if>
<if
test=
"wddy != null"
>
#{wddy},
</if>
<if
test=
"dkwdscgl != null"
>
#{dkwdscgl},
</if>
<if
test=
"zjnlZjlx != null"
>
#{zjnlZjlx},
</if>
<if
test=
"zjnlZdcsll != null"
>
#{zjnlZdcsll},
</if>
<if
test=
"zjnlZgcsby != null"
>
#{zjnlZgcsby},
</if>
<if
test=
"xzxtDdzp != null"
>
#{xzxtDdzp},
</if>
<if
test=
"xzxtDq != null"
>
#{xzxtDq},
</if>
<if
test=
"xhxtB1lx != null"
>
#{xhxtB1lx},
</if>
<if
test=
"xhxtB1xh != null"
>
#{xhxtB1xh},
</if>
<if
test=
"xhxtB1zdgl != null"
>
#{xhxtB1zdgl},
</if>
<if
test=
"xhxtB2lx != null"
>
#{xhxtB2lx},
</if>
<if
test=
"xhxtB2xh != null"
>
#{xhxtB2xh},
</if>
<if
test=
"xhxtB2zdgl != null"
>
#{xhxtB2zdgl},
</if>
<if
test=
"xhxtB3lx != null"
>
#{xhxtB3lx},
</if>
<if
test=
"xhxtB3xh != null"
>
#{xhxtB3xh},
</if>
<if
test=
"xhxtB3zdgl != null"
>
#{xhxtB3zdgl},
</if>
<if
test=
"gksbZdslx != null"
>
#{gksbZdslx},
</if>
<if
test=
"gksbLxj1lx != null"
>
#{gksbLxj1lx},
</if>
<if
test=
"gksbLxj1zdjgl != null"
>
#{gksbLxj1zdjgl},
</if>
<if
test=
"gksbLxj2lx != null"
>
#{gksbLxj2lx},
</if>
<if
test=
"gksbLxj2zdjgl != null"
>
#{gksbLxj2zdjgl},
</if>
<if
test=
"gksbLxj3lx != null"
>
#{gksbLxj3lx},
</if>
<if
test=
"gksbLxj3zdjgl != null"
>
#{gksbLxj3zdjgl},
</if>
<if
test=
"xhgSl != null"
>
#{xhgSl},
</if>
<if
test=
"xhgZrl != null"
>
#{xhgZrl},
</if>
<if
test=
"cbgSl != null"
>
#{cbgSl},
</if>
<if
test=
"cbgZrl != null"
>
#{cbgZrl},
</if>
<if
test=
"sbfxyj != null"
>
#{sbfxyj},
</if>
<if
test=
"yjlxr != null"
>
#{yjlxr},
</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=
"updateJcxxJdxx"
parameterType=
"JcxxJdxx"
>
update jcxx_jdxx
<trim
prefix=
"SET"
suffixOverrides=
","
>
<if
test=
"zjgs != null"
>
zjgs = #{zjgs},
</if>
<if
test=
"zjjd != null"
>
zjjd = #{zjjd},
</if>
<if
test=
"zjxh != null"
>
zjxh = #{zjxh},
</if>
<if
test=
"wddy != null"
>
wddy = #{wddy},
</if>
<if
test=
"dkwdscgl != null"
>
dkwdscgl = #{dkwdscgl},
</if>
<if
test=
"zjnlZjlx != null"
>
zjnl_zjlx = #{zjnlZjlx},
</if>
<if
test=
"zjnlZdcsll != null"
>
zjnl_zdcsll = #{zjnlZdcsll},
</if>
<if
test=
"zjnlZgcsby != null"
>
zjnl_zgcsby = #{zjnlZgcsby},
</if>
<if
test=
"xzxtDdzp != null"
>
xzxt_ddzp = #{xzxtDdzp},
</if>
<if
test=
"xzxtDq != null"
>
xzxt_dq = #{xzxtDq},
</if>
<if
test=
"xhxtB1lx != null"
>
xhxt_b1lx = #{xhxtB1lx},
</if>
<if
test=
"xhxtB1xh != null"
>
xhxt_b1xh = #{xhxtB1xh},
</if>
<if
test=
"xhxtB1zdgl != null"
>
xhxt_b1zdgl = #{xhxtB1zdgl},
</if>
<if
test=
"xhxtB2lx != null"
>
xhxt_b2lx = #{xhxtB2lx},
</if>
<if
test=
"xhxtB2xh != null"
>
xhxt_b2xh = #{xhxtB2xh},
</if>
<if
test=
"xhxtB2zdgl != null"
>
xhxt_b2zdgl = #{xhxtB2zdgl},
</if>
<if
test=
"xhxtB3lx != null"
>
xhxt_b3lx = #{xhxtB3lx},
</if>
<if
test=
"xhxtB3xh != null"
>
xhxt_b3xh = #{xhxtB3xh},
</if>
<if
test=
"xhxtB3zdgl != null"
>
xhxt_b3zdgl = #{xhxtB3zdgl},
</if>
<if
test=
"gksbZdslx != null"
>
gksb_zdslx = #{gksbZdslx},
</if>
<if
test=
"gksbLxj1lx != null"
>
gksb_lxj1lx = #{gksbLxj1lx},
</if>
<if
test=
"gksbLxj1zdjgl != null"
>
gksb_lxj1zdjgl = #{gksbLxj1zdjgl},
</if>
<if
test=
"gksbLxj2lx != null"
>
gksb_lxj2lx = #{gksbLxj2lx},
</if>
<if
test=
"gksbLxj2zdjgl != null"
>
gksb_lxj2zdjgl = #{gksbLxj2zdjgl},
</if>
<if
test=
"gksbLxj3lx != null"
>
gksb_lxj3lx = #{gksbLxj3lx},
</if>
<if
test=
"gksbLxj3zdjgl != null"
>
gksb_lxj3zdjgl = #{gksbLxj3zdjgl},
</if>
<if
test=
"xhgSl != null"
>
xhg_sl = #{xhgSl},
</if>
<if
test=
"xhgZrl != null"
>
xhg_zrl = #{xhgZrl},
</if>
<if
test=
"cbgSl != null"
>
cbg_sl = #{cbgSl},
</if>
<if
test=
"cbgZrl != null"
>
cbg_zrl = #{cbgZrl},
</if>
<if
test=
"sbfxyj != null"
>
sbfxyj = #{sbfxyj},
</if>
<if
test=
"yjlxr != null"
>
yjlxr = #{yjlxr},
</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=
"deleteJcxxJdxxById"
parameterType=
"Long"
>
delete from jcxx_jdxx where id = #{id}
</delete>
<delete
id=
"deleteJcxxJdxxByIds"
parameterType=
"String"
>
delete from jcxx_jdxx where id in
<foreach
item=
"id"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{id}
</foreach>
</delete>
</mapper>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment