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
e8b5e728
Commit
e8b5e728
authored
Nov 28, 2025
by
jiang'yun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
c80cf2be
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
1 deletions
+34
-1
src/main/java/com/zjsgfa/project/zjsgfa/domain/JcxxJdxx.java
+12
-0
src/main/java/com/zjsgfa/project/zjsgfa/service/impl/SjDjjcServiceImpl.java
+3
-0
src/main/resources/mybatis/zjsgfa/JcxxJdxxMapper.xml
+19
-1
No files found.
src/main/java/com/zjsgfa/project/zjsgfa/domain/JcxxJdxx.java
View file @
e8b5e728
...
...
@@ -161,4 +161,16 @@ public class JcxxJdxx extends BaseEntity
@Excel
(
name
=
"创建时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
)
private
Date
createdTime
;
/** 喷漏卡塌的预防管控措施 */
@Excel
(
name
=
"喷漏卡塌的预防管控措施"
)
private
String
yfgkcs
;
/** 完井施工措施 */
@Excel
(
name
=
"完井施工措施"
)
private
String
wjsgcs
;
/** 特殊岩性的知识 */
@Excel
(
name
=
"特殊岩性的知识"
)
private
String
tsyxzs
;
}
src/main/java/com/zjsgfa/project/zjsgfa/service/impl/SjDjjcServiceImpl.java
View file @
e8b5e728
...
...
@@ -173,6 +173,9 @@ public class SjDjjcServiceImpl implements ISjDjjcService
sjFl
.
setJh
(
sjDjjc1
.
getJh
());
sjFl
.
setCreatedBy
(
SecurityUtils
.
getUsername
());
sjFl
.
setYjlxfs
(
jcxxJdxx
.
getYjlxr
());
sjFl
.
setWjsgcs
(
jcxxJdxx
.
getWjsgcs
());
sjFl
.
setYfgkcs
(
jcxxJdxx
.
getYfgkcs
());
sjFl
.
setTsyxzs
(
jcxxJdxx
.
getTsyxzs
());
sjFlMapper
.
insertSjFl
(
sjFl
);
BeanUtils
.
copyProperties
(
jcxxJdxx
,
sjSggyGjsbxnyq
);
}
...
...
src/main/resources/mybatis/zjsgfa/JcxxJdxxMapper.xml
View file @
e8b5e728
...
...
@@ -43,10 +43,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result
property=
"createdTime"
column=
"created_time"
/>
<result
property=
"updateBy"
column=
"update_by"
/>
<result
property=
"updateTime"
column=
"update_time"
/>
<result
property=
"yfgkcs"
column=
"yfgkcs"
/>
<result
property=
"wjsgcs"
column=
"wjsgcs"
/>
<result
property=
"tsyxzs"
column=
"tsyxzs"
/>
</resultMap>
<sql
id=
"selectJcxxJdxxVo"
>
select id, zjgs, zjjd, zjxh, wddy, dkwdscgl, zjnl_zjlx, zjnl_zdcsll, zjnl_zgcsby, xzxt_ddzp, xzxt_dq, xhxt_b1lx, xhxt_b1xh, xhxt_b1zdgl, xhxt_b2lx, xhxt_b2xh, xhxt_b2zdgl, xhxt_b3lx, xhxt_b3xh, xhxt_b3zdgl, gksb_zdslx, gksb_lxj1lx, gksb_lxj1zdjgl, gksb_lxj2lx, gksb_lxj2zdjgl, gksb_lxj3lx, gksb_lxj3zdjgl, xhg_sl, xhg_zrl, cbg_sl, cbg_zrl, sbfxyj, yjlxr, bz, created_by, created_time, update_by, update_time from jcxx_jdxx
select id, zjgs, zjjd, zjxh, wddy, dkwdscgl, zjnl_zjlx, zjnl_zdcsll,
zjnl_zgcsby, xzxt_ddzp, xzxt_dq, xhxt_b1lx, xhxt_b1xh, xhxt_b1zdgl,
xhxt_b2lx, xhxt_b2xh, xhxt_b2zdgl, xhxt_b3lx, xhxt_b3xh, xhxt_b3zdgl,
gksb_zdslx, gksb_lxj1lx, gksb_lxj1zdjgl, gksb_lxj2lx, gksb_lxj2zdjgl,
gksb_lxj3lx, gksb_lxj3zdjgl, xhg_sl, xhg_zrl, cbg_sl, cbg_zrl, sbfxyj,
yjlxr, bz, created_by, created_time, update_by, update_time,yfgkcs,wjsgcs,tsyxzs from jcxx_jdxx
</sql>
<select
id=
"selectJcxxJdxxList"
parameterType=
"JcxxJdxx"
resultMap=
"JcxxJdxxResult"
>
...
...
@@ -135,6 +143,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"createdTime != null"
>
created_time,
</if>
<if
test=
"updateBy != null"
>
update_by,
</if>
<if
test=
"updateTime != null"
>
update_time,
</if>
<if
test=
"yfgkcs != null"
>
yfgkcs,
</if>
<if
test=
"wjsgcs != null"
>
wjsgcs,
</if>
<if
test=
"tsyxzs != null"
>
tsyxzs,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"zjgs != null"
>
#{zjgs},
</if>
...
...
@@ -174,6 +186,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"createdTime != null"
>
#{createdTime},
</if>
<if
test=
"updateBy != null"
>
#{updateBy},
</if>
<if
test=
"updateTime != null"
>
#{updateTime},
</if>
<if
test=
"yfgkcs != null"
>
#{yfgkcs},
</if>
<if
test=
"wjsgcs != null"
>
#{wjsgcs},
</if>
<if
test=
"tsyxzs != null"
>
#{tsyxzs},
</if>
</trim>
</insert>
...
...
@@ -217,6 +232,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"createdTime != null"
>
created_time = #{createdTime},
</if>
<if
test=
"updateBy != null"
>
update_by = #{updateBy},
</if>
<if
test=
"updateTime != null"
>
update_time = #{updateTime},
</if>
<if
test=
"yfgkcs != null"
>
yfgkcs = #{yfgkcs},
</if>
<if
test=
"wjsgcs != null"
>
wjsgcs = #{wjsgcs},
</if>
<if
test=
"tsyxzs != null"
>
tsyxzs = #{tsyxzs},
</if>
</trim>
where id = #{id}
</update>
...
...
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