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
f03ceafc
Commit
f03ceafc
authored
Jul 23, 2025
by
jiang'yun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
cd512ccf
Hide whitespace changes
Inline
Side-by-side
Showing
58 changed files
with
6661 additions
and
67 deletions
+6661
-67
pom.xml
+12
-2
src/main/java/com/ruoyi/project/zjsgfa/controller/SjDjjcController.java
+413
-65
src/main/java/com/ruoyi/project/zjsgfa/controller/SjGztzController.java
+104
-0
src/main/java/com/ruoyi/project/zjsgfa/controller/SjH2sController.java
+104
-0
src/main/java/com/ruoyi/project/zjsgfa/controller/SjLjjwController.java
+104
-0
src/main/java/com/ruoyi/project/zjsgfa/controller/SjLjsmController.java
+104
-0
src/main/java/com/ruoyi/project/zjsgfa/controller/SjQkztfxController.java
+104
-0
src/main/java/com/ruoyi/project/zjsgfa/controller/SjSzfxjgController.java
+104
-0
src/main/java/com/ruoyi/project/zjsgfa/controller/SjZqfxController.java
+104
-0
src/main/java/com/ruoyi/project/zjsgfa/controller/SjZtgjsjController.java
+104
-0
src/main/java/com/ruoyi/project/zjsgfa/controller/SjZysxController.java
+104
-0
src/main/java/com/ruoyi/project/zjsgfa/domain/SjGztz.java
+132
-0
src/main/java/com/ruoyi/project/zjsgfa/domain/SjH2s.java
+267
-0
src/main/java/com/ruoyi/project/zjsgfa/domain/SjLjjw.java
+322
-0
src/main/java/com/ruoyi/project/zjsgfa/domain/SjLjsm.java
+237
-0
src/main/java/com/ruoyi/project/zjsgfa/domain/SjQkztfx.java
+277
-0
src/main/java/com/ruoyi/project/zjsgfa/domain/SjSzfxjg.java
+207
-0
src/main/java/com/ruoyi/project/zjsgfa/domain/SjZqfx.java
+292
-0
src/main/java/com/ruoyi/project/zjsgfa/domain/SjZtgjsj.java
+277
-0
src/main/java/com/ruoyi/project/zjsgfa/domain/SjZysx.java
+132
-0
src/main/java/com/ruoyi/project/zjsgfa/domain/Vo/DrillingFluidConstant.java
+22
-0
src/main/java/com/ruoyi/project/zjsgfa/mapper/SjGztzMapper.java
+67
-0
src/main/java/com/ruoyi/project/zjsgfa/mapper/SjH2sMapper.java
+66
-0
src/main/java/com/ruoyi/project/zjsgfa/mapper/SjLjjwMapper.java
+61
-0
src/main/java/com/ruoyi/project/zjsgfa/mapper/SjLjsmMapper.java
+66
-0
src/main/java/com/ruoyi/project/zjsgfa/mapper/SjQkztfxMapper.java
+61
-0
src/main/java/com/ruoyi/project/zjsgfa/mapper/SjSzfxjgMapper.java
+61
-0
src/main/java/com/ruoyi/project/zjsgfa/mapper/SjZqfxMapper.java
+61
-0
src/main/java/com/ruoyi/project/zjsgfa/mapper/SjZtgjsjMapper.java
+61
-0
src/main/java/com/ruoyi/project/zjsgfa/mapper/SjZysxMapper.java
+64
-0
src/main/java/com/ruoyi/project/zjsgfa/service/ISjGztzService.java
+61
-0
src/main/java/com/ruoyi/project/zjsgfa/service/ISjH2sService.java
+61
-0
src/main/java/com/ruoyi/project/zjsgfa/service/ISjLjjwService.java
+61
-0
src/main/java/com/ruoyi/project/zjsgfa/service/ISjLjsmService.java
+61
-0
src/main/java/com/ruoyi/project/zjsgfa/service/ISjQkztfxService.java
+61
-0
src/main/java/com/ruoyi/project/zjsgfa/service/ISjSzfxjgService.java
+61
-0
src/main/java/com/ruoyi/project/zjsgfa/service/ISjZqfxService.java
+61
-0
src/main/java/com/ruoyi/project/zjsgfa/service/ISjZtgjsjService.java
+61
-0
src/main/java/com/ruoyi/project/zjsgfa/service/ISjZysxService.java
+61
-0
src/main/java/com/ruoyi/project/zjsgfa/service/impl/SjGztzServiceImpl.java
+95
-0
src/main/java/com/ruoyi/project/zjsgfa/service/impl/SjH2sServiceImpl.java
+95
-0
src/main/java/com/ruoyi/project/zjsgfa/service/impl/SjLjjwServiceImpl.java
+93
-0
src/main/java/com/ruoyi/project/zjsgfa/service/impl/SjLjsmServiceImpl.java
+95
-0
src/main/java/com/ruoyi/project/zjsgfa/service/impl/SjQkztfxServiceImpl.java
+93
-0
src/main/java/com/ruoyi/project/zjsgfa/service/impl/SjSzfxjgServiceImpl.java
+95
-0
src/main/java/com/ruoyi/project/zjsgfa/service/impl/SjZqfxServiceImpl.java
+93
-0
src/main/java/com/ruoyi/project/zjsgfa/service/impl/SjZtgjsjServiceImpl.java
+93
-0
src/main/java/com/ruoyi/project/zjsgfa/service/impl/SjZysxServiceImpl.java
+95
-0
src/main/resources/mybatis/zjsgfa/SjGztzMapper.xml
+106
-0
src/main/resources/mybatis/zjsgfa/SjH2sMapper.xml
+161
-0
src/main/resources/mybatis/zjsgfa/SjLjjwMapper.xml
+147
-0
src/main/resources/mybatis/zjsgfa/SjLjsmMapper.xml
+148
-0
src/main/resources/mybatis/zjsgfa/SjQkztfxMapper.xml
+132
-0
src/main/resources/mybatis/zjsgfa/SjSzfxjgMapper.xml
+115
-0
src/main/resources/mybatis/zjsgfa/SjZqfxMapper.xml
+137
-0
src/main/resources/mybatis/zjsgfa/SjZtgjsjMapper.xml
+132
-0
src/main/resources/mybatis/zjsgfa/SjZysxMapper.xml
+93
-0
src/main/resources/static/excel/sjdrmb.xlsx
+0
-0
No files found.
pom.xml
View file @
f03ceafc
...
...
@@ -32,7 +32,7 @@
<jwt.version>
0.9.1
</jwt.version>
<kaptcha.version>
2.3.3
</kaptcha.version>
<swagger.version>
3.0.0
</swagger.version>
<poi.version>
4.1.2
</poi.version>
<poi.version>
5.2.5
</poi.version>
<oshi.version>
6.8.2
</oshi.version>
<velocity.version>
2.3
</velocity.version>
<!-- override dependency version -->
...
...
@@ -199,7 +199,17 @@
<dependency>
<groupId>
org.apache.poi
</groupId>
<artifactId>
poi-ooxml
</artifactId>
<version>
${poi.version}
</version>
<version>
5.2.5
</version>
</dependency>
<dependency>
<groupId>
org.apache.poi
</groupId>
<artifactId>
poi
</artifactId>
<version>
5.2.3
</version>
</dependency>
<dependency>
<groupId>
org.apache.poi
</groupId>
<artifactId>
poi-ooxml-schemas
</artifactId>
<version>
4.1.2
</version>
</dependency>
<!-- velocity代码生成使用模板 -->
...
...
src/main/java/com/ruoyi/project/zjsgfa/controller/SjDjjcController.java
View file @
f03ceafc
package
com
.
ruoyi
.
project
.
zjsgfa
.
controller
;
import
java.io.IOException
;
import
java.io.InputStream
;
import
java.io.OutputStream
;
import
java.io.*
;
import
java.math.BigDecimal
;
import
java.net.URLEncoder
;
import
java.util.ArrayList
;
import
java.util.Base64
;
import
java.util.List
;
import
java.util.UUID
;
import
javax.servlet.http.HttpServletResponse
;
import
com.ruoyi.common.utils.StringUtils
;
import
com.ruoyi.framework.config.RuoYiConfig
;
import
com.ruoyi.project.zjsgfa.domain.*
;
import
com.ruoyi.project.zjsgfa.domain.Vo.DrillingFluidConstant
;
import
com.ruoyi.project.zjsgfa.mapper.*
;
import
org.apache.poi.ss.usermodel.*
;
import
org.apache.poi.xssf.usermodel.XSSFRow
;
import
org.apache.poi.xssf.usermodel.XSSFSheet
;
import
org.apache.poi.xssf.usermodel.XSSFWorkbook
;
import
org.apache.poi.xssf.usermodel.*
;
import
org.springframework.http.MediaType
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -84,6 +85,16 @@ public class SjDjjcController extends BaseController
private
SjZlyqZbyqMapper
sjZlyqZbyqMapper
;
@Autowired
private
SjZlyqXxMapper
sjZlyqXxMapper
;
@Autowired
private
SjLjsmMapper
sjLjsmMapper
;
@Autowired
private
SjZysxMapper
sjZysxMapper
;
@Autowired
private
SjH2sMapper
sjH2sMapper
;
@Autowired
private
SjGztzMapper
sjGztzMapper
;
...
...
@@ -254,57 +265,61 @@ public class SjDjjcController extends BaseController
// return AjaxResult.error("井基础信息中第"+(i+1)+"行井号不能为空");
// }
info
.
setJh
(
jh
);
String
jb
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
1
));
String
qk
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
1
));
if
(
StringUtils
.
isEmpty
(
qk
)){
return
AjaxResult
.
error
(
"井基础信息中第"
+(
i
+
1
)+
"行区块不能为空"
);
}
info
.
setQk
(
qk
);
String
jb
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
2
));
if
(
StringUtils
.
isEmpty
(
jb
)){
return
AjaxResult
.
error
(
"井基础信息中第"
+(
i
+
1
)+
"行井别不能为空"
);
}
info
.
setJb
(
jb
);
String
jx
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
2
));
String
jx
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
3
));
if
(
StringUtils
.
isEmpty
(
jx
)){
return
AjaxResult
.
error
(
"井基础信息中第"
+(
i
+
1
)+
"行井型不能为空"
);
}
info
.
setJx
(
jx
);
String
jkhzb
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
3
));
String
jkhzb
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
4
));
if
(
StringUtils
.
isEmpty
(
jkhzb
)){
return
AjaxResult
.
error
(
"井基础信息中第"
+(
i
+
1
)+
"行井口横坐标不能为空"
);
}
info
.
setJkhzb
(
Double
.
parseDouble
(
jkhzb
));
String
jkzzb
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
4
));
String
jkzzb
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
5
));
if
(
StringUtils
.
isEmpty
(
jkzzb
)){
return
AjaxResult
.
error
(
"井基础信息中第"
+(
i
+
1
)+
"行井口纵坐标不能为空"
);
}
info
.
setJkzzb
(
Double
.
parseDouble
(
jkzzb
));
String
jdhzb
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
5
));
String
jdhzb
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
6
));
if
(
StringUtils
.
isEmpty
(
jdhzb
)){
return
AjaxResult
.
error
(
"井基础信息中第"
+(
i
+
1
)+
"行井底横坐标不能为空"
);
}
info
.
setJdhzb
(
Double
.
parseDouble
(
jdhzb
));
String
jdzzb
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
6
));
String
jdzzb
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
7
));
if
(
StringUtils
.
isEmpty
(
jdzzb
)){
return
AjaxResult
.
error
(
"井基础信息中第"
+(
i
+
1
)+
"行井底纵坐标不能为空"
);
}
info
.
setJdzzb
(
Double
.
parseDouble
(
jdzzb
));
String
gzwz
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
7
));
String
gzwz
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
8
));
info
.
setGzwz
(
gzwz
);
String
wzcw
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
8
));
String
wzcw
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
9
));
info
.
setWzcw
(
wzcw
);
String
ztmd
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
9
));
String
ztmd
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
10
));
info
.
setZtmd
(
ztmd
);
String
wzyz
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
1
0
));
String
wzyz
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
1
1
));
info
.
setWzyz
(
wzyz
);
String
wjff
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
1
1
));
String
wjff
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
1
2
));
info
.
setWjfa
(
wjff
);
String
zjgs
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
1
2
));
String
zjgs
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
1
3
));
info
.
setZjgs
(
zjgs
);
String
zjd
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
1
3
));
String
zjd
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
1
4
));
info
.
setZjd
(
zjd
);
sjDjjcService
.
updateSjDjjc
(
info
);
}
...
...
@@ -756,59 +771,91 @@ public class SjDjjcController extends BaseController
//钻井液 加量 end ---------------------------------------------------
//钻井液 分段钻井液性能设计表 ---------------------------------------------------
List
<
SjZjyFdxnb
>
sjZjyFdxnbList
=
new
ArrayList
<>();
for
(
int
i
=
2
;
i
<=
lastRowNum
;
i
++){
row
=
sheet
.
getRow
(
i
);
if
(
row
==
null
){
continue
;
List
<
SjZjyFdxnb
>
sjZjyFdxnbList
=
new
ArrayList
<>();
DataFormatter
dataFormatter
=
new
DataFormatter
();
lastRowNum
=
sheet
.
getLastRowNum
();
// 第一步:解析表头,确定动态井段(从第 12 列开始,第 0 列是项目列,从第 1 列往后是井段列)
Row
headerRow
=
sheet
.
getRow
(
1
);
// 假设表头在第 0 行(根据实际 Excel 结构调整)
List
<
String
>
wellSegments
=
new
ArrayList
<>();
if
(
headerRow
!=
null
)
{
int
lastCellNum
=
headerRow
.
getLastCellNum
();
for
(
int
k
=
13
;
k
<
lastCellNum
;
k
++)
{
// 第 0 列是“项目”,从第 1 列开始是井段
Cell
cell
=
headerRow
.
getCell
(
k
);
if
(
cell
!=
null
)
{
String
segment
=
dataFormatter
.
formatCellValue
(
cell
);
wellSegments
.
add
(
segment
);
}
}
SjZjyFdxnb
fdxnb
=
new
SjZjyFdxnb
();
}
for
(
int
k
=
0
;
k
<
wellSegments
.
size
();
k
++){
String
segment
=
wellSegments
.
get
(
k
);
SjZjyFdxnb
fdxnb
=
new
SjZjyFdxnb
();
fdxnb
.
setJh
(
jh
);
int
ks
=
12
;
String
jd
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
ks
));
if
(
StringUtils
.
isEmpty
(
jd
)){
continue
;
fdxnb
.
setJd
(
segment
);
// 设置井段
for
(
int
i
=
0
;
i
<=
lastRowNum
;
i
++){
//获取数据行
Row
xmRow
=
sheet
.
getRow
(
i
+
2
);
if
(
xmRow
==
null
){
continue
;
}
//项目名称
String
xm
=
dataFormatter
.
formatCellValue
(
xmRow
.
getCell
(
12
));
if
(
StringUtils
.
isEmpty
(
xm
)){
continue
;
}
String
value
=
dataFormatter
.
formatCellValue
(
xmRow
.
getCell
(
k
+
13
));
String
fieldName
=
DrillingFluidConstant
.
ITEM_FIELD_MAP
.
get
(
xm
);
if
(
StringUtils
.
isEmpty
(
fieldName
)){
continue
;
}
switch
(
fieldName
)
{
case
"md"
:
fdxnb
.
setMd
(
value
);
break
;
case
"msldnd"
:
fdxnb
.
setMsldnd
(
value
);
break
;
case
"apilsl"
:
fdxnb
.
setApilsl
(
value
);
break
;
case
"apinb"
:
fdxnb
.
setApinb
(
value
);
break
;
case
"jql"
:
fdxnb
.
setJql
(
value
);
break
;
case
"ph"
:
fdxnb
.
setPh
(
value
);
break
;
case
"hsl"
:
fdxnb
.
setHsl
(
value
);
break
;
case
"zgh"
:
fdxnb
.
setZgh
(
value
);
break
;
case
"mzxs"
:
fdxnb
.
setMzxs
(
value
);
break
;
case
"dql"
:
fdxnb
.
setDql
(
value
);
break
;
case
"sxnd"
:
fdxnb
.
setSxnd
(
value
);
break
;
// 其他字段的 case 继续补充
default
:
break
;
}
}
fdxnb
.
setJd
(
jd
);
String
md
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
ks
+
1
));
fdxnb
.
setMd
(
md
);
String
msldnd
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
ks
+
2
));
fdxnb
.
setMsldnd
(
msldnd
);
String
apilsl
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
ks
+
3
));
fdxnb
.
setApilsl
(
apilsl
);
String
apinb
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
ks
+
4
));
fdxnb
.
setApinb
(
apinb
);
String
jql
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
ks
+
5
));
fdxnb
.
setJql
(
jql
);
String
ph
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
ks
+
6
));
fdxnb
.
setPh
(
ph
);
String
hsl
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
ks
+
7
));
fdxnb
.
setHsl
(
hsl
);
String
zgh
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
ks
+
8
));
fdxnb
.
setZgh
(
zgh
);
String
mzxs
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
ks
+
9
));
fdxnb
.
setMzxs
(
mzxs
);
String
dql
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
ks
+
10
));
fdxnb
.
setDql
(
dql
);
String
sxnd
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
ks
+
11
));
fdxnb
.
setSxnd
(
sxnd
);
sjZjyFdxnbList
.
add
(
fdxnb
);
}
if
(
sjZjyFdxnbList
.
size
()>
0
){
// 第三步:执行删除旧数据和插入新数据逻辑
if
(!
sjZjyFdxnbList
.
isEmpty
())
{
sjZjyFdxnbMapper
.
deleteSjZjyFdxnbByJh
(
jh
);
sjZjyFdxnbMapper
.
insertSjZjyFdxnbBatch
(
sjZjyFdxnbList
);
}
//钻井液 分段钻井液性能设计表 end---------------------------------------------------
...
...
@@ -822,6 +869,7 @@ public class SjDjjcController extends BaseController
if
(
row
==
null
){
continue
;
}
SjTgTgz
tgTgz
=
new
SjTgTgz
();
tgTgz
.
setJh
(
jh
);
String
kc
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
0
));
...
...
@@ -1125,6 +1173,268 @@ public class SjDjjcController extends BaseController
}
//质量要求 质量要求end---------------------------------------------------
//构造特征 ---------------------------------------------------
sheet
=
workbook
.
getSheetAt
(
7
);
List
<
SjGztz
>
sjGztzList
=
new
ArrayList
<>();
List
<
XSSFPictureData
>
allPictures
=
sheet
.
getWorkbook
().
getAllPictures
();
// Drawing<?> drawing = sheet.getPoc();
// Drawing<?> drawing = sheet.getDrawingPatriarch();
//
// XSSFDrawing drawing2 = sheet.createDrawingPatriarch();
//
// for (Shape shape : drawing) {
// if (shape instanceof Picture) {
// Picture picture = (Picture) shape;
// XSSFClientAnchor anchor = (XSSFClientAnchor)picture.getClientAnchor();
// PictureData pictureData = picture.getPictureData();
// String ext = pictureData.suggestFileExtension();
// String filePath = RuoYiConfig.getUploadPath()+"/gztz/";
// //判断是否为井位图
// if(isPictureInRow(anchor, 0, 40)){
// SjGztz sjGztz=new SjGztz();
// sjGztz.setJh(jh);
// sjGztz.setGzlx("井位图");
// String fileName = UUID.randomUUID().toString();
// String lj = filePath + fileName + "." + ext;
// sjGztz.setLj(lj);
// FileOutputStream fos = new FileOutputStream(new File(filePath+fileName+"." + ext));
// fos.write(pictureData.getData());
// fos.close();
// sjGztzList.add(sjGztz);
// }else if(isPictureInRow(anchor, 41, 81)){
// SjGztz sjGztz=new SjGztz();
// sjGztz.setJh(jh);
// sjGztz.setGzlx("地震刨面图");
// String fileName = UUID.randomUUID().toString();
// String lj = filePath + fileName + "." + ext;
// sjGztz.setLj(lj);
// FileOutputStream fos = new FileOutputStream(new File(filePath+fileName+"." + ext));
// fos.write(pictureData.getData());
// fos.close();
// sjGztzList.add(sjGztz);
// }
//
//
// }
// }
// List<XSSFPicture> pictures = getPictures(sheet);
//
// // 遍历图片并处理
// for (XSSFPicture picture : pictures) {
// // 获取锚点信息(位置)
// XSSFClientAnchor anchor = picture.getClientAnchor();
// XSSFPictureData pictureData = picture.getPictureData();
// String ext = pictureData.suggestFileExtension();
// String filePath = RuoYiConfig.getUploadPath()+"/gztz/";
// //判断是否为井位图
// if(isPictureInRow(anchor, 0, 40)){
// SjGztz sjGztz=new SjGztz();
// sjGztz.setJh(jh);
// sjGztz.setGzlx("井位图");
// String fileName = UUID.randomUUID().toString();
// String lj = filePath + fileName + "." + ext;
// sjGztz.setLj(lj);
// FileOutputStream fos = new FileOutputStream(new File(filePath+fileName+"." + ext));
// fos.write(pictureData.getData());
// fos.close();
// sjGztzList.add(sjGztz);
// }else if(isPictureInRow(anchor, 41, 81)){
// SjGztz sjGztz=new SjGztz();
// sjGztz.setJh(jh);
// sjGztz.setGzlx("地震刨面图");
// String fileName = UUID.randomUUID().toString();
// String lj = filePath + fileName + "." + ext;
// sjGztz.setLj(lj);
// FileOutputStream fos = new FileOutputStream(new File(filePath+fileName+"." + ext));
// fos.write(pictureData.getData());
// fos.close();
// sjGztzList.add(sjGztz);
// }
// }
if
(
sjGztzList
.
size
()>
0
){
sjGztzMapper
.
deleteSjGztzByJh
(
jh
);
sjGztzMapper
.
insertSjGztzBatch
(
sjGztzList
);
}
//构造特征end---------------------------------------------------
//邻井扫描 table---------------------------------------------------
sheet
=
workbook
.
getSheetAt
(
8
);
lastRowNum
=
sheet
.
getLastRowNum
();
List
<
SjLjsm
>
sjLjsmList
=
new
ArrayList
<>();
for
(
int
i
=
3
;
i
<=
lastRowNum
;
i
++){
row
=
sheet
.
getRow
(
i
);
if
(
row
==
null
){
continue
;
}
SjLjsm
sjLjsm
=
new
SjLjsm
();
sjLjsm
.
setJh
(
jh
);
String
js
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
1
));
if
(
StringUtils
.
isEmpty
(
js
)){
continue
;
}
sjLjsm
.
setJs
(
Double
.
parseDouble
(
js
));
String
cssj
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
2
));
if
(
StringUtils
.
isEmpty
(
cssj
)){
sjLjsm
.
setCs
(
0.0
);
}
else
{
sjLjsm
.
setCs
(
Double
.
parseDouble
(
cssj
));
}
String
bjjh
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
3
));
sjLjsm
.
setBjjh
(
bjjh
);
String
bjsjly
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
4
));
sjLjsm
.
setBjsjly
(
bjsjly
);
String
bjjs
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
5
));
if
(
StringUtils
.
isNotEmpty
(
bjjs
)){
sjLjsm
.
setBjjs
(
Double
.
parseDouble
(
bjjs
));
}
String
bjcs
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
6
));
if
(
StringUtils
.
isNotEmpty
(
bjcs
)){
sjLjsm
.
setBjcs
(
Double
.
parseDouble
(
bjcs
));
}
String
bjzjjl
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
7
));
if
(
StringUtils
.
isNotEmpty
(
bjzjjl
)){
sjLjsm
.
setBjzjjl
(
Double
.
parseDouble
(
bjzjjl
));
}
String
bjsmj
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
8
));
if
(
StringUtils
.
isNotEmpty
(
bjsmj
)){
sjLjsm
.
setBjsmj
(
Double
.
parseDouble
(
bjsmj
));
}
String
bjyj
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
9
));
if
(
StringUtils
.
isNotEmpty
(
bjyj
)){
sjLjsm
.
setBjyj
(
Double
.
parseDouble
(
bjyj
));
}
sjLjsmList
.
add
(
sjLjsm
);
}
if
(
sjLjsmList
.
size
()>
0
){
sjLjsmMapper
.
deleteSjLjsmByJh
(
jh
);
sjLjsmMapper
.
insertSjLjsmBatch
(
sjLjsmList
);
}
//邻井扫描 end---------------------------------------------------
//邻井扫描 注意事项---------------------------------------------------
sjZysxMapper
.
deleteSjZysxByJh
(
jh
);
String
zysx
=
new
DataFormatter
().
formatCellValue
(
sheet
.
getRow
(
1
).
getCell
(
11
));
if
(
StringUtils
.
isNotEmpty
(
zysx
)){
SjZysx
sjZysx
=
new
SjZysx
();
sjZysx
.
setJh
(
jh
);
sjZysx
.
setLb
(
"邻井扫描"
);
sjZysx
.
setZysx
(
zysx
);
sjZysxMapper
.
insertSjZysx
(
sjZysx
);
}
//邻井扫描 注意事项end---------------------------------------------------
//H2S table---------------------------------------------------
sheet
=
workbook
.
getSheetAt
(
9
);
lastRowNum
=
sheet
.
getLastRowNum
();
List
<
SjH2s
>
sjH2sList
=
new
ArrayList
<>();
for
(
int
i
=
3
;
i
<=
lastRowNum
;
i
++){
row
=
sheet
.
getRow
(
i
);
if
(
row
==
null
){
continue
;
}
SjH2s
sjH2s
=
new
SjH2s
();
String
jh1
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
0
));
if
(
StringUtils
.
isEmpty
(
jh1
)){
continue
;
}
sjH2s
.
setJh
(
jh
);
String
js
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
1
));
if
(
StringUtils
.
isNotEmpty
(
js
)){
sjH2s
.
setJs
(
Double
.
parseDouble
(
js
));
}
String
gczt
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
2
));
sjH2s
.
setGczt
(
gczt
);
String
cw
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
3
));
sjH2s
.
setCw
(
cw
);
String
xsbd
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
4
));
if
(
StringUtils
.
isNotEmpty
(
xsbd
)){
sjH2s
.
setXsbd
(
Double
.
parseDouble
(
xsbd
));
}
String
xsgc
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
5
));
sjH2s
.
setXsgc
(
xsgc
);
String
jcsj
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
6
));
sjH2s
.
setJcsj
(
jcsj
);
String
jcfs
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
7
));
sjH2s
.
setJcfs
(
jcfs
);
String
wyjkfw
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
8
));
if
(
StringUtils
.
isNotEmpty
(
wyjkfw
)){
sjH2s
.
setWyjkfw
(
Double
.
parseDouble
(
wyjkfw
));
}
String
wyjkjl
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
9
));
if
(
StringUtils
.
isNotEmpty
(
wyjkjl
)){
sjH2s
.
setWyjkjl
(
Double
.
parseDouble
(
wyjkjl
));
}
String
wybdfw
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
10
));
if
(
StringUtils
.
isNotEmpty
(
wybdfw
)){
sjH2s
.
setWybdfw
(
Double
.
parseDouble
(
wybdfw
));
}
String
wybdjl
=
new
DataFormatter
().
formatCellValue
(
row
.
getCell
(
11
));
if
(
StringUtils
.
isNotEmpty
(
wybdjl
)){
sjH2s
.
setWybdjl
(
Double
.
parseDouble
(
wybdjl
));
}
sjH2sList
.
add
(
sjH2s
);
}
if
(
sjH2sList
.
size
()>
0
){
sjH2sMapper
.
deleteSjH2sByJh
(
jh
);
sjH2sMapper
.
insertSjH2sBatch
(
sjH2sList
);
}
//
//H2S end---------------------------------------------------
//H2S 注意事项---------------------------------------------------
String
zysx1
=
new
DataFormatter
().
formatCellValue
(
sheet
.
getRow
(
1
).
getCell
(
13
));
if
(
StringUtils
.
isNotEmpty
(
zysx1
)){
SjZysx
sjZysx
=
new
SjZysx
();
sjZysx
.
setJh
(
jh
);
sjZysx
.
setLb
(
"H2S"
);
sjZysx
.
setZysx
(
zysx1
);
// sjZysxMapper.deleteSjZysxByJh(jh);
sjZysxMapper
.
insertSjZysx
(
sjZysx
);
}
//H2S 注意事项end---------------------------------------------------
//喷漏卡塌 ---------------------------------------------------
sheet
=
workbook
.
getSheetAt
(
10
);
String
zysx2
=
new
DataFormatter
().
formatCellValue
(
sheet
.
getRow
(
1
).
getCell
(
0
));
if
(
StringUtils
.
isNotEmpty
(
zysx2
)){
SjZysx
sjZysx
=
new
SjZysx
();
sjZysx
.
setJh
(
jh
);
sjZysx
.
setLb
(
"喷漏卡塌"
);
sjZysx
.
setZysx
(
zysx2
);
// sjZysxMapper.deleteSjZysxByJh(jh);
sjZysxMapper
.
insertSjZysx
(
sjZysx
);
}
//喷漏卡塌 end---------------------------------------------------
//浅层气---------------------------------------------------
sheet
=
workbook
.
getSheetAt
(
11
);
String
zysx3
=
new
DataFormatter
().
formatCellValue
(
sheet
.
getRow
(
1
).
getCell
(
0
));
if
(
StringUtils
.
isNotEmpty
(
zysx3
)){
SjZysx
sjZysx
=
new
SjZysx
();
sjZysx
.
setJh
(
jh
);
sjZysx
.
setLb
(
"浅层气"
);
sjZysx
.
setZysx
(
zysx3
);
// sjZysxMapper.deleteSjZysxByJh(jh);
sjZysxMapper
.
insertSjZysx
(
sjZysx
);
}
//浅层气end---------------------------------------------------
}
catch
(
IOException
e
)
{
e
.
getMessage
();
...
...
@@ -1159,6 +1469,44 @@ public class SjDjjcController extends BaseController
/**
* 判断图片是否在指定行范围内
* @param anchor 图片锚点
* @return 如果图片在目标行范围内则返回true
*/
private
static
boolean
isPictureInRow
(
XSSFClientAnchor
anchor
,
int
startRowNum
,
int
endRowNum
)
{
// 获取图片覆盖的行范围
int
row1
=
anchor
.
getRow1
();
// 起始行
int
row2
=
anchor
.
getRow2
();
// 结束行
// 检查目标行是否在图片覆盖的行范围内
return
startRowNum
>=
row1
&&
endRowNum
<=
row2
;
}
/**
* 从XSSFSheet中获取所有图片
* 兼容所有POI版本的标准写法
*/
public
static
List
<
XSSFPicture
>
getPictures
(
XSSFSheet
sheet
)
{
List
<
XSSFPicture
>
pictures
=
new
ArrayList
<>();
// 获取工作表中的绘图对象
XSSFDrawing
drawing
=
sheet
.
getDrawingPatriarch
();
if
(
drawing
==
null
)
{
return
pictures
;
// 没有任何绘图对象
}
// 遍历所有形状,筛选出图片
List
<
XSSFShape
>
shapes
=
drawing
.
getShapes
();
for
(
XSSFShape
shape
:
shapes
)
{
if
(
shape
instanceof
XSSFPicture
)
{
pictures
.
add
((
XSSFPicture
)
shape
);
}
}
return
pictures
;
}
...
...
src/main/java/com/ruoyi/project/zjsgfa/controller/SjGztzController.java
0 → 100644
View file @
f03ceafc
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.SjGztz
;
import
com.ruoyi.project.zjsgfa.service.ISjGztzService
;
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-22
*/
@RestController
@RequestMapping
(
"/system/sjGztz"
)
public
class
SjGztzController
extends
BaseController
{
@Autowired
private
ISjGztzService
sjGztzService
;
/**
* 查询设计信息-构造特征列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjGztz:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
SjGztz
sjGztz
)
{
startPage
();
List
<
SjGztz
>
list
=
sjGztzService
.
selectSjGztzList
(
sjGztz
);
return
getDataTable
(
list
);
}
/**
* 导出设计信息-构造特征列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjGztz:export')"
)
@Log
(
title
=
"设计信息-构造特征"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
SjGztz
sjGztz
)
{
List
<
SjGztz
>
list
=
sjGztzService
.
selectSjGztzList
(
sjGztz
);
ExcelUtil
<
SjGztz
>
util
=
new
ExcelUtil
<
SjGztz
>(
SjGztz
.
class
);
util
.
exportExcel
(
response
,
list
,
"设计信息-构造特征数据"
);
}
/**
* 获取设计信息-构造特征详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjGztz:query')"
)
@GetMapping
(
value
=
"/{id}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
{
return
success
(
sjGztzService
.
selectSjGztzById
(
id
));
}
/**
* 新增设计信息-构造特征
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjGztz:add')"
)
@Log
(
title
=
"设计信息-构造特征"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
SjGztz
sjGztz
)
{
return
toAjax
(
sjGztzService
.
insertSjGztz
(
sjGztz
));
}
/**
* 修改设计信息-构造特征
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjGztz:edit')"
)
@Log
(
title
=
"设计信息-构造特征"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
SjGztz
sjGztz
)
{
return
toAjax
(
sjGztzService
.
updateSjGztz
(
sjGztz
));
}
/**
* 删除设计信息-构造特征
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjGztz:remove')"
)
@Log
(
title
=
"设计信息-构造特征"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
{
return
toAjax
(
sjGztzService
.
deleteSjGztzByIds
(
ids
));
}
}
src/main/java/com/ruoyi/project/zjsgfa/controller/SjH2sController.java
0 → 100644
View file @
f03ceafc
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.SjH2s
;
import
com.ruoyi.project.zjsgfa.service.ISjH2sService
;
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
;
/**
* 设计信息-H2SController
*
* @author ruoyi
* @date 2025-07-22
*/
@RestController
@RequestMapping
(
"/system/sjH2s"
)
public
class
SjH2sController
extends
BaseController
{
@Autowired
private
ISjH2sService
sjH2sService
;
/**
* 查询设计信息-H2S列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjH2s:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
SjH2s
sjH2s
)
{
startPage
();
List
<
SjH2s
>
list
=
sjH2sService
.
selectSjH2sList
(
sjH2s
);
return
getDataTable
(
list
);
}
/**
* 导出设计信息-H2S列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjH2s:export')"
)
@Log
(
title
=
"设计信息-H2S"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
SjH2s
sjH2s
)
{
List
<
SjH2s
>
list
=
sjH2sService
.
selectSjH2sList
(
sjH2s
);
ExcelUtil
<
SjH2s
>
util
=
new
ExcelUtil
<
SjH2s
>(
SjH2s
.
class
);
util
.
exportExcel
(
response
,
list
,
"设计信息-H2S数据"
);
}
/**
* 获取设计信息-H2S详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjH2s:query')"
)
@GetMapping
(
value
=
"/{id}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
{
return
success
(
sjH2sService
.
selectSjH2sById
(
id
));
}
/**
* 新增设计信息-H2S
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjH2s:add')"
)
@Log
(
title
=
"设计信息-H2S"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
SjH2s
sjH2s
)
{
return
toAjax
(
sjH2sService
.
insertSjH2s
(
sjH2s
));
}
/**
* 修改设计信息-H2S
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjH2s:edit')"
)
@Log
(
title
=
"设计信息-H2S"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
SjH2s
sjH2s
)
{
return
toAjax
(
sjH2sService
.
updateSjH2s
(
sjH2s
));
}
/**
* 删除设计信息-H2S
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjH2s:remove')"
)
@Log
(
title
=
"设计信息-H2S"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
{
return
toAjax
(
sjH2sService
.
deleteSjH2sByIds
(
ids
));
}
}
src/main/java/com/ruoyi/project/zjsgfa/controller/SjLjjwController.java
0 → 100644
View file @
f03ceafc
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.SjLjjw
;
import
com.ruoyi.project.zjsgfa.service.ISjLjjwService
;
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-22
*/
@RestController
@RequestMapping
(
"/system/sjLjjw"
)
public
class
SjLjjwController
extends
BaseController
{
@Autowired
private
ISjLjjwService
sjLjjwService
;
/**
* 查询设计-邻井井位列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjLjjw:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
SjLjjw
sjLjjw
)
{
startPage
();
List
<
SjLjjw
>
list
=
sjLjjwService
.
selectSjLjjwList
(
sjLjjw
);
return
getDataTable
(
list
);
}
/**
* 导出设计-邻井井位列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjLjjw:export')"
)
@Log
(
title
=
"设计-邻井井位"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
SjLjjw
sjLjjw
)
{
List
<
SjLjjw
>
list
=
sjLjjwService
.
selectSjLjjwList
(
sjLjjw
);
ExcelUtil
<
SjLjjw
>
util
=
new
ExcelUtil
<
SjLjjw
>(
SjLjjw
.
class
);
util
.
exportExcel
(
response
,
list
,
"设计-邻井井位数据"
);
}
/**
* 获取设计-邻井井位详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjLjjw:query')"
)
@GetMapping
(
value
=
"/{id}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
{
return
success
(
sjLjjwService
.
selectSjLjjwById
(
id
));
}
/**
* 新增设计-邻井井位
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjLjjw:add')"
)
@Log
(
title
=
"设计-邻井井位"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
SjLjjw
sjLjjw
)
{
return
toAjax
(
sjLjjwService
.
insertSjLjjw
(
sjLjjw
));
}
/**
* 修改设计-邻井井位
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjLjjw:edit')"
)
@Log
(
title
=
"设计-邻井井位"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
SjLjjw
sjLjjw
)
{
return
toAjax
(
sjLjjwService
.
updateSjLjjw
(
sjLjjw
));
}
/**
* 删除设计-邻井井位
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjLjjw:remove')"
)
@Log
(
title
=
"设计-邻井井位"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
{
return
toAjax
(
sjLjjwService
.
deleteSjLjjwByIds
(
ids
));
}
}
src/main/java/com/ruoyi/project/zjsgfa/controller/SjLjsmController.java
0 → 100644
View file @
f03ceafc
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.SjLjsm
;
import
com.ruoyi.project.zjsgfa.service.ISjLjsmService
;
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-22
*/
@RestController
@RequestMapping
(
"/system/sjLjsm"
)
public
class
SjLjsmController
extends
BaseController
{
@Autowired
private
ISjLjsmService
sjLjsmService
;
/**
* 查询设计信息-邻井扫描列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjLjsm:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
SjLjsm
sjLjsm
)
{
startPage
();
List
<
SjLjsm
>
list
=
sjLjsmService
.
selectSjLjsmList
(
sjLjsm
);
return
getDataTable
(
list
);
}
/**
* 导出设计信息-邻井扫描列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjLjsm:export')"
)
@Log
(
title
=
"设计信息-邻井扫描"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
SjLjsm
sjLjsm
)
{
List
<
SjLjsm
>
list
=
sjLjsmService
.
selectSjLjsmList
(
sjLjsm
);
ExcelUtil
<
SjLjsm
>
util
=
new
ExcelUtil
<
SjLjsm
>(
SjLjsm
.
class
);
util
.
exportExcel
(
response
,
list
,
"设计信息-邻井扫描数据"
);
}
/**
* 获取设计信息-邻井扫描详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjLjsm:query')"
)
@GetMapping
(
value
=
"/{id}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
{
return
success
(
sjLjsmService
.
selectSjLjsmById
(
id
));
}
/**
* 新增设计信息-邻井扫描
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjLjsm:add')"
)
@Log
(
title
=
"设计信息-邻井扫描"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
SjLjsm
sjLjsm
)
{
return
toAjax
(
sjLjsmService
.
insertSjLjsm
(
sjLjsm
));
}
/**
* 修改设计信息-邻井扫描
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjLjsm:edit')"
)
@Log
(
title
=
"设计信息-邻井扫描"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
SjLjsm
sjLjsm
)
{
return
toAjax
(
sjLjsmService
.
updateSjLjsm
(
sjLjsm
));
}
/**
* 删除设计信息-邻井扫描
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjLjsm:remove')"
)
@Log
(
title
=
"设计信息-邻井扫描"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
{
return
toAjax
(
sjLjsmService
.
deleteSjLjsmByIds
(
ids
));
}
}
src/main/java/com/ruoyi/project/zjsgfa/controller/SjQkztfxController.java
0 → 100644
View file @
f03ceafc
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.SjQkztfx
;
import
com.ruoyi.project.zjsgfa.service.ISjQkztfxService
;
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-22
*/
@RestController
@RequestMapping
(
"/system/sjQkztfx"
)
public
class
SjQkztfxController
extends
BaseController
{
@Autowired
private
ISjQkztfxService
sjQkztfxService
;
/**
* 查询设计-区块钻头分析列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjQkztfx:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
SjQkztfx
sjQkztfx
)
{
startPage
();
List
<
SjQkztfx
>
list
=
sjQkztfxService
.
selectSjQkztfxList
(
sjQkztfx
);
return
getDataTable
(
list
);
}
/**
* 导出设计-区块钻头分析列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjQkztfx:export')"
)
@Log
(
title
=
"设计-区块钻头分析"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
SjQkztfx
sjQkztfx
)
{
List
<
SjQkztfx
>
list
=
sjQkztfxService
.
selectSjQkztfxList
(
sjQkztfx
);
ExcelUtil
<
SjQkztfx
>
util
=
new
ExcelUtil
<
SjQkztfx
>(
SjQkztfx
.
class
);
util
.
exportExcel
(
response
,
list
,
"设计-区块钻头分析数据"
);
}
/**
* 获取设计-区块钻头分析详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjQkztfx:query')"
)
@GetMapping
(
value
=
"/{id}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
{
return
success
(
sjQkztfxService
.
selectSjQkztfxById
(
id
));
}
/**
* 新增设计-区块钻头分析
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjQkztfx:add')"
)
@Log
(
title
=
"设计-区块钻头分析"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
SjQkztfx
sjQkztfx
)
{
return
toAjax
(
sjQkztfxService
.
insertSjQkztfx
(
sjQkztfx
));
}
/**
* 修改设计-区块钻头分析
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjQkztfx:edit')"
)
@Log
(
title
=
"设计-区块钻头分析"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
SjQkztfx
sjQkztfx
)
{
return
toAjax
(
sjQkztfxService
.
updateSjQkztfx
(
sjQkztfx
));
}
/**
* 删除设计-区块钻头分析
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjQkztfx:remove')"
)
@Log
(
title
=
"设计-区块钻头分析"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
{
return
toAjax
(
sjQkztfxService
.
deleteSjQkztfxByIds
(
ids
));
}
}
src/main/java/com/ruoyi/project/zjsgfa/controller/SjSzfxjgController.java
0 → 100644
View file @
f03ceafc
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.SjSzfxjg
;
import
com.ruoyi.project.zjsgfa.service.ISjSzfxjgService
;
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-22
*/
@RestController
@RequestMapping
(
"/system/sjSzfxjg"
)
public
class
SjSzfxjgController
extends
BaseController
{
@Autowired
private
ISjSzfxjgService
sjSzfxjgService
;
/**
* 查询设计-实钻分析结果列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjSzfxjg:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
SjSzfxjg
sjSzfxjg
)
{
startPage
();
List
<
SjSzfxjg
>
list
=
sjSzfxjgService
.
selectSjSzfxjgList
(
sjSzfxjg
);
return
getDataTable
(
list
);
}
/**
* 导出设计-实钻分析结果列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjSzfxjg:export')"
)
@Log
(
title
=
"设计-实钻分析结果"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
SjSzfxjg
sjSzfxjg
)
{
List
<
SjSzfxjg
>
list
=
sjSzfxjgService
.
selectSjSzfxjgList
(
sjSzfxjg
);
ExcelUtil
<
SjSzfxjg
>
util
=
new
ExcelUtil
<
SjSzfxjg
>(
SjSzfxjg
.
class
);
util
.
exportExcel
(
response
,
list
,
"设计-实钻分析结果数据"
);
}
/**
* 获取设计-实钻分析结果详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjSzfxjg:query')"
)
@GetMapping
(
value
=
"/{id}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
{
return
success
(
sjSzfxjgService
.
selectSjSzfxjgById
(
id
));
}
/**
* 新增设计-实钻分析结果
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjSzfxjg:add')"
)
@Log
(
title
=
"设计-实钻分析结果"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
SjSzfxjg
sjSzfxjg
)
{
return
toAjax
(
sjSzfxjgService
.
insertSjSzfxjg
(
sjSzfxjg
));
}
/**
* 修改设计-实钻分析结果
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjSzfxjg:edit')"
)
@Log
(
title
=
"设计-实钻分析结果"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
SjSzfxjg
sjSzfxjg
)
{
return
toAjax
(
sjSzfxjgService
.
updateSjSzfxjg
(
sjSzfxjg
));
}
/**
* 删除设计-实钻分析结果
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjSzfxjg:remove')"
)
@Log
(
title
=
"设计-实钻分析结果"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
{
return
toAjax
(
sjSzfxjgService
.
deleteSjSzfxjgByIds
(
ids
));
}
}
src/main/java/com/ruoyi/project/zjsgfa/controller/SjZqfxController.java
0 → 100644
View file @
f03ceafc
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.SjZqfx
;
import
com.ruoyi.project.zjsgfa.service.ISjZqfxService
;
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-22
*/
@RestController
@RequestMapping
(
"/system/sjZqfx"
)
public
class
SjZqfxController
extends
BaseController
{
@Autowired
private
ISjZqfxService
sjZqfxService
;
/**
* 查询设计-周期分析列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjZqfx:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
SjZqfx
sjZqfx
)
{
startPage
();
List
<
SjZqfx
>
list
=
sjZqfxService
.
selectSjZqfxList
(
sjZqfx
);
return
getDataTable
(
list
);
}
/**
* 导出设计-周期分析列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjZqfx:export')"
)
@Log
(
title
=
"设计-周期分析"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
SjZqfx
sjZqfx
)
{
List
<
SjZqfx
>
list
=
sjZqfxService
.
selectSjZqfxList
(
sjZqfx
);
ExcelUtil
<
SjZqfx
>
util
=
new
ExcelUtil
<
SjZqfx
>(
SjZqfx
.
class
);
util
.
exportExcel
(
response
,
list
,
"设计-周期分析数据"
);
}
/**
* 获取设计-周期分析详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjZqfx:query')"
)
@GetMapping
(
value
=
"/{id}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
{
return
success
(
sjZqfxService
.
selectSjZqfxById
(
id
));
}
/**
* 新增设计-周期分析
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjZqfx:add')"
)
@Log
(
title
=
"设计-周期分析"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
SjZqfx
sjZqfx
)
{
return
toAjax
(
sjZqfxService
.
insertSjZqfx
(
sjZqfx
));
}
/**
* 修改设计-周期分析
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjZqfx:edit')"
)
@Log
(
title
=
"设计-周期分析"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
SjZqfx
sjZqfx
)
{
return
toAjax
(
sjZqfxService
.
updateSjZqfx
(
sjZqfx
));
}
/**
* 删除设计-周期分析
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjZqfx:remove')"
)
@Log
(
title
=
"设计-周期分析"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
{
return
toAjax
(
sjZqfxService
.
deleteSjZqfxByIds
(
ids
));
}
}
src/main/java/com/ruoyi/project/zjsgfa/controller/SjZtgjsjController.java
0 → 100644
View file @
f03ceafc
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.SjZtgjsj
;
import
com.ruoyi.project.zjsgfa.service.ISjZtgjsjService
;
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-22
*/
@RestController
@RequestMapping
(
"/system/sjZtgjsj"
)
public
class
SjZtgjsjController
extends
BaseController
{
@Autowired
private
ISjZtgjsjService
sjZtgjsjService
;
/**
* 查询设计-钻头关键数据分析列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjZtgjsj:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
SjZtgjsj
sjZtgjsj
)
{
startPage
();
List
<
SjZtgjsj
>
list
=
sjZtgjsjService
.
selectSjZtgjsjList
(
sjZtgjsj
);
return
getDataTable
(
list
);
}
/**
* 导出设计-钻头关键数据分析列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjZtgjsj:export')"
)
@Log
(
title
=
"设计-钻头关键数据分析"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
SjZtgjsj
sjZtgjsj
)
{
List
<
SjZtgjsj
>
list
=
sjZtgjsjService
.
selectSjZtgjsjList
(
sjZtgjsj
);
ExcelUtil
<
SjZtgjsj
>
util
=
new
ExcelUtil
<
SjZtgjsj
>(
SjZtgjsj
.
class
);
util
.
exportExcel
(
response
,
list
,
"设计-钻头关键数据分析数据"
);
}
/**
* 获取设计-钻头关键数据分析详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjZtgjsj:query')"
)
@GetMapping
(
value
=
"/{id}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
{
return
success
(
sjZtgjsjService
.
selectSjZtgjsjById
(
id
));
}
/**
* 新增设计-钻头关键数据分析
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjZtgjsj:add')"
)
@Log
(
title
=
"设计-钻头关键数据分析"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
SjZtgjsj
sjZtgjsj
)
{
return
toAjax
(
sjZtgjsjService
.
insertSjZtgjsj
(
sjZtgjsj
));
}
/**
* 修改设计-钻头关键数据分析
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjZtgjsj:edit')"
)
@Log
(
title
=
"设计-钻头关键数据分析"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
SjZtgjsj
sjZtgjsj
)
{
return
toAjax
(
sjZtgjsjService
.
updateSjZtgjsj
(
sjZtgjsj
));
}
/**
* 删除设计-钻头关键数据分析
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjZtgjsj:remove')"
)
@Log
(
title
=
"设计-钻头关键数据分析"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
{
return
toAjax
(
sjZtgjsjService
.
deleteSjZtgjsjByIds
(
ids
));
}
}
src/main/java/com/ruoyi/project/zjsgfa/controller/SjZysxController.java
0 → 100644
View file @
f03ceafc
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.SjZysx
;
import
com.ruoyi.project.zjsgfa.service.ISjZysxService
;
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-22
*/
@RestController
@RequestMapping
(
"/system/sjZysx"
)
public
class
SjZysxController
extends
BaseController
{
@Autowired
private
ISjZysxService
sjZysxService
;
/**
* 查询设计信息-注意事项列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjZysx:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
SjZysx
sjZysx
)
{
startPage
();
List
<
SjZysx
>
list
=
sjZysxService
.
selectSjZysxList
(
sjZysx
);
return
getDataTable
(
list
);
}
/**
* 导出设计信息-注意事项列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjZysx:export')"
)
@Log
(
title
=
"设计信息-注意事项"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
SjZysx
sjZysx
)
{
List
<
SjZysx
>
list
=
sjZysxService
.
selectSjZysxList
(
sjZysx
);
ExcelUtil
<
SjZysx
>
util
=
new
ExcelUtil
<
SjZysx
>(
SjZysx
.
class
);
util
.
exportExcel
(
response
,
list
,
"设计信息-注意事项数据"
);
}
/**
* 获取设计信息-注意事项详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjZysx:query')"
)
@GetMapping
(
value
=
"/{id}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
{
return
success
(
sjZysxService
.
selectSjZysxById
(
id
));
}
/**
* 新增设计信息-注意事项
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjZysx:add')"
)
@Log
(
title
=
"设计信息-注意事项"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
SjZysx
sjZysx
)
{
return
toAjax
(
sjZysxService
.
insertSjZysx
(
sjZysx
));
}
/**
* 修改设计信息-注意事项
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjZysx:edit')"
)
@Log
(
title
=
"设计信息-注意事项"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
SjZysx
sjZysx
)
{
return
toAjax
(
sjZysxService
.
updateSjZysx
(
sjZysx
));
}
/**
* 删除设计信息-注意事项
*/
@PreAuthorize
(
"@ss.hasPermi('system:sjZysx:remove')"
)
@Log
(
title
=
"设计信息-注意事项"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
{
return
toAjax
(
sjZysxService
.
deleteSjZysxByIds
(
ids
));
}
}
src/main/java/com/ruoyi/project/zjsgfa/domain/SjGztz.java
0 → 100644
View file @
f03ceafc
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_gztz
*
* @author ruoyi
* @date 2025-07-22
*/
public
class
SjGztz
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/** 主键 */
private
Long
id
;
/** 井号 */
@Excel
(
name
=
"井号"
)
private
String
jh
;
/** 构造特征 */
@Excel
(
name
=
"构造特征"
)
private
String
gzlx
;
/** 路径 */
@Excel
(
name
=
"路径"
)
private
String
lj
;
/** 备注 */
@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
setGzlx
(
String
gzlx
)
{
this
.
gzlx
=
gzlx
;
}
public
String
getGzlx
()
{
return
gzlx
;
}
public
void
setLj
(
String
lj
)
{
this
.
lj
=
lj
;
}
public
String
getLj
()
{
return
lj
;
}
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
(
"gzlx"
,
getGzlx
())
.
append
(
"lj"
,
getLj
())
.
append
(
"bz"
,
getBz
())
.
append
(
"createdBy"
,
getCreatedBy
())
.
append
(
"createdTime"
,
getCreatedTime
())
.
append
(
"updateBy"
,
getUpdateBy
())
.
append
(
"updateTime"
,
getUpdateTime
())
.
toString
();
}
}
src/main/java/com/ruoyi/project/zjsgfa/domain/SjH2s.java
0 → 100644
View file @
f03ceafc
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
;
/**
* 设计信息-H2S对象 sj_h2s
*
* @author ruoyi
* @date 2025-07-22
*/
public
class
SjH2s
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/** 主键 */
private
Long
id
;
/** 井号 */
@Excel
(
name
=
"井号"
)
private
String
jh
;
/** 井深 */
@Excel
(
name
=
"井深"
)
private
Double
js
;
/** 工程状态 */
@Excel
(
name
=
"工程状态"
)
private
String
gczt
;
/** 层位 */
@Excel
(
name
=
"层位"
)
private
String
cw
;
/** 显示浓度 */
@Excel
(
name
=
"显示浓度"
)
private
Double
xsbd
;
/** 显示过程与处理 */
@Excel
(
name
=
"显示过程与处理"
)
private
String
xsgc
;
/** 检测时间 */
@Excel
(
name
=
"检测时间"
)
private
String
jcsj
;
/** 检测方法 */
@Excel
(
name
=
"检测方法"
)
private
String
jcfs
;
/** 方位(位于井口) */
@Excel
(
name
=
"方位"
,
readConverterExp
=
"位=于井口"
)
private
Double
wyjkfw
;
/** 方位(位于井口) */
@Excel
(
name
=
"方位"
,
readConverterExp
=
"位=于井口"
)
private
Double
wyjkjl
;
/** 方位(位于 A 靶点) */
@Excel
(
name
=
"方位"
,
readConverterExp
=
"位=于,A=,靶=点"
)
private
Double
wybdfw
;
/** 方位(位于 A 靶点) */
@Excel
(
name
=
"方位"
,
readConverterExp
=
"位=于,A=,靶=点"
)
private
Double
wybdjl
;
/** 备注 */
@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
setJs
(
Double
js
)
{
this
.
js
=
js
;
}
public
Double
getJs
()
{
return
js
;
}
public
void
setGczt
(
String
gczt
)
{
this
.
gczt
=
gczt
;
}
public
String
getGczt
()
{
return
gczt
;
}
public
void
setCw
(
String
cw
)
{
this
.
cw
=
cw
;
}
public
String
getCw
()
{
return
cw
;
}
public
void
setXsbd
(
Double
xsbd
)
{
this
.
xsbd
=
xsbd
;
}
public
Double
getXsbd
()
{
return
xsbd
;
}
public
void
setXsgc
(
String
xsgc
)
{
this
.
xsgc
=
xsgc
;
}
public
String
getXsgc
()
{
return
xsgc
;
}
public
void
setJcsj
(
String
jcsj
)
{
this
.
jcsj
=
jcsj
;
}
public
String
getJcsj
()
{
return
jcsj
;
}
public
void
setJcfs
(
String
jcfs
)
{
this
.
jcfs
=
jcfs
;
}
public
String
getJcfs
()
{
return
jcfs
;
}
public
void
setWyjkfw
(
Double
wyjkfw
)
{
this
.
wyjkfw
=
wyjkfw
;
}
public
Double
getWyjkfw
()
{
return
wyjkfw
;
}
public
void
setWyjkjl
(
Double
wyjkjl
)
{
this
.
wyjkjl
=
wyjkjl
;
}
public
Double
getWyjkjl
()
{
return
wyjkjl
;
}
public
void
setWybdfw
(
Double
wybdfw
)
{
this
.
wybdfw
=
wybdfw
;
}
public
Double
getWybdfw
()
{
return
wybdfw
;
}
public
void
setWybdjl
(
Double
wybdjl
)
{
this
.
wybdjl
=
wybdjl
;
}
public
Double
getWybdjl
()
{
return
wybdjl
;
}
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
(
"js"
,
getJs
())
.
append
(
"gczt"
,
getGczt
())
.
append
(
"cw"
,
getCw
())
.
append
(
"xsbd"
,
getXsbd
())
.
append
(
"xsgc"
,
getXsgc
())
.
append
(
"jcsj"
,
getJcsj
())
.
append
(
"jcfs"
,
getJcfs
())
.
append
(
"wyjkfw"
,
getWyjkfw
())
.
append
(
"wyjkjl"
,
getWyjkjl
())
.
append
(
"wybdfw"
,
getWybdfw
())
.
append
(
"wybdjl"
,
getWybdjl
())
.
append
(
"bz"
,
getBz
())
.
append
(
"createdBy"
,
getCreatedBy
())
.
append
(
"createdTime"
,
getCreatedTime
())
.
append
(
"updateBy"
,
getUpdateBy
())
.
append
(
"updateTime"
,
getUpdateTime
())
.
toString
();
}
}
src/main/java/com/ruoyi/project/zjsgfa/domain/SjLjjw.java
0 → 100644
View file @
f03ceafc
package
com
.
ruoyi
.
project
.
zjsgfa
.
domain
;
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_ljjw
*
* @author ruoyi
* @date 2025-07-22
*/
public
class
SjLjjw
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/** 主键ID */
private
Long
id
;
/** 井号 */
@Excel
(
name
=
"井号"
)
private
String
jh
;
/** 邻井井号 */
@Excel
(
name
=
"邻井井号"
)
private
String
ljjh
;
/** 井型 */
@Excel
(
name
=
"井型"
)
private
String
jx
;
/** 斜深 */
@Excel
(
name
=
"斜深"
)
private
Double
wjjs
;
/** 垂深 */
@Excel
(
name
=
"垂深"
)
private
Double
wjczjs
;
/** 完钻层位 */
@Excel
(
name
=
"完钻层位"
)
private
String
wzcw
;
/** 总开次 */
@Excel
(
name
=
"总开次"
)
private
String
kc
;
/** 钻井周期 */
@Excel
(
name
=
"钻井周期"
)
private
Double
zjzq
;
/** 钻完周期 */
@Excel
(
name
=
"钻完周期"
)
private
Double
wjzq
;
/** 井口距离 */
@Excel
(
name
=
"井口距离"
)
private
Double
jkjl
;
/** 井底距离 */
@Excel
(
name
=
"井底距离"
)
private
Double
jdjl
;
/** 井口横坐标 */
@Excel
(
name
=
"井口横坐标"
)
private
Double
jkhzb
;
/** 井口纵坐标 */
@Excel
(
name
=
"井口纵坐标"
)
private
Double
jkzzb
;
/** 井口横距离 */
@Excel
(
name
=
"井口横距离"
)
private
Double
jkhjl
;
/** 井口纵距离 */
@Excel
(
name
=
"井口纵距离"
)
private
Double
jkzjl
;
/** 井底横坐标 */
@Excel
(
name
=
"井底横坐标"
)
private
Double
jdhzb
;
/** 井底纵坐标 */
@Excel
(
name
=
"井底纵坐标"
)
private
Double
jdzzb
;
/** 井底横距离 */
@Excel
(
name
=
"井底横距离"
)
private
Double
jdhjl
;
/** 井底纵距离 */
@Excel
(
name
=
"井底纵距离"
)
private
Double
jdzjl
;
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
setLjjh
(
String
ljjh
)
{
this
.
ljjh
=
ljjh
;
}
public
String
getLjjh
()
{
return
ljjh
;
}
public
void
setJx
(
String
jx
)
{
this
.
jx
=
jx
;
}
public
String
getJx
()
{
return
jx
;
}
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
setKc
(
String
kc
)
{
this
.
kc
=
kc
;
}
public
String
getKc
()
{
return
kc
;
}
public
void
setZjzq
(
Double
zjzq
)
{
this
.
zjzq
=
zjzq
;
}
public
Double
getZjzq
()
{
return
zjzq
;
}
public
void
setWjzq
(
Double
wjzq
)
{
this
.
wjzq
=
wjzq
;
}
public
Double
getWjzq
()
{
return
wjzq
;
}
public
void
setJkjl
(
Double
jkjl
)
{
this
.
jkjl
=
jkjl
;
}
public
Double
getJkjl
()
{
return
jkjl
;
}
public
void
setJdjl
(
Double
jdjl
)
{
this
.
jdjl
=
jdjl
;
}
public
Double
getJdjl
()
{
return
jdjl
;
}
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
setJkhjl
(
Double
jkhjl
)
{
this
.
jkhjl
=
jkhjl
;
}
public
Double
getJkhjl
()
{
return
jkhjl
;
}
public
void
setJkzjl
(
Double
jkzjl
)
{
this
.
jkzjl
=
jkzjl
;
}
public
Double
getJkzjl
()
{
return
jkzjl
;
}
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
setJdhjl
(
Double
jdhjl
)
{
this
.
jdhjl
=
jdhjl
;
}
public
Double
getJdhjl
()
{
return
jdhjl
;
}
public
void
setJdzjl
(
Double
jdzjl
)
{
this
.
jdzjl
=
jdzjl
;
}
public
Double
getJdzjl
()
{
return
jdzjl
;
}
@Override
public
String
toString
()
{
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
.
append
(
"id"
,
getId
())
.
append
(
"jh"
,
getJh
())
.
append
(
"ljjh"
,
getLjjh
())
.
append
(
"jx"
,
getJx
())
.
append
(
"wjjs"
,
getWjjs
())
.
append
(
"wjczjs"
,
getWjczjs
())
.
append
(
"wzcw"
,
getWzcw
())
.
append
(
"kc"
,
getKc
())
.
append
(
"zjzq"
,
getZjzq
())
.
append
(
"wjzq"
,
getWjzq
())
.
append
(
"jkjl"
,
getJkjl
())
.
append
(
"jdjl"
,
getJdjl
())
.
append
(
"jkhzb"
,
getJkhzb
())
.
append
(
"jkzzb"
,
getJkzzb
())
.
append
(
"jkhjl"
,
getJkhjl
())
.
append
(
"jkzjl"
,
getJkzjl
())
.
append
(
"jdhzb"
,
getJdhzb
())
.
append
(
"jdzzb"
,
getJdzzb
())
.
append
(
"jdhjl"
,
getJdhjl
())
.
append
(
"jdzjl"
,
getJdzjl
())
.
toString
();
}
}
src/main/java/com/ruoyi/project/zjsgfa/domain/SjLjsm.java
0 → 100644
View file @
f03ceafc
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_ljsm
*
* @author ruoyi
* @date 2025-07-22
*/
public
class
SjLjsm
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/** 主键 */
private
Long
id
;
/** 井号 */
@Excel
(
name
=
"井号"
)
private
String
jh
;
/** 井深(设计) */
@Excel
(
name
=
"井深"
,
readConverterExp
=
"设=计"
)
private
Double
js
;
/** 垂深(设计) */
@Excel
(
name
=
"垂深"
,
readConverterExp
=
"设=计"
)
private
Double
cs
;
/** 井号(比较井号) */
@Excel
(
name
=
"井号"
,
readConverterExp
=
"比=较井号"
)
private
String
bjjh
;
/** 数据来源(比较井号) */
@Excel
(
name
=
"数据来源"
,
readConverterExp
=
"比=较井号"
)
private
String
bjsjly
;
/** 井深(比较井号) */
@Excel
(
name
=
"井深"
,
readConverterExp
=
"比=较井号"
)
private
Double
bjjs
;
/** 垂深(比较井号) */
@Excel
(
name
=
"垂深"
,
readConverterExp
=
"比=较井号"
)
private
Double
bjcs
;
/** 最近距离(比较井号) */
@Excel
(
name
=
"最近距离"
,
readConverterExp
=
"比=较井号"
)
private
Double
bjzjjl
;
/** 扫描角(比较井号) */
@Excel
(
name
=
"扫描角"
,
readConverterExp
=
"比=较井号"
)
private
Double
bjsmj
;
/** 仰角(比较井号) */
@Excel
(
name
=
"仰角"
,
readConverterExp
=
"比=较井号"
)
private
Double
bjyj
;
/** 备注 */
@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
setJs
(
Double
js
)
{
this
.
js
=
js
;
}
public
Double
getJs
()
{
return
js
;
}
public
void
setCs
(
Double
cs
)
{
this
.
cs
=
cs
;
}
public
Double
getCs
()
{
return
cs
;
}
public
void
setBjjh
(
String
bjjh
)
{
this
.
bjjh
=
bjjh
;
}
public
String
getBjjh
()
{
return
bjjh
;
}
public
void
setBjsjly
(
String
bjsjly
)
{
this
.
bjsjly
=
bjsjly
;
}
public
String
getBjsjly
()
{
return
bjsjly
;
}
public
void
setBjjs
(
Double
bjjs
)
{
this
.
bjjs
=
bjjs
;
}
public
Double
getBjjs
()
{
return
bjjs
;
}
public
void
setBjcs
(
Double
bjcs
)
{
this
.
bjcs
=
bjcs
;
}
public
Double
getBjcs
()
{
return
bjcs
;
}
public
void
setBjzjjl
(
Double
bjzjjl
)
{
this
.
bjzjjl
=
bjzjjl
;
}
public
Double
getBjzjjl
()
{
return
bjzjjl
;
}
public
void
setBjsmj
(
Double
bjsmj
)
{
this
.
bjsmj
=
bjsmj
;
}
public
Double
getBjsmj
()
{
return
bjsmj
;
}
public
void
setBjyj
(
Double
bjyj
)
{
this
.
bjyj
=
bjyj
;
}
public
Double
getBjyj
()
{
return
bjyj
;
}
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
(
"js"
,
getJs
())
.
append
(
"cs"
,
getCs
())
.
append
(
"bjjh"
,
getBjjh
())
.
append
(
"bjsjly"
,
getBjsjly
())
.
append
(
"bjjs"
,
getBjjs
())
.
append
(
"bjcs"
,
getBjcs
())
.
append
(
"bjzjjl"
,
getBjzjjl
())
.
append
(
"bjsmj"
,
getBjsmj
())
.
append
(
"bjyj"
,
getBjyj
())
.
append
(
"bz"
,
getBz
())
.
append
(
"createdBy"
,
getCreatedBy
())
.
append
(
"createdTime"
,
getCreatedTime
())
.
append
(
"updateBy"
,
getUpdateBy
())
.
append
(
"updateTime"
,
getUpdateTime
())
.
toString
();
}
}
src/main/java/com/ruoyi/project/zjsgfa/domain/SjQkztfx.java
0 → 100644
View file @
f03ceafc
package
com
.
ruoyi
.
project
.
zjsgfa
.
domain
;
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_qkztfx
*
* @author ruoyi
* @date 2025-07-22
*/
public
class
SjQkztfx
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/** 主键ID */
private
Long
id
;
/** 井号 */
@Excel
(
name
=
"井号"
)
private
String
jh
;
/** 开次 */
@Excel
(
name
=
"开次"
)
private
String
kc
;
/** 钻头型号 */
@Excel
(
name
=
"钻头型号"
)
private
String
ztxh
;
/** 厂家 */
@Excel
(
name
=
"厂家"
)
private
String
cj
;
/** 外径 */
@Excel
(
name
=
"外径"
)
private
Double
cc
;
/** 钻头数量 */
@Excel
(
name
=
"钻头数量"
)
private
Integer
ztsl
;
/** 一趟钻率 */
@Excel
(
name
=
"一趟钻率"
)
private
Double
ytzl
;
/** 二趟钻率 */
@Excel
(
name
=
"二趟钻率"
)
private
Double
etzl
;
/** 三趟钻率 */
@Excel
(
name
=
"三趟钻率"
)
private
Double
stzl
;
/** 四趟钻率 */
@Excel
(
name
=
"四趟钻率"
)
private
Double
sitzl
;
/** 五趟钻率 */
@Excel
(
name
=
"五趟钻率"
)
private
Double
wtzl
;
/** 进尺中位数 */
@Excel
(
name
=
"进尺中位数"
)
private
Double
jcZw
;
/** 进尺最大值 */
@Excel
(
name
=
"进尺最大值"
)
private
Double
jcMax
;
/** 机械钻速中位数 */
@Excel
(
name
=
"机械钻速中位数"
)
private
Double
jxzsZw
;
/** 机械钻速最大值 */
@Excel
(
name
=
"机械钻速最大值"
)
private
Double
jxzsMax
;
/** 起出井深中位数 */
@Excel
(
name
=
"起出井深中位数"
)
private
Double
qsjsZw
;
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
setZtxh
(
String
ztxh
)
{
this
.
ztxh
=
ztxh
;
}
public
String
getZtxh
()
{
return
ztxh
;
}
public
void
setCj
(
String
cj
)
{
this
.
cj
=
cj
;
}
public
String
getCj
()
{
return
cj
;
}
public
void
setCc
(
Double
cc
)
{
this
.
cc
=
cc
;
}
public
Double
getCc
()
{
return
cc
;
}
public
void
setZtsl
(
Integer
ztsl
)
{
this
.
ztsl
=
ztsl
;
}
public
Integer
getZtsl
()
{
return
ztsl
;
}
public
void
setYtzl
(
Double
ytzl
)
{
this
.
ytzl
=
ytzl
;
}
public
Double
getYtzl
()
{
return
ytzl
;
}
public
void
setEtzl
(
Double
etzl
)
{
this
.
etzl
=
etzl
;
}
public
Double
getEtzl
()
{
return
etzl
;
}
public
void
setStzl
(
Double
stzl
)
{
this
.
stzl
=
stzl
;
}
public
Double
getStzl
()
{
return
stzl
;
}
public
void
setSitzl
(
Double
sitzl
)
{
this
.
sitzl
=
sitzl
;
}
public
Double
getSitzl
()
{
return
sitzl
;
}
public
void
setWtzl
(
Double
wtzl
)
{
this
.
wtzl
=
wtzl
;
}
public
Double
getWtzl
()
{
return
wtzl
;
}
public
void
setJcZw
(
Double
jcZw
)
{
this
.
jcZw
=
jcZw
;
}
public
Double
getJcZw
()
{
return
jcZw
;
}
public
void
setJcMax
(
Double
jcMax
)
{
this
.
jcMax
=
jcMax
;
}
public
Double
getJcMax
()
{
return
jcMax
;
}
public
void
setJxzsZw
(
Double
jxzsZw
)
{
this
.
jxzsZw
=
jxzsZw
;
}
public
Double
getJxzsZw
()
{
return
jxzsZw
;
}
public
void
setJxzsMax
(
Double
jxzsMax
)
{
this
.
jxzsMax
=
jxzsMax
;
}
public
Double
getJxzsMax
()
{
return
jxzsMax
;
}
public
void
setQsjsZw
(
Double
qsjsZw
)
{
this
.
qsjsZw
=
qsjsZw
;
}
public
Double
getQsjsZw
()
{
return
qsjsZw
;
}
@Override
public
String
toString
()
{
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
.
append
(
"id"
,
getId
())
.
append
(
"jh"
,
getJh
())
.
append
(
"kc"
,
getKc
())
.
append
(
"ztxh"
,
getZtxh
())
.
append
(
"cj"
,
getCj
())
.
append
(
"cc"
,
getCc
())
.
append
(
"ztsl"
,
getZtsl
())
.
append
(
"ytzl"
,
getYtzl
())
.
append
(
"etzl"
,
getEtzl
())
.
append
(
"stzl"
,
getStzl
())
.
append
(
"sitzl"
,
getSitzl
())
.
append
(
"wtzl"
,
getWtzl
())
.
append
(
"jcZw"
,
getJcZw
())
.
append
(
"jcMax"
,
getJcMax
())
.
append
(
"jxzsZw"
,
getJxzsZw
())
.
append
(
"jxzsMax"
,
getJxzsMax
())
.
append
(
"qsjsZw"
,
getQsjsZw
())
.
toString
();
}
}
src/main/java/com/ruoyi/project/zjsgfa/domain/SjSzfxjg.java
0 → 100644
View file @
f03ceafc
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_szfxjg
*
* @author ruoyi
* @date 2025-07-22
*/
public
class
SjSzfxjg
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/** 主键 */
private
Long
id
;
/** 分析范围 */
@Excel
(
name
=
"分析范围"
)
private
String
fxfw
;
/** 分析对象 */
@Excel
(
name
=
"分析对象"
)
private
String
fxdx
;
/** 分析现象 */
@Excel
(
name
=
"分析现象"
)
private
String
fxxy
;
/** 分析结论 */
@Excel
(
name
=
"分析结论"
)
private
String
fxjl
;
/** 输出方向 */
@Excel
(
name
=
"输出方向"
)
private
String
scfx
;
/** 优选依据 */
@Excel
(
name
=
"优选依据"
)
private
String
yxyj
;
/** 最优建议 */
@Excel
(
name
=
"最优建议"
)
private
String
zyjy
;
/** 其次建议 */
@Excel
(
name
=
"其次建议"
)
private
String
qcyj
;
/** 推荐评分 */
@Excel
(
name
=
"推荐评分"
)
private
Double
tjpf
;
/** 创建人 */
@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
setFxfw
(
String
fxfw
)
{
this
.
fxfw
=
fxfw
;
}
public
String
getFxfw
()
{
return
fxfw
;
}
public
void
setFxdx
(
String
fxdx
)
{
this
.
fxdx
=
fxdx
;
}
public
String
getFxdx
()
{
return
fxdx
;
}
public
void
setFxxy
(
String
fxxy
)
{
this
.
fxxy
=
fxxy
;
}
public
String
getFxxy
()
{
return
fxxy
;
}
public
void
setFxjl
(
String
fxjl
)
{
this
.
fxjl
=
fxjl
;
}
public
String
getFxjl
()
{
return
fxjl
;
}
public
void
setScfx
(
String
scfx
)
{
this
.
scfx
=
scfx
;
}
public
String
getScfx
()
{
return
scfx
;
}
public
void
setYxyj
(
String
yxyj
)
{
this
.
yxyj
=
yxyj
;
}
public
String
getYxyj
()
{
return
yxyj
;
}
public
void
setZyjy
(
String
zyjy
)
{
this
.
zyjy
=
zyjy
;
}
public
String
getZyjy
()
{
return
zyjy
;
}
public
void
setQcyj
(
String
qcyj
)
{
this
.
qcyj
=
qcyj
;
}
public
String
getQcyj
()
{
return
qcyj
;
}
public
void
setTjpf
(
Double
tjpf
)
{
this
.
tjpf
=
tjpf
;
}
public
Double
getTjpf
()
{
return
tjpf
;
}
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
(
"fxfw"
,
getFxfw
())
.
append
(
"fxdx"
,
getFxdx
())
.
append
(
"fxxy"
,
getFxxy
())
.
append
(
"fxjl"
,
getFxjl
())
.
append
(
"scfx"
,
getScfx
())
.
append
(
"yxyj"
,
getYxyj
())
.
append
(
"zyjy"
,
getZyjy
())
.
append
(
"qcyj"
,
getQcyj
())
.
append
(
"tjpf"
,
getTjpf
())
.
append
(
"createdBy"
,
getCreatedBy
())
.
append
(
"createdTime"
,
getCreatedTime
())
.
append
(
"updateBy"
,
getUpdateBy
())
.
append
(
"updateTime"
,
getUpdateTime
())
.
toString
();
}
}
src/main/java/com/ruoyi/project/zjsgfa/domain/SjZqfx.java
0 → 100644
View file @
f03ceafc
package
com
.
ruoyi
.
project
.
zjsgfa
.
domain
;
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_zqfx
*
* @author ruoyi
* @date 2025-07-22
*/
public
class
SjZqfx
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/** 主键ID */
private
Long
id
;
/** 井号 */
@Excel
(
name
=
"井号"
)
private
String
jh
;
/** 邻井井号 */
@Excel
(
name
=
"邻井井号"
)
private
String
ljjh
;
/** 井筒名 */
@Excel
(
name
=
"井筒名"
)
private
String
jtm
;
/** 开始井深 */
@Excel
(
name
=
"开始井深"
)
private
Double
ksjs
;
/** 结束井深 */
@Excel
(
name
=
"结束井深"
)
private
Double
js
;
/** 开次 */
@Excel
(
name
=
"开次"
)
private
String
kc
;
/** 进尺 */
@Excel
(
name
=
"进尺"
)
private
Double
jc
;
/** 到达层位 */
@Excel
(
name
=
"到达层位"
)
private
String
cw
;
/** 钻进实际周期 */
@Excel
(
name
=
"钻进实际周期"
)
private
Double
zjzq
;
/** 钻进异常周期 */
@Excel
(
name
=
"钻进异常周期"
)
private
Double
zjycsl
;
/** 钻进生产周期 */
@Excel
(
name
=
"钻进生产周期"
)
private
Double
zjsczq
;
/** 钻进速率 */
@Excel
(
name
=
"钻进速率"
)
private
Double
zjsl
;
/** 中完实际周期 */
@Excel
(
name
=
"中完实际周期"
)
private
Double
zwzq
;
/** 完井异常周期 */
@Excel
(
name
=
"完井异常周期"
)
private
Double
wjycsl
;
/** 完井(中完)生产周期 */
@Excel
(
name
=
"完井"
,
readConverterExp
=
"中=完"
)
private
Double
wjsczq
;
/** 钻井异常描述 */
@Excel
(
name
=
"钻井异常描述"
)
private
String
zjycms
;
/** 中完(完井异常描述) */
@Excel
(
name
=
"中完"
,
readConverterExp
=
"完=井异常描述"
)
private
String
wjycms
;
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
setLjjh
(
String
ljjh
)
{
this
.
ljjh
=
ljjh
;
}
public
String
getLjjh
()
{
return
ljjh
;
}
public
void
setJtm
(
String
jtm
)
{
this
.
jtm
=
jtm
;
}
public
String
getJtm
()
{
return
jtm
;
}
public
void
setKsjs
(
Double
ksjs
)
{
this
.
ksjs
=
ksjs
;
}
public
Double
getKsjs
()
{
return
ksjs
;
}
public
void
setJs
(
Double
js
)
{
this
.
js
=
js
;
}
public
Double
getJs
()
{
return
js
;
}
public
void
setKc
(
String
kc
)
{
this
.
kc
=
kc
;
}
public
String
getKc
()
{
return
kc
;
}
public
void
setJc
(
Double
jc
)
{
this
.
jc
=
jc
;
}
public
Double
getJc
()
{
return
jc
;
}
public
void
setCw
(
String
cw
)
{
this
.
cw
=
cw
;
}
public
String
getCw
()
{
return
cw
;
}
public
void
setZjzq
(
Double
zjzq
)
{
this
.
zjzq
=
zjzq
;
}
public
Double
getZjzq
()
{
return
zjzq
;
}
public
void
setZjycsl
(
Double
zjycsl
)
{
this
.
zjycsl
=
zjycsl
;
}
public
Double
getZjycsl
()
{
return
zjycsl
;
}
public
void
setZjsczq
(
Double
zjsczq
)
{
this
.
zjsczq
=
zjsczq
;
}
public
Double
getZjsczq
()
{
return
zjsczq
;
}
public
void
setZjsl
(
Double
zjsl
)
{
this
.
zjsl
=
zjsl
;
}
public
Double
getZjsl
()
{
return
zjsl
;
}
public
void
setZwzq
(
Double
zwzq
)
{
this
.
zwzq
=
zwzq
;
}
public
Double
getZwzq
()
{
return
zwzq
;
}
public
void
setWjycsl
(
Double
wjycsl
)
{
this
.
wjycsl
=
wjycsl
;
}
public
Double
getWjycsl
()
{
return
wjycsl
;
}
public
void
setWjsczq
(
Double
wjsczq
)
{
this
.
wjsczq
=
wjsczq
;
}
public
Double
getWjsczq
()
{
return
wjsczq
;
}
public
void
setZjycms
(
String
zjycms
)
{
this
.
zjycms
=
zjycms
;
}
public
String
getZjycms
()
{
return
zjycms
;
}
public
void
setWjycms
(
String
wjycms
)
{
this
.
wjycms
=
wjycms
;
}
public
String
getWjycms
()
{
return
wjycms
;
}
@Override
public
String
toString
()
{
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
.
append
(
"id"
,
getId
())
.
append
(
"jh"
,
getJh
())
.
append
(
"ljjh"
,
getLjjh
())
.
append
(
"jtm"
,
getJtm
())
.
append
(
"ksjs"
,
getKsjs
())
.
append
(
"js"
,
getJs
())
.
append
(
"kc"
,
getKc
())
.
append
(
"jc"
,
getJc
())
.
append
(
"cw"
,
getCw
())
.
append
(
"zjzq"
,
getZjzq
())
.
append
(
"zjycsl"
,
getZjycsl
())
.
append
(
"zjsczq"
,
getZjsczq
())
.
append
(
"zjsl"
,
getZjsl
())
.
append
(
"zwzq"
,
getZwzq
())
.
append
(
"wjycsl"
,
getWjycsl
())
.
append
(
"wjsczq"
,
getWjsczq
())
.
append
(
"zjycms"
,
getZjycms
())
.
append
(
"wjycms"
,
getWjycms
())
.
toString
();
}
}
src/main/java/com/ruoyi/project/zjsgfa/domain/SjZtgjsj.java
0 → 100644
View file @
f03ceafc
package
com
.
ruoyi
.
project
.
zjsgfa
.
domain
;
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_ztgjsj
*
* @author ruoyi
* @date 2025-07-22
*/
public
class
SjZtgjsj
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/** 主键ID */
private
Long
id
;
/** 井号 */
@Excel
(
name
=
"井号"
)
private
String
jh
;
/** 邻井井号 */
@Excel
(
name
=
"邻井井号"
)
private
String
ljjh
;
/** 开次 */
@Excel
(
name
=
"开次"
)
private
String
kc
;
/** 井段 */
@Excel
(
name
=
"井段"
)
private
String
jd
;
/** 钻头外径 */
@Excel
(
name
=
"钻头外径"
)
private
Double
ztcc
;
/** 钻头型号 */
@Excel
(
name
=
"钻头型号"
)
private
String
ztxh
;
/** 喷嘴 */
@Excel
(
name
=
"喷嘴"
)
private
String
pz
;
/** 磨损情况 */
@Excel
(
name
=
"磨损情况"
)
private
String
mxqk
;
/** 起钻原因 */
@Excel
(
name
=
"起钻原因"
)
private
String
qzyy
;
/** 层位 */
@Excel
(
name
=
"层位"
)
private
String
cw
;
/** 钻井液密度 */
@Excel
(
name
=
"钻井液密度"
)
private
Double
zjymd
;
/** 排量 */
@Excel
(
name
=
"排量"
)
private
Double
pl
;
/** 泵压 */
@Excel
(
name
=
"泵压"
)
private
Double
lgby
;
/** 进尺 */
@Excel
(
name
=
"进尺"
)
private
Double
jc
;
/** 机速 */
@Excel
(
name
=
"机速"
)
private
Double
jxzs
;
/** 指标 */
@Excel
(
name
=
"指标"
)
private
Double
zb
;
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
setLjjh
(
String
ljjh
)
{
this
.
ljjh
=
ljjh
;
}
public
String
getLjjh
()
{
return
ljjh
;
}
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
setZtcc
(
Double
ztcc
)
{
this
.
ztcc
=
ztcc
;
}
public
Double
getZtcc
()
{
return
ztcc
;
}
public
void
setZtxh
(
String
ztxh
)
{
this
.
ztxh
=
ztxh
;
}
public
String
getZtxh
()
{
return
ztxh
;
}
public
void
setPz
(
String
pz
)
{
this
.
pz
=
pz
;
}
public
String
getPz
()
{
return
pz
;
}
public
void
setMxqk
(
String
mxqk
)
{
this
.
mxqk
=
mxqk
;
}
public
String
getMxqk
()
{
return
mxqk
;
}
public
void
setQzyy
(
String
qzyy
)
{
this
.
qzyy
=
qzyy
;
}
public
String
getQzyy
()
{
return
qzyy
;
}
public
void
setCw
(
String
cw
)
{
this
.
cw
=
cw
;
}
public
String
getCw
()
{
return
cw
;
}
public
void
setZjymd
(
Double
zjymd
)
{
this
.
zjymd
=
zjymd
;
}
public
Double
getZjymd
()
{
return
zjymd
;
}
public
void
setPl
(
Double
pl
)
{
this
.
pl
=
pl
;
}
public
Double
getPl
()
{
return
pl
;
}
public
void
setLgby
(
Double
lgby
)
{
this
.
lgby
=
lgby
;
}
public
Double
getLgby
()
{
return
lgby
;
}
public
void
setJc
(
Double
jc
)
{
this
.
jc
=
jc
;
}
public
Double
getJc
()
{
return
jc
;
}
public
void
setJxzs
(
Double
jxzs
)
{
this
.
jxzs
=
jxzs
;
}
public
Double
getJxzs
()
{
return
jxzs
;
}
public
void
setZb
(
Double
zb
)
{
this
.
zb
=
zb
;
}
public
Double
getZb
()
{
return
zb
;
}
@Override
public
String
toString
()
{
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
.
append
(
"id"
,
getId
())
.
append
(
"jh"
,
getJh
())
.
append
(
"ljjh"
,
getLjjh
())
.
append
(
"kc"
,
getKc
())
.
append
(
"jd"
,
getJd
())
.
append
(
"ztcc"
,
getZtcc
())
.
append
(
"ztxh"
,
getZtxh
())
.
append
(
"pz"
,
getPz
())
.
append
(
"mxqk"
,
getMxqk
())
.
append
(
"qzyy"
,
getQzyy
())
.
append
(
"cw"
,
getCw
())
.
append
(
"zjymd"
,
getZjymd
())
.
append
(
"pl"
,
getPl
())
.
append
(
"lgby"
,
getLgby
())
.
append
(
"jc"
,
getJc
())
.
append
(
"jxzs"
,
getJxzs
())
.
append
(
"zb"
,
getZb
())
.
toString
();
}
}
src/main/java/com/ruoyi/project/zjsgfa/domain/SjZysx.java
0 → 100644
View file @
f03ceafc
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_zysx
*
* @author ruoyi
* @date 2025-07-22
*/
public
class
SjZysx
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/** 主键 */
private
Long
id
;
/** 井号 */
@Excel
(
name
=
"井号"
)
private
String
jh
;
/** 注意事项 */
@Excel
(
name
=
"注意事项"
)
private
String
zysx
;
/** 类别(邻井扫描、喷漏卡塌、H2S、浅层气) */
@Excel
(
name
=
"类别(邻井扫描、喷漏卡塌、H2S、浅层气)"
)
private
String
lb
;
/** 备注 */
@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
setZysx
(
String
zysx
)
{
this
.
zysx
=
zysx
;
}
public
String
getZysx
()
{
return
zysx
;
}
public
void
setLb
(
String
lb
)
{
this
.
lb
=
lb
;
}
public
String
getLb
()
{
return
lb
;
}
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
(
"zysx"
,
getZysx
())
.
append
(
"lb"
,
getLb
())
.
append
(
"bz"
,
getBz
())
.
append
(
"createdBy"
,
getCreatedBy
())
.
append
(
"createdTime"
,
getCreatedTime
())
.
append
(
"updateBy"
,
getUpdateBy
())
.
append
(
"updateTime"
,
getUpdateTime
())
.
toString
();
}
}
src/main/java/com/ruoyi/project/zjsgfa/domain/Vo/DrillingFluidConstant.java
0 → 100644
View file @
f03ceafc
package
com
.
ruoyi
.
project
.
zjsgfa
.
domain
.
Vo
;
import
java.util.HashMap
;
import
java.util.Map
;
public
class
DrillingFluidConstant
{
public
static
final
Map
<
String
,
String
>
ITEM_FIELD_MAP
=
new
HashMap
<>();
static
{
ITEM_FIELD_MAP
.
put
(
"密度(g/cm3)"
,
"md"
);
ITEM_FIELD_MAP
.
put
(
"马氏漏斗黏度(s)"
,
"msldnd"
);
ITEM_FIELD_MAP
.
put
(
"API 滤失量(ml)"
,
"apilsl"
);
ITEM_FIELD_MAP
.
put
(
"API 泥饼(mm)"
,
"apinb"
);
ITEM_FIELD_MAP
.
put
(
"静切力(Pa)"
,
"jql"
);
ITEM_FIELD_MAP
.
put
(
"pH值"
,
"ph"
);
ITEM_FIELD_MAP
.
put
(
"含砂量(%)"
,
"hsl"
);
ITEM_FIELD_MAP
.
put
(
"总固含(%)"
,
"zgh"
);
ITEM_FIELD_MAP
.
put
(
"摩阻系数"
,
"mzxs"
);
ITEM_FIELD_MAP
.
put
(
"动切力(Pa)"
,
"dql"
);
ITEM_FIELD_MAP
.
put
(
"塑性黏度(mPa ·s)"
,
"sxnd"
);
// 若有其他固定项目,继续在此添加映射
}
}
src/main/java/com/ruoyi/project/zjsgfa/mapper/SjGztzMapper.java
0 → 100644
View file @
f03ceafc
package
com
.
ruoyi
.
project
.
zjsgfa
.
mapper
;
import
java.util.List
;
import
com.ruoyi.project.zjsgfa.domain.SjGztz
;
/**
* 设计信息-构造特征Mapper接口
*
* @author ruoyi
* @date 2025-07-22
*/
public
interface
SjGztzMapper
{
/**
* 查询设计信息-构造特征
*
* @param id 设计信息-构造特征主键
* @return 设计信息-构造特征
*/
public
SjGztz
selectSjGztzById
(
Long
id
);
/**
* 查询设计信息-构造特征列表
*
* @param sjGztz 设计信息-构造特征
* @return 设计信息-构造特征集合
*/
public
List
<
SjGztz
>
selectSjGztzList
(
SjGztz
sjGztz
);
/**
* 新增设计信息-构造特征
*
* @param sjGztz 设计信息-构造特征
* @return 结果
*/
public
int
insertSjGztz
(
SjGztz
sjGztz
);
/**
* 修改设计信息-构造特征
*
* @param sjGztz 设计信息-构造特征
* @return 结果
*/
public
int
updateSjGztz
(
SjGztz
sjGztz
);
/**
* 删除设计信息-构造特征
*
* @param id 设计信息-构造特征主键
* @return 结果
*/
public
int
deleteSjGztzById
(
Long
id
);
/**
* 批量删除设计信息-构造特征
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public
int
deleteSjGztzByIds
(
Long
[]
ids
);
int
deleteSjGztzByJh
(
String
jh
);
int
insertSjGztzBatch
(
List
<
SjGztz
>
sjGztzList
);
}
src/main/java/com/ruoyi/project/zjsgfa/mapper/SjH2sMapper.java
0 → 100644
View file @
f03ceafc
package
com
.
ruoyi
.
project
.
zjsgfa
.
mapper
;
import
java.util.List
;
import
com.ruoyi.project.zjsgfa.domain.SjH2s
;
/**
* 设计信息-H2SMapper接口
*
* @author ruoyi
* @date 2025-07-22
*/
public
interface
SjH2sMapper
{
/**
* 查询设计信息-H2S
*
* @param id 设计信息-H2S主键
* @return 设计信息-H2S
*/
public
SjH2s
selectSjH2sById
(
Long
id
);
/**
* 查询设计信息-H2S列表
*
* @param sjH2s 设计信息-H2S
* @return 设计信息-H2S集合
*/
public
List
<
SjH2s
>
selectSjH2sList
(
SjH2s
sjH2s
);
/**
* 新增设计信息-H2S
*
* @param sjH2s 设计信息-H2S
* @return 结果
*/
public
int
insertSjH2s
(
SjH2s
sjH2s
);
/**
* 修改设计信息-H2S
*
* @param sjH2s 设计信息-H2S
* @return 结果
*/
public
int
updateSjH2s
(
SjH2s
sjH2s
);
/**
* 删除设计信息-H2S
*
* @param id 设计信息-H2S主键
* @return 结果
*/
public
int
deleteSjH2sById
(
Long
id
);
/**
* 批量删除设计信息-H2S
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public
int
deleteSjH2sByIds
(
Long
[]
ids
);
int
deleteSjH2sByJh
(
String
jh
);
int
insertSjH2sBatch
(
List
<
SjH2s
>
sjH2sList
);
}
src/main/java/com/ruoyi/project/zjsgfa/mapper/SjLjjwMapper.java
0 → 100644
View file @
f03ceafc
package
com
.
ruoyi
.
project
.
zjsgfa
.
mapper
;
import
java.util.List
;
import
com.ruoyi.project.zjsgfa.domain.SjLjjw
;
/**
* 设计-邻井井位Mapper接口
*
* @author ruoyi
* @date 2025-07-22
*/
public
interface
SjLjjwMapper
{
/**
* 查询设计-邻井井位
*
* @param id 设计-邻井井位主键
* @return 设计-邻井井位
*/
public
SjLjjw
selectSjLjjwById
(
Long
id
);
/**
* 查询设计-邻井井位列表
*
* @param sjLjjw 设计-邻井井位
* @return 设计-邻井井位集合
*/
public
List
<
SjLjjw
>
selectSjLjjwList
(
SjLjjw
sjLjjw
);
/**
* 新增设计-邻井井位
*
* @param sjLjjw 设计-邻井井位
* @return 结果
*/
public
int
insertSjLjjw
(
SjLjjw
sjLjjw
);
/**
* 修改设计-邻井井位
*
* @param sjLjjw 设计-邻井井位
* @return 结果
*/
public
int
updateSjLjjw
(
SjLjjw
sjLjjw
);
/**
* 删除设计-邻井井位
*
* @param id 设计-邻井井位主键
* @return 结果
*/
public
int
deleteSjLjjwById
(
Long
id
);
/**
* 批量删除设计-邻井井位
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public
int
deleteSjLjjwByIds
(
Long
[]
ids
);
}
src/main/java/com/ruoyi/project/zjsgfa/mapper/SjLjsmMapper.java
0 → 100644
View file @
f03ceafc
package
com
.
ruoyi
.
project
.
zjsgfa
.
mapper
;
import
java.util.List
;
import
com.ruoyi.project.zjsgfa.domain.SjLjsm
;
/**
* 设计信息-邻井扫描Mapper接口
*
* @author ruoyi
* @date 2025-07-22
*/
public
interface
SjLjsmMapper
{
/**
* 查询设计信息-邻井扫描
*
* @param id 设计信息-邻井扫描主键
* @return 设计信息-邻井扫描
*/
public
SjLjsm
selectSjLjsmById
(
Long
id
);
/**
* 查询设计信息-邻井扫描列表
*
* @param sjLjsm 设计信息-邻井扫描
* @return 设计信息-邻井扫描集合
*/
public
List
<
SjLjsm
>
selectSjLjsmList
(
SjLjsm
sjLjsm
);
/**
* 新增设计信息-邻井扫描
*
* @param sjLjsm 设计信息-邻井扫描
* @return 结果
*/
public
int
insertSjLjsm
(
SjLjsm
sjLjsm
);
/**
* 修改设计信息-邻井扫描
*
* @param sjLjsm 设计信息-邻井扫描
* @return 结果
*/
public
int
updateSjLjsm
(
SjLjsm
sjLjsm
);
/**
* 删除设计信息-邻井扫描
*
* @param id 设计信息-邻井扫描主键
* @return 结果
*/
public
int
deleteSjLjsmById
(
Long
id
);
/**
* 批量删除设计信息-邻井扫描
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public
int
deleteSjLjsmByIds
(
Long
[]
ids
);
int
deleteSjLjsmByJh
(
String
jh
);
int
insertSjLjsmBatch
(
List
<
SjLjsm
>
sjLjsmList
);
}
src/main/java/com/ruoyi/project/zjsgfa/mapper/SjQkztfxMapper.java
0 → 100644
View file @
f03ceafc
package
com
.
ruoyi
.
project
.
zjsgfa
.
mapper
;
import
java.util.List
;
import
com.ruoyi.project.zjsgfa.domain.SjQkztfx
;
/**
* 设计-区块钻头分析Mapper接口
*
* @author ruoyi
* @date 2025-07-22
*/
public
interface
SjQkztfxMapper
{
/**
* 查询设计-区块钻头分析
*
* @param id 设计-区块钻头分析主键
* @return 设计-区块钻头分析
*/
public
SjQkztfx
selectSjQkztfxById
(
Long
id
);
/**
* 查询设计-区块钻头分析列表
*
* @param sjQkztfx 设计-区块钻头分析
* @return 设计-区块钻头分析集合
*/
public
List
<
SjQkztfx
>
selectSjQkztfxList
(
SjQkztfx
sjQkztfx
);
/**
* 新增设计-区块钻头分析
*
* @param sjQkztfx 设计-区块钻头分析
* @return 结果
*/
public
int
insertSjQkztfx
(
SjQkztfx
sjQkztfx
);
/**
* 修改设计-区块钻头分析
*
* @param sjQkztfx 设计-区块钻头分析
* @return 结果
*/
public
int
updateSjQkztfx
(
SjQkztfx
sjQkztfx
);
/**
* 删除设计-区块钻头分析
*
* @param id 设计-区块钻头分析主键
* @return 结果
*/
public
int
deleteSjQkztfxById
(
Long
id
);
/**
* 批量删除设计-区块钻头分析
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public
int
deleteSjQkztfxByIds
(
Long
[]
ids
);
}
src/main/java/com/ruoyi/project/zjsgfa/mapper/SjSzfxjgMapper.java
0 → 100644
View file @
f03ceafc
package
com
.
ruoyi
.
project
.
zjsgfa
.
mapper
;
import
java.util.List
;
import
com.ruoyi.project.zjsgfa.domain.SjSzfxjg
;
/**
* 设计-实钻分析结果Mapper接口
*
* @author ruoyi
* @date 2025-07-22
*/
public
interface
SjSzfxjgMapper
{
/**
* 查询设计-实钻分析结果
*
* @param id 设计-实钻分析结果主键
* @return 设计-实钻分析结果
*/
public
SjSzfxjg
selectSjSzfxjgById
(
Long
id
);
/**
* 查询设计-实钻分析结果列表
*
* @param sjSzfxjg 设计-实钻分析结果
* @return 设计-实钻分析结果集合
*/
public
List
<
SjSzfxjg
>
selectSjSzfxjgList
(
SjSzfxjg
sjSzfxjg
);
/**
* 新增设计-实钻分析结果
*
* @param sjSzfxjg 设计-实钻分析结果
* @return 结果
*/
public
int
insertSjSzfxjg
(
SjSzfxjg
sjSzfxjg
);
/**
* 修改设计-实钻分析结果
*
* @param sjSzfxjg 设计-实钻分析结果
* @return 结果
*/
public
int
updateSjSzfxjg
(
SjSzfxjg
sjSzfxjg
);
/**
* 删除设计-实钻分析结果
*
* @param id 设计-实钻分析结果主键
* @return 结果
*/
public
int
deleteSjSzfxjgById
(
Long
id
);
/**
* 批量删除设计-实钻分析结果
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public
int
deleteSjSzfxjgByIds
(
Long
[]
ids
);
}
src/main/java/com/ruoyi/project/zjsgfa/mapper/SjZqfxMapper.java
0 → 100644
View file @
f03ceafc
package
com
.
ruoyi
.
project
.
zjsgfa
.
mapper
;
import
java.util.List
;
import
com.ruoyi.project.zjsgfa.domain.SjZqfx
;
/**
* 设计-周期分析Mapper接口
*
* @author ruoyi
* @date 2025-07-22
*/
public
interface
SjZqfxMapper
{
/**
* 查询设计-周期分析
*
* @param id 设计-周期分析主键
* @return 设计-周期分析
*/
public
SjZqfx
selectSjZqfxById
(
Long
id
);
/**
* 查询设计-周期分析列表
*
* @param sjZqfx 设计-周期分析
* @return 设计-周期分析集合
*/
public
List
<
SjZqfx
>
selectSjZqfxList
(
SjZqfx
sjZqfx
);
/**
* 新增设计-周期分析
*
* @param sjZqfx 设计-周期分析
* @return 结果
*/
public
int
insertSjZqfx
(
SjZqfx
sjZqfx
);
/**
* 修改设计-周期分析
*
* @param sjZqfx 设计-周期分析
* @return 结果
*/
public
int
updateSjZqfx
(
SjZqfx
sjZqfx
);
/**
* 删除设计-周期分析
*
* @param id 设计-周期分析主键
* @return 结果
*/
public
int
deleteSjZqfxById
(
Long
id
);
/**
* 批量删除设计-周期分析
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public
int
deleteSjZqfxByIds
(
Long
[]
ids
);
}
src/main/java/com/ruoyi/project/zjsgfa/mapper/SjZtgjsjMapper.java
0 → 100644
View file @
f03ceafc
package
com
.
ruoyi
.
project
.
zjsgfa
.
mapper
;
import
java.util.List
;
import
com.ruoyi.project.zjsgfa.domain.SjZtgjsj
;
/**
* 设计-钻头关键数据分析Mapper接口
*
* @author ruoyi
* @date 2025-07-22
*/
public
interface
SjZtgjsjMapper
{
/**
* 查询设计-钻头关键数据分析
*
* @param id 设计-钻头关键数据分析主键
* @return 设计-钻头关键数据分析
*/
public
SjZtgjsj
selectSjZtgjsjById
(
Long
id
);
/**
* 查询设计-钻头关键数据分析列表
*
* @param sjZtgjsj 设计-钻头关键数据分析
* @return 设计-钻头关键数据分析集合
*/
public
List
<
SjZtgjsj
>
selectSjZtgjsjList
(
SjZtgjsj
sjZtgjsj
);
/**
* 新增设计-钻头关键数据分析
*
* @param sjZtgjsj 设计-钻头关键数据分析
* @return 结果
*/
public
int
insertSjZtgjsj
(
SjZtgjsj
sjZtgjsj
);
/**
* 修改设计-钻头关键数据分析
*
* @param sjZtgjsj 设计-钻头关键数据分析
* @return 结果
*/
public
int
updateSjZtgjsj
(
SjZtgjsj
sjZtgjsj
);
/**
* 删除设计-钻头关键数据分析
*
* @param id 设计-钻头关键数据分析主键
* @return 结果
*/
public
int
deleteSjZtgjsjById
(
Long
id
);
/**
* 批量删除设计-钻头关键数据分析
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public
int
deleteSjZtgjsjByIds
(
Long
[]
ids
);
}
src/main/java/com/ruoyi/project/zjsgfa/mapper/SjZysxMapper.java
0 → 100644
View file @
f03ceafc
package
com
.
ruoyi
.
project
.
zjsgfa
.
mapper
;
import
java.util.List
;
import
com.ruoyi.project.zjsgfa.domain.SjZysx
;
/**
* 设计信息-注意事项Mapper接口
*
* @author ruoyi
* @date 2025-07-22
*/
public
interface
SjZysxMapper
{
/**
* 查询设计信息-注意事项
*
* @param id 设计信息-注意事项主键
* @return 设计信息-注意事项
*/
public
SjZysx
selectSjZysxById
(
Long
id
);
/**
* 查询设计信息-注意事项列表
*
* @param sjZysx 设计信息-注意事项
* @return 设计信息-注意事项集合
*/
public
List
<
SjZysx
>
selectSjZysxList
(
SjZysx
sjZysx
);
/**
* 新增设计信息-注意事项
*
* @param sjZysx 设计信息-注意事项
* @return 结果
*/
public
int
insertSjZysx
(
SjZysx
sjZysx
);
/**
* 修改设计信息-注意事项
*
* @param sjZysx 设计信息-注意事项
* @return 结果
*/
public
int
updateSjZysx
(
SjZysx
sjZysx
);
/**
* 删除设计信息-注意事项
*
* @param id 设计信息-注意事项主键
* @return 结果
*/
public
int
deleteSjZysxById
(
Long
id
);
/**
* 批量删除设计信息-注意事项
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public
int
deleteSjZysxByIds
(
Long
[]
ids
);
int
deleteSjZysxByJh
(
String
jh
);
}
src/main/java/com/ruoyi/project/zjsgfa/service/ISjGztzService.java
0 → 100644
View file @
f03ceafc
package
com
.
ruoyi
.
project
.
zjsgfa
.
service
;
import
java.util.List
;
import
com.ruoyi.project.zjsgfa.domain.SjGztz
;
/**
* 设计信息-构造特征Service接口
*
* @author ruoyi
* @date 2025-07-22
*/
public
interface
ISjGztzService
{
/**
* 查询设计信息-构造特征
*
* @param id 设计信息-构造特征主键
* @return 设计信息-构造特征
*/
public
SjGztz
selectSjGztzById
(
Long
id
);
/**
* 查询设计信息-构造特征列表
*
* @param sjGztz 设计信息-构造特征
* @return 设计信息-构造特征集合
*/
public
List
<
SjGztz
>
selectSjGztzList
(
SjGztz
sjGztz
);
/**
* 新增设计信息-构造特征
*
* @param sjGztz 设计信息-构造特征
* @return 结果
*/
public
int
insertSjGztz
(
SjGztz
sjGztz
);
/**
* 修改设计信息-构造特征
*
* @param sjGztz 设计信息-构造特征
* @return 结果
*/
public
int
updateSjGztz
(
SjGztz
sjGztz
);
/**
* 批量删除设计信息-构造特征
*
* @param ids 需要删除的设计信息-构造特征主键集合
* @return 结果
*/
public
int
deleteSjGztzByIds
(
Long
[]
ids
);
/**
* 删除设计信息-构造特征信息
*
* @param id 设计信息-构造特征主键
* @return 结果
*/
public
int
deleteSjGztzById
(
Long
id
);
}
src/main/java/com/ruoyi/project/zjsgfa/service/ISjH2sService.java
0 → 100644
View file @
f03ceafc
package
com
.
ruoyi
.
project
.
zjsgfa
.
service
;
import
java.util.List
;
import
com.ruoyi.project.zjsgfa.domain.SjH2s
;
/**
* 设计信息-H2SService接口
*
* @author ruoyi
* @date 2025-07-22
*/
public
interface
ISjH2sService
{
/**
* 查询设计信息-H2S
*
* @param id 设计信息-H2S主键
* @return 设计信息-H2S
*/
public
SjH2s
selectSjH2sById
(
Long
id
);
/**
* 查询设计信息-H2S列表
*
* @param sjH2s 设计信息-H2S
* @return 设计信息-H2S集合
*/
public
List
<
SjH2s
>
selectSjH2sList
(
SjH2s
sjH2s
);
/**
* 新增设计信息-H2S
*
* @param sjH2s 设计信息-H2S
* @return 结果
*/
public
int
insertSjH2s
(
SjH2s
sjH2s
);
/**
* 修改设计信息-H2S
*
* @param sjH2s 设计信息-H2S
* @return 结果
*/
public
int
updateSjH2s
(
SjH2s
sjH2s
);
/**
* 批量删除设计信息-H2S
*
* @param ids 需要删除的设计信息-H2S主键集合
* @return 结果
*/
public
int
deleteSjH2sByIds
(
Long
[]
ids
);
/**
* 删除设计信息-H2S信息
*
* @param id 设计信息-H2S主键
* @return 结果
*/
public
int
deleteSjH2sById
(
Long
id
);
}
src/main/java/com/ruoyi/project/zjsgfa/service/ISjLjjwService.java
0 → 100644
View file @
f03ceafc
package
com
.
ruoyi
.
project
.
zjsgfa
.
service
;
import
java.util.List
;
import
com.ruoyi.project.zjsgfa.domain.SjLjjw
;
/**
* 设计-邻井井位Service接口
*
* @author ruoyi
* @date 2025-07-22
*/
public
interface
ISjLjjwService
{
/**
* 查询设计-邻井井位
*
* @param id 设计-邻井井位主键
* @return 设计-邻井井位
*/
public
SjLjjw
selectSjLjjwById
(
Long
id
);
/**
* 查询设计-邻井井位列表
*
* @param sjLjjw 设计-邻井井位
* @return 设计-邻井井位集合
*/
public
List
<
SjLjjw
>
selectSjLjjwList
(
SjLjjw
sjLjjw
);
/**
* 新增设计-邻井井位
*
* @param sjLjjw 设计-邻井井位
* @return 结果
*/
public
int
insertSjLjjw
(
SjLjjw
sjLjjw
);
/**
* 修改设计-邻井井位
*
* @param sjLjjw 设计-邻井井位
* @return 结果
*/
public
int
updateSjLjjw
(
SjLjjw
sjLjjw
);
/**
* 批量删除设计-邻井井位
*
* @param ids 需要删除的设计-邻井井位主键集合
* @return 结果
*/
public
int
deleteSjLjjwByIds
(
Long
[]
ids
);
/**
* 删除设计-邻井井位信息
*
* @param id 设计-邻井井位主键
* @return 结果
*/
public
int
deleteSjLjjwById
(
Long
id
);
}
src/main/java/com/ruoyi/project/zjsgfa/service/ISjLjsmService.java
0 → 100644
View file @
f03ceafc
package
com
.
ruoyi
.
project
.
zjsgfa
.
service
;
import
java.util.List
;
import
com.ruoyi.project.zjsgfa.domain.SjLjsm
;
/**
* 设计信息-邻井扫描Service接口
*
* @author ruoyi
* @date 2025-07-22
*/
public
interface
ISjLjsmService
{
/**
* 查询设计信息-邻井扫描
*
* @param id 设计信息-邻井扫描主键
* @return 设计信息-邻井扫描
*/
public
SjLjsm
selectSjLjsmById
(
Long
id
);
/**
* 查询设计信息-邻井扫描列表
*
* @param sjLjsm 设计信息-邻井扫描
* @return 设计信息-邻井扫描集合
*/
public
List
<
SjLjsm
>
selectSjLjsmList
(
SjLjsm
sjLjsm
);
/**
* 新增设计信息-邻井扫描
*
* @param sjLjsm 设计信息-邻井扫描
* @return 结果
*/
public
int
insertSjLjsm
(
SjLjsm
sjLjsm
);
/**
* 修改设计信息-邻井扫描
*
* @param sjLjsm 设计信息-邻井扫描
* @return 结果
*/
public
int
updateSjLjsm
(
SjLjsm
sjLjsm
);
/**
* 批量删除设计信息-邻井扫描
*
* @param ids 需要删除的设计信息-邻井扫描主键集合
* @return 结果
*/
public
int
deleteSjLjsmByIds
(
Long
[]
ids
);
/**
* 删除设计信息-邻井扫描信息
*
* @param id 设计信息-邻井扫描主键
* @return 结果
*/
public
int
deleteSjLjsmById
(
Long
id
);
}
src/main/java/com/ruoyi/project/zjsgfa/service/ISjQkztfxService.java
0 → 100644
View file @
f03ceafc
package
com
.
ruoyi
.
project
.
zjsgfa
.
service
;
import
java.util.List
;
import
com.ruoyi.project.zjsgfa.domain.SjQkztfx
;
/**
* 设计-区块钻头分析Service接口
*
* @author ruoyi
* @date 2025-07-22
*/
public
interface
ISjQkztfxService
{
/**
* 查询设计-区块钻头分析
*
* @param id 设计-区块钻头分析主键
* @return 设计-区块钻头分析
*/
public
SjQkztfx
selectSjQkztfxById
(
Long
id
);
/**
* 查询设计-区块钻头分析列表
*
* @param sjQkztfx 设计-区块钻头分析
* @return 设计-区块钻头分析集合
*/
public
List
<
SjQkztfx
>
selectSjQkztfxList
(
SjQkztfx
sjQkztfx
);
/**
* 新增设计-区块钻头分析
*
* @param sjQkztfx 设计-区块钻头分析
* @return 结果
*/
public
int
insertSjQkztfx
(
SjQkztfx
sjQkztfx
);
/**
* 修改设计-区块钻头分析
*
* @param sjQkztfx 设计-区块钻头分析
* @return 结果
*/
public
int
updateSjQkztfx
(
SjQkztfx
sjQkztfx
);
/**
* 批量删除设计-区块钻头分析
*
* @param ids 需要删除的设计-区块钻头分析主键集合
* @return 结果
*/
public
int
deleteSjQkztfxByIds
(
Long
[]
ids
);
/**
* 删除设计-区块钻头分析信息
*
* @param id 设计-区块钻头分析主键
* @return 结果
*/
public
int
deleteSjQkztfxById
(
Long
id
);
}
src/main/java/com/ruoyi/project/zjsgfa/service/ISjSzfxjgService.java
0 → 100644
View file @
f03ceafc
package
com
.
ruoyi
.
project
.
zjsgfa
.
service
;
import
java.util.List
;
import
com.ruoyi.project.zjsgfa.domain.SjSzfxjg
;
/**
* 设计-实钻分析结果Service接口
*
* @author ruoyi
* @date 2025-07-22
*/
public
interface
ISjSzfxjgService
{
/**
* 查询设计-实钻分析结果
*
* @param id 设计-实钻分析结果主键
* @return 设计-实钻分析结果
*/
public
SjSzfxjg
selectSjSzfxjgById
(
Long
id
);
/**
* 查询设计-实钻分析结果列表
*
* @param sjSzfxjg 设计-实钻分析结果
* @return 设计-实钻分析结果集合
*/
public
List
<
SjSzfxjg
>
selectSjSzfxjgList
(
SjSzfxjg
sjSzfxjg
);
/**
* 新增设计-实钻分析结果
*
* @param sjSzfxjg 设计-实钻分析结果
* @return 结果
*/
public
int
insertSjSzfxjg
(
SjSzfxjg
sjSzfxjg
);
/**
* 修改设计-实钻分析结果
*
* @param sjSzfxjg 设计-实钻分析结果
* @return 结果
*/
public
int
updateSjSzfxjg
(
SjSzfxjg
sjSzfxjg
);
/**
* 批量删除设计-实钻分析结果
*
* @param ids 需要删除的设计-实钻分析结果主键集合
* @return 结果
*/
public
int
deleteSjSzfxjgByIds
(
Long
[]
ids
);
/**
* 删除设计-实钻分析结果信息
*
* @param id 设计-实钻分析结果主键
* @return 结果
*/
public
int
deleteSjSzfxjgById
(
Long
id
);
}
src/main/java/com/ruoyi/project/zjsgfa/service/ISjZqfxService.java
0 → 100644
View file @
f03ceafc
package
com
.
ruoyi
.
project
.
zjsgfa
.
service
;
import
java.util.List
;
import
com.ruoyi.project.zjsgfa.domain.SjZqfx
;
/**
* 设计-周期分析Service接口
*
* @author ruoyi
* @date 2025-07-22
*/
public
interface
ISjZqfxService
{
/**
* 查询设计-周期分析
*
* @param id 设计-周期分析主键
* @return 设计-周期分析
*/
public
SjZqfx
selectSjZqfxById
(
Long
id
);
/**
* 查询设计-周期分析列表
*
* @param sjZqfx 设计-周期分析
* @return 设计-周期分析集合
*/
public
List
<
SjZqfx
>
selectSjZqfxList
(
SjZqfx
sjZqfx
);
/**
* 新增设计-周期分析
*
* @param sjZqfx 设计-周期分析
* @return 结果
*/
public
int
insertSjZqfx
(
SjZqfx
sjZqfx
);
/**
* 修改设计-周期分析
*
* @param sjZqfx 设计-周期分析
* @return 结果
*/
public
int
updateSjZqfx
(
SjZqfx
sjZqfx
);
/**
* 批量删除设计-周期分析
*
* @param ids 需要删除的设计-周期分析主键集合
* @return 结果
*/
public
int
deleteSjZqfxByIds
(
Long
[]
ids
);
/**
* 删除设计-周期分析信息
*
* @param id 设计-周期分析主键
* @return 结果
*/
public
int
deleteSjZqfxById
(
Long
id
);
}
src/main/java/com/ruoyi/project/zjsgfa/service/ISjZtgjsjService.java
0 → 100644
View file @
f03ceafc
package
com
.
ruoyi
.
project
.
zjsgfa
.
service
;
import
java.util.List
;
import
com.ruoyi.project.zjsgfa.domain.SjZtgjsj
;
/**
* 设计-钻头关键数据分析Service接口
*
* @author ruoyi
* @date 2025-07-22
*/
public
interface
ISjZtgjsjService
{
/**
* 查询设计-钻头关键数据分析
*
* @param id 设计-钻头关键数据分析主键
* @return 设计-钻头关键数据分析
*/
public
SjZtgjsj
selectSjZtgjsjById
(
Long
id
);
/**
* 查询设计-钻头关键数据分析列表
*
* @param sjZtgjsj 设计-钻头关键数据分析
* @return 设计-钻头关键数据分析集合
*/
public
List
<
SjZtgjsj
>
selectSjZtgjsjList
(
SjZtgjsj
sjZtgjsj
);
/**
* 新增设计-钻头关键数据分析
*
* @param sjZtgjsj 设计-钻头关键数据分析
* @return 结果
*/
public
int
insertSjZtgjsj
(
SjZtgjsj
sjZtgjsj
);
/**
* 修改设计-钻头关键数据分析
*
* @param sjZtgjsj 设计-钻头关键数据分析
* @return 结果
*/
public
int
updateSjZtgjsj
(
SjZtgjsj
sjZtgjsj
);
/**
* 批量删除设计-钻头关键数据分析
*
* @param ids 需要删除的设计-钻头关键数据分析主键集合
* @return 结果
*/
public
int
deleteSjZtgjsjByIds
(
Long
[]
ids
);
/**
* 删除设计-钻头关键数据分析信息
*
* @param id 设计-钻头关键数据分析主键
* @return 结果
*/
public
int
deleteSjZtgjsjById
(
Long
id
);
}
src/main/java/com/ruoyi/project/zjsgfa/service/ISjZysxService.java
0 → 100644
View file @
f03ceafc
package
com
.
ruoyi
.
project
.
zjsgfa
.
service
;
import
java.util.List
;
import
com.ruoyi.project.zjsgfa.domain.SjZysx
;
/**
* 设计信息-注意事项Service接口
*
* @author ruoyi
* @date 2025-07-22
*/
public
interface
ISjZysxService
{
/**
* 查询设计信息-注意事项
*
* @param id 设计信息-注意事项主键
* @return 设计信息-注意事项
*/
public
SjZysx
selectSjZysxById
(
Long
id
);
/**
* 查询设计信息-注意事项列表
*
* @param sjZysx 设计信息-注意事项
* @return 设计信息-注意事项集合
*/
public
List
<
SjZysx
>
selectSjZysxList
(
SjZysx
sjZysx
);
/**
* 新增设计信息-注意事项
*
* @param sjZysx 设计信息-注意事项
* @return 结果
*/
public
int
insertSjZysx
(
SjZysx
sjZysx
);
/**
* 修改设计信息-注意事项
*
* @param sjZysx 设计信息-注意事项
* @return 结果
*/
public
int
updateSjZysx
(
SjZysx
sjZysx
);
/**
* 批量删除设计信息-注意事项
*
* @param ids 需要删除的设计信息-注意事项主键集合
* @return 结果
*/
public
int
deleteSjZysxByIds
(
Long
[]
ids
);
/**
* 删除设计信息-注意事项信息
*
* @param id 设计信息-注意事项主键
* @return 结果
*/
public
int
deleteSjZysxById
(
Long
id
);
}
src/main/java/com/ruoyi/project/zjsgfa/service/impl/SjGztzServiceImpl.java
0 → 100644
View file @
f03ceafc
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.SjGztzMapper
;
import
com.ruoyi.project.zjsgfa.domain.SjGztz
;
import
com.ruoyi.project.zjsgfa.service.ISjGztzService
;
/**
* 设计信息-构造特征Service业务层处理
*
* @author ruoyi
* @date 2025-07-22
*/
@Service
public
class
SjGztzServiceImpl
implements
ISjGztzService
{
@Autowired
private
SjGztzMapper
sjGztzMapper
;
/**
* 查询设计信息-构造特征
*
* @param id 设计信息-构造特征主键
* @return 设计信息-构造特征
*/
@Override
public
SjGztz
selectSjGztzById
(
Long
id
)
{
return
sjGztzMapper
.
selectSjGztzById
(
id
);
}
/**
* 查询设计信息-构造特征列表
*
* @param sjGztz 设计信息-构造特征
* @return 设计信息-构造特征
*/
@Override
public
List
<
SjGztz
>
selectSjGztzList
(
SjGztz
sjGztz
)
{
return
sjGztzMapper
.
selectSjGztzList
(
sjGztz
);
}
/**
* 新增设计信息-构造特征
*
* @param sjGztz 设计信息-构造特征
* @return 结果
*/
@Override
public
int
insertSjGztz
(
SjGztz
sjGztz
)
{
return
sjGztzMapper
.
insertSjGztz
(
sjGztz
);
}
/**
* 修改设计信息-构造特征
*
* @param sjGztz 设计信息-构造特征
* @return 结果
*/
@Override
public
int
updateSjGztz
(
SjGztz
sjGztz
)
{
sjGztz
.
setUpdateTime
(
DateUtils
.
getNowDate
());
return
sjGztzMapper
.
updateSjGztz
(
sjGztz
);
}
/**
* 批量删除设计信息-构造特征
*
* @param ids 需要删除的设计信息-构造特征主键
* @return 结果
*/
@Override
public
int
deleteSjGztzByIds
(
Long
[]
ids
)
{
return
sjGztzMapper
.
deleteSjGztzByIds
(
ids
);
}
/**
* 删除设计信息-构造特征信息
*
* @param id 设计信息-构造特征主键
* @return 结果
*/
@Override
public
int
deleteSjGztzById
(
Long
id
)
{
return
sjGztzMapper
.
deleteSjGztzById
(
id
);
}
}
src/main/java/com/ruoyi/project/zjsgfa/service/impl/SjH2sServiceImpl.java
0 → 100644
View file @
f03ceafc
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.SjH2sMapper
;
import
com.ruoyi.project.zjsgfa.domain.SjH2s
;
import
com.ruoyi.project.zjsgfa.service.ISjH2sService
;
/**
* 设计信息-H2SService业务层处理
*
* @author ruoyi
* @date 2025-07-22
*/
@Service
public
class
SjH2sServiceImpl
implements
ISjH2sService
{
@Autowired
private
SjH2sMapper
sjH2sMapper
;
/**
* 查询设计信息-H2S
*
* @param id 设计信息-H2S主键
* @return 设计信息-H2S
*/
@Override
public
SjH2s
selectSjH2sById
(
Long
id
)
{
return
sjH2sMapper
.
selectSjH2sById
(
id
);
}
/**
* 查询设计信息-H2S列表
*
* @param sjH2s 设计信息-H2S
* @return 设计信息-H2S
*/
@Override
public
List
<
SjH2s
>
selectSjH2sList
(
SjH2s
sjH2s
)
{
return
sjH2sMapper
.
selectSjH2sList
(
sjH2s
);
}
/**
* 新增设计信息-H2S
*
* @param sjH2s 设计信息-H2S
* @return 结果
*/
@Override
public
int
insertSjH2s
(
SjH2s
sjH2s
)
{
return
sjH2sMapper
.
insertSjH2s
(
sjH2s
);
}
/**
* 修改设计信息-H2S
*
* @param sjH2s 设计信息-H2S
* @return 结果
*/
@Override
public
int
updateSjH2s
(
SjH2s
sjH2s
)
{
sjH2s
.
setUpdateTime
(
DateUtils
.
getNowDate
());
return
sjH2sMapper
.
updateSjH2s
(
sjH2s
);
}
/**
* 批量删除设计信息-H2S
*
* @param ids 需要删除的设计信息-H2S主键
* @return 结果
*/
@Override
public
int
deleteSjH2sByIds
(
Long
[]
ids
)
{
return
sjH2sMapper
.
deleteSjH2sByIds
(
ids
);
}
/**
* 删除设计信息-H2S信息
*
* @param id 设计信息-H2S主键
* @return 结果
*/
@Override
public
int
deleteSjH2sById
(
Long
id
)
{
return
sjH2sMapper
.
deleteSjH2sById
(
id
);
}
}
src/main/java/com/ruoyi/project/zjsgfa/service/impl/SjLjjwServiceImpl.java
0 → 100644
View file @
f03ceafc
package
com
.
ruoyi
.
project
.
zjsgfa
.
service
.
impl
;
import
java.util.List
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.ruoyi.project.zjsgfa.mapper.SjLjjwMapper
;
import
com.ruoyi.project.zjsgfa.domain.SjLjjw
;
import
com.ruoyi.project.zjsgfa.service.ISjLjjwService
;
/**
* 设计-邻井井位Service业务层处理
*
* @author ruoyi
* @date 2025-07-22
*/
@Service
public
class
SjLjjwServiceImpl
implements
ISjLjjwService
{
@Autowired
private
SjLjjwMapper
sjLjjwMapper
;
/**
* 查询设计-邻井井位
*
* @param id 设计-邻井井位主键
* @return 设计-邻井井位
*/
@Override
public
SjLjjw
selectSjLjjwById
(
Long
id
)
{
return
sjLjjwMapper
.
selectSjLjjwById
(
id
);
}
/**
* 查询设计-邻井井位列表
*
* @param sjLjjw 设计-邻井井位
* @return 设计-邻井井位
*/
@Override
public
List
<
SjLjjw
>
selectSjLjjwList
(
SjLjjw
sjLjjw
)
{
return
sjLjjwMapper
.
selectSjLjjwList
(
sjLjjw
);
}
/**
* 新增设计-邻井井位
*
* @param sjLjjw 设计-邻井井位
* @return 结果
*/
@Override
public
int
insertSjLjjw
(
SjLjjw
sjLjjw
)
{
return
sjLjjwMapper
.
insertSjLjjw
(
sjLjjw
);
}
/**
* 修改设计-邻井井位
*
* @param sjLjjw 设计-邻井井位
* @return 结果
*/
@Override
public
int
updateSjLjjw
(
SjLjjw
sjLjjw
)
{
return
sjLjjwMapper
.
updateSjLjjw
(
sjLjjw
);
}
/**
* 批量删除设计-邻井井位
*
* @param ids 需要删除的设计-邻井井位主键
* @return 结果
*/
@Override
public
int
deleteSjLjjwByIds
(
Long
[]
ids
)
{
return
sjLjjwMapper
.
deleteSjLjjwByIds
(
ids
);
}
/**
* 删除设计-邻井井位信息
*
* @param id 设计-邻井井位主键
* @return 结果
*/
@Override
public
int
deleteSjLjjwById
(
Long
id
)
{
return
sjLjjwMapper
.
deleteSjLjjwById
(
id
);
}
}
src/main/java/com/ruoyi/project/zjsgfa/service/impl/SjLjsmServiceImpl.java
0 → 100644
View file @
f03ceafc
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.SjLjsmMapper
;
import
com.ruoyi.project.zjsgfa.domain.SjLjsm
;
import
com.ruoyi.project.zjsgfa.service.ISjLjsmService
;
/**
* 设计信息-邻井扫描Service业务层处理
*
* @author ruoyi
* @date 2025-07-22
*/
@Service
public
class
SjLjsmServiceImpl
implements
ISjLjsmService
{
@Autowired
private
SjLjsmMapper
sjLjsmMapper
;
/**
* 查询设计信息-邻井扫描
*
* @param id 设计信息-邻井扫描主键
* @return 设计信息-邻井扫描
*/
@Override
public
SjLjsm
selectSjLjsmById
(
Long
id
)
{
return
sjLjsmMapper
.
selectSjLjsmById
(
id
);
}
/**
* 查询设计信息-邻井扫描列表
*
* @param sjLjsm 设计信息-邻井扫描
* @return 设计信息-邻井扫描
*/
@Override
public
List
<
SjLjsm
>
selectSjLjsmList
(
SjLjsm
sjLjsm
)
{
return
sjLjsmMapper
.
selectSjLjsmList
(
sjLjsm
);
}
/**
* 新增设计信息-邻井扫描
*
* @param sjLjsm 设计信息-邻井扫描
* @return 结果
*/
@Override
public
int
insertSjLjsm
(
SjLjsm
sjLjsm
)
{
return
sjLjsmMapper
.
insertSjLjsm
(
sjLjsm
);
}
/**
* 修改设计信息-邻井扫描
*
* @param sjLjsm 设计信息-邻井扫描
* @return 结果
*/
@Override
public
int
updateSjLjsm
(
SjLjsm
sjLjsm
)
{
sjLjsm
.
setUpdateTime
(
DateUtils
.
getNowDate
());
return
sjLjsmMapper
.
updateSjLjsm
(
sjLjsm
);
}
/**
* 批量删除设计信息-邻井扫描
*
* @param ids 需要删除的设计信息-邻井扫描主键
* @return 结果
*/
@Override
public
int
deleteSjLjsmByIds
(
Long
[]
ids
)
{
return
sjLjsmMapper
.
deleteSjLjsmByIds
(
ids
);
}
/**
* 删除设计信息-邻井扫描信息
*
* @param id 设计信息-邻井扫描主键
* @return 结果
*/
@Override
public
int
deleteSjLjsmById
(
Long
id
)
{
return
sjLjsmMapper
.
deleteSjLjsmById
(
id
);
}
}
src/main/java/com/ruoyi/project/zjsgfa/service/impl/SjQkztfxServiceImpl.java
0 → 100644
View file @
f03ceafc
package
com
.
ruoyi
.
project
.
zjsgfa
.
service
.
impl
;
import
java.util.List
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.ruoyi.project.zjsgfa.mapper.SjQkztfxMapper
;
import
com.ruoyi.project.zjsgfa.domain.SjQkztfx
;
import
com.ruoyi.project.zjsgfa.service.ISjQkztfxService
;
/**
* 设计-区块钻头分析Service业务层处理
*
* @author ruoyi
* @date 2025-07-22
*/
@Service
public
class
SjQkztfxServiceImpl
implements
ISjQkztfxService
{
@Autowired
private
SjQkztfxMapper
sjQkztfxMapper
;
/**
* 查询设计-区块钻头分析
*
* @param id 设计-区块钻头分析主键
* @return 设计-区块钻头分析
*/
@Override
public
SjQkztfx
selectSjQkztfxById
(
Long
id
)
{
return
sjQkztfxMapper
.
selectSjQkztfxById
(
id
);
}
/**
* 查询设计-区块钻头分析列表
*
* @param sjQkztfx 设计-区块钻头分析
* @return 设计-区块钻头分析
*/
@Override
public
List
<
SjQkztfx
>
selectSjQkztfxList
(
SjQkztfx
sjQkztfx
)
{
return
sjQkztfxMapper
.
selectSjQkztfxList
(
sjQkztfx
);
}
/**
* 新增设计-区块钻头分析
*
* @param sjQkztfx 设计-区块钻头分析
* @return 结果
*/
@Override
public
int
insertSjQkztfx
(
SjQkztfx
sjQkztfx
)
{
return
sjQkztfxMapper
.
insertSjQkztfx
(
sjQkztfx
);
}
/**
* 修改设计-区块钻头分析
*
* @param sjQkztfx 设计-区块钻头分析
* @return 结果
*/
@Override
public
int
updateSjQkztfx
(
SjQkztfx
sjQkztfx
)
{
return
sjQkztfxMapper
.
updateSjQkztfx
(
sjQkztfx
);
}
/**
* 批量删除设计-区块钻头分析
*
* @param ids 需要删除的设计-区块钻头分析主键
* @return 结果
*/
@Override
public
int
deleteSjQkztfxByIds
(
Long
[]
ids
)
{
return
sjQkztfxMapper
.
deleteSjQkztfxByIds
(
ids
);
}
/**
* 删除设计-区块钻头分析信息
*
* @param id 设计-区块钻头分析主键
* @return 结果
*/
@Override
public
int
deleteSjQkztfxById
(
Long
id
)
{
return
sjQkztfxMapper
.
deleteSjQkztfxById
(
id
);
}
}
src/main/java/com/ruoyi/project/zjsgfa/service/impl/SjSzfxjgServiceImpl.java
0 → 100644
View file @
f03ceafc
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.SjSzfxjgMapper
;
import
com.ruoyi.project.zjsgfa.domain.SjSzfxjg
;
import
com.ruoyi.project.zjsgfa.service.ISjSzfxjgService
;
/**
* 设计-实钻分析结果Service业务层处理
*
* @author ruoyi
* @date 2025-07-22
*/
@Service
public
class
SjSzfxjgServiceImpl
implements
ISjSzfxjgService
{
@Autowired
private
SjSzfxjgMapper
sjSzfxjgMapper
;
/**
* 查询设计-实钻分析结果
*
* @param id 设计-实钻分析结果主键
* @return 设计-实钻分析结果
*/
@Override
public
SjSzfxjg
selectSjSzfxjgById
(
Long
id
)
{
return
sjSzfxjgMapper
.
selectSjSzfxjgById
(
id
);
}
/**
* 查询设计-实钻分析结果列表
*
* @param sjSzfxjg 设计-实钻分析结果
* @return 设计-实钻分析结果
*/
@Override
public
List
<
SjSzfxjg
>
selectSjSzfxjgList
(
SjSzfxjg
sjSzfxjg
)
{
return
sjSzfxjgMapper
.
selectSjSzfxjgList
(
sjSzfxjg
);
}
/**
* 新增设计-实钻分析结果
*
* @param sjSzfxjg 设计-实钻分析结果
* @return 结果
*/
@Override
public
int
insertSjSzfxjg
(
SjSzfxjg
sjSzfxjg
)
{
return
sjSzfxjgMapper
.
insertSjSzfxjg
(
sjSzfxjg
);
}
/**
* 修改设计-实钻分析结果
*
* @param sjSzfxjg 设计-实钻分析结果
* @return 结果
*/
@Override
public
int
updateSjSzfxjg
(
SjSzfxjg
sjSzfxjg
)
{
sjSzfxjg
.
setUpdateTime
(
DateUtils
.
getNowDate
());
return
sjSzfxjgMapper
.
updateSjSzfxjg
(
sjSzfxjg
);
}
/**
* 批量删除设计-实钻分析结果
*
* @param ids 需要删除的设计-实钻分析结果主键
* @return 结果
*/
@Override
public
int
deleteSjSzfxjgByIds
(
Long
[]
ids
)
{
return
sjSzfxjgMapper
.
deleteSjSzfxjgByIds
(
ids
);
}
/**
* 删除设计-实钻分析结果信息
*
* @param id 设计-实钻分析结果主键
* @return 结果
*/
@Override
public
int
deleteSjSzfxjgById
(
Long
id
)
{
return
sjSzfxjgMapper
.
deleteSjSzfxjgById
(
id
);
}
}
src/main/java/com/ruoyi/project/zjsgfa/service/impl/SjZqfxServiceImpl.java
0 → 100644
View file @
f03ceafc
package
com
.
ruoyi
.
project
.
zjsgfa
.
service
.
impl
;
import
java.util.List
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.ruoyi.project.zjsgfa.mapper.SjZqfxMapper
;
import
com.ruoyi.project.zjsgfa.domain.SjZqfx
;
import
com.ruoyi.project.zjsgfa.service.ISjZqfxService
;
/**
* 设计-周期分析Service业务层处理
*
* @author ruoyi
* @date 2025-07-22
*/
@Service
public
class
SjZqfxServiceImpl
implements
ISjZqfxService
{
@Autowired
private
SjZqfxMapper
sjZqfxMapper
;
/**
* 查询设计-周期分析
*
* @param id 设计-周期分析主键
* @return 设计-周期分析
*/
@Override
public
SjZqfx
selectSjZqfxById
(
Long
id
)
{
return
sjZqfxMapper
.
selectSjZqfxById
(
id
);
}
/**
* 查询设计-周期分析列表
*
* @param sjZqfx 设计-周期分析
* @return 设计-周期分析
*/
@Override
public
List
<
SjZqfx
>
selectSjZqfxList
(
SjZqfx
sjZqfx
)
{
return
sjZqfxMapper
.
selectSjZqfxList
(
sjZqfx
);
}
/**
* 新增设计-周期分析
*
* @param sjZqfx 设计-周期分析
* @return 结果
*/
@Override
public
int
insertSjZqfx
(
SjZqfx
sjZqfx
)
{
return
sjZqfxMapper
.
insertSjZqfx
(
sjZqfx
);
}
/**
* 修改设计-周期分析
*
* @param sjZqfx 设计-周期分析
* @return 结果
*/
@Override
public
int
updateSjZqfx
(
SjZqfx
sjZqfx
)
{
return
sjZqfxMapper
.
updateSjZqfx
(
sjZqfx
);
}
/**
* 批量删除设计-周期分析
*
* @param ids 需要删除的设计-周期分析主键
* @return 结果
*/
@Override
public
int
deleteSjZqfxByIds
(
Long
[]
ids
)
{
return
sjZqfxMapper
.
deleteSjZqfxByIds
(
ids
);
}
/**
* 删除设计-周期分析信息
*
* @param id 设计-周期分析主键
* @return 结果
*/
@Override
public
int
deleteSjZqfxById
(
Long
id
)
{
return
sjZqfxMapper
.
deleteSjZqfxById
(
id
);
}
}
src/main/java/com/ruoyi/project/zjsgfa/service/impl/SjZtgjsjServiceImpl.java
0 → 100644
View file @
f03ceafc
package
com
.
ruoyi
.
project
.
zjsgfa
.
service
.
impl
;
import
java.util.List
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.ruoyi.project.zjsgfa.mapper.SjZtgjsjMapper
;
import
com.ruoyi.project.zjsgfa.domain.SjZtgjsj
;
import
com.ruoyi.project.zjsgfa.service.ISjZtgjsjService
;
/**
* 设计-钻头关键数据分析Service业务层处理
*
* @author ruoyi
* @date 2025-07-22
*/
@Service
public
class
SjZtgjsjServiceImpl
implements
ISjZtgjsjService
{
@Autowired
private
SjZtgjsjMapper
sjZtgjsjMapper
;
/**
* 查询设计-钻头关键数据分析
*
* @param id 设计-钻头关键数据分析主键
* @return 设计-钻头关键数据分析
*/
@Override
public
SjZtgjsj
selectSjZtgjsjById
(
Long
id
)
{
return
sjZtgjsjMapper
.
selectSjZtgjsjById
(
id
);
}
/**
* 查询设计-钻头关键数据分析列表
*
* @param sjZtgjsj 设计-钻头关键数据分析
* @return 设计-钻头关键数据分析
*/
@Override
public
List
<
SjZtgjsj
>
selectSjZtgjsjList
(
SjZtgjsj
sjZtgjsj
)
{
return
sjZtgjsjMapper
.
selectSjZtgjsjList
(
sjZtgjsj
);
}
/**
* 新增设计-钻头关键数据分析
*
* @param sjZtgjsj 设计-钻头关键数据分析
* @return 结果
*/
@Override
public
int
insertSjZtgjsj
(
SjZtgjsj
sjZtgjsj
)
{
return
sjZtgjsjMapper
.
insertSjZtgjsj
(
sjZtgjsj
);
}
/**
* 修改设计-钻头关键数据分析
*
* @param sjZtgjsj 设计-钻头关键数据分析
* @return 结果
*/
@Override
public
int
updateSjZtgjsj
(
SjZtgjsj
sjZtgjsj
)
{
return
sjZtgjsjMapper
.
updateSjZtgjsj
(
sjZtgjsj
);
}
/**
* 批量删除设计-钻头关键数据分析
*
* @param ids 需要删除的设计-钻头关键数据分析主键
* @return 结果
*/
@Override
public
int
deleteSjZtgjsjByIds
(
Long
[]
ids
)
{
return
sjZtgjsjMapper
.
deleteSjZtgjsjByIds
(
ids
);
}
/**
* 删除设计-钻头关键数据分析信息
*
* @param id 设计-钻头关键数据分析主键
* @return 结果
*/
@Override
public
int
deleteSjZtgjsjById
(
Long
id
)
{
return
sjZtgjsjMapper
.
deleteSjZtgjsjById
(
id
);
}
}
src/main/java/com/ruoyi/project/zjsgfa/service/impl/SjZysxServiceImpl.java
0 → 100644
View file @
f03ceafc
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.SjZysxMapper
;
import
com.ruoyi.project.zjsgfa.domain.SjZysx
;
import
com.ruoyi.project.zjsgfa.service.ISjZysxService
;
/**
* 设计信息-注意事项Service业务层处理
*
* @author ruoyi
* @date 2025-07-22
*/
@Service
public
class
SjZysxServiceImpl
implements
ISjZysxService
{
@Autowired
private
SjZysxMapper
sjZysxMapper
;
/**
* 查询设计信息-注意事项
*
* @param id 设计信息-注意事项主键
* @return 设计信息-注意事项
*/
@Override
public
SjZysx
selectSjZysxById
(
Long
id
)
{
return
sjZysxMapper
.
selectSjZysxById
(
id
);
}
/**
* 查询设计信息-注意事项列表
*
* @param sjZysx 设计信息-注意事项
* @return 设计信息-注意事项
*/
@Override
public
List
<
SjZysx
>
selectSjZysxList
(
SjZysx
sjZysx
)
{
return
sjZysxMapper
.
selectSjZysxList
(
sjZysx
);
}
/**
* 新增设计信息-注意事项
*
* @param sjZysx 设计信息-注意事项
* @return 结果
*/
@Override
public
int
insertSjZysx
(
SjZysx
sjZysx
)
{
return
sjZysxMapper
.
insertSjZysx
(
sjZysx
);
}
/**
* 修改设计信息-注意事项
*
* @param sjZysx 设计信息-注意事项
* @return 结果
*/
@Override
public
int
updateSjZysx
(
SjZysx
sjZysx
)
{
sjZysx
.
setUpdateTime
(
DateUtils
.
getNowDate
());
return
sjZysxMapper
.
updateSjZysx
(
sjZysx
);
}
/**
* 批量删除设计信息-注意事项
*
* @param ids 需要删除的设计信息-注意事项主键
* @return 结果
*/
@Override
public
int
deleteSjZysxByIds
(
Long
[]
ids
)
{
return
sjZysxMapper
.
deleteSjZysxByIds
(
ids
);
}
/**
* 删除设计信息-注意事项信息
*
* @param id 设计信息-注意事项主键
* @return 结果
*/
@Override
public
int
deleteSjZysxById
(
Long
id
)
{
return
sjZysxMapper
.
deleteSjZysxById
(
id
);
}
}
src/main/resources/mybatis/zjsgfa/SjGztzMapper.xml
0 → 100644
View file @
f03ceafc
<?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.SjGztzMapper"
>
<resultMap
type=
"SjGztz"
id=
"SjGztzResult"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"jh"
column=
"jh"
/>
<result
property=
"gzlx"
column=
"gzlx"
/>
<result
property=
"lj"
column=
"lj"
/>
<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=
"selectSjGztzVo"
>
select id, jh, gzlx, lj, bz, created_by, created_time, update_by, update_time from sj_gztz
</sql>
<select
id=
"selectSjGztzList"
parameterType=
"SjGztz"
resultMap=
"SjGztzResult"
>
<include
refid=
"selectSjGztzVo"
/>
<where>
<if
test=
"jh != null and jh != ''"
>
and jh = #{jh}
</if>
<if
test=
"gzlx != null and gzlx != ''"
>
and gzlx = #{gzlx}
</if>
<if
test=
"lj != null and lj != ''"
>
and lj = #{lj}
</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=
"selectSjGztzById"
parameterType=
"Long"
resultMap=
"SjGztzResult"
>
<include
refid=
"selectSjGztzVo"
/>
where id = #{id}
</select>
<insert
id=
"insertSjGztz"
parameterType=
"SjGztz"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
insert into sj_gztz
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"jh != null"
>
jh,
</if>
<if
test=
"gzlx != null"
>
gzlx,
</if>
<if
test=
"lj != null"
>
lj,
</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=
"gzlx != null"
>
#{gzlx},
</if>
<if
test=
"lj != null"
>
#{lj},
</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>
<insert
id=
"insertSjGztzBatch"
>
INSERT INTO sj_gztz
(jh, gzlx, lj, bz)
VALUES
<foreach
collection=
"list"
item=
"item"
separator=
","
>
(
#{item.jh},
#{item.gzlx},
#{item.lj},
#{item.bz}
)
</foreach>
</insert>
<update
id=
"updateSjGztz"
parameterType=
"SjGztz"
>
update sj_gztz
<trim
prefix=
"SET"
suffixOverrides=
","
>
<if
test=
"jh != null"
>
jh = #{jh},
</if>
<if
test=
"gzlx != null"
>
gzlx = #{gzlx},
</if>
<if
test=
"lj != null"
>
lj = #{lj},
</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=
"deleteSjGztzById"
parameterType=
"Long"
>
delete from sj_gztz where id = #{id}
</delete>
<delete
id=
"deleteSjGztzByIds"
parameterType=
"String"
>
delete from sj_gztz where id in
<foreach
item=
"id"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{id}
</foreach>
</delete>
<delete
id=
"deleteSjGztzByJh"
>
delete from sj_gztz where jh = #{jh}
</delete>
</mapper>
\ No newline at end of file
src/main/resources/mybatis/zjsgfa/SjH2sMapper.xml
0 → 100644
View file @
f03ceafc
<?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.SjH2sMapper"
>
<resultMap
type=
"SjH2s"
id=
"SjH2sResult"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"jh"
column=
"jh"
/>
<result
property=
"js"
column=
"js"
/>
<result
property=
"gczt"
column=
"gczt"
/>
<result
property=
"cw"
column=
"cw"
/>
<result
property=
"xsbd"
column=
"xsbd"
/>
<result
property=
"xsgc"
column=
"xsgc"
/>
<result
property=
"jcsj"
column=
"jcsj"
/>
<result
property=
"jcfs"
column=
"jcfs"
/>
<result
property=
"wyjkfw"
column=
"wyjkfw"
/>
<result
property=
"wyjkjl"
column=
"wyjkjl"
/>
<result
property=
"wybdfw"
column=
"wybdfw"
/>
<result
property=
"wybdjl"
column=
"wybdjl"
/>
<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=
"selectSjH2sVo"
>
select id, jh, js, gczt, cw, xsbd, xsgc, jcsj, jcfs, wyjkfw, wyjkjl, wybdfw, wybdjl, bz, created_by, created_time, update_by, update_time from sj_h2s
</sql>
<select
id=
"selectSjH2sList"
parameterType=
"SjH2s"
resultMap=
"SjH2sResult"
>
<include
refid=
"selectSjH2sVo"
/>
<where>
<if
test=
"jh != null and jh != ''"
>
and jh = #{jh}
</if>
<if
test=
"js != null "
>
and js = #{js}
</if>
<if
test=
"gczt != null and gczt != ''"
>
and gczt = #{gczt}
</if>
<if
test=
"cw != null and cw != ''"
>
and cw = #{cw}
</if>
<if
test=
"xsbd != null "
>
and xsbd = #{xsbd}
</if>
<if
test=
"xsgc != null and xsgc != ''"
>
and xsgc = #{xsgc}
</if>
<if
test=
"jcsj != null and jcsj != ''"
>
and jcsj = #{jcsj}
</if>
<if
test=
"jcfs != null and jcfs != ''"
>
and jcfs = #{jcfs}
</if>
<if
test=
"wyjkfw != null "
>
and wyjkfw = #{wyjkfw}
</if>
<if
test=
"wyjkjl != null "
>
and wyjkjl = #{wyjkjl}
</if>
<if
test=
"wybdfw != null "
>
and wybdfw = #{wybdfw}
</if>
<if
test=
"wybdjl != null "
>
and wybdjl = #{wybdjl}
</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=
"selectSjH2sById"
parameterType=
"Long"
resultMap=
"SjH2sResult"
>
<include
refid=
"selectSjH2sVo"
/>
where id = #{id}
</select>
<insert
id=
"insertSjH2s"
parameterType=
"SjH2s"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
insert into sj_h2s
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"jh != null"
>
jh,
</if>
<if
test=
"js != null"
>
js,
</if>
<if
test=
"gczt != null"
>
gczt,
</if>
<if
test=
"cw != null"
>
cw,
</if>
<if
test=
"xsbd != null"
>
xsbd,
</if>
<if
test=
"xsgc != null"
>
xsgc,
</if>
<if
test=
"jcsj != null"
>
jcsj,
</if>
<if
test=
"jcfs != null"
>
jcfs,
</if>
<if
test=
"wyjkfw != null"
>
wyjkfw,
</if>
<if
test=
"wyjkjl != null"
>
wyjkjl,
</if>
<if
test=
"wybdfw != null"
>
wybdfw,
</if>
<if
test=
"wybdjl != null"
>
wybdjl,
</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=
"js != null"
>
#{js},
</if>
<if
test=
"gczt != null"
>
#{gczt},
</if>
<if
test=
"cw != null"
>
#{cw},
</if>
<if
test=
"xsbd != null"
>
#{xsbd},
</if>
<if
test=
"xsgc != null"
>
#{xsgc},
</if>
<if
test=
"jcsj != null"
>
#{jcsj},
</if>
<if
test=
"jcfs != null"
>
#{jcfs},
</if>
<if
test=
"wyjkfw != null"
>
#{wyjkfw},
</if>
<if
test=
"wyjkjl != null"
>
#{wyjkjl},
</if>
<if
test=
"wybdfw != null"
>
#{wybdfw},
</if>
<if
test=
"wybdjl != null"
>
#{wybdjl},
</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>
<insert
id=
"insertSjH2sBatch"
>
INSERT INTO sj_h2s
(jh, js, gczt, cw, xsbd, xsgc, jcsj, jcfs, wyjkfw, wyjkjl, wybdfw, wybdjl, bz)
VALUES
<foreach
collection=
"list"
item=
"item"
separator=
","
>
(
#{item.jh},
#{item.js},
#{item.gczt},
#{item.cw},
#{item.xsbd},
#{item.xsgc},
#{item.jcsj},
#{item.jcfs},
#{item.wyjkfw},
#{item.wyjkjl},
#{item.wybdfw},
#{item.wybdjl},
#{item.bz}
)
</foreach>
</insert>
<update
id=
"updateSjH2s"
parameterType=
"SjH2s"
>
update sj_h2s
<trim
prefix=
"SET"
suffixOverrides=
","
>
<if
test=
"jh != null"
>
jh = #{jh},
</if>
<if
test=
"js != null"
>
js = #{js},
</if>
<if
test=
"gczt != null"
>
gczt = #{gczt},
</if>
<if
test=
"cw != null"
>
cw = #{cw},
</if>
<if
test=
"xsbd != null"
>
xsbd = #{xsbd},
</if>
<if
test=
"xsgc != null"
>
xsgc = #{xsgc},
</if>
<if
test=
"jcsj != null"
>
jcsj = #{jcsj},
</if>
<if
test=
"jcfs != null"
>
jcfs = #{jcfs},
</if>
<if
test=
"wyjkfw != null"
>
wyjkfw = #{wyjkfw},
</if>
<if
test=
"wyjkjl != null"
>
wyjkjl = #{wyjkjl},
</if>
<if
test=
"wybdfw != null"
>
wybdfw = #{wybdfw},
</if>
<if
test=
"wybdjl != null"
>
wybdjl = #{wybdjl},
</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=
"deleteSjH2sById"
parameterType=
"Long"
>
delete from sj_h2s where id = #{id}
</delete>
<delete
id=
"deleteSjH2sByIds"
parameterType=
"String"
>
delete from sj_h2s where id in
<foreach
item=
"id"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{id}
</foreach>
</delete>
<delete
id=
"deleteSjH2sByJh"
>
delete from sj_h2s where jh = #{jh}
</delete>
</mapper>
\ No newline at end of file
src/main/resources/mybatis/zjsgfa/SjLjjwMapper.xml
0 → 100644
View file @
f03ceafc
<?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.SjLjjwMapper"
>
<resultMap
type=
"SjLjjw"
id=
"SjLjjwResult"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"jh"
column=
"jh"
/>
<result
property=
"ljjh"
column=
"ljjh"
/>
<result
property=
"jx"
column=
"jx"
/>
<result
property=
"wjjs"
column=
"wjjs"
/>
<result
property=
"wjczjs"
column=
"wjczjs"
/>
<result
property=
"wzcw"
column=
"wzcw"
/>
<result
property=
"kc"
column=
"kc"
/>
<result
property=
"zjzq"
column=
"zjzq"
/>
<result
property=
"wjzq"
column=
"wjzq"
/>
<result
property=
"jkjl"
column=
"jkjl"
/>
<result
property=
"jdjl"
column=
"jdjl"
/>
<result
property=
"jkhzb"
column=
"jkhzb"
/>
<result
property=
"jkzzb"
column=
"jkzzb"
/>
<result
property=
"jkhjl"
column=
"jkhjl"
/>
<result
property=
"jkzjl"
column=
"jkzjl"
/>
<result
property=
"jdhzb"
column=
"jdhzb"
/>
<result
property=
"jdzzb"
column=
"jdzzb"
/>
<result
property=
"jdhjl"
column=
"jdhjl"
/>
<result
property=
"jdzjl"
column=
"jdzjl"
/>
</resultMap>
<sql
id=
"selectSjLjjwVo"
>
select id, jh, ljjh, jx, wjjs, wjczjs, wzcw, kc, zjzq, wjzq, jkjl, jdjl, jkhzb, jkzzb, jkhjl, jkzjl, jdhzb, jdzzb, jdhjl, jdzjl from sj_ljjw
</sql>
<select
id=
"selectSjLjjwList"
parameterType=
"SjLjjw"
resultMap=
"SjLjjwResult"
>
<include
refid=
"selectSjLjjwVo"
/>
<where>
<if
test=
"jh != null and jh != ''"
>
and jh = #{jh}
</if>
<if
test=
"ljjh != null and ljjh != ''"
>
and ljjh = #{ljjh}
</if>
<if
test=
"jx != null and jx != ''"
>
and jx = #{jx}
</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=
"kc != null and kc != ''"
>
and kc = #{kc}
</if>
<if
test=
"zjzq != null "
>
and zjzq = #{zjzq}
</if>
<if
test=
"wjzq != null "
>
and wjzq = #{wjzq}
</if>
<if
test=
"jkjl != null "
>
and jkjl = #{jkjl}
</if>
<if
test=
"jdjl != null "
>
and jdjl = #{jdjl}
</if>
<if
test=
"jkhzb != null "
>
and jkhzb = #{jkhzb}
</if>
<if
test=
"jkzzb != null "
>
and jkzzb = #{jkzzb}
</if>
<if
test=
"jkhjl != null "
>
and jkhjl = #{jkhjl}
</if>
<if
test=
"jkzjl != null "
>
and jkzjl = #{jkzjl}
</if>
<if
test=
"jdhzb != null "
>
and jdhzb = #{jdhzb}
</if>
<if
test=
"jdzzb != null "
>
and jdzzb = #{jdzzb}
</if>
<if
test=
"jdhjl != null "
>
and jdhjl = #{jdhjl}
</if>
<if
test=
"jdzjl != null "
>
and jdzjl = #{jdzjl}
</if>
</where>
</select>
<select
id=
"selectSjLjjwById"
parameterType=
"Long"
resultMap=
"SjLjjwResult"
>
<include
refid=
"selectSjLjjwVo"
/>
where id = #{id}
</select>
<insert
id=
"insertSjLjjw"
parameterType=
"SjLjjw"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
insert into sj_ljjw
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"jh != null"
>
jh,
</if>
<if
test=
"ljjh != null"
>
ljjh,
</if>
<if
test=
"jx != null"
>
jx,
</if>
<if
test=
"wjjs != null"
>
wjjs,
</if>
<if
test=
"wjczjs != null"
>
wjczjs,
</if>
<if
test=
"wzcw != null"
>
wzcw,
</if>
<if
test=
"kc != null"
>
kc,
</if>
<if
test=
"zjzq != null"
>
zjzq,
</if>
<if
test=
"wjzq != null"
>
wjzq,
</if>
<if
test=
"jkjl != null"
>
jkjl,
</if>
<if
test=
"jdjl != null"
>
jdjl,
</if>
<if
test=
"jkhzb != null"
>
jkhzb,
</if>
<if
test=
"jkzzb != null"
>
jkzzb,
</if>
<if
test=
"jkhjl != null"
>
jkhjl,
</if>
<if
test=
"jkzjl != null"
>
jkzjl,
</if>
<if
test=
"jdhzb != null"
>
jdhzb,
</if>
<if
test=
"jdzzb != null"
>
jdzzb,
</if>
<if
test=
"jdhjl != null"
>
jdhjl,
</if>
<if
test=
"jdzjl != null"
>
jdzjl,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"jh != null"
>
#{jh},
</if>
<if
test=
"ljjh != null"
>
#{ljjh},
</if>
<if
test=
"jx != null"
>
#{jx},
</if>
<if
test=
"wjjs != null"
>
#{wjjs},
</if>
<if
test=
"wjczjs != null"
>
#{wjczjs},
</if>
<if
test=
"wzcw != null"
>
#{wzcw},
</if>
<if
test=
"kc != null"
>
#{kc},
</if>
<if
test=
"zjzq != null"
>
#{zjzq},
</if>
<if
test=
"wjzq != null"
>
#{wjzq},
</if>
<if
test=
"jkjl != null"
>
#{jkjl},
</if>
<if
test=
"jdjl != null"
>
#{jdjl},
</if>
<if
test=
"jkhzb != null"
>
#{jkhzb},
</if>
<if
test=
"jkzzb != null"
>
#{jkzzb},
</if>
<if
test=
"jkhjl != null"
>
#{jkhjl},
</if>
<if
test=
"jkzjl != null"
>
#{jkzjl},
</if>
<if
test=
"jdhzb != null"
>
#{jdhzb},
</if>
<if
test=
"jdzzb != null"
>
#{jdzzb},
</if>
<if
test=
"jdhjl != null"
>
#{jdhjl},
</if>
<if
test=
"jdzjl != null"
>
#{jdzjl},
</if>
</trim>
</insert>
<update
id=
"updateSjLjjw"
parameterType=
"SjLjjw"
>
update sj_ljjw
<trim
prefix=
"SET"
suffixOverrides=
","
>
<if
test=
"jh != null"
>
jh = #{jh},
</if>
<if
test=
"ljjh != null"
>
ljjh = #{ljjh},
</if>
<if
test=
"jx != null"
>
jx = #{jx},
</if>
<if
test=
"wjjs != null"
>
wjjs = #{wjjs},
</if>
<if
test=
"wjczjs != null"
>
wjczjs = #{wjczjs},
</if>
<if
test=
"wzcw != null"
>
wzcw = #{wzcw},
</if>
<if
test=
"kc != null"
>
kc = #{kc},
</if>
<if
test=
"zjzq != null"
>
zjzq = #{zjzq},
</if>
<if
test=
"wjzq != null"
>
wjzq = #{wjzq},
</if>
<if
test=
"jkjl != null"
>
jkjl = #{jkjl},
</if>
<if
test=
"jdjl != null"
>
jdjl = #{jdjl},
</if>
<if
test=
"jkhzb != null"
>
jkhzb = #{jkhzb},
</if>
<if
test=
"jkzzb != null"
>
jkzzb = #{jkzzb},
</if>
<if
test=
"jkhjl != null"
>
jkhjl = #{jkhjl},
</if>
<if
test=
"jkzjl != null"
>
jkzjl = #{jkzjl},
</if>
<if
test=
"jdhzb != null"
>
jdhzb = #{jdhzb},
</if>
<if
test=
"jdzzb != null"
>
jdzzb = #{jdzzb},
</if>
<if
test=
"jdhjl != null"
>
jdhjl = #{jdhjl},
</if>
<if
test=
"jdzjl != null"
>
jdzjl = #{jdzjl},
</if>
</trim>
where id = #{id}
</update>
<delete
id=
"deleteSjLjjwById"
parameterType=
"Long"
>
delete from sj_ljjw where id = #{id}
</delete>
<delete
id=
"deleteSjLjjwByIds"
parameterType=
"String"
>
delete from sj_ljjw where id in
<foreach
item=
"id"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{id}
</foreach>
</delete>
</mapper>
\ No newline at end of file
src/main/resources/mybatis/zjsgfa/SjLjsmMapper.xml
0 → 100644
View file @
f03ceafc
<?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.SjLjsmMapper"
>
<resultMap
type=
"SjLjsm"
id=
"SjLjsmResult"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"jh"
column=
"jh"
/>
<result
property=
"js"
column=
"js"
/>
<result
property=
"cs"
column=
"cs"
/>
<result
property=
"bjjh"
column=
"bjjh"
/>
<result
property=
"bjsjly"
column=
"bjsjly"
/>
<result
property=
"bjjs"
column=
"bjjs"
/>
<result
property=
"bjcs"
column=
"bjcs"
/>
<result
property=
"bjzjjl"
column=
"bjzjjl"
/>
<result
property=
"bjsmj"
column=
"bjsmj"
/>
<result
property=
"bjyj"
column=
"bjyj"
/>
<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=
"selectSjLjsmVo"
>
select id, jh, js, cs, bjjh, bjsjly, bjjs, bjcs, bjzjjl, bjsmj, bjyj, bz, created_by, created_time, update_by, update_time from sj_ljsm
</sql>
<select
id=
"selectSjLjsmList"
parameterType=
"SjLjsm"
resultMap=
"SjLjsmResult"
>
<include
refid=
"selectSjLjsmVo"
/>
<where>
<if
test=
"jh != null and jh != ''"
>
and jh = #{jh}
</if>
<if
test=
"js != null "
>
and js = #{js}
</if>
<if
test=
"cs != null "
>
and cs = #{cs}
</if>
<if
test=
"bjjh != null and bjjh != ''"
>
and bjjh = #{bjjh}
</if>
<if
test=
"bjsjly != null and bjsjly != ''"
>
and bjsjly = #{bjsjly}
</if>
<if
test=
"bjjs != null "
>
and bjjs = #{bjjs}
</if>
<if
test=
"bjcs != null "
>
and bjcs = #{bjcs}
</if>
<if
test=
"bjzjjl != null "
>
and bjzjjl = #{bjzjjl}
</if>
<if
test=
"bjsmj != null "
>
and bjsmj = #{bjsmj}
</if>
<if
test=
"bjyj != null "
>
and bjyj = #{bjyj}
</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=
"selectSjLjsmById"
parameterType=
"Long"
resultMap=
"SjLjsmResult"
>
<include
refid=
"selectSjLjsmVo"
/>
where id = #{id}
</select>
<insert
id=
"insertSjLjsm"
parameterType=
"SjLjsm"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
insert into sj_ljsm
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"jh != null"
>
jh,
</if>
<if
test=
"js != null"
>
js,
</if>
<if
test=
"cs != null"
>
cs,
</if>
<if
test=
"bjjh != null"
>
bjjh,
</if>
<if
test=
"bjsjly != null"
>
bjsjly,
</if>
<if
test=
"bjjs != null"
>
bjjs,
</if>
<if
test=
"bjcs != null"
>
bjcs,
</if>
<if
test=
"bjzjjl != null"
>
bjzjjl,
</if>
<if
test=
"bjsmj != null"
>
bjsmj,
</if>
<if
test=
"bjyj != null"
>
bjyj,
</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=
"js != null"
>
#{js},
</if>
<if
test=
"cs != null"
>
#{cs},
</if>
<if
test=
"bjjh != null"
>
#{bjjh},
</if>
<if
test=
"bjsjly != null"
>
#{bjsjly},
</if>
<if
test=
"bjjs != null"
>
#{bjjs},
</if>
<if
test=
"bjcs != null"
>
#{bjcs},
</if>
<if
test=
"bjzjjl != null"
>
#{bjzjjl},
</if>
<if
test=
"bjsmj != null"
>
#{bjsmj},
</if>
<if
test=
"bjyj != null"
>
#{bjyj},
</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>
<insert
id=
"insertSjLjsmBatch"
>
INSERT INTO sj_ljsm
(jh, js, cs, bjjh, bjsjly, bjjs, bjcs, bjzjjl, bjsmj, bjyj, bz)
VALUES
<foreach
collection=
"list"
item=
"item"
separator=
","
>
(
#{item.jh},
#{item.js},
#{item.cs},
#{item.bjjh},
#{item.bjsjly},
#{item.bjjs},
#{item.bjcs},
#{item.bjzjjl},
#{item.bjsmj},
#{item.bjyj},
#{item.bz}
)
</foreach>
</insert>
<update
id=
"updateSjLjsm"
parameterType=
"SjLjsm"
>
update sj_ljsm
<trim
prefix=
"SET"
suffixOverrides=
","
>
<if
test=
"jh != null"
>
jh = #{jh},
</if>
<if
test=
"js != null"
>
js = #{js},
</if>
<if
test=
"cs != null"
>
cs = #{cs},
</if>
<if
test=
"bjjh != null"
>
bjjh = #{bjjh},
</if>
<if
test=
"bjsjly != null"
>
bjsjly = #{bjsjly},
</if>
<if
test=
"bjjs != null"
>
bjjs = #{bjjs},
</if>
<if
test=
"bjcs != null"
>
bjcs = #{bjcs},
</if>
<if
test=
"bjzjjl != null"
>
bjzjjl = #{bjzjjl},
</if>
<if
test=
"bjsmj != null"
>
bjsmj = #{bjsmj},
</if>
<if
test=
"bjyj != null"
>
bjyj = #{bjyj},
</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=
"deleteSjLjsmById"
parameterType=
"Long"
>
delete from sj_ljsm where id = #{id}
</delete>
<delete
id=
"deleteSjLjsmByIds"
parameterType=
"String"
>
delete from sj_ljsm where id in
<foreach
item=
"id"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{id}
</foreach>
</delete>
<delete
id=
"deleteSjLjsmByJh"
>
delete from sj_ljsm where jh = #{jh}
</delete>
</mapper>
\ No newline at end of file
src/main/resources/mybatis/zjsgfa/SjQkztfxMapper.xml
0 → 100644
View file @
f03ceafc
<?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.SjQkztfxMapper"
>
<resultMap
type=
"SjQkztfx"
id=
"SjQkztfxResult"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"jh"
column=
"jh"
/>
<result
property=
"kc"
column=
"kc"
/>
<result
property=
"ztxh"
column=
"ztxh"
/>
<result
property=
"cj"
column=
"cj"
/>
<result
property=
"cc"
column=
"cc"
/>
<result
property=
"ztsl"
column=
"ztsl"
/>
<result
property=
"ytzl"
column=
"ytzl"
/>
<result
property=
"etzl"
column=
"etzl"
/>
<result
property=
"stzl"
column=
"stzl"
/>
<result
property=
"sitzl"
column=
"sitzl"
/>
<result
property=
"wtzl"
column=
"wtzl"
/>
<result
property=
"jcZw"
column=
"jc_zw"
/>
<result
property=
"jcMax"
column=
"jc_max"
/>
<result
property=
"jxzsZw"
column=
"jxzs_zw"
/>
<result
property=
"jxzsMax"
column=
"jxzs_max"
/>
<result
property=
"qsjsZw"
column=
"qsjs_zw"
/>
</resultMap>
<sql
id=
"selectSjQkztfxVo"
>
select id, jh, kc, ztxh, cj, cc, ztsl, ytzl, etzl, stzl, sitzl, wtzl, jc_zw, jc_max, jxzs_zw, jxzs_max, qsjs_zw from sj_qkztfx
</sql>
<select
id=
"selectSjQkztfxList"
parameterType=
"SjQkztfx"
resultMap=
"SjQkztfxResult"
>
<include
refid=
"selectSjQkztfxVo"
/>
<where>
<if
test=
"jh != null and jh != ''"
>
and jh = #{jh}
</if>
<if
test=
"kc != null and kc != ''"
>
and kc = #{kc}
</if>
<if
test=
"ztxh != null and ztxh != ''"
>
and ztxh = #{ztxh}
</if>
<if
test=
"cj != null and cj != ''"
>
and cj = #{cj}
</if>
<if
test=
"cc != null "
>
and cc = #{cc}
</if>
<if
test=
"ztsl != null "
>
and ztsl = #{ztsl}
</if>
<if
test=
"ytzl != null "
>
and ytzl = #{ytzl}
</if>
<if
test=
"etzl != null "
>
and etzl = #{etzl}
</if>
<if
test=
"stzl != null "
>
and stzl = #{stzl}
</if>
<if
test=
"sitzl != null "
>
and sitzl = #{sitzl}
</if>
<if
test=
"wtzl != null "
>
and wtzl = #{wtzl}
</if>
<if
test=
"jcZw != null "
>
and jc_zw = #{jcZw}
</if>
<if
test=
"jcMax != null "
>
and jc_max = #{jcMax}
</if>
<if
test=
"jxzsZw != null "
>
and jxzs_zw = #{jxzsZw}
</if>
<if
test=
"jxzsMax != null "
>
and jxzs_max = #{jxzsMax}
</if>
<if
test=
"qsjsZw != null "
>
and qsjs_zw = #{qsjsZw}
</if>
</where>
</select>
<select
id=
"selectSjQkztfxById"
parameterType=
"Long"
resultMap=
"SjQkztfxResult"
>
<include
refid=
"selectSjQkztfxVo"
/>
where id = #{id}
</select>
<insert
id=
"insertSjQkztfx"
parameterType=
"SjQkztfx"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
insert into sj_qkztfx
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"jh != null"
>
jh,
</if>
<if
test=
"kc != null"
>
kc,
</if>
<if
test=
"ztxh != null"
>
ztxh,
</if>
<if
test=
"cj != null"
>
cj,
</if>
<if
test=
"cc != null"
>
cc,
</if>
<if
test=
"ztsl != null"
>
ztsl,
</if>
<if
test=
"ytzl != null"
>
ytzl,
</if>
<if
test=
"etzl != null"
>
etzl,
</if>
<if
test=
"stzl != null"
>
stzl,
</if>
<if
test=
"sitzl != null"
>
sitzl,
</if>
<if
test=
"wtzl != null"
>
wtzl,
</if>
<if
test=
"jcZw != null"
>
jc_zw,
</if>
<if
test=
"jcMax != null"
>
jc_max,
</if>
<if
test=
"jxzsZw != null"
>
jxzs_zw,
</if>
<if
test=
"jxzsMax != null"
>
jxzs_max,
</if>
<if
test=
"qsjsZw != null"
>
qsjs_zw,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"jh != null"
>
#{jh},
</if>
<if
test=
"kc != null"
>
#{kc},
</if>
<if
test=
"ztxh != null"
>
#{ztxh},
</if>
<if
test=
"cj != null"
>
#{cj},
</if>
<if
test=
"cc != null"
>
#{cc},
</if>
<if
test=
"ztsl != null"
>
#{ztsl},
</if>
<if
test=
"ytzl != null"
>
#{ytzl},
</if>
<if
test=
"etzl != null"
>
#{etzl},
</if>
<if
test=
"stzl != null"
>
#{stzl},
</if>
<if
test=
"sitzl != null"
>
#{sitzl},
</if>
<if
test=
"wtzl != null"
>
#{wtzl},
</if>
<if
test=
"jcZw != null"
>
#{jcZw},
</if>
<if
test=
"jcMax != null"
>
#{jcMax},
</if>
<if
test=
"jxzsZw != null"
>
#{jxzsZw},
</if>
<if
test=
"jxzsMax != null"
>
#{jxzsMax},
</if>
<if
test=
"qsjsZw != null"
>
#{qsjsZw},
</if>
</trim>
</insert>
<update
id=
"updateSjQkztfx"
parameterType=
"SjQkztfx"
>
update sj_qkztfx
<trim
prefix=
"SET"
suffixOverrides=
","
>
<if
test=
"jh != null"
>
jh = #{jh},
</if>
<if
test=
"kc != null"
>
kc = #{kc},
</if>
<if
test=
"ztxh != null"
>
ztxh = #{ztxh},
</if>
<if
test=
"cj != null"
>
cj = #{cj},
</if>
<if
test=
"cc != null"
>
cc = #{cc},
</if>
<if
test=
"ztsl != null"
>
ztsl = #{ztsl},
</if>
<if
test=
"ytzl != null"
>
ytzl = #{ytzl},
</if>
<if
test=
"etzl != null"
>
etzl = #{etzl},
</if>
<if
test=
"stzl != null"
>
stzl = #{stzl},
</if>
<if
test=
"sitzl != null"
>
sitzl = #{sitzl},
</if>
<if
test=
"wtzl != null"
>
wtzl = #{wtzl},
</if>
<if
test=
"jcZw != null"
>
jc_zw = #{jcZw},
</if>
<if
test=
"jcMax != null"
>
jc_max = #{jcMax},
</if>
<if
test=
"jxzsZw != null"
>
jxzs_zw = #{jxzsZw},
</if>
<if
test=
"jxzsMax != null"
>
jxzs_max = #{jxzsMax},
</if>
<if
test=
"qsjsZw != null"
>
qsjs_zw = #{qsjsZw},
</if>
</trim>
where id = #{id}
</update>
<delete
id=
"deleteSjQkztfxById"
parameterType=
"Long"
>
delete from sj_qkztfx where id = #{id}
</delete>
<delete
id=
"deleteSjQkztfxByIds"
parameterType=
"String"
>
delete from sj_qkztfx where id in
<foreach
item=
"id"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{id}
</foreach>
</delete>
</mapper>
\ No newline at end of file
src/main/resources/mybatis/zjsgfa/SjSzfxjgMapper.xml
0 → 100644
View file @
f03ceafc
<?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.SjSzfxjgMapper"
>
<resultMap
type=
"SjSzfxjg"
id=
"SjSzfxjgResult"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"fxfw"
column=
"fxfw"
/>
<result
property=
"fxdx"
column=
"fxdx"
/>
<result
property=
"fxxy"
column=
"fxxy"
/>
<result
property=
"fxjl"
column=
"fxjl"
/>
<result
property=
"scfx"
column=
"scfx"
/>
<result
property=
"yxyj"
column=
"yxyj"
/>
<result
property=
"zyjy"
column=
"zyjy"
/>
<result
property=
"qcyj"
column=
"qcyj"
/>
<result
property=
"tjpf"
column=
"tjpf"
/>
<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=
"selectSjSzfxjgVo"
>
select id, fxfw, fxdx, fxxy, fxjl, scfx, yxyj, zyjy, qcyj, tjpf, created_by, created_time, update_by, update_time from sj_szfxjg
</sql>
<select
id=
"selectSjSzfxjgList"
parameterType=
"SjSzfxjg"
resultMap=
"SjSzfxjgResult"
>
<include
refid=
"selectSjSzfxjgVo"
/>
<where>
<if
test=
"fxfw != null and fxfw != ''"
>
and fxfw = #{fxfw}
</if>
<if
test=
"fxdx != null and fxdx != ''"
>
and fxdx = #{fxdx}
</if>
<if
test=
"fxxy != null and fxxy != ''"
>
and fxxy = #{fxxy}
</if>
<if
test=
"fxjl != null and fxjl != ''"
>
and fxjl = #{fxjl}
</if>
<if
test=
"scfx != null and scfx != ''"
>
and scfx = #{scfx}
</if>
<if
test=
"yxyj != null and yxyj != ''"
>
and yxyj = #{yxyj}
</if>
<if
test=
"zyjy != null and zyjy != ''"
>
and zyjy = #{zyjy}
</if>
<if
test=
"qcyj != null and qcyj != ''"
>
and qcyj = #{qcyj}
</if>
<if
test=
"tjpf != null "
>
and tjpf = #{tjpf}
</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=
"selectSjSzfxjgById"
parameterType=
"Long"
resultMap=
"SjSzfxjgResult"
>
<include
refid=
"selectSjSzfxjgVo"
/>
where id = #{id}
</select>
<insert
id=
"insertSjSzfxjg"
parameterType=
"SjSzfxjg"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
insert into sj_szfxjg
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"fxfw != null"
>
fxfw,
</if>
<if
test=
"fxdx != null"
>
fxdx,
</if>
<if
test=
"fxxy != null"
>
fxxy,
</if>
<if
test=
"fxjl != null"
>
fxjl,
</if>
<if
test=
"scfx != null"
>
scfx,
</if>
<if
test=
"yxyj != null"
>
yxyj,
</if>
<if
test=
"zyjy != null"
>
zyjy,
</if>
<if
test=
"qcyj != null"
>
qcyj,
</if>
<if
test=
"tjpf != null"
>
tjpf,
</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=
"fxfw != null"
>
#{fxfw},
</if>
<if
test=
"fxdx != null"
>
#{fxdx},
</if>
<if
test=
"fxxy != null"
>
#{fxxy},
</if>
<if
test=
"fxjl != null"
>
#{fxjl},
</if>
<if
test=
"scfx != null"
>
#{scfx},
</if>
<if
test=
"yxyj != null"
>
#{yxyj},
</if>
<if
test=
"zyjy != null"
>
#{zyjy},
</if>
<if
test=
"qcyj != null"
>
#{qcyj},
</if>
<if
test=
"tjpf != null"
>
#{tjpf},
</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=
"updateSjSzfxjg"
parameterType=
"SjSzfxjg"
>
update sj_szfxjg
<trim
prefix=
"SET"
suffixOverrides=
","
>
<if
test=
"fxfw != null"
>
fxfw = #{fxfw},
</if>
<if
test=
"fxdx != null"
>
fxdx = #{fxdx},
</if>
<if
test=
"fxxy != null"
>
fxxy = #{fxxy},
</if>
<if
test=
"fxjl != null"
>
fxjl = #{fxjl},
</if>
<if
test=
"scfx != null"
>
scfx = #{scfx},
</if>
<if
test=
"yxyj != null"
>
yxyj = #{yxyj},
</if>
<if
test=
"zyjy != null"
>
zyjy = #{zyjy},
</if>
<if
test=
"qcyj != null"
>
qcyj = #{qcyj},
</if>
<if
test=
"tjpf != null"
>
tjpf = #{tjpf},
</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=
"deleteSjSzfxjgById"
parameterType=
"Long"
>
delete from sj_szfxjg where id = #{id}
</delete>
<delete
id=
"deleteSjSzfxjgByIds"
parameterType=
"String"
>
delete from sj_szfxjg where id in
<foreach
item=
"id"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{id}
</foreach>
</delete>
</mapper>
\ No newline at end of file
src/main/resources/mybatis/zjsgfa/SjZqfxMapper.xml
0 → 100644
View file @
f03ceafc
<?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.SjZqfxMapper"
>
<resultMap
type=
"SjZqfx"
id=
"SjZqfxResult"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"jh"
column=
"jh"
/>
<result
property=
"ljjh"
column=
"ljjh"
/>
<result
property=
"jtm"
column=
"jtm"
/>
<result
property=
"ksjs"
column=
"ksjs"
/>
<result
property=
"js"
column=
"js"
/>
<result
property=
"kc"
column=
"kc"
/>
<result
property=
"jc"
column=
"jc"
/>
<result
property=
"cw"
column=
"cw"
/>
<result
property=
"zjzq"
column=
"zjzq"
/>
<result
property=
"zjycsl"
column=
"zjycsl"
/>
<result
property=
"zjsczq"
column=
"zjsczq"
/>
<result
property=
"zjsl"
column=
"zjsl"
/>
<result
property=
"zwzq"
column=
"zwzq"
/>
<result
property=
"wjycsl"
column=
"wjycsl"
/>
<result
property=
"wjsczq"
column=
"wjsczq"
/>
<result
property=
"zjycms"
column=
"zjycms"
/>
<result
property=
"wjycms"
column=
"wjycms"
/>
</resultMap>
<sql
id=
"selectSjZqfxVo"
>
select id, jh, ljjh, jtm, ksjs, js, kc, jc, cw, zjzq, zjycsl, zjsczq, zjsl, zwzq, wjycsl, wjsczq, zjycms, wjycms from sj_zqfx
</sql>
<select
id=
"selectSjZqfxList"
parameterType=
"SjZqfx"
resultMap=
"SjZqfxResult"
>
<include
refid=
"selectSjZqfxVo"
/>
<where>
<if
test=
"jh != null and jh != ''"
>
and jh = #{jh}
</if>
<if
test=
"ljjh != null and ljjh != ''"
>
and ljjh = #{ljjh}
</if>
<if
test=
"jtm != null and jtm != ''"
>
and jtm = #{jtm}
</if>
<if
test=
"ksjs != null "
>
and ksjs = #{ksjs}
</if>
<if
test=
"js != null "
>
and js = #{js}
</if>
<if
test=
"kc != null and kc != ''"
>
and kc = #{kc}
</if>
<if
test=
"jc != null "
>
and jc = #{jc}
</if>
<if
test=
"cw != null and cw != ''"
>
and cw = #{cw}
</if>
<if
test=
"zjzq != null "
>
and zjzq = #{zjzq}
</if>
<if
test=
"zjycsl != null "
>
and zjycsl = #{zjycsl}
</if>
<if
test=
"zjsczq != null "
>
and zjsczq = #{zjsczq}
</if>
<if
test=
"zjsl != null "
>
and zjsl = #{zjsl}
</if>
<if
test=
"zwzq != null "
>
and zwzq = #{zwzq}
</if>
<if
test=
"wjycsl != null "
>
and wjycsl = #{wjycsl}
</if>
<if
test=
"wjsczq != null "
>
and wjsczq = #{wjsczq}
</if>
<if
test=
"zjycms != null and zjycms != ''"
>
and zjycms = #{zjycms}
</if>
<if
test=
"wjycms != null and wjycms != ''"
>
and wjycms = #{wjycms}
</if>
</where>
</select>
<select
id=
"selectSjZqfxById"
parameterType=
"Long"
resultMap=
"SjZqfxResult"
>
<include
refid=
"selectSjZqfxVo"
/>
where id = #{id}
</select>
<insert
id=
"insertSjZqfx"
parameterType=
"SjZqfx"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
insert into sj_zqfx
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"jh != null"
>
jh,
</if>
<if
test=
"ljjh != null"
>
ljjh,
</if>
<if
test=
"jtm != null"
>
jtm,
</if>
<if
test=
"ksjs != null"
>
ksjs,
</if>
<if
test=
"js != null"
>
js,
</if>
<if
test=
"kc != null"
>
kc,
</if>
<if
test=
"jc != null"
>
jc,
</if>
<if
test=
"cw != null"
>
cw,
</if>
<if
test=
"zjzq != null"
>
zjzq,
</if>
<if
test=
"zjycsl != null"
>
zjycsl,
</if>
<if
test=
"zjsczq != null"
>
zjsczq,
</if>
<if
test=
"zjsl != null"
>
zjsl,
</if>
<if
test=
"zwzq != null"
>
zwzq,
</if>
<if
test=
"wjycsl != null"
>
wjycsl,
</if>
<if
test=
"wjsczq != null"
>
wjsczq,
</if>
<if
test=
"zjycms != null"
>
zjycms,
</if>
<if
test=
"wjycms != null"
>
wjycms,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"jh != null"
>
#{jh},
</if>
<if
test=
"ljjh != null"
>
#{ljjh},
</if>
<if
test=
"jtm != null"
>
#{jtm},
</if>
<if
test=
"ksjs != null"
>
#{ksjs},
</if>
<if
test=
"js != null"
>
#{js},
</if>
<if
test=
"kc != null"
>
#{kc},
</if>
<if
test=
"jc != null"
>
#{jc},
</if>
<if
test=
"cw != null"
>
#{cw},
</if>
<if
test=
"zjzq != null"
>
#{zjzq},
</if>
<if
test=
"zjycsl != null"
>
#{zjycsl},
</if>
<if
test=
"zjsczq != null"
>
#{zjsczq},
</if>
<if
test=
"zjsl != null"
>
#{zjsl},
</if>
<if
test=
"zwzq != null"
>
#{zwzq},
</if>
<if
test=
"wjycsl != null"
>
#{wjycsl},
</if>
<if
test=
"wjsczq != null"
>
#{wjsczq},
</if>
<if
test=
"zjycms != null"
>
#{zjycms},
</if>
<if
test=
"wjycms != null"
>
#{wjycms},
</if>
</trim>
</insert>
<update
id=
"updateSjZqfx"
parameterType=
"SjZqfx"
>
update sj_zqfx
<trim
prefix=
"SET"
suffixOverrides=
","
>
<if
test=
"jh != null"
>
jh = #{jh},
</if>
<if
test=
"ljjh != null"
>
ljjh = #{ljjh},
</if>
<if
test=
"jtm != null"
>
jtm = #{jtm},
</if>
<if
test=
"ksjs != null"
>
ksjs = #{ksjs},
</if>
<if
test=
"js != null"
>
js = #{js},
</if>
<if
test=
"kc != null"
>
kc = #{kc},
</if>
<if
test=
"jc != null"
>
jc = #{jc},
</if>
<if
test=
"cw != null"
>
cw = #{cw},
</if>
<if
test=
"zjzq != null"
>
zjzq = #{zjzq},
</if>
<if
test=
"zjycsl != null"
>
zjycsl = #{zjycsl},
</if>
<if
test=
"zjsczq != null"
>
zjsczq = #{zjsczq},
</if>
<if
test=
"zjsl != null"
>
zjsl = #{zjsl},
</if>
<if
test=
"zwzq != null"
>
zwzq = #{zwzq},
</if>
<if
test=
"wjycsl != null"
>
wjycsl = #{wjycsl},
</if>
<if
test=
"wjsczq != null"
>
wjsczq = #{wjsczq},
</if>
<if
test=
"zjycms != null"
>
zjycms = #{zjycms},
</if>
<if
test=
"wjycms != null"
>
wjycms = #{wjycms},
</if>
</trim>
where id = #{id}
</update>
<delete
id=
"deleteSjZqfxById"
parameterType=
"Long"
>
delete from sj_zqfx where id = #{id}
</delete>
<delete
id=
"deleteSjZqfxByIds"
parameterType=
"String"
>
delete from sj_zqfx where id in
<foreach
item=
"id"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{id}
</foreach>
</delete>
</mapper>
\ No newline at end of file
src/main/resources/mybatis/zjsgfa/SjZtgjsjMapper.xml
0 → 100644
View file @
f03ceafc
<?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.SjZtgjsjMapper"
>
<resultMap
type=
"SjZtgjsj"
id=
"SjZtgjsjResult"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"jh"
column=
"jh"
/>
<result
property=
"ljjh"
column=
"ljjh"
/>
<result
property=
"kc"
column=
"kc"
/>
<result
property=
"jd"
column=
"jd"
/>
<result
property=
"ztcc"
column=
"ztcc"
/>
<result
property=
"ztxh"
column=
"ztxh"
/>
<result
property=
"pz"
column=
"pz"
/>
<result
property=
"mxqk"
column=
"mxqk"
/>
<result
property=
"qzyy"
column=
"qzyy"
/>
<result
property=
"cw"
column=
"cw"
/>
<result
property=
"zjymd"
column=
"zjymd"
/>
<result
property=
"pl"
column=
"pl"
/>
<result
property=
"lgby"
column=
"lgby"
/>
<result
property=
"jc"
column=
"jc"
/>
<result
property=
"jxzs"
column=
"jxzs"
/>
<result
property=
"zb"
column=
"zb"
/>
</resultMap>
<sql
id=
"selectSjZtgjsjVo"
>
select id, jh, ljjh, kc, jd, ztcc, ztxh, pz, mxqk, qzyy, cw, zjymd, pl, lgby, jc, jxzs, zb from sj_ztgjsj
</sql>
<select
id=
"selectSjZtgjsjList"
parameterType=
"SjZtgjsj"
resultMap=
"SjZtgjsjResult"
>
<include
refid=
"selectSjZtgjsjVo"
/>
<where>
<if
test=
"jh != null and jh != ''"
>
and jh = #{jh}
</if>
<if
test=
"ljjh != null and ljjh != ''"
>
and ljjh = #{ljjh}
</if>
<if
test=
"kc != null and kc != ''"
>
and kc = #{kc}
</if>
<if
test=
"jd != null and jd != ''"
>
and jd = #{jd}
</if>
<if
test=
"ztcc != null "
>
and ztcc = #{ztcc}
</if>
<if
test=
"ztxh != null and ztxh != ''"
>
and ztxh = #{ztxh}
</if>
<if
test=
"pz != null and pz != ''"
>
and pz = #{pz}
</if>
<if
test=
"mxqk != null and mxqk != ''"
>
and mxqk = #{mxqk}
</if>
<if
test=
"qzyy != null and qzyy != ''"
>
and qzyy = #{qzyy}
</if>
<if
test=
"cw != null and cw != ''"
>
and cw = #{cw}
</if>
<if
test=
"zjymd != null "
>
and zjymd = #{zjymd}
</if>
<if
test=
"pl != null "
>
and pl = #{pl}
</if>
<if
test=
"lgby != null "
>
and lgby = #{lgby}
</if>
<if
test=
"jc != null "
>
and jc = #{jc}
</if>
<if
test=
"jxzs != null "
>
and jxzs = #{jxzs}
</if>
<if
test=
"zb != null "
>
and zb = #{zb}
</if>
</where>
</select>
<select
id=
"selectSjZtgjsjById"
parameterType=
"Long"
resultMap=
"SjZtgjsjResult"
>
<include
refid=
"selectSjZtgjsjVo"
/>
where id = #{id}
</select>
<insert
id=
"insertSjZtgjsj"
parameterType=
"SjZtgjsj"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
insert into sj_ztgjsj
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"jh != null"
>
jh,
</if>
<if
test=
"ljjh != null"
>
ljjh,
</if>
<if
test=
"kc != null"
>
kc,
</if>
<if
test=
"jd != null"
>
jd,
</if>
<if
test=
"ztcc != null"
>
ztcc,
</if>
<if
test=
"ztxh != null"
>
ztxh,
</if>
<if
test=
"pz != null"
>
pz,
</if>
<if
test=
"mxqk != null"
>
mxqk,
</if>
<if
test=
"qzyy != null"
>
qzyy,
</if>
<if
test=
"cw != null"
>
cw,
</if>
<if
test=
"zjymd != null"
>
zjymd,
</if>
<if
test=
"pl != null"
>
pl,
</if>
<if
test=
"lgby != null"
>
lgby,
</if>
<if
test=
"jc != null"
>
jc,
</if>
<if
test=
"jxzs != null"
>
jxzs,
</if>
<if
test=
"zb != null"
>
zb,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"jh != null"
>
#{jh},
</if>
<if
test=
"ljjh != null"
>
#{ljjh},
</if>
<if
test=
"kc != null"
>
#{kc},
</if>
<if
test=
"jd != null"
>
#{jd},
</if>
<if
test=
"ztcc != null"
>
#{ztcc},
</if>
<if
test=
"ztxh != null"
>
#{ztxh},
</if>
<if
test=
"pz != null"
>
#{pz},
</if>
<if
test=
"mxqk != null"
>
#{mxqk},
</if>
<if
test=
"qzyy != null"
>
#{qzyy},
</if>
<if
test=
"cw != null"
>
#{cw},
</if>
<if
test=
"zjymd != null"
>
#{zjymd},
</if>
<if
test=
"pl != null"
>
#{pl},
</if>
<if
test=
"lgby != null"
>
#{lgby},
</if>
<if
test=
"jc != null"
>
#{jc},
</if>
<if
test=
"jxzs != null"
>
#{jxzs},
</if>
<if
test=
"zb != null"
>
#{zb},
</if>
</trim>
</insert>
<update
id=
"updateSjZtgjsj"
parameterType=
"SjZtgjsj"
>
update sj_ztgjsj
<trim
prefix=
"SET"
suffixOverrides=
","
>
<if
test=
"jh != null"
>
jh = #{jh},
</if>
<if
test=
"ljjh != null"
>
ljjh = #{ljjh},
</if>
<if
test=
"kc != null"
>
kc = #{kc},
</if>
<if
test=
"jd != null"
>
jd = #{jd},
</if>
<if
test=
"ztcc != null"
>
ztcc = #{ztcc},
</if>
<if
test=
"ztxh != null"
>
ztxh = #{ztxh},
</if>
<if
test=
"pz != null"
>
pz = #{pz},
</if>
<if
test=
"mxqk != null"
>
mxqk = #{mxqk},
</if>
<if
test=
"qzyy != null"
>
qzyy = #{qzyy},
</if>
<if
test=
"cw != null"
>
cw = #{cw},
</if>
<if
test=
"zjymd != null"
>
zjymd = #{zjymd},
</if>
<if
test=
"pl != null"
>
pl = #{pl},
</if>
<if
test=
"lgby != null"
>
lgby = #{lgby},
</if>
<if
test=
"jc != null"
>
jc = #{jc},
</if>
<if
test=
"jxzs != null"
>
jxzs = #{jxzs},
</if>
<if
test=
"zb != null"
>
zb = #{zb},
</if>
</trim>
where id = #{id}
</update>
<delete
id=
"deleteSjZtgjsjById"
parameterType=
"Long"
>
delete from sj_ztgjsj where id = #{id}
</delete>
<delete
id=
"deleteSjZtgjsjByIds"
parameterType=
"String"
>
delete from sj_ztgjsj where id in
<foreach
item=
"id"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{id}
</foreach>
</delete>
</mapper>
\ No newline at end of file
src/main/resources/mybatis/zjsgfa/SjZysxMapper.xml
0 → 100644
View file @
f03ceafc
<?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.SjZysxMapper"
>
<resultMap
type=
"SjZysx"
id=
"SjZysxResult"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"jh"
column=
"jh"
/>
<result
property=
"zysx"
column=
"zysx"
/>
<result
property=
"lb"
column=
"lb"
/>
<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=
"selectSjZysxVo"
>
select id, jh, zysx, lb, bz, created_by, created_time, update_by, update_time from sj_zysx
</sql>
<select
id=
"selectSjZysxList"
parameterType=
"SjZysx"
resultMap=
"SjZysxResult"
>
<include
refid=
"selectSjZysxVo"
/>
<where>
<if
test=
"jh != null and jh != ''"
>
and jh = #{jh}
</if>
<if
test=
"zysx != null and zysx != ''"
>
and zysx = #{zysx}
</if>
<if
test=
"lb != null and lb != ''"
>
and lb = #{lb}
</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=
"selectSjZysxById"
parameterType=
"Long"
resultMap=
"SjZysxResult"
>
<include
refid=
"selectSjZysxVo"
/>
where id = #{id}
</select>
<insert
id=
"insertSjZysx"
parameterType=
"SjZysx"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
insert into sj_zysx
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"jh != null"
>
jh,
</if>
<if
test=
"zysx != null"
>
zysx,
</if>
<if
test=
"lb != null"
>
lb,
</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=
"zysx != null"
>
#{zysx},
</if>
<if
test=
"lb != null"
>
#{lb},
</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=
"updateSjZysx"
parameterType=
"SjZysx"
>
update sj_zysx
<trim
prefix=
"SET"
suffixOverrides=
","
>
<if
test=
"jh != null"
>
jh = #{jh},
</if>
<if
test=
"zysx != null"
>
zysx = #{zysx},
</if>
<if
test=
"lb != null"
>
lb = #{lb},
</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=
"deleteSjZysxById"
parameterType=
"Long"
>
delete from sj_zysx where id = #{id}
</delete>
<delete
id=
"deleteSjZysxByIds"
parameterType=
"String"
>
delete from sj_zysx where id in
<foreach
item=
"id"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{id}
</foreach>
</delete>
<delete
id=
"deleteSjZysxByJh"
>
delete from sj_zysx where jh = #{jh}
</delete>
</mapper>
\ No newline at end of file
src/main/resources/static/excel/sjdrmb.xlsx
View file @
f03ceafc
No preview for this file type
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