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
a21933ab
Commit
a21933ab
authored
Aug 29, 2025
by
jiang'yun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
6384027d
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
1 deletions
+19
-1
pom.xml
+5
-0
src/main/java/com/zjsgfa/project/zjsgfa/controller/SjDjjcController.java
+0
-0
src/main/java/com/zjsgfa/project/zjsgfa/controller/SjSggyZjyCljlController.java
+1
-1
src/main/java/com/zjsgfa/project/zjsgfa/service/impl/SjZysxServiceImpl.java
+13
-0
src/main/resources/static/excel/sgfamb.docx
+0
-0
No files found.
pom.xml
View file @
a21933ab
...
@@ -278,6 +278,11 @@
...
@@ -278,6 +278,11 @@
<artifactId>
poi-tl
</artifactId>
<artifactId>
poi-tl
</artifactId>
<version>
1.12.1
</version>
<version>
1.12.1
</version>
</dependency>
</dependency>
<dependency>
<groupId>
io.github.draco1023
</groupId>
<artifactId>
poi-tl-ext
</artifactId>
<version>
0.4.23-poi5
</version>
</dependency>
<!-- 处理 Base64 解码 -->
<!-- 处理 Base64 解码 -->
<dependency>
<dependency>
...
...
src/main/java/com/zjsgfa/project/zjsgfa/controller/SjDjjcController.java
View file @
a21933ab
This diff is collapsed.
Click to expand it.
src/main/java/com/zjsgfa/project/zjsgfa/controller/SjSggyZjyCljlController.java
View file @
a21933ab
...
@@ -41,7 +41,7 @@ public class SjSggyZjyCljlController extends BaseController
...
@@ -41,7 +41,7 @@ public class SjSggyZjyCljlController extends BaseController
@GetMapping
(
"/list"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
SjSggyZjyCljl
sjSggyZjyCljl
)
public
TableDataInfo
list
(
SjSggyZjyCljl
sjSggyZjyCljl
)
{
{
startPage
();
//
startPage();
List
<
SjSggyZjyCljl
>
list
=
sjSggyZjyCljlService
.
selectSjSggyZjyCljlList
(
sjSggyZjyCljl
);
List
<
SjSggyZjyCljl
>
list
=
sjSggyZjyCljlService
.
selectSjSggyZjyCljlList
(
sjSggyZjyCljl
);
return
getDataTable
(
list
);
return
getDataTable
(
list
);
}
}
...
...
src/main/java/com/zjsgfa/project/zjsgfa/service/impl/SjZysxServiceImpl.java
View file @
a21933ab
package
com
.
zjsgfa
.
project
.
zjsgfa
.
service
.
impl
;
package
com
.
zjsgfa
.
project
.
zjsgfa
.
service
.
impl
;
import
java.util.List
;
import
java.util.List
;
import
cn.hutool.core.codec.Base64
;
import
com.zjsgfa.common.utils.DateUtils
;
import
com.zjsgfa.common.utils.DateUtils
;
import
com.zjsgfa.common.utils.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
com.zjsgfa.project.zjsgfa.mapper.SjZysxMapper
;
import
com.zjsgfa.project.zjsgfa.mapper.SjZysxMapper
;
...
@@ -53,6 +56,9 @@ public class SjZysxServiceImpl implements ISjZysxService
...
@@ -53,6 +56,9 @@ public class SjZysxServiceImpl implements ISjZysxService
@Override
@Override
public
int
insertSjZysx
(
SjZysx
sjZysx
)
public
int
insertSjZysx
(
SjZysx
sjZysx
)
{
{
if
(
StringUtils
.
isNotEmpty
(
sjZysx
.
getZysx
())){
sjZysx
.
setZysx
(
new
String
(
Base64
.
decode
(
sjZysx
.
getZysx
())));
}
return
sjZysxMapper
.
insertSjZysx
(
sjZysx
);
return
sjZysxMapper
.
insertSjZysx
(
sjZysx
);
}
}
...
@@ -65,6 +71,13 @@ public class SjZysxServiceImpl implements ISjZysxService
...
@@ -65,6 +71,13 @@ public class SjZysxServiceImpl implements ISjZysxService
@Override
@Override
public
int
updateSjZysx
(
SjZysx
sjZysx
)
public
int
updateSjZysx
(
SjZysx
sjZysx
)
{
{
String
lb
=
sjZysx
.
getLb
();
if
(
"喷漏卡塌"
.
equals
(
lb
)
||
"特殊岩性风险"
.
equals
(
lb
)){
if
(
StringUtils
.
isNotEmpty
(
sjZysx
.
getZysx
())){
sjZysx
.
setZysx
(
new
String
(
Base64
.
decode
(
sjZysx
.
getZysx
())));
}
}
sjZysx
.
setUpdateTime
(
DateUtils
.
getNowDate
());
sjZysx
.
setUpdateTime
(
DateUtils
.
getNowDate
());
return
sjZysxMapper
.
updateSjZysx
(
sjZysx
);
return
sjZysxMapper
.
updateSjZysx
(
sjZysx
);
}
}
...
...
src/main/resources/static/excel/sgfamb.docx
View file @
a21933ab
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