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
cd8875a0
Commit
cd8875a0
authored
Jul 16, 2025
by
jiang'yun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
71a0a271
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
2454 additions
and
0 deletions
+2454
-0
src/main/java/com/ruoyi/project/zt/controller/JsaaController.java
+105
-0
src/main/java/com/ruoyi/project/zt/controller/JsbaController.java
+98
-0
src/main/java/com/ruoyi/project/zt/domain/Jsaa.java
+806
-0
src/main/java/com/ruoyi/project/zt/domain/Jsba.java
+415
-0
src/main/java/com/ruoyi/project/zt/mapper/JsaaMapper.java
+66
-0
src/main/java/com/ruoyi/project/zt/mapper/JsbaMapper.java
+62
-0
src/main/java/com/ruoyi/project/zt/service/IJsaaService.java
+64
-0
src/main/java/com/ruoyi/project/zt/service/IJsbaService.java
+62
-0
src/main/java/com/ruoyi/project/zt/service/impl/JsaaServiceImpl.java
+99
-0
src/main/java/com/ruoyi/project/zt/service/impl/JsbaServiceImpl.java
+94
-0
src/main/resources/mybatis/zt/JsaaMapper.xml
+391
-0
src/main/resources/mybatis/zt/JsbaMapper.xml
+192
-0
No files found.
src/main/java/com/ruoyi/project/zt/controller/JsaaController.java
0 → 100644
View file @
cd8875a0
package
com
.
ruoyi
.
project
.
zt
.
controller
;
import
com.ruoyi.common.utils.poi.ExcelUtil
;
import
com.ruoyi.framework.aspectj.lang.annotation.Log
;
import
com.ruoyi.framework.aspectj.lang.enums.BusinessType
;
import
com.ruoyi.framework.web.controller.BaseController
;
import
com.ruoyi.framework.web.domain.AjaxResult
;
import
com.ruoyi.framework.web.page.TableDataInfo
;
import
com.ruoyi.project.zt.domain.Jsaa
;
import
com.ruoyi.project.zt.service.IJsaaService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.web.bind.annotation.*
;
import
javax.servlet.http.HttpServletResponse
;
import
java.util.ArrayList
;
import
java.util.List
;
/**
* 基础数据Controller
*
* @author ruoyi
* @date 2025-07-10
*/
@RestController
@RequestMapping
(
"/system/jsaa"
)
public
class
JsaaController
extends
BaseController
{
@Autowired
private
IJsaaService
jsaaService
;
/**
* 查询基础数据列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:jsaa:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
Jsaa
jsaa
)
{
startPage
();
List
<
Jsaa
>
list
=
jsaaService
.
selectJsaaList
(
jsaa
);
return
getDataTable
(
list
);
}
/**
* 导出基础数据列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:jsaa:export')"
)
@Log
(
title
=
"基础数据"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
Jsaa
jsaa
)
{
List
<
Jsaa
>
list
=
jsaaService
.
selectJsaaList
(
jsaa
);
ExcelUtil
<
Jsaa
>
util
=
new
ExcelUtil
<
Jsaa
>(
Jsaa
.
class
);
util
.
exportExcel
(
response
,
list
,
"基础数据"
);
}
/**
* 获取基础数据详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('system:jsaa:query')"
)
@GetMapping
(
value
=
"/{jh}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"jh"
)
String
jh
)
{
return
success
(
jsaaService
.
selectJsaaByJh
(
jh
));
}
/**
* 新增基础数据
*/
@PreAuthorize
(
"@ss.hasPermi('system:jsaa:add')"
)
@Log
(
title
=
"基础数据"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
Jsaa
jsaa
)
{
return
toAjax
(
jsaaService
.
insertJsaa
(
jsaa
));
}
/**
* 修改基础数据
*/
@PreAuthorize
(
"@ss.hasPermi('system:jsaa:edit')"
)
@Log
(
title
=
"基础数据"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
Jsaa
jsaa
)
{
return
toAjax
(
jsaaService
.
updateJsaa
(
jsaa
));
}
/**
* 删除基础数据
*/
@PreAuthorize
(
"@ss.hasPermi('system:jsaa:remove')"
)
@Log
(
title
=
"基础数据"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{jhs}"
)
public
AjaxResult
remove
(
@PathVariable
String
[]
jhs
)
{
return
toAjax
(
jsaaService
.
deleteJsaaByJhs
(
jhs
));
}
}
src/main/java/com/ruoyi/project/zt/controller/JsbaController.java
0 → 100644
View file @
cd8875a0
package
com
.
ruoyi
.
project
.
zt
.
controller
;
import
com.ruoyi.common.utils.poi.ExcelUtil
;
import
com.ruoyi.framework.aspectj.lang.annotation.Log
;
import
com.ruoyi.framework.aspectj.lang.enums.BusinessType
;
import
com.ruoyi.framework.web.controller.BaseController
;
import
com.ruoyi.framework.web.domain.AjaxResult
;
import
com.ruoyi.framework.web.page.TableDataInfo
;
import
com.ruoyi.project.zt.domain.Jsba
;
import
com.ruoyi.project.zt.service.IJsbaService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.web.bind.annotation.*
;
import
javax.servlet.http.HttpServletResponse
;
import
java.util.List
;
/**
* 地质简介基本数据Controller
*
* @author ruoyi
* @date 2025-07-10
*/
@RestController
@RequestMapping
(
"/system/jsba"
)
public
class
JsbaController
extends
BaseController
{
@Autowired
private
IJsbaService
jsbaService
;
/**
* 查询地质简介基本数据列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:jsba:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
Jsba
jsba
)
{
startPage
();
List
<
Jsba
>
list
=
jsbaService
.
selectJsbaList
(
jsba
);
return
getDataTable
(
list
);
}
/**
* 导出地质简介基本数据列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:jsba:export')"
)
@Log
(
title
=
"地质简介基本数据"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
Jsba
jsba
)
{
List
<
Jsba
>
list
=
jsbaService
.
selectJsbaList
(
jsba
);
ExcelUtil
<
Jsba
>
util
=
new
ExcelUtil
<
Jsba
>(
Jsba
.
class
);
util
.
exportExcel
(
response
,
list
,
"地质简介基本数据数据"
);
}
/**
* 获取地质简介基本数据详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('system:jsba:query')"
)
@GetMapping
(
value
=
"/{jh}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"jh"
)
String
jh
)
{
return
success
(
jsbaService
.
selectJsbaByJh
(
jh
));
}
/**
* 新增地质简介基本数据
*/
@PreAuthorize
(
"@ss.hasPermi('system:jsba:add')"
)
@Log
(
title
=
"地质简介基本数据"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
Jsba
jsba
)
{
return
toAjax
(
jsbaService
.
insertJsba
(
jsba
));
}
/**
* 修改地质简介基本数据
*/
@PreAuthorize
(
"@ss.hasPermi('system:jsba:edit')"
)
@Log
(
title
=
"地质简介基本数据"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
Jsba
jsba
)
{
return
toAjax
(
jsbaService
.
updateJsba
(
jsba
));
}
/**
* 删除地质简介基本数据
*/
@PreAuthorize
(
"@ss.hasPermi('system:jsba:remove')"
)
@Log
(
title
=
"地质简介基本数据"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{jhs}"
)
public
AjaxResult
remove
(
@PathVariable
String
[]
jhs
)
{
return
toAjax
(
jsbaService
.
deleteJsbaByJhs
(
jhs
));
}
}
src/main/java/com/ruoyi/project/zt/domain/Jsaa.java
0 → 100644
View file @
cd8875a0
package
com
.
ruoyi
.
project
.
zt
.
domain
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.ruoyi.framework.aspectj.lang.annotation.Excel
;
import
com.ruoyi.framework.web.domain.BaseEntity
;
import
lombok.Data
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
import
java.util.Date
;
/**
* 基础数据对象 jsaa
*
* @author ruoyi
* @date 2025-07-10
*/
@Data
public
class
Jsaa
extends
BaseEntity
{
private
static
final
Long
serialVersionUID
=
1L
;
/** 井号 */
@Excel
(
name
=
"井号"
)
private
String
jh
;
//井型
@Excel
(
name
=
"井型"
)
private
String
jx
;
//井别
private
String
jb
;
/** 搬迁日期 */
// @JsonFormat(pattern = "yyyy-MM-dd")
// @Excel(name = "搬迁日期", width = 30, dateFormat = "yyyy-MM-dd")
private
Date
bqrq
;
/** 搬迁时间 */
// @Excel(name = "搬迁时间")
private
String
bqsj
;
/** 安装日期 */
// @JsonFormat(pattern = "yyyy-MM-dd")
// @Excel(name = "安装日期", width = 30, dateFormat = "yyyy-MM-dd")
private
Date
azrq
;
/** 安装时间 */
// @Excel(name = "安装时间")
private
String
azsj
;
/** 第一次开钻日期 */
// @JsonFormat(pattern = "yyyy-MM-dd")
// @Excel(name = "第一次开钻日期", width = 30, dateFormat = "yyyy-MM-dd")
private
Date
kzrq1
;
/** 第一次开钻时间 */
// @Excel(name = "第一次开钻时间")
private
String
kzsj1
;
/** $column.columnComment */
// @Excel(name = "第二次开钻日期")
private
Date
kzrq2
;
/** $column.columnComment */
@Excel
(
name
=
"第二次开钻时间"
)
private
String
kzsj2
;
/** $column.columnComment */
// @Excel(name = "第三次开钻日期")
private
Date
kzrq3
;
/** $column.columnComment */
// @Excel(name = "第三次开钻时间")
private
String
kzsj3
;
/** $column.columnComment */
// @Excel(name = "第四次开钻日期")
private
Date
kzrq4
;
/** $column.columnComment */
// @Excel(name = "第四次开钻时间")
private
String
kzsj4
;
/** $column.columnComment */
// @Excel(name = "第五次开钻日期")
private
Date
kzrq5
;
/** $column.columnComment */
// @Excel(name = "第五次开钻时间")
private
String
kzsj5
;
/** $column.columnComment */
// @Excel(name = "完钻日期")
private
Date
wzrq
;
/** $column.columnComment */
// @Excel(name = "完钻时间")
private
String
wzsj
;
/** $column.columnComment */
@Excel
(
name
=
"完井日期"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
private
Date
wjrq
;
/** $column.columnComment */
// @Excel(name = "完井时间")
private
String
wjsj
;
/** $column.columnComment */
// @Excel(name = "钻井周期d")
private
Double
zjzq1
;
/** $column.columnComment */
// @Excel(name = "钻井周期h")
private
Double
zjzq2
;
@Excel
(
name
=
"设计井深"
)
private
Double
sjjs
;
/** $column.columnComment */
@Excel
(
name
=
"完井井深"
)
private
Double
wjjs
;
/** $column.columnComment */
@Excel
(
name
=
"建井周期"
)
private
Double
jjzq1
;
/** $column.columnComment */
// @Excel(name = "建井周期h")
private
Double
jjzq2
;
/** $column.columnComment */
// @Excel(name = "钻杆测试时间d")
private
Double
zgcssj1
;
/** $column.columnComment */
// @Excel(name = "钻杆测试时间h")
private
Double
zgcssj2
;
/** $column.columnComment */
// @Excel(name = "返工进尺")
private
Double
fgjc
;
/** $column.columnComment */
// @Excel(name = "取心进尺")
private
Double
qxjc
;
/** $column.columnComment */
// @Excel(name = "岩心长度")
private
Double
yxcd
;
/** $column.columnComment */
// @Excel(name = "岩心收获率")
private
Double
yxshl
;
/** $column.columnComment */
// @Excel(name = "平均单筒进尺")
private
Double
pjdtjc
;
/** $column.columnComment */
/** $column.columnComment */
// @Excel(name = "完钻垂直井深")
private
Double
wjczjs
;
/** $column.columnComment */
// @Excel(name = "完钻层位")
private
String
wzcw
;
/** $column.columnComment */
// @Excel(name = "完井方法")
private
String
wjff
;
/** $column.columnComment */
// @Excel(name = "钻机月")
private
Double
zjy
;
/** $column.columnComment */
// @Excel(name = "钻机月速")
private
Double
zjys
;
/** $column.columnComment */
// @Excel(name = "平均机械钻速")
private
Double
pjjxzs
;
/** $column.columnComment */
// @Excel(name = "井身质量")
private
String
jszl
;
/** $column.columnComment */
// @Excel(name = "固井质量")
private
String
gjzl
;
/** $column.columnComment */
// @Excel(name = "事故次数")
private
Double
sgcs
;
/** $column.columnComment */
// @Excel(name = "直接成本")
private
Double
zjcb
;
/** $column.columnComment */
// @Excel(name = "综合成本")
private
Double
zhcb
;
/** $column.columnComment */
// @Excel(name = "每米直接成本")
private
Double
mmzjcb
;
/** $column.columnComment */
// @Excel(name = "每米综合成本")
private
Double
mmzhcb
;
/** $column.columnComment */
// @Excel(name = "油公司名称")
private
String
ygsmc
;
/** $column.columnComment */
// @Excel(name = "区块")
private
String
qk
;
/** $column.columnComment */
// @Excel(name = "特殊工艺井")
private
String
tsgyj
;
/** $column.columnComment */
// @Excel(name = "主井号")
private
String
zjh
;
/** $column.columnComment */
// @Excel(name = "分支数")
private
Double
fzs
;
/** $column.columnComment */
// @Excel(name = "第几分支")
private
Double
djfz
;
/** $column.columnComment */
@Excel
(
name
=
"所属采油厂"
)
private
String
cyc
;
/** $column.columnComment */
// @Excel(name = "侧钻点深")
private
Double
czds
;
/** $column.columnComment */
// @Excel(name = "设计层位")
private
String
sjcw
;
//完井开始日期
private
String
wjrqks
;
//完井结束日期
private
String
wjrqjs
;
//井数量
private
Integer
jsl
;
public
void
setJh
(
String
jh
)
{
this
.
jh
=
jh
;
}
public
String
getJh
()
{
return
jh
;
}
public
void
setBqrq
(
Date
bqrq
)
{
this
.
bqrq
=
bqrq
;
}
public
Date
getBqrq
()
{
return
bqrq
;
}
public
void
setBqsj
(
String
bqsj
)
{
this
.
bqsj
=
bqsj
;
}
public
String
getBqsj
()
{
return
bqsj
;
}
public
void
setAzrq
(
Date
azrq
)
{
this
.
azrq
=
azrq
;
}
public
Date
getAzrq
()
{
return
azrq
;
}
public
void
setAzsj
(
String
azsj
)
{
this
.
azsj
=
azsj
;
}
public
String
getAzsj
()
{
return
azsj
;
}
public
void
setKzrq1
(
Date
kzrq1
)
{
this
.
kzrq1
=
kzrq1
;
}
public
Date
getKzrq1
()
{
return
kzrq1
;
}
public
void
setKzsj1
(
String
kzsj1
)
{
this
.
kzsj1
=
kzsj1
;
}
public
String
getKzsj1
()
{
return
kzsj1
;
}
public
void
setKzrq2
(
Date
kzrq2
)
{
this
.
kzrq2
=
kzrq2
;
}
public
Date
getKzrq2
()
{
return
kzrq2
;
}
public
void
setKzsj2
(
String
kzsj2
)
{
this
.
kzsj2
=
kzsj2
;
}
public
String
getKzsj2
()
{
return
kzsj2
;
}
public
void
setKzrq3
(
Date
kzrq3
)
{
this
.
kzrq3
=
kzrq3
;
}
public
Date
getKzrq3
()
{
return
kzrq3
;
}
public
void
setKzsj3
(
String
kzsj3
)
{
this
.
kzsj3
=
kzsj3
;
}
public
String
getKzsj3
()
{
return
kzsj3
;
}
public
void
setKzrq4
(
Date
kzrq4
)
{
this
.
kzrq4
=
kzrq4
;
}
public
Date
getKzrq4
()
{
return
kzrq4
;
}
public
void
setKzsj4
(
String
kzsj4
)
{
this
.
kzsj4
=
kzsj4
;
}
public
String
getKzsj4
()
{
return
kzsj4
;
}
public
void
setKzrq5
(
Date
kzrq5
)
{
this
.
kzrq5
=
kzrq5
;
}
public
Date
getKzrq5
()
{
return
kzrq5
;
}
public
void
setKzsj5
(
String
kzsj5
)
{
this
.
kzsj5
=
kzsj5
;
}
public
String
getKzsj5
()
{
return
kzsj5
;
}
public
void
setWzrq
(
Date
wzrq
)
{
this
.
wzrq
=
wzrq
;
}
public
Date
getWzrq
()
{
return
wzrq
;
}
public
void
setWzsj
(
String
wzsj
)
{
this
.
wzsj
=
wzsj
;
}
public
String
getWzsj
()
{
return
wzsj
;
}
public
void
setWjrq
(
Date
wjrq
)
{
this
.
wjrq
=
wjrq
;
}
public
Date
getWjrq
()
{
return
wjrq
;
}
public
void
setWjsj
(
String
wjsj
)
{
this
.
wjsj
=
wjsj
;
}
public
String
getWjsj
()
{
return
wjsj
;
}
public
void
setZjzq1
(
Double
zjzq1
)
{
this
.
zjzq1
=
zjzq1
;
}
public
Double
getZjzq1
()
{
return
zjzq1
;
}
public
void
setZjzq2
(
Double
zjzq2
)
{
this
.
zjzq2
=
zjzq2
;
}
public
Double
getZjzq2
()
{
return
zjzq2
;
}
public
void
setJjzq1
(
Double
jjzq1
)
{
this
.
jjzq1
=
jjzq1
;
}
public
Double
getJjzq1
()
{
return
jjzq1
;
}
public
void
setJjzq2
(
Double
jjzq2
)
{
this
.
jjzq2
=
jjzq2
;
}
public
Double
getJjzq2
()
{
return
jjzq2
;
}
public
void
setZgcssj1
(
Double
zgcssj1
)
{
this
.
zgcssj1
=
zgcssj1
;
}
public
Double
getZgcssj1
()
{
return
zgcssj1
;
}
public
void
setZgcssj2
(
Double
zgcssj2
)
{
this
.
zgcssj2
=
zgcssj2
;
}
public
Double
getZgcssj2
()
{
return
zgcssj2
;
}
public
void
setFgjc
(
Double
fgjc
)
{
this
.
fgjc
=
fgjc
;
}
public
Double
getFgjc
()
{
return
fgjc
;
}
public
void
setQxjc
(
Double
qxjc
)
{
this
.
qxjc
=
qxjc
;
}
public
Double
getQxjc
()
{
return
qxjc
;
}
public
void
setYxcd
(
Double
yxcd
)
{
this
.
yxcd
=
yxcd
;
}
public
Double
getYxcd
()
{
return
yxcd
;
}
public
void
setYxshl
(
Double
yxshl
)
{
this
.
yxshl
=
yxshl
;
}
public
Double
getYxshl
()
{
return
yxshl
;
}
public
void
setPjdtjc
(
Double
pjdtjc
)
{
this
.
pjdtjc
=
pjdtjc
;
}
public
Double
getPjdtjc
()
{
return
pjdtjc
;
}
public
void
setSjjs
(
Double
sjjs
)
{
this
.
sjjs
=
sjjs
;
}
public
Double
getSjjs
()
{
return
sjjs
;
}
public
void
setWjjs
(
Double
wjjs
)
{
this
.
wjjs
=
wjjs
;
}
public
Double
getWjjs
()
{
return
wjjs
;
}
public
void
setWjczjs
(
Double
wjczjs
)
{
this
.
wjczjs
=
wjczjs
;
}
public
Double
getWjczjs
()
{
return
wjczjs
;
}
public
void
setWzcw
(
String
wzcw
)
{
this
.
wzcw
=
wzcw
;
}
public
String
getWzcw
()
{
return
wzcw
;
}
public
void
setWjff
(
String
wjff
)
{
this
.
wjff
=
wjff
;
}
public
String
getWjff
()
{
return
wjff
;
}
public
void
setZjy
(
Double
zjy
)
{
this
.
zjy
=
zjy
;
}
public
Double
getZjy
()
{
return
zjy
;
}
public
void
setZjys
(
Double
zjys
)
{
this
.
zjys
=
zjys
;
}
public
Double
getZjys
()
{
return
zjys
;
}
public
void
setPjjxzs
(
Double
pjjxzs
)
{
this
.
pjjxzs
=
pjjxzs
;
}
public
Double
getPjjxzs
()
{
return
pjjxzs
;
}
public
void
setJszl
(
String
jszl
)
{
this
.
jszl
=
jszl
;
}
public
String
getJszl
()
{
return
jszl
;
}
public
void
setGjzl
(
String
gjzl
)
{
this
.
gjzl
=
gjzl
;
}
public
String
getGjzl
()
{
return
gjzl
;
}
public
void
setSgcs
(
Double
sgcs
)
{
this
.
sgcs
=
sgcs
;
}
public
Double
getSgcs
()
{
return
sgcs
;
}
public
void
setZjcb
(
Double
zjcb
)
{
this
.
zjcb
=
zjcb
;
}
public
Double
getZjcb
()
{
return
zjcb
;
}
public
void
setZhcb
(
Double
zhcb
)
{
this
.
zhcb
=
zhcb
;
}
public
Double
getZhcb
()
{
return
zhcb
;
}
public
void
setMmzjcb
(
Double
mmzjcb
)
{
this
.
mmzjcb
=
mmzjcb
;
}
public
Double
getMmzjcb
()
{
return
mmzjcb
;
}
public
void
setMmzhcb
(
Double
mmzhcb
)
{
this
.
mmzhcb
=
mmzhcb
;
}
public
Double
getMmzhcb
()
{
return
mmzhcb
;
}
public
void
setYgsmc
(
String
ygsmc
)
{
this
.
ygsmc
=
ygsmc
;
}
public
String
getYgsmc
()
{
return
ygsmc
;
}
public
void
setQk
(
String
qk
)
{
this
.
qk
=
qk
;
}
public
String
getQk
()
{
return
qk
;
}
public
void
setTsgyj
(
String
tsgyj
)
{
this
.
tsgyj
=
tsgyj
;
}
public
String
getTsgyj
()
{
return
tsgyj
;
}
public
void
setZjh
(
String
zjh
)
{
this
.
zjh
=
zjh
;
}
public
String
getZjh
()
{
return
zjh
;
}
public
void
setFzs
(
Double
fzs
)
{
this
.
fzs
=
fzs
;
}
public
Double
getFzs
()
{
return
fzs
;
}
public
void
setDjfz
(
Double
djfz
)
{
this
.
djfz
=
djfz
;
}
public
Double
getDjfz
()
{
return
djfz
;
}
public
void
setCyc
(
String
cyc
)
{
this
.
cyc
=
cyc
;
}
public
String
getCyc
()
{
return
cyc
;
}
public
void
setCzds
(
Double
czds
)
{
this
.
czds
=
czds
;
}
public
Double
getCzds
()
{
return
czds
;
}
public
void
setSjcw
(
String
sjcw
)
{
this
.
sjcw
=
sjcw
;
}
public
String
getSjcw
()
{
return
sjcw
;
}
@Override
public
String
toString
()
{
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
.
append
(
"jh"
,
getJh
())
.
append
(
"bqrq"
,
getBqrq
())
.
append
(
"bqsj"
,
getBqsj
())
.
append
(
"azrq"
,
getAzrq
())
.
append
(
"azsj"
,
getAzsj
())
.
append
(
"kzrq1"
,
getKzrq1
())
.
append
(
"kzsj1"
,
getKzsj1
())
.
append
(
"kzrq2"
,
getKzrq2
())
.
append
(
"kzsj2"
,
getKzsj2
())
.
append
(
"kzrq3"
,
getKzrq3
())
.
append
(
"kzsj3"
,
getKzsj3
())
.
append
(
"kzrq4"
,
getKzrq4
())
.
append
(
"kzsj4"
,
getKzsj4
())
.
append
(
"kzrq5"
,
getKzrq5
())
.
append
(
"kzsj5"
,
getKzsj5
())
.
append
(
"wzrq"
,
getWzrq
())
.
append
(
"wzsj"
,
getWzsj
())
.
append
(
"wjrq"
,
getWjrq
())
.
append
(
"wjsj"
,
getWjsj
())
.
append
(
"zjzq1"
,
getZjzq1
())
.
append
(
"zjzq2"
,
getZjzq2
())
.
append
(
"jjzq1"
,
getJjzq1
())
.
append
(
"jjzq2"
,
getJjzq2
())
.
append
(
"zgcssj1"
,
getZgcssj1
())
.
append
(
"zgcssj2"
,
getZgcssj2
())
.
append
(
"fgjc"
,
getFgjc
())
.
append
(
"qxjc"
,
getQxjc
())
.
append
(
"yxcd"
,
getYxcd
())
.
append
(
"yxshl"
,
getYxshl
())
.
append
(
"pjdtjc"
,
getPjdtjc
())
.
append
(
"sjjs"
,
getSjjs
())
.
append
(
"wjjs"
,
getWjjs
())
.
append
(
"wjczjs"
,
getWjczjs
())
.
append
(
"wzcw"
,
getWzcw
())
.
append
(
"wjff"
,
getWjff
())
.
append
(
"zjy"
,
getZjy
())
.
append
(
"zjys"
,
getZjys
())
.
append
(
"pjjxzs"
,
getPjjxzs
())
.
append
(
"jszl"
,
getJszl
())
.
append
(
"gjzl"
,
getGjzl
())
.
append
(
"sgcs"
,
getSgcs
())
.
append
(
"zjcb"
,
getZjcb
())
.
append
(
"zhcb"
,
getZhcb
())
.
append
(
"mmzjcb"
,
getMmzjcb
())
.
append
(
"mmzhcb"
,
getMmzhcb
())
.
append
(
"ygsmc"
,
getYgsmc
())
.
append
(
"qk"
,
getQk
())
.
append
(
"tsgyj"
,
getTsgyj
())
.
append
(
"zjh"
,
getZjh
())
.
append
(
"fzs"
,
getFzs
())
.
append
(
"djfz"
,
getDjfz
())
.
append
(
"cyc"
,
getCyc
())
.
append
(
"czds"
,
getCzds
())
.
append
(
"sjcw"
,
getSjcw
())
.
toString
();
}
}
src/main/java/com/ruoyi/project/zt/domain/Jsba.java
0 → 100644
View file @
cd8875a0
package
com
.
ruoyi
.
project
.
zt
.
domain
;
import
com.ruoyi.framework.aspectj.lang.annotation.Excel
;
import
com.ruoyi.framework.web.domain.BaseEntity
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
/**
* 地质简介基本数据对象 jsba
*
* @author ruoyi
* @date 2025-07-10
*/
public
class
Jsba
extends
BaseEntity
{
private
static
final
Long
serialVersionUID
=
1L
;
/** $column.columnComment */
private
String
jh
;
/** $column.columnComment */
@Excel
(
name
=
"${comment}"
)
private
String
gzmc
;
/** $column.columnComment */
@Excel
(
name
=
"${comment}"
)
private
String
jx
;
/** $column.columnComment */
@Excel
(
name
=
"${comment}"
)
private
String
jb
;
/** $column.columnComment */
@Excel
(
name
=
"${comment}"
)
private
Double
jkhzb
;
/** $column.columnComment */
@Excel
(
name
=
"${comment}"
)
private
Double
jkzzb
;
/** $column.columnComment */
@Excel
(
name
=
"${comment}"
)
private
Double
jdhzb
;
/** $column.columnComment */
@Excel
(
name
=
"${comment}"
)
private
Double
jdzzb
;
/** $column.columnComment */
@Excel
(
name
=
"${comment}"
)
private
String
dlwz
;
/** $column.columnComment */
@Excel
(
name
=
"${comment}"
)
private
String
gzwz
;
/** $column.columnComment */
@Excel
(
name
=
"${comment}"
)
private
String
cxwz
;
/** $column.columnComment */
@Excel
(
name
=
"${comment}"
)
private
Double
dmhb
;
/** $column.columnComment */
@Excel
(
name
=
"${comment}"
)
private
Double
bxhb
;
/** $column.columnComment */
@Excel
(
name
=
"${comment}"
)
private
Double
hssd
;
/** $column.columnComment */
@Excel
(
name
=
"${comment}"
)
private
Double
lrsd
;
/** $column.columnComment */
@Excel
(
name
=
"${comment}"
)
private
String
zjmd
;
/** $column.columnComment */
@Excel
(
name
=
"${comment}"
)
private
Double
cpj
;
/** $column.columnComment */
@Excel
(
name
=
"${comment}"
)
private
String
ptbh
;
/** $column.columnComment */
@Excel
(
name
=
"${comment}"
)
private
Double
jd
;
/** $column.columnComment */
@Excel
(
name
=
"${comment}"
)
private
Double
wd
;
/** $column.columnComment */
@Excel
(
name
=
"${comment}"
)
private
Double
jdhzb1
;
/** $column.columnComment */
@Excel
(
name
=
"${comment}"
)
private
Double
jdzzb1
;
/** $column.columnComment */
@Excel
(
name
=
"${comment}"
)
private
Double
jdhzb2
;
/** $column.columnComment */
@Excel
(
name
=
"${comment}"
)
private
Double
jdzzb2
;
/** $column.columnComment */
@Excel
(
name
=
"${comment}"
)
private
Double
jdhzb3
;
/** $column.columnComment */
@Excel
(
name
=
"${comment}"
)
private
Double
jdzzb3
;
/** $column.columnComment */
@Excel
(
name
=
"${comment}"
)
private
Double
jdhzb4
;
/** $column.columnComment */
@Excel
(
name
=
"${comment}"
)
private
Double
jdzzb4
;
public
void
setJh
(
String
jh
)
{
this
.
jh
=
jh
;
}
public
String
getJh
()
{
return
jh
;
}
public
void
setGzmc
(
String
gzmc
)
{
this
.
gzmc
=
gzmc
;
}
public
String
getGzmc
()
{
return
gzmc
;
}
public
void
setJx
(
String
jx
)
{
this
.
jx
=
jx
;
}
public
String
getJx
()
{
return
jx
;
}
public
void
setJb
(
String
jb
)
{
this
.
jb
=
jb
;
}
public
String
getJb
()
{
return
jb
;
}
public
void
setJkhzb
(
Double
jkhzb
)
{
this
.
jkhzb
=
jkhzb
;
}
public
Double
getJkhzb
()
{
return
jkhzb
;
}
public
void
setJkzzb
(
Double
jkzzb
)
{
this
.
jkzzb
=
jkzzb
;
}
public
Double
getJkzzb
()
{
return
jkzzb
;
}
public
void
setJdhzb
(
Double
jdhzb
)
{
this
.
jdhzb
=
jdhzb
;
}
public
Double
getJdhzb
()
{
return
jdhzb
;
}
public
void
setJdzzb
(
Double
jdzzb
)
{
this
.
jdzzb
=
jdzzb
;
}
public
Double
getJdzzb
()
{
return
jdzzb
;
}
public
void
setDlwz
(
String
dlwz
)
{
this
.
dlwz
=
dlwz
;
}
public
String
getDlwz
()
{
return
dlwz
;
}
public
void
setGzwz
(
String
gzwz
)
{
this
.
gzwz
=
gzwz
;
}
public
String
getGzwz
()
{
return
gzwz
;
}
public
void
setCxwz
(
String
cxwz
)
{
this
.
cxwz
=
cxwz
;
}
public
String
getCxwz
()
{
return
cxwz
;
}
public
void
setDmhb
(
Double
dmhb
)
{
this
.
dmhb
=
dmhb
;
}
public
Double
getDmhb
()
{
return
dmhb
;
}
public
void
setBxhb
(
Double
bxhb
)
{
this
.
bxhb
=
bxhb
;
}
public
Double
getBxhb
()
{
return
bxhb
;
}
public
void
setHssd
(
Double
hssd
)
{
this
.
hssd
=
hssd
;
}
public
Double
getHssd
()
{
return
hssd
;
}
public
void
setLrsd
(
Double
lrsd
)
{
this
.
lrsd
=
lrsd
;
}
public
Double
getLrsd
()
{
return
lrsd
;
}
public
void
setZjmd
(
String
zjmd
)
{
this
.
zjmd
=
zjmd
;
}
public
String
getZjmd
()
{
return
zjmd
;
}
public
void
setCpj
(
Double
cpj
)
{
this
.
cpj
=
cpj
;
}
public
Double
getCpj
()
{
return
cpj
;
}
public
void
setPtbh
(
String
ptbh
)
{
this
.
ptbh
=
ptbh
;
}
public
String
getPtbh
()
{
return
ptbh
;
}
public
void
setJd
(
Double
jd
)
{
this
.
jd
=
jd
;
}
public
Double
getJd
()
{
return
jd
;
}
public
void
setWd
(
Double
wd
)
{
this
.
wd
=
wd
;
}
public
Double
getWd
()
{
return
wd
;
}
public
void
setJdhzb1
(
Double
jdhzb1
)
{
this
.
jdhzb1
=
jdhzb1
;
}
public
Double
getJdhzb1
()
{
return
jdhzb1
;
}
public
void
setJdzzb1
(
Double
jdzzb1
)
{
this
.
jdzzb1
=
jdzzb1
;
}
public
Double
getJdzzb1
()
{
return
jdzzb1
;
}
public
void
setJdhzb2
(
Double
jdhzb2
)
{
this
.
jdhzb2
=
jdhzb2
;
}
public
Double
getJdhzb2
()
{
return
jdhzb2
;
}
public
void
setJdzzb2
(
Double
jdzzb2
)
{
this
.
jdzzb2
=
jdzzb2
;
}
public
Double
getJdzzb2
()
{
return
jdzzb2
;
}
public
void
setJdhzb3
(
Double
jdhzb3
)
{
this
.
jdhzb3
=
jdhzb3
;
}
public
Double
getJdhzb3
()
{
return
jdhzb3
;
}
public
void
setJdzzb3
(
Double
jdzzb3
)
{
this
.
jdzzb3
=
jdzzb3
;
}
public
Double
getJdzzb3
()
{
return
jdzzb3
;
}
public
void
setJdhzb4
(
Double
jdhzb4
)
{
this
.
jdhzb4
=
jdhzb4
;
}
public
Double
getJdhzb4
()
{
return
jdhzb4
;
}
public
void
setJdzzb4
(
Double
jdzzb4
)
{
this
.
jdzzb4
=
jdzzb4
;
}
public
Double
getJdzzb4
()
{
return
jdzzb4
;
}
@Override
public
String
toString
()
{
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
.
append
(
"jh"
,
getJh
())
.
append
(
"gzmc"
,
getGzmc
())
.
append
(
"jx"
,
getJx
())
.
append
(
"jb"
,
getJb
())
.
append
(
"jkhzb"
,
getJkhzb
())
.
append
(
"jkzzb"
,
getJkzzb
())
.
append
(
"jdhzb"
,
getJdhzb
())
.
append
(
"jdzzb"
,
getJdzzb
())
.
append
(
"dlwz"
,
getDlwz
())
.
append
(
"gzwz"
,
getGzwz
())
.
append
(
"cxwz"
,
getCxwz
())
.
append
(
"dmhb"
,
getDmhb
())
.
append
(
"bxhb"
,
getBxhb
())
.
append
(
"hssd"
,
getHssd
())
.
append
(
"lrsd"
,
getLrsd
())
.
append
(
"zjmd"
,
getZjmd
())
.
append
(
"cpj"
,
getCpj
())
.
append
(
"ptbh"
,
getPtbh
())
.
append
(
"jd"
,
getJd
())
.
append
(
"wd"
,
getWd
())
.
append
(
"jdhzb1"
,
getJdhzb1
())
.
append
(
"jdzzb1"
,
getJdzzb1
())
.
append
(
"jdhzb2"
,
getJdhzb2
())
.
append
(
"jdzzb2"
,
getJdzzb2
())
.
append
(
"jdhzb3"
,
getJdhzb3
())
.
append
(
"jdzzb3"
,
getJdzzb3
())
.
append
(
"jdhzb4"
,
getJdhzb4
())
.
append
(
"jdzzb4"
,
getJdzzb4
())
.
toString
();
}
}
src/main/java/com/ruoyi/project/zt/mapper/JsaaMapper.java
0 → 100644
View file @
cd8875a0
package
com
.
ruoyi
.
project
.
zt
.
mapper
;
import
com.ruoyi.project.zt.domain.Jsaa
;
import
java.util.List
;
/**
* 基础数据Mapper接口
*
* @author ruoyi
* @date 2025-07-10
*/
public
interface
JsaaMapper
{
/**
* 查询基础数据
*
* @param jh 基础数据主键
* @return 基础数据
*/
public
Jsaa
selectJsaaByJh
(
String
jh
);
/**
* 查询基础数据列表
*
* @param jsaa 基础数据
* @return 基础数据集合
*/
public
List
<
Jsaa
>
selectJsaaList
(
Jsaa
jsaa
);
/**
* 新增基础数据
*
* @param jsaa 基础数据
* @return 结果
*/
public
int
insertJsaa
(
Jsaa
jsaa
);
/**
* 修改基础数据
*
* @param jsaa 基础数据
* @return 结果
*/
public
int
updateJsaa
(
Jsaa
jsaa
);
/**
* 删除基础数据
*
* @param jh 基础数据主键
* @return 结果
*/
public
int
deleteJsaaByJh
(
String
jh
);
/**
* 批量删除基础数据
*
* @param jhs 需要删除的数据主键集合
* @return 结果
*/
public
int
deleteJsaaByJhs
(
String
[]
jhs
);
List
<
Jsaa
>
selectQklist
(
Jsaa
jsaa
);
}
src/main/java/com/ruoyi/project/zt/mapper/JsbaMapper.java
0 → 100644
View file @
cd8875a0
package
com
.
ruoyi
.
project
.
zt
.
mapper
;
import
com.ruoyi.project.zt.domain.Jsba
;
import
java.util.List
;
/**
* 地质简介基本数据Mapper接口
*
* @author ruoyi
* @date 2025-07-10
*/
public
interface
JsbaMapper
{
/**
* 查询地质简介基本数据
*
* @param jh 地质简介基本数据主键
* @return 地质简介基本数据
*/
public
Jsba
selectJsbaByJh
(
String
jh
);
/**
* 查询地质简介基本数据列表
*
* @param jsba 地质简介基本数据
* @return 地质简介基本数据集合
*/
public
List
<
Jsba
>
selectJsbaList
(
Jsba
jsba
);
/**
* 新增地质简介基本数据
*
* @param jsba 地质简介基本数据
* @return 结果
*/
public
int
insertJsba
(
Jsba
jsba
);
/**
* 修改地质简介基本数据
*
* @param jsba 地质简介基本数据
* @return 结果
*/
public
int
updateJsba
(
Jsba
jsba
);
/**
* 删除地质简介基本数据
*
* @param jh 地质简介基本数据主键
* @return 结果
*/
public
int
deleteJsbaByJh
(
String
jh
);
/**
* 批量删除地质简介基本数据
*
* @param jhs 需要删除的数据主键集合
* @return 结果
*/
public
int
deleteJsbaByJhs
(
String
[]
jhs
);
}
src/main/java/com/ruoyi/project/zt/service/IJsaaService.java
0 → 100644
View file @
cd8875a0
package
com
.
ruoyi
.
project
.
zt
.
service
;
import
com.ruoyi.project.zt.domain.Jsaa
;
import
java.util.List
;
/**
* 基础数据Service接口
*
* @author ruoyi
* @date 2025-07-10
*/
public
interface
IJsaaService
{
/**
* 查询基础数据
*
* @param jh 基础数据主键
* @return 基础数据
*/
public
Jsaa
selectJsaaByJh
(
String
jh
);
/**
* 查询基础数据列表
*
* @param jsaa 基础数据
* @return 基础数据集合
*/
public
List
<
Jsaa
>
selectJsaaList
(
Jsaa
jsaa
);
/**
* 新增基础数据
*
* @param jsaa 基础数据
* @return 结果
*/
public
int
insertJsaa
(
Jsaa
jsaa
);
/**
* 修改基础数据
*
* @param jsaa 基础数据
* @return 结果
*/
public
int
updateJsaa
(
Jsaa
jsaa
);
/**
* 批量删除基础数据
*
* @param jhs 需要删除的基础数据主键集合
* @return 结果
*/
public
int
deleteJsaaByJhs
(
String
[]
jhs
);
/**
* 删除基础数据信息
*
* @param jh 基础数据主键
* @return 结果
*/
public
int
deleteJsaaByJh
(
String
jh
);
List
<
Jsaa
>
selectQklist
(
Jsaa
jsaa
);
}
src/main/java/com/ruoyi/project/zt/service/IJsbaService.java
0 → 100644
View file @
cd8875a0
package
com
.
ruoyi
.
project
.
zt
.
service
;
import
com.ruoyi.project.zt.domain.Jsba
;
import
java.util.List
;
/**
* 地质简介基本数据Service接口
*
* @author ruoyi
* @date 2025-07-10
*/
public
interface
IJsbaService
{
/**
* 查询地质简介基本数据
*
* @param jh 地质简介基本数据主键
* @return 地质简介基本数据
*/
public
Jsba
selectJsbaByJh
(
String
jh
);
/**
* 查询地质简介基本数据列表
*
* @param jsba 地质简介基本数据
* @return 地质简介基本数据集合
*/
public
List
<
Jsba
>
selectJsbaList
(
Jsba
jsba
);
/**
* 新增地质简介基本数据
*
* @param jsba 地质简介基本数据
* @return 结果
*/
public
int
insertJsba
(
Jsba
jsba
);
/**
* 修改地质简介基本数据
*
* @param jsba 地质简介基本数据
* @return 结果
*/
public
int
updateJsba
(
Jsba
jsba
);
/**
* 批量删除地质简介基本数据
*
* @param jhs 需要删除的地质简介基本数据主键集合
* @return 结果
*/
public
int
deleteJsbaByJhs
(
String
[]
jhs
);
/**
* 删除地质简介基本数据信息
*
* @param jh 地质简介基本数据主键
* @return 结果
*/
public
int
deleteJsbaByJh
(
String
jh
);
}
src/main/java/com/ruoyi/project/zt/service/impl/JsaaServiceImpl.java
0 → 100644
View file @
cd8875a0
package
com
.
ruoyi
.
project
.
zt
.
service
.
impl
;
import
com.ruoyi.project.zt.domain.Jsaa
;
import
com.ruoyi.project.zt.mapper.JsaaMapper
;
import
com.ruoyi.project.zt.service.IJsaaService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
java.util.List
;
/**
* 基础数据Service业务层处理
*
* @author ruoyi
* @date 2025-07-10
*/
@Service
public
class
JsaaServiceImpl
implements
IJsaaService
{
@Autowired
private
JsaaMapper
jsaaMapper
;
/**
* 查询基础数据
*
* @param jh 基础数据主键
* @return 基础数据
*/
@Override
public
Jsaa
selectJsaaByJh
(
String
jh
)
{
return
jsaaMapper
.
selectJsaaByJh
(
jh
);
}
/**
* 查询基础数据列表
*
* @param jsaa 基础数据
* @return 基础数据
*/
@Override
public
List
<
Jsaa
>
selectJsaaList
(
Jsaa
jsaa
)
{
return
jsaaMapper
.
selectJsaaList
(
jsaa
);
}
/**
* 新增基础数据
*
* @param jsaa 基础数据
* @return 结果
*/
@Override
public
int
insertJsaa
(
Jsaa
jsaa
)
{
return
jsaaMapper
.
insertJsaa
(
jsaa
);
}
/**
* 修改基础数据
*
* @param jsaa 基础数据
* @return 结果
*/
@Override
public
int
updateJsaa
(
Jsaa
jsaa
)
{
return
jsaaMapper
.
updateJsaa
(
jsaa
);
}
/**
* 批量删除基础数据
*
* @param jhs 需要删除的基础数据主键
* @return 结果
*/
@Override
public
int
deleteJsaaByJhs
(
String
[]
jhs
)
{
return
jsaaMapper
.
deleteJsaaByJhs
(
jhs
);
}
/**
* 删除基础数据信息
*
* @param jh 基础数据主键
* @return 结果
*/
@Override
public
int
deleteJsaaByJh
(
String
jh
)
{
return
jsaaMapper
.
deleteJsaaByJh
(
jh
);
}
@Override
public
List
<
Jsaa
>
selectQklist
(
Jsaa
jsaa
)
{
return
jsaaMapper
.
selectQklist
(
jsaa
);
}
}
src/main/java/com/ruoyi/project/zt/service/impl/JsbaServiceImpl.java
0 → 100644
View file @
cd8875a0
package
com
.
ruoyi
.
project
.
zt
.
service
.
impl
;
import
com.ruoyi.project.zt.domain.Jsba
;
import
com.ruoyi.project.zt.mapper.JsbaMapper
;
import
com.ruoyi.project.zt.service.IJsbaService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
java.util.List
;
/**
* 地质简介基本数据Service业务层处理
*
* @author ruoyi
* @date 2025-07-10
*/
@Service
public
class
JsbaServiceImpl
implements
IJsbaService
{
@Autowired
private
JsbaMapper
jsbaMapper
;
/**
* 查询地质简介基本数据
*
* @param jh 地质简介基本数据主键
* @return 地质简介基本数据
*/
@Override
public
Jsba
selectJsbaByJh
(
String
jh
)
{
return
jsbaMapper
.
selectJsbaByJh
(
jh
);
}
/**
* 查询地质简介基本数据列表
*
* @param jsba 地质简介基本数据
* @return 地质简介基本数据
*/
@Override
public
List
<
Jsba
>
selectJsbaList
(
Jsba
jsba
)
{
return
jsbaMapper
.
selectJsbaList
(
jsba
);
}
/**
* 新增地质简介基本数据
*
* @param jsba 地质简介基本数据
* @return 结果
*/
@Override
public
int
insertJsba
(
Jsba
jsba
)
{
return
jsbaMapper
.
insertJsba
(
jsba
);
}
/**
* 修改地质简介基本数据
*
* @param jsba 地质简介基本数据
* @return 结果
*/
@Override
public
int
updateJsba
(
Jsba
jsba
)
{
return
jsbaMapper
.
updateJsba
(
jsba
);
}
/**
* 批量删除地质简介基本数据
*
* @param jhs 需要删除的地质简介基本数据主键
* @return 结果
*/
@Override
public
int
deleteJsbaByJhs
(
String
[]
jhs
)
{
return
jsbaMapper
.
deleteJsbaByJhs
(
jhs
);
}
/**
* 删除地质简介基本数据信息
*
* @param jh 地质简介基本数据主键
* @return 结果
*/
@Override
public
int
deleteJsbaByJh
(
String
jh
)
{
return
jsbaMapper
.
deleteJsbaByJh
(
jh
);
}
}
src/main/resources/mybatis/zt/JsaaMapper.xml
0 → 100644
View file @
cd8875a0
<?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.zt.mapper.JsaaMapper"
>
<resultMap
type=
"Jsaa"
id=
"JsaaResult"
>
<result
property=
"jh"
column=
"jh"
/>
<result
property=
"bqrq"
column=
"bqrq"
/>
<result
property=
"bqsj"
column=
"bqsj"
/>
<result
property=
"azrq"
column=
"azrq"
/>
<result
property=
"azsj"
column=
"azsj"
/>
<result
property=
"kzrq1"
column=
"kzrq1"
/>
<result
property=
"kzsj1"
column=
"kzsj1"
/>
<result
property=
"kzrq2"
column=
"kzrq2"
/>
<result
property=
"kzsj2"
column=
"kzsj2"
/>
<result
property=
"kzrq3"
column=
"kzrq3"
/>
<result
property=
"kzsj3"
column=
"kzsj3"
/>
<result
property=
"kzrq4"
column=
"kzrq4"
/>
<result
property=
"kzsj4"
column=
"kzsj4"
/>
<result
property=
"kzrq5"
column=
"kzrq5"
/>
<result
property=
"kzsj5"
column=
"kzsj5"
/>
<result
property=
"wzrq"
column=
"wzrq"
/>
<result
property=
"wzsj"
column=
"wzsj"
/>
<result
property=
"wjrq"
column=
"wjrq"
/>
<result
property=
"wjsj"
column=
"wjsj"
/>
<result
property=
"zjzq1"
column=
"zjzq1"
/>
<result
property=
"zjzq2"
column=
"zjzq2"
/>
<result
property=
"jjzq1"
column=
"jjzq1"
/>
<result
property=
"jjzq2"
column=
"jjzq2"
/>
<result
property=
"zgcssj1"
column=
"zgcssj1"
/>
<result
property=
"zgcssj2"
column=
"zgcssj2"
/>
<result
property=
"fgjc"
column=
"fgjc"
/>
<result
property=
"qxjc"
column=
"qxjc"
/>
<result
property=
"yxcd"
column=
"yxcd"
/>
<result
property=
"yxshl"
column=
"yxshl"
/>
<result
property=
"pjdtjc"
column=
"pjdtjc"
/>
<result
property=
"sjjs"
column=
"sjjs"
/>
<result
property=
"wjjs"
column=
"wjjs"
/>
<result
property=
"wjczjs"
column=
"wjczjs"
/>
<result
property=
"wzcw"
column=
"wzcw"
/>
<result
property=
"wjff"
column=
"wjff"
/>
<result
property=
"zjy"
column=
"zjy"
/>
<result
property=
"zjys"
column=
"zjys"
/>
<result
property=
"pjjxzs"
column=
"pjjxzs"
/>
<result
property=
"jszl"
column=
"jszl"
/>
<result
property=
"gjzl"
column=
"gjzl"
/>
<result
property=
"sgcs"
column=
"sgcs"
/>
<result
property=
"zjcb"
column=
"zjcb"
/>
<result
property=
"zhcb"
column=
"zhcb"
/>
<result
property=
"mmzjcb"
column=
"mmzjcb"
/>
<result
property=
"mmzhcb"
column=
"mmzhcb"
/>
<result
property=
"ygsmc"
column=
"ygsmc"
/>
<result
property=
"qk"
column=
"qk"
/>
<result
property=
"tsgyj"
column=
"tsgyj"
/>
<result
property=
"zjh"
column=
"zjh"
/>
<result
property=
"fzs"
column=
"fzs"
/>
<result
property=
"djfz"
column=
"djfz"
/>
<result
property=
"cyc"
column=
"cyc"
/>
<result
property=
"czds"
column=
"czds"
/>
<result
property=
"sjcw"
column=
"sjcw"
/>
<result
property=
"jx"
column=
"jx"
/>
<result
property=
"jb"
column=
"jb"
/>
</resultMap>
<sql
id=
"selectJsaaVo"
>
select a.jh,
bqrq,
bqsj,
azrq,
azsj,
kzrq1,
kzsj1,
kzrq2,
kzsj2,
kzrq3,
kzsj3,
kzrq4,
kzsj4,
kzrq5,
kzsj5,
wzrq,
wzsj,
wjrq,
wjsj,
zjzq1,
zjzq2,
jjzq1,
jjzq2,
zgcssj1,
zgcssj2,
fgjc,
qxjc,
yxcd,
yxshl,
pjdtjc,
sjjs,
wjjs,
wjczjs,
wzcw,
wjff,
zjy,
zjys,
pjjxzs,
jszl,
gjzl,
sgcs,
zjcb,
zhcb,
mmzjcb,
mmzhcb,
ygsmc,
qk,
tsgyj,
zjh,
fzs,
djfz,
cyc,
czds,
sjcw,b.jx,b.jb
from jsaa a left join JSBA b on a.JH = b.JH
</sql>
<select
id=
"selectJsaaList"
parameterType=
"Jsaa"
resultMap=
"JsaaResult"
>
<include
refid=
"selectJsaaVo"
/>
<where>
<if
test=
"jh != null "
>
and a.jh like CONCAT(CONCAT('%', #{jh}), '%')
</if>
<if
test=
"bqrq != null "
>
and bqrq = #{bqrq}
</if>
<if
test=
"bqsj != null and bqsj != ''"
>
and bqsj = #{bqsj}
</if>
<if
test=
"azrq != null "
>
and azrq = #{azrq}
</if>
<if
test=
"azsj != null and azsj != ''"
>
and azsj = #{azsj}
</if>
<if
test=
"kzrq1 != null "
>
and kzrq1 = #{kzrq1}
</if>
<if
test=
"kzsj1 != null and kzsj1 != ''"
>
and kzsj1 = #{kzsj1}
</if>
<if
test=
"kzrq2 != null "
>
and kzrq2 = #{kzrq2}
</if>
<if
test=
"kzsj2 != null and kzsj2 != ''"
>
and kzsj2 = #{kzsj2}
</if>
<if
test=
"kzrq3 != null "
>
and kzrq3 = #{kzrq3}
</if>
<if
test=
"kzsj3 != null and kzsj3 != ''"
>
and kzsj3 = #{kzsj3}
</if>
<if
test=
"kzrq4 != null "
>
and kzrq4 = #{kzrq4}
</if>
<if
test=
"kzsj4 != null and kzsj4 != ''"
>
and kzsj4 = #{kzsj4}
</if>
<if
test=
"kzrq5 != null "
>
and kzrq5 = #{kzrq5}
</if>
<if
test=
"kzsj5 != null and kzsj5 != ''"
>
and kzsj5 = #{kzsj5}
</if>
<if
test=
"wzrq != null "
>
and wzrq = #{wzrq}
</if>
<if
test=
"wzsj != null and wzsj != ''"
>
and wzsj = #{wzsj}
</if>
<if
test=
"wjrq != null "
>
and wjrq = #{wjrq}
</if>
<if
test=
"wjsj != null and wjsj != ''"
>
and wjsj = #{wjsj}
</if>
<if
test=
"zjzq1 != null "
>
and zjzq1 = #{zjzq1}
</if>
<if
test=
"zjzq2 != null "
>
and zjzq2 = #{zjzq2}
</if>
<if
test=
"jjzq1 != null "
>
and jjzq1 = #{jjzq1}
</if>
<if
test=
"jjzq2 != null "
>
and jjzq2 = #{jjzq2}
</if>
<if
test=
"zgcssj1 != null "
>
and zgcssj1 = #{zgcssj1}
</if>
<if
test=
"zgcssj2 != null "
>
and zgcssj2 = #{zgcssj2}
</if>
<if
test=
"fgjc != null "
>
and fgjc = #{fgjc}
</if>
<if
test=
"qxjc != null "
>
and qxjc = #{qxjc}
</if>
<if
test=
"yxcd != null "
>
and yxcd = #{yxcd}
</if>
<if
test=
"yxshl != null "
>
and yxshl = #{yxshl}
</if>
<if
test=
"pjdtjc != null "
>
and pjdtjc = #{pjdtjc}
</if>
<if
test=
"sjjs != null "
>
and sjjs = #{sjjs}
</if>
<if
test=
"wjjs != null "
>
and wjjs = #{wjjs}
</if>
<if
test=
"wjczjs != null "
>
and wjczjs = #{wjczjs}
</if>
<if
test=
"wzcw != null and wzcw != ''"
>
and wzcw = #{wzcw}
</if>
<if
test=
"wjff != null and wjff != ''"
>
and wjff = #{wjff}
</if>
<if
test=
"zjy != null "
>
and zjy = #{zjy}
</if>
<if
test=
"zjys != null "
>
and zjys = #{zjys}
</if>
<if
test=
"pjjxzs != null "
>
and pjjxzs = #{pjjxzs}
</if>
<if
test=
"jszl != null and jszl != ''"
>
and jszl = #{jszl}
</if>
<if
test=
"gjzl != null and gjzl != ''"
>
and gjzl = #{gjzl}
</if>
<if
test=
"sgcs != null "
>
and sgcs = #{sgcs}
</if>
<if
test=
"zjcb != null "
>
and zjcb = #{zjcb}
</if>
<if
test=
"zhcb != null "
>
and zhcb = #{zhcb}
</if>
<if
test=
"mmzjcb != null "
>
and mmzjcb = #{mmzjcb}
</if>
<if
test=
"mmzhcb != null "
>
and mmzhcb = #{mmzhcb}
</if>
<if
test=
"ygsmc != null and ygsmc != ''"
>
and ygsmc = #{ygsmc}
</if>
<if
test=
"qk != null and qk != ''"
>
and qk = #{qk}
</if>
<if
test=
"tsgyj != null and tsgyj != ''"
>
and tsgyj = #{tsgyj}
</if>
<if
test=
"zjh != null and zjh != ''"
>
and zjh = #{zjh}
</if>
<if
test=
"fzs != null "
>
and fzs = #{fzs}
</if>
<if
test=
"djfz != null "
>
and djfz = #{djfz}
</if>
<if
test=
"cyc != null and cyc != ''"
>
and cyc = #{cyc}
</if>
<if
test=
"czds != null "
>
and czds = #{czds}
</if>
<if
test=
"sjcw != null and sjcw != ''"
>
and sjcw = #{sjcw}
</if>
<if
test=
"wjrqks!=null and wjrqks!=''"
>
and to_char(WJRQ,'YYYY')>=#{wjrqks}
</if>
<if
test=
"wjrqjs!=null and wjrqjs!=''"
>
and to_char(WJRQ,'YYYY')
<
=#{wjrqjs}
</if>
</where>
</select>
<select
id=
"selectJsaaByJh"
parameterType=
"String"
resultMap=
"JsaaResult"
>
<include
refid=
"selectJsaaVo"
/>
where a.jh = #{jh}
</select>
<select
id=
"selectQklist"
resultType=
"com.ruoyi.project.zt.domain.Jsaa"
>
select qk,count(jh) jsl from JSAA
where 1=1
<if
test=
"qk != null and qk != ''"
>
and qk like CONCAT(CONCAT('%', #{qk}), '%')
</if>
group by qk order by jsl desc
</select>
<insert
id=
"insertJsaa"
parameterType=
"Jsaa"
>
<selectKey
keyProperty=
"jh"
resultType=
"long"
order=
"BEFORE"
>
SELECT seq_jsaa.NEXTVAL as jh FROM DUAL
</selectKey>
insert into jsaa
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"jh != null"
>
jh,
</if>
<if
test=
"bqrq != null"
>
bqrq,
</if>
<if
test=
"bqsj != null"
>
bqsj,
</if>
<if
test=
"azrq != null"
>
azrq,
</if>
<if
test=
"azsj != null"
>
azsj,
</if>
<if
test=
"kzrq1 != null"
>
kzrq1,
</if>
<if
test=
"kzsj1 != null"
>
kzsj1,
</if>
<if
test=
"kzrq2 != null"
>
kzrq2,
</if>
<if
test=
"kzsj2 != null"
>
kzsj2,
</if>
<if
test=
"kzrq3 != null"
>
kzrq3,
</if>
<if
test=
"kzsj3 != null"
>
kzsj3,
</if>
<if
test=
"kzrq4 != null"
>
kzrq4,
</if>
<if
test=
"kzsj4 != null"
>
kzsj4,
</if>
<if
test=
"kzrq5 != null"
>
kzrq5,
</if>
<if
test=
"kzsj5 != null"
>
kzsj5,
</if>
<if
test=
"wzrq != null"
>
wzrq,
</if>
<if
test=
"wzsj != null"
>
wzsj,
</if>
<if
test=
"wjrq != null"
>
wjrq,
</if>
<if
test=
"wjsj != null"
>
wjsj,
</if>
<if
test=
"zjzq1 != null"
>
zjzq1,
</if>
<if
test=
"zjzq2 != null"
>
zjzq2,
</if>
<if
test=
"jjzq1 != null"
>
jjzq1,
</if>
<if
test=
"jjzq2 != null"
>
jjzq2,
</if>
<if
test=
"zgcssj1 != null"
>
zgcssj1,
</if>
<if
test=
"zgcssj2 != null"
>
zgcssj2,
</if>
<if
test=
"fgjc != null"
>
fgjc,
</if>
<if
test=
"qxjc != null"
>
qxjc,
</if>
<if
test=
"yxcd != null"
>
yxcd,
</if>
<if
test=
"yxshl != null"
>
yxshl,
</if>
<if
test=
"pjdtjc != null"
>
pjdtjc,
</if>
<if
test=
"sjjs != null"
>
sjjs,
</if>
<if
test=
"wjjs != null"
>
wjjs,
</if>
<if
test=
"wjczjs != null"
>
wjczjs,
</if>
<if
test=
"wzcw != null"
>
wzcw,
</if>
<if
test=
"wjff != null"
>
wjff,
</if>
<if
test=
"zjy != null"
>
zjy,
</if>
<if
test=
"zjys != null"
>
zjys,
</if>
<if
test=
"pjjxzs != null"
>
pjjxzs,
</if>
<if
test=
"jszl != null"
>
jszl,
</if>
<if
test=
"gjzl != null"
>
gjzl,
</if>
<if
test=
"sgcs != null"
>
sgcs,
</if>
<if
test=
"zjcb != null"
>
zjcb,
</if>
<if
test=
"zhcb != null"
>
zhcb,
</if>
<if
test=
"mmzjcb != null"
>
mmzjcb,
</if>
<if
test=
"mmzhcb != null"
>
mmzhcb,
</if>
<if
test=
"ygsmc != null"
>
ygsmc,
</if>
<if
test=
"qk != null"
>
qk,
</if>
<if
test=
"tsgyj != null"
>
tsgyj,
</if>
<if
test=
"zjh != null"
>
zjh,
</if>
<if
test=
"fzs != null"
>
fzs,
</if>
<if
test=
"djfz != null"
>
djfz,
</if>
<if
test=
"cyc != null"
>
cyc,
</if>
<if
test=
"czds != null"
>
czds,
</if>
<if
test=
"sjcw != null"
>
sjcw,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"jh != null"
>
#{jh},
</if>
<if
test=
"bqrq != null"
>
#{bqrq},
</if>
<if
test=
"bqsj != null"
>
#{bqsj},
</if>
<if
test=
"azrq != null"
>
#{azrq},
</if>
<if
test=
"azsj != null"
>
#{azsj},
</if>
<if
test=
"kzrq1 != null"
>
#{kzrq1},
</if>
<if
test=
"kzsj1 != null"
>
#{kzsj1},
</if>
<if
test=
"kzrq2 != null"
>
#{kzrq2},
</if>
<if
test=
"kzsj2 != null"
>
#{kzsj2},
</if>
<if
test=
"kzrq3 != null"
>
#{kzrq3},
</if>
<if
test=
"kzsj3 != null"
>
#{kzsj3},
</if>
<if
test=
"kzrq4 != null"
>
#{kzrq4},
</if>
<if
test=
"kzsj4 != null"
>
#{kzsj4},
</if>
<if
test=
"kzrq5 != null"
>
#{kzrq5},
</if>
<if
test=
"kzsj5 != null"
>
#{kzsj5},
</if>
<if
test=
"wzrq != null"
>
#{wzrq},
</if>
<if
test=
"wzsj != null"
>
#{wzsj},
</if>
<if
test=
"wjrq != null"
>
#{wjrq},
</if>
<if
test=
"wjsj != null"
>
#{wjsj},
</if>
<if
test=
"zjzq1 != null"
>
#{zjzq1},
</if>
<if
test=
"zjzq2 != null"
>
#{zjzq2},
</if>
<if
test=
"jjzq1 != null"
>
#{jjzq1},
</if>
<if
test=
"jjzq2 != null"
>
#{jjzq2},
</if>
<if
test=
"zgcssj1 != null"
>
#{zgcssj1},
</if>
<if
test=
"zgcssj2 != null"
>
#{zgcssj2},
</if>
<if
test=
"fgjc != null"
>
#{fgjc},
</if>
<if
test=
"qxjc != null"
>
#{qxjc},
</if>
<if
test=
"yxcd != null"
>
#{yxcd},
</if>
<if
test=
"yxshl != null"
>
#{yxshl},
</if>
<if
test=
"pjdtjc != null"
>
#{pjdtjc},
</if>
<if
test=
"sjjs != null"
>
#{sjjs},
</if>
<if
test=
"wjjs != null"
>
#{wjjs},
</if>
<if
test=
"wjczjs != null"
>
#{wjczjs},
</if>
<if
test=
"wzcw != null"
>
#{wzcw},
</if>
<if
test=
"wjff != null"
>
#{wjff},
</if>
<if
test=
"zjy != null"
>
#{zjy},
</if>
<if
test=
"zjys != null"
>
#{zjys},
</if>
<if
test=
"pjjxzs != null"
>
#{pjjxzs},
</if>
<if
test=
"jszl != null"
>
#{jszl},
</if>
<if
test=
"gjzl != null"
>
#{gjzl},
</if>
<if
test=
"sgcs != null"
>
#{sgcs},
</if>
<if
test=
"zjcb != null"
>
#{zjcb},
</if>
<if
test=
"zhcb != null"
>
#{zhcb},
</if>
<if
test=
"mmzjcb != null"
>
#{mmzjcb},
</if>
<if
test=
"mmzhcb != null"
>
#{mmzhcb},
</if>
<if
test=
"ygsmc != null"
>
#{ygsmc},
</if>
<if
test=
"qk != null"
>
#{qk},
</if>
<if
test=
"tsgyj != null"
>
#{tsgyj},
</if>
<if
test=
"zjh != null"
>
#{zjh},
</if>
<if
test=
"fzs != null"
>
#{fzs},
</if>
<if
test=
"djfz != null"
>
#{djfz},
</if>
<if
test=
"cyc != null"
>
#{cyc},
</if>
<if
test=
"czds != null"
>
#{czds},
</if>
<if
test=
"sjcw != null"
>
#{sjcw},
</if>
</trim>
</insert>
<update
id=
"updateJsaa"
parameterType=
"Jsaa"
>
update jsaa
<trim
prefix=
"SET"
suffixOverrides=
","
>
<if
test=
"bqrq != null"
>
bqrq = #{bqrq},
</if>
<if
test=
"bqsj != null"
>
bqsj = #{bqsj},
</if>
<if
test=
"azrq != null"
>
azrq = #{azrq},
</if>
<if
test=
"azsj != null"
>
azsj = #{azsj},
</if>
<if
test=
"kzrq1 != null"
>
kzrq1 = #{kzrq1},
</if>
<if
test=
"kzsj1 != null"
>
kzsj1 = #{kzsj1},
</if>
<if
test=
"kzrq2 != null"
>
kzrq2 = #{kzrq2},
</if>
<if
test=
"kzsj2 != null"
>
kzsj2 = #{kzsj2},
</if>
<if
test=
"kzrq3 != null"
>
kzrq3 = #{kzrq3},
</if>
<if
test=
"kzsj3 != null"
>
kzsj3 = #{kzsj3},
</if>
<if
test=
"kzrq4 != null"
>
kzrq4 = #{kzrq4},
</if>
<if
test=
"kzsj4 != null"
>
kzsj4 = #{kzsj4},
</if>
<if
test=
"kzrq5 != null"
>
kzrq5 = #{kzrq5},
</if>
<if
test=
"kzsj5 != null"
>
kzsj5 = #{kzsj5},
</if>
<if
test=
"wzrq != null"
>
wzrq = #{wzrq},
</if>
<if
test=
"wzsj != null"
>
wzsj = #{wzsj},
</if>
<if
test=
"wjrq != null"
>
wjrq = #{wjrq},
</if>
<if
test=
"wjsj != null"
>
wjsj = #{wjsj},
</if>
<if
test=
"zjzq1 != null"
>
zjzq1 = #{zjzq1},
</if>
<if
test=
"zjzq2 != null"
>
zjzq2 = #{zjzq2},
</if>
<if
test=
"jjzq1 != null"
>
jjzq1 = #{jjzq1},
</if>
<if
test=
"jjzq2 != null"
>
jjzq2 = #{jjzq2},
</if>
<if
test=
"zgcssj1 != null"
>
zgcssj1 = #{zgcssj1},
</if>
<if
test=
"zgcssj2 != null"
>
zgcssj2 = #{zgcssj2},
</if>
<if
test=
"fgjc != null"
>
fgjc = #{fgjc},
</if>
<if
test=
"qxjc != null"
>
qxjc = #{qxjc},
</if>
<if
test=
"yxcd != null"
>
yxcd = #{yxcd},
</if>
<if
test=
"yxshl != null"
>
yxshl = #{yxshl},
</if>
<if
test=
"pjdtjc != null"
>
pjdtjc = #{pjdtjc},
</if>
<if
test=
"sjjs != null"
>
sjjs = #{sjjs},
</if>
<if
test=
"wjjs != null"
>
wjjs = #{wjjs},
</if>
<if
test=
"wjczjs != null"
>
wjczjs = #{wjczjs},
</if>
<if
test=
"wzcw != null"
>
wzcw = #{wzcw},
</if>
<if
test=
"wjff != null"
>
wjff = #{wjff},
</if>
<if
test=
"zjy != null"
>
zjy = #{zjy},
</if>
<if
test=
"zjys != null"
>
zjys = #{zjys},
</if>
<if
test=
"pjjxzs != null"
>
pjjxzs = #{pjjxzs},
</if>
<if
test=
"jszl != null"
>
jszl = #{jszl},
</if>
<if
test=
"gjzl != null"
>
gjzl = #{gjzl},
</if>
<if
test=
"sgcs != null"
>
sgcs = #{sgcs},
</if>
<if
test=
"zjcb != null"
>
zjcb = #{zjcb},
</if>
<if
test=
"zhcb != null"
>
zhcb = #{zhcb},
</if>
<if
test=
"mmzjcb != null"
>
mmzjcb = #{mmzjcb},
</if>
<if
test=
"mmzhcb != null"
>
mmzhcb = #{mmzhcb},
</if>
<if
test=
"ygsmc != null"
>
ygsmc = #{ygsmc},
</if>
<if
test=
"qk != null"
>
qk = #{qk},
</if>
<if
test=
"tsgyj != null"
>
tsgyj = #{tsgyj},
</if>
<if
test=
"zjh != null"
>
zjh = #{zjh},
</if>
<if
test=
"fzs != null"
>
fzs = #{fzs},
</if>
<if
test=
"djfz != null"
>
djfz = #{djfz},
</if>
<if
test=
"cyc != null"
>
cyc = #{cyc},
</if>
<if
test=
"czds != null"
>
czds = #{czds},
</if>
<if
test=
"sjcw != null"
>
sjcw = #{sjcw},
</if>
</trim>
where jh = #{jh}
</update>
<delete
id=
"deleteJsaaByJh"
parameterType=
"String"
>
delete from jsaa where jh = #{jh}
</delete>
<delete
id=
"deleteJsaaByJhs"
parameterType=
"String"
>
delete from jsaa where jh in
<foreach
item=
"jh"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{jh}
</foreach>
</delete>
</mapper>
\ No newline at end of file
src/main/resources/mybatis/zt/JsbaMapper.xml
0 → 100644
View file @
cd8875a0
<?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.zt.mapper.JsbaMapper"
>
<resultMap
type=
"Jsba"
id=
"JsbaResult"
>
<result
property=
"jh"
column=
"jh"
/>
<result
property=
"gzmc"
column=
"gzmc"
/>
<result
property=
"jx"
column=
"jx"
/>
<result
property=
"jb"
column=
"jb"
/>
<result
property=
"jkhzb"
column=
"jkhzb"
/>
<result
property=
"jkzzb"
column=
"jkzzb"
/>
<result
property=
"jdhzb"
column=
"jdhzb"
/>
<result
property=
"jdzzb"
column=
"jdzzb"
/>
<result
property=
"dlwz"
column=
"dlwz"
/>
<result
property=
"gzwz"
column=
"gzwz"
/>
<result
property=
"cxwz"
column=
"cxwz"
/>
<result
property=
"dmhb"
column=
"dmhb"
/>
<result
property=
"bxhb"
column=
"bxhb"
/>
<result
property=
"hssd"
column=
"hssd"
/>
<result
property=
"lrsd"
column=
"lrsd"
/>
<result
property=
"zjmd"
column=
"zjmd"
/>
<result
property=
"cpj"
column=
"cpj"
/>
<result
property=
"ptbh"
column=
"ptbh"
/>
<result
property=
"jd"
column=
"jd"
/>
<result
property=
"wd"
column=
"wd"
/>
<result
property=
"jdhzb1"
column=
"jdhzb1"
/>
<result
property=
"jdzzb1"
column=
"jdzzb1"
/>
<result
property=
"jdhzb2"
column=
"jdhzb2"
/>
<result
property=
"jdzzb2"
column=
"jdzzb2"
/>
<result
property=
"jdhzb3"
column=
"jdhzb3"
/>
<result
property=
"jdzzb3"
column=
"jdzzb3"
/>
<result
property=
"jdhzb4"
column=
"jdhzb4"
/>
<result
property=
"jdzzb4"
column=
"jdzzb4"
/>
</resultMap>
<sql
id=
"selectJsbaVo"
>
select jh, gzmc, jx, jb, jkhzb, jkzzb, jdhzb, jdzzb, dlwz, gzwz, cxwz, dmhb, bxhb, hssd, lrsd, zjmd, cpj, ptbh, jd, wd, jdhzb1, jdzzb1, jdhzb2, jdzzb2, jdhzb3, jdzzb3, jdhzb4, jdzzb4 from jsba
</sql>
<select
id=
"selectJsbaList"
parameterType=
"Jsba"
resultMap=
"JsbaResult"
>
<include
refid=
"selectJsbaVo"
/>
<where>
<if
test=
"gzmc != null and gzmc != ''"
>
and gzmc = #{gzmc}
</if>
<if
test=
"jx != null and jx != ''"
>
and jx = #{jx}
</if>
<if
test=
"jb != null and jb != ''"
>
and jb = #{jb}
</if>
<if
test=
"jkhzb != null "
>
and jkhzb = #{jkhzb}
</if>
<if
test=
"jkzzb != null "
>
and jkzzb = #{jkzzb}
</if>
<if
test=
"jdhzb != null "
>
and jdhzb = #{jdhzb}
</if>
<if
test=
"jdzzb != null "
>
and jdzzb = #{jdzzb}
</if>
<if
test=
"dlwz != null and dlwz != ''"
>
and dlwz = #{dlwz}
</if>
<if
test=
"gzwz != null and gzwz != ''"
>
and gzwz = #{gzwz}
</if>
<if
test=
"cxwz != null and cxwz != ''"
>
and cxwz = #{cxwz}
</if>
<if
test=
"dmhb != null "
>
and dmhb = #{dmhb}
</if>
<if
test=
"bxhb != null "
>
and bxhb = #{bxhb}
</if>
<if
test=
"hssd != null "
>
and hssd = #{hssd}
</if>
<if
test=
"lrsd != null "
>
and lrsd = #{lrsd}
</if>
<if
test=
"zjmd != null and zjmd != ''"
>
and zjmd = #{zjmd}
</if>
<if
test=
"cpj != null "
>
and cpj = #{cpj}
</if>
<if
test=
"ptbh != null and ptbh != ''"
>
and ptbh = #{ptbh}
</if>
<if
test=
"jd != null "
>
and jd = #{jd}
</if>
<if
test=
"wd != null "
>
and wd = #{wd}
</if>
<if
test=
"jdhzb1 != null "
>
and jdhzb1 = #{jdhzb1}
</if>
<if
test=
"jdzzb1 != null "
>
and jdzzb1 = #{jdzzb1}
</if>
<if
test=
"jdhzb2 != null "
>
and jdhzb2 = #{jdhzb2}
</if>
<if
test=
"jdzzb2 != null "
>
and jdzzb2 = #{jdzzb2}
</if>
<if
test=
"jdhzb3 != null "
>
and jdhzb3 = #{jdhzb3}
</if>
<if
test=
"jdzzb3 != null "
>
and jdzzb3 = #{jdzzb3}
</if>
<if
test=
"jdhzb4 != null "
>
and jdhzb4 = #{jdhzb4}
</if>
<if
test=
"jdzzb4 != null "
>
and jdzzb4 = #{jdzzb4}
</if>
</where>
</select>
<select
id=
"selectJsbaByJh"
parameterType=
"String"
resultMap=
"JsbaResult"
>
<include
refid=
"selectJsbaVo"
/>
where jh = #{jh}
</select>
<insert
id=
"insertJsba"
parameterType=
"Jsba"
>
<selectKey
keyProperty=
"jh"
resultType=
"long"
order=
"BEFORE"
>
SELECT seq_jsba.NEXTVAL as jh FROM DUAL
</selectKey>
insert into jsba
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"jh != null"
>
jh,
</if>
<if
test=
"gzmc != null"
>
gzmc,
</if>
<if
test=
"jx != null"
>
jx,
</if>
<if
test=
"jb != null"
>
jb,
</if>
<if
test=
"jkhzb != null"
>
jkhzb,
</if>
<if
test=
"jkzzb != null"
>
jkzzb,
</if>
<if
test=
"jdhzb != null"
>
jdhzb,
</if>
<if
test=
"jdzzb != null"
>
jdzzb,
</if>
<if
test=
"dlwz != null"
>
dlwz,
</if>
<if
test=
"gzwz != null"
>
gzwz,
</if>
<if
test=
"cxwz != null"
>
cxwz,
</if>
<if
test=
"dmhb != null"
>
dmhb,
</if>
<if
test=
"bxhb != null"
>
bxhb,
</if>
<if
test=
"hssd != null"
>
hssd,
</if>
<if
test=
"lrsd != null"
>
lrsd,
</if>
<if
test=
"zjmd != null"
>
zjmd,
</if>
<if
test=
"cpj != null"
>
cpj,
</if>
<if
test=
"ptbh != null"
>
ptbh,
</if>
<if
test=
"jd != null"
>
jd,
</if>
<if
test=
"wd != null"
>
wd,
</if>
<if
test=
"jdhzb1 != null"
>
jdhzb1,
</if>
<if
test=
"jdzzb1 != null"
>
jdzzb1,
</if>
<if
test=
"jdhzb2 != null"
>
jdhzb2,
</if>
<if
test=
"jdzzb2 != null"
>
jdzzb2,
</if>
<if
test=
"jdhzb3 != null"
>
jdhzb3,
</if>
<if
test=
"jdzzb3 != null"
>
jdzzb3,
</if>
<if
test=
"jdhzb4 != null"
>
jdhzb4,
</if>
<if
test=
"jdzzb4 != null"
>
jdzzb4,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"jh != null"
>
#{jh},
</if>
<if
test=
"gzmc != null"
>
#{gzmc},
</if>
<if
test=
"jx != null"
>
#{jx},
</if>
<if
test=
"jb != null"
>
#{jb},
</if>
<if
test=
"jkhzb != null"
>
#{jkhzb},
</if>
<if
test=
"jkzzb != null"
>
#{jkzzb},
</if>
<if
test=
"jdhzb != null"
>
#{jdhzb},
</if>
<if
test=
"jdzzb != null"
>
#{jdzzb},
</if>
<if
test=
"dlwz != null"
>
#{dlwz},
</if>
<if
test=
"gzwz != null"
>
#{gzwz},
</if>
<if
test=
"cxwz != null"
>
#{cxwz},
</if>
<if
test=
"dmhb != null"
>
#{dmhb},
</if>
<if
test=
"bxhb != null"
>
#{bxhb},
</if>
<if
test=
"hssd != null"
>
#{hssd},
</if>
<if
test=
"lrsd != null"
>
#{lrsd},
</if>
<if
test=
"zjmd != null"
>
#{zjmd},
</if>
<if
test=
"cpj != null"
>
#{cpj},
</if>
<if
test=
"ptbh != null"
>
#{ptbh},
</if>
<if
test=
"jd != null"
>
#{jd},
</if>
<if
test=
"wd != null"
>
#{wd},
</if>
<if
test=
"jdhzb1 != null"
>
#{jdhzb1},
</if>
<if
test=
"jdzzb1 != null"
>
#{jdzzb1},
</if>
<if
test=
"jdhzb2 != null"
>
#{jdhzb2},
</if>
<if
test=
"jdzzb2 != null"
>
#{jdzzb2},
</if>
<if
test=
"jdhzb3 != null"
>
#{jdhzb3},
</if>
<if
test=
"jdzzb3 != null"
>
#{jdzzb3},
</if>
<if
test=
"jdhzb4 != null"
>
#{jdhzb4},
</if>
<if
test=
"jdzzb4 != null"
>
#{jdzzb4},
</if>
</trim>
</insert>
<update
id=
"updateJsba"
parameterType=
"Jsba"
>
update jsba
<trim
prefix=
"SET"
suffixOverrides=
","
>
<if
test=
"gzmc != null"
>
gzmc = #{gzmc},
</if>
<if
test=
"jx != null"
>
jx = #{jx},
</if>
<if
test=
"jb != null"
>
jb = #{jb},
</if>
<if
test=
"jkhzb != null"
>
jkhzb = #{jkhzb},
</if>
<if
test=
"jkzzb != null"
>
jkzzb = #{jkzzb},
</if>
<if
test=
"jdhzb != null"
>
jdhzb = #{jdhzb},
</if>
<if
test=
"jdzzb != null"
>
jdzzb = #{jdzzb},
</if>
<if
test=
"dlwz != null"
>
dlwz = #{dlwz},
</if>
<if
test=
"gzwz != null"
>
gzwz = #{gzwz},
</if>
<if
test=
"cxwz != null"
>
cxwz = #{cxwz},
</if>
<if
test=
"dmhb != null"
>
dmhb = #{dmhb},
</if>
<if
test=
"bxhb != null"
>
bxhb = #{bxhb},
</if>
<if
test=
"hssd != null"
>
hssd = #{hssd},
</if>
<if
test=
"lrsd != null"
>
lrsd = #{lrsd},
</if>
<if
test=
"zjmd != null"
>
zjmd = #{zjmd},
</if>
<if
test=
"cpj != null"
>
cpj = #{cpj},
</if>
<if
test=
"ptbh != null"
>
ptbh = #{ptbh},
</if>
<if
test=
"jd != null"
>
jd = #{jd},
</if>
<if
test=
"wd != null"
>
wd = #{wd},
</if>
<if
test=
"jdhzb1 != null"
>
jdhzb1 = #{jdhzb1},
</if>
<if
test=
"jdzzb1 != null"
>
jdzzb1 = #{jdzzb1},
</if>
<if
test=
"jdhzb2 != null"
>
jdhzb2 = #{jdhzb2},
</if>
<if
test=
"jdzzb2 != null"
>
jdzzb2 = #{jdzzb2},
</if>
<if
test=
"jdhzb3 != null"
>
jdhzb3 = #{jdhzb3},
</if>
<if
test=
"jdzzb3 != null"
>
jdzzb3 = #{jdzzb3},
</if>
<if
test=
"jdhzb4 != null"
>
jdhzb4 = #{jdhzb4},
</if>
<if
test=
"jdzzb4 != null"
>
jdzzb4 = #{jdzzb4},
</if>
</trim>
where jh = #{jh}
</update>
<delete
id=
"deleteJsbaByJh"
parameterType=
"String"
>
delete from jsba where jh = #{jh}
</delete>
<delete
id=
"deleteJsbaByJhs"
parameterType=
"String"
>
delete from jsba where jh in
<foreach
item=
"jh"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{jh}
</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