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
c694d146
Commit
c694d146
authored
Sep 03, 2025
by
jiang'yun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
a21933ab
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
57 additions
and
48 deletions
+57
-48
src/main/java/com/zjsgfa/project/zjsgfa/service/impl/JcxxHseServiceImpl.java
+3
-2
src/main/java/com/zjsgfa/project/zjsgfa/service/impl/JcxxJkzpServiceImpl.java
+9
-8
src/main/java/com/zjsgfa/project/zjsgfa/service/impl/SjDjjcServiceImpl.java
+2
-1
src/main/java/com/zjsgfa/project/zjsgfa/service/impl/SjFdsgcsServiceImpl.java
+0
-0
src/main/java/com/zjsgfa/project/zjsgfa/service/impl/SjFlServiceImpl.java
+11
-10
src/main/java/com/zjsgfa/project/zjsgfa/service/impl/SjHseServiceImpl.java
+3
-2
src/main/java/com/zjsgfa/project/zjsgfa/service/impl/SjJkzpServiceImpl.java
+9
-8
src/main/java/com/zjsgfa/project/zjsgfa/service/impl/SjSggyGjsbxnyqServiceImpl.java
+3
-2
src/main/java/com/zjsgfa/project/zjsgfa/service/impl/SjZysxServiceImpl.java
+4
-2
src/main/java/com/zjsgfa/project/zt/controller/DjdcController.java
+1
-1
src/main/java/com/zjsgfa/project/zt/domain/Ljjw.java
+4
-4
src/main/java/com/zjsgfa/project/zt/service/impl/DjdcServiceImpl.java
+5
-5
src/main/resources/mybatis/zt/DjdcInfoMapper.xml
+3
-3
src/main/resources/static/excel/sjdrmb.xlsx
+0
-0
src/main/resources/static/excel/zqfxdcmb.xlsx
+0
-0
No files found.
src/main/java/com/zjsgfa/project/zjsgfa/service/impl/JcxxHseServiceImpl.java
View file @
c694d146
package
com
.
zjsgfa
.
project
.
zjsgfa
.
service
.
impl
;
package
com
.
zjsgfa
.
project
.
zjsgfa
.
service
.
impl
;
import
java.nio.charset.StandardCharsets
;
import
java.util.List
;
import
java.util.List
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
...
@@ -85,7 +86,7 @@ public class JcxxHseServiceImpl implements IJcxxHseService
...
@@ -85,7 +86,7 @@ public class JcxxHseServiceImpl implements IJcxxHseService
public
int
insertJcxxHse
(
JcxxHse
jcxxHse
)
public
int
insertJcxxHse
(
JcxxHse
jcxxHse
)
{
{
if
(
StringUtils
.
isNotEmpty
(
jcxxHse
.
getHse
())){
if
(
StringUtils
.
isNotEmpty
(
jcxxHse
.
getHse
())){
String
s
=
new
String
(
Base64
.
decode
(
jcxxHse
.
getHse
()));
String
s
=
new
String
(
Base64
.
decode
(
jcxxHse
.
getHse
())
,
StandardCharsets
.
UTF_8
);
jcxxHse
.
setHse
(
s
);
jcxxHse
.
setHse
(
s
);
}
}
return
jcxxHseMapper
.
insertJcxxHse
(
jcxxHse
);
return
jcxxHseMapper
.
insertJcxxHse
(
jcxxHse
);
...
@@ -101,7 +102,7 @@ public class JcxxHseServiceImpl implements IJcxxHseService
...
@@ -101,7 +102,7 @@ public class JcxxHseServiceImpl implements IJcxxHseService
public
int
updateJcxxHse
(
JcxxHse
jcxxHse
)
public
int
updateJcxxHse
(
JcxxHse
jcxxHse
)
{
{
if
(
StringUtils
.
isNotEmpty
(
jcxxHse
.
getHse
())){
if
(
StringUtils
.
isNotEmpty
(
jcxxHse
.
getHse
())){
String
s
=
new
String
(
Base64
.
decode
(
jcxxHse
.
getHse
()));
String
s
=
new
String
(
Base64
.
decode
(
jcxxHse
.
getHse
())
,
StandardCharsets
.
UTF_8
);
jcxxHse
.
setHse
(
s
);
jcxxHse
.
setHse
(
s
);
}
}
jcxxHse
.
setUpdateTime
(
DateUtils
.
getNowDate
());
jcxxHse
.
setUpdateTime
(
DateUtils
.
getNowDate
());
...
...
src/main/java/com/zjsgfa/project/zjsgfa/service/impl/JcxxJkzpServiceImpl.java
View file @
c694d146
package
com
.
zjsgfa
.
project
.
zjsgfa
.
service
.
impl
;
package
com
.
zjsgfa
.
project
.
zjsgfa
.
service
.
impl
;
import
java.nio.charset.StandardCharsets
;
import
java.util.List
;
import
java.util.List
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
...
@@ -150,17 +151,17 @@ public class JcxxJkzpServiceImpl implements IJcxxJkzpService
...
@@ -150,17 +151,17 @@ public class JcxxJkzpServiceImpl implements IJcxxJkzpService
public
int
insertJcxxJkzp
(
JcxxJkzp
jcxxJkzp
)
public
int
insertJcxxJkzp
(
JcxxJkzp
jcxxJkzp
)
{
{
if
(
StringUtils
.
isNotEmpty
(
jcxxJkzp
.
getZjkzz
())){
if
(
StringUtils
.
isNotEmpty
(
jcxxJkzp
.
getZjkzz
())){
jcxxJkzp
.
setZjkzz
(
new
String
(
Base64
.
decode
(
jcxxJkzp
.
getZjkzz
())));
jcxxJkzp
.
setZjkzz
(
new
String
(
Base64
.
decode
(
jcxxJkzp
.
getZjkzz
())
,
StandardCharsets
.
UTF_8
));
}
}
if
(
StringUtils
.
isNotEmpty
(
jcxxJkzp
.
getClcb
())){
if
(
StringUtils
.
isNotEmpty
(
jcxxJkzp
.
getClcb
())){
jcxxJkzp
.
setClcb
(
new
String
(
Base64
.
decode
(
jcxxJkzp
.
getClcb
())));
jcxxJkzp
.
setClcb
(
new
String
(
Base64
.
decode
(
jcxxJkzp
.
getClcb
())
,
StandardCharsets
.
UTF_8
));
}
}
if
(
StringUtils
.
isNotEmpty
(
jcxxJkzp
.
getJlgh
())){
if
(
StringUtils
.
isNotEmpty
(
jcxxJkzp
.
getJlgh
())){
jcxxJkzp
.
setJlgh
(
new
String
(
Base64
.
decode
(
jcxxJkzp
.
getJlgh
())));
jcxxJkzp
.
setJlgh
(
new
String
(
Base64
.
decode
(
jcxxJkzp
.
getJlgh
())
,
StandardCharsets
.
UTF_8
));
}
}
if
(
StringUtils
.
isNotEmpty
(
jcxxJkzp
.
getSyyq
())){
if
(
StringUtils
.
isNotEmpty
(
jcxxJkzp
.
getSyyq
())){
jcxxJkzp
.
setSyyq
(
new
String
(
Base64
.
decode
(
jcxxJkzp
.
getSyyq
())));
jcxxJkzp
.
setSyyq
(
new
String
(
Base64
.
decode
(
jcxxJkzp
.
getSyyq
())
,
StandardCharsets
.
UTF_8
));
}
}
return
jcxxJkzpMapper
.
insertJcxxJkzp
(
jcxxJkzp
);
return
jcxxJkzpMapper
.
insertJcxxJkzp
(
jcxxJkzp
);
}
}
...
@@ -175,17 +176,17 @@ public class JcxxJkzpServiceImpl implements IJcxxJkzpService
...
@@ -175,17 +176,17 @@ public class JcxxJkzpServiceImpl implements IJcxxJkzpService
public
int
updateJcxxJkzp
(
JcxxJkzp
jcxxJkzp
)
public
int
updateJcxxJkzp
(
JcxxJkzp
jcxxJkzp
)
{
{
if
(
StringUtils
.
isNotEmpty
(
jcxxJkzp
.
getZjkzz
())){
if
(
StringUtils
.
isNotEmpty
(
jcxxJkzp
.
getZjkzz
())){
jcxxJkzp
.
setZjkzz
(
new
String
(
Base64
.
decode
(
jcxxJkzp
.
getZjkzz
())));
jcxxJkzp
.
setZjkzz
(
new
String
(
Base64
.
decode
(
jcxxJkzp
.
getZjkzz
())
,
StandardCharsets
.
UTF_8
));
}
}
if
(
StringUtils
.
isNotEmpty
(
jcxxJkzp
.
getClcb
())){
if
(
StringUtils
.
isNotEmpty
(
jcxxJkzp
.
getClcb
())){
jcxxJkzp
.
setClcb
(
new
String
(
Base64
.
decode
(
jcxxJkzp
.
getClcb
())));
jcxxJkzp
.
setClcb
(
new
String
(
Base64
.
decode
(
jcxxJkzp
.
getClcb
())
,
StandardCharsets
.
UTF_8
));
}
}
if
(
StringUtils
.
isNotEmpty
(
jcxxJkzp
.
getJlgh
())){
if
(
StringUtils
.
isNotEmpty
(
jcxxJkzp
.
getJlgh
())){
jcxxJkzp
.
setJlgh
(
new
String
(
Base64
.
decode
(
jcxxJkzp
.
getJlgh
())));
jcxxJkzp
.
setJlgh
(
new
String
(
Base64
.
decode
(
jcxxJkzp
.
getJlgh
())
,
StandardCharsets
.
UTF_8
));
}
}
if
(
StringUtils
.
isNotEmpty
(
jcxxJkzp
.
getSyyq
())){
if
(
StringUtils
.
isNotEmpty
(
jcxxJkzp
.
getSyyq
())){
jcxxJkzp
.
setSyyq
(
new
String
(
Base64
.
decode
(
jcxxJkzp
.
getSyyq
())));
jcxxJkzp
.
setSyyq
(
new
String
(
Base64
.
decode
(
jcxxJkzp
.
getSyyq
())
,
StandardCharsets
.
UTF_8
));
}
}
jcxxJkzp
.
setUpdateTime
(
DateUtils
.
getNowDate
());
jcxxJkzp
.
setUpdateTime
(
DateUtils
.
getNowDate
());
return
jcxxJkzpMapper
.
updateJcxxJkzp
(
jcxxJkzp
);
return
jcxxJkzpMapper
.
updateJcxxJkzp
(
jcxxJkzp
);
...
...
src/main/java/com/zjsgfa/project/zjsgfa/service/impl/SjDjjcServiceImpl.java
View file @
c694d146
...
@@ -280,7 +280,8 @@ public class SjDjjcServiceImpl implements ISjDjjcService
...
@@ -280,7 +280,8 @@ public class SjDjjcServiceImpl implements ISjDjjcService
//查询钻头关键数据
//查询钻头关键数据
List
<
SjZtgjsj
>
collect
=
sjZtgjsjList
.
stream
()
List
<
SjZtgjsj
>
collect
=
sjZtgjsjList
.
stream
()
.
filter
(
it
->
String
.
valueOf
(
kc
).
equals
(
it
.
getKc
()))
.
filter
(
it
->
String
.
valueOf
(
kc
).
equals
(
it
.
getKc
()))
.
sorted
(
Comparator
.
comparing
(
SjZtgjsj:
:
getJxzs
).
reversed
())
// 倒序
.
sorted
(
Comparator
.
comparing
(
SjZtgjsj:
:
getJxzs
,
Comparator
.
nullsLast
(
Comparator
.
reverseOrder
())))
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
if
(
collect
.
size
()>
3
){
if
(
collect
.
size
()>
3
){
collect
=
collect
.
subList
(
0
,
3
);
collect
=
collect
.
subList
(
0
,
3
);
...
...
src/main/java/com/zjsgfa/project/zjsgfa/service/impl/SjFdsgcsServiceImpl.java
View file @
c694d146
This diff is collapsed.
Click to expand it.
src/main/java/com/zjsgfa/project/zjsgfa/service/impl/SjFlServiceImpl.java
View file @
c694d146
package
com
.
zjsgfa
.
project
.
zjsgfa
.
service
.
impl
;
package
com
.
zjsgfa
.
project
.
zjsgfa
.
service
.
impl
;
import
java.nio.charset.StandardCharsets
;
import
java.util.List
;
import
java.util.List
;
import
cn.hutool.core.codec.Base64
;
import
cn.hutool.core.codec.Base64
;
...
@@ -57,22 +58,22 @@ public class SjFlServiceImpl implements ISjFlService
...
@@ -57,22 +58,22 @@ public class SjFlServiceImpl implements ISjFlService
public
int
insertSjFl
(
SjFl
sjFl
)
public
int
insertSjFl
(
SjFl
sjFl
)
{
{
if
(
StringUtils
.
isNotEmpty
(
sjFl
.
getWjsgcs
())){
if
(
StringUtils
.
isNotEmpty
(
sjFl
.
getWjsgcs
())){
sjFl
.
setWjsgcs
(
new
String
(
Base64
.
decode
(
sjFl
.
getWjsgcs
())));
sjFl
.
setWjsgcs
(
new
String
(
Base64
.
decode
(
sjFl
.
getWjsgcs
())
,
StandardCharsets
.
UTF_8
));
}
}
if
(
StringUtils
.
isNotEmpty
(
sjFl
.
getYfgkcs
())){
if
(
StringUtils
.
isNotEmpty
(
sjFl
.
getYfgkcs
())){
sjFl
.
setYfgkcs
(
new
String
(
Base64
.
decode
(
sjFl
.
getYfgkcs
())));
sjFl
.
setYfgkcs
(
new
String
(
Base64
.
decode
(
sjFl
.
getYfgkcs
())
,
StandardCharsets
.
UTF_8
));
}
}
if
(
StringUtils
.
isNotEmpty
(
sjFl
.
getSyzn
())){
if
(
StringUtils
.
isNotEmpty
(
sjFl
.
getSyzn
())){
sjFl
.
setSyzn
(
new
String
(
Base64
.
decode
(
sjFl
.
getSyzn
())));
sjFl
.
setSyzn
(
new
String
(
Base64
.
decode
(
sjFl
.
getSyzn
())
,
StandardCharsets
.
UTF_8
));
}
}
if
(
StringUtils
.
isNotEmpty
(
sjFl
.
getTsyxzs
())){
if
(
StringUtils
.
isNotEmpty
(
sjFl
.
getTsyxzs
())){
sjFl
.
setTsyxzs
(
new
String
(
Base64
.
decode
(
sjFl
.
getTsyxzs
())));
sjFl
.
setTsyxzs
(
new
String
(
Base64
.
decode
(
sjFl
.
getTsyxzs
())
,
StandardCharsets
.
UTF_8
));
}
}
if
(
StringUtils
.
isNotEmpty
(
sjFl
.
getYjlxfs
())){
if
(
StringUtils
.
isNotEmpty
(
sjFl
.
getYjlxfs
())){
sjFl
.
setYjlxfs
(
new
String
(
Base64
.
decode
(
sjFl
.
getYjlxfs
())));
sjFl
.
setYjlxfs
(
new
String
(
Base64
.
decode
(
sjFl
.
getYjlxfs
())
,
StandardCharsets
.
UTF_8
));
}
}
return
sjFlMapper
.
insertSjFl
(
sjFl
);
return
sjFlMapper
.
insertSjFl
(
sjFl
);
}
}
...
@@ -87,22 +88,22 @@ public class SjFlServiceImpl implements ISjFlService
...
@@ -87,22 +88,22 @@ public class SjFlServiceImpl implements ISjFlService
public
int
updateSjFl
(
SjFl
sjFl
)
public
int
updateSjFl
(
SjFl
sjFl
)
{
{
if
(
StringUtils
.
isNotEmpty
(
sjFl
.
getWjsgcs
())){
if
(
StringUtils
.
isNotEmpty
(
sjFl
.
getWjsgcs
())){
sjFl
.
setWjsgcs
(
new
String
(
Base64
.
decode
(
sjFl
.
getWjsgcs
())));
sjFl
.
setWjsgcs
(
new
String
(
Base64
.
decode
(
sjFl
.
getWjsgcs
())
,
StandardCharsets
.
UTF_8
));
}
}
if
(
StringUtils
.
isNotEmpty
(
sjFl
.
getYfgkcs
())){
if
(
StringUtils
.
isNotEmpty
(
sjFl
.
getYfgkcs
())){
sjFl
.
setYfgkcs
(
new
String
(
Base64
.
decode
(
sjFl
.
getYfgkcs
())));
sjFl
.
setYfgkcs
(
new
String
(
Base64
.
decode
(
sjFl
.
getYfgkcs
())
,
StandardCharsets
.
UTF_8
));
}
}
if
(
StringUtils
.
isNotEmpty
(
sjFl
.
getSyzn
())){
if
(
StringUtils
.
isNotEmpty
(
sjFl
.
getSyzn
())){
sjFl
.
setSyzn
(
new
String
(
Base64
.
decode
(
sjFl
.
getSyzn
())));
sjFl
.
setSyzn
(
new
String
(
Base64
.
decode
(
sjFl
.
getSyzn
())
,
StandardCharsets
.
UTF_8
));
}
}
if
(
StringUtils
.
isNotEmpty
(
sjFl
.
getTsyxzs
())){
if
(
StringUtils
.
isNotEmpty
(
sjFl
.
getTsyxzs
())){
sjFl
.
setTsyxzs
(
new
String
(
Base64
.
decode
(
sjFl
.
getTsyxzs
())));
sjFl
.
setTsyxzs
(
new
String
(
Base64
.
decode
(
sjFl
.
getTsyxzs
())
,
StandardCharsets
.
UTF_8
));
}
}
if
(
StringUtils
.
isNotEmpty
(
sjFl
.
getYjlxfs
())){
if
(
StringUtils
.
isNotEmpty
(
sjFl
.
getYjlxfs
())){
sjFl
.
setYjlxfs
(
new
String
(
Base64
.
decode
(
sjFl
.
getYjlxfs
())));
sjFl
.
setYjlxfs
(
new
String
(
Base64
.
decode
(
sjFl
.
getYjlxfs
())
,
StandardCharsets
.
UTF_8
));
}
}
sjFl
.
setUpdateTime
(
DateUtils
.
getNowDate
());
sjFl
.
setUpdateTime
(
DateUtils
.
getNowDate
());
return
sjFlMapper
.
updateSjFl
(
sjFl
);
return
sjFlMapper
.
updateSjFl
(
sjFl
);
...
...
src/main/java/com/zjsgfa/project/zjsgfa/service/impl/SjHseServiceImpl.java
View file @
c694d146
package
com
.
zjsgfa
.
project
.
zjsgfa
.
service
.
impl
;
package
com
.
zjsgfa
.
project
.
zjsgfa
.
service
.
impl
;
import
java.nio.charset.StandardCharsets
;
import
java.util.List
;
import
java.util.List
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
...
@@ -86,7 +87,7 @@ public class SjHseServiceImpl implements ISjHseService
...
@@ -86,7 +87,7 @@ public class SjHseServiceImpl implements ISjHseService
//解密
//解密
if
(
StringUtils
.
isNotEmpty
(
sjHse
.
getHse
())){
if
(
StringUtils
.
isNotEmpty
(
sjHse
.
getHse
())){
String
s
=
new
String
(
Base64
.
decode
(
sjHse
.
getHse
()));
String
s
=
new
String
(
Base64
.
decode
(
sjHse
.
getHse
())
,
StandardCharsets
.
UTF_8
);
sjHse
.
setHse
(
s
);
sjHse
.
setHse
(
s
);
}
}
return
sjHseMapper
.
insertSjHse
(
sjHse
);
return
sjHseMapper
.
insertSjHse
(
sjHse
);
...
@@ -103,7 +104,7 @@ public class SjHseServiceImpl implements ISjHseService
...
@@ -103,7 +104,7 @@ public class SjHseServiceImpl implements ISjHseService
{
{
//解密
//解密
if
(
StringUtils
.
isNotEmpty
(
sjHse
.
getHse
())){
if
(
StringUtils
.
isNotEmpty
(
sjHse
.
getHse
())){
String
s
=
new
String
(
Base64
.
decode
(
sjHse
.
getHse
()));
String
s
=
new
String
(
Base64
.
decode
(
sjHse
.
getHse
())
,
StandardCharsets
.
UTF_8
);
sjHse
.
setHse
(
s
);
sjHse
.
setHse
(
s
);
}
}
...
...
src/main/java/com/zjsgfa/project/zjsgfa/service/impl/SjJkzpServiceImpl.java
View file @
c694d146
package
com
.
zjsgfa
.
project
.
zjsgfa
.
service
.
impl
;
package
com
.
zjsgfa
.
project
.
zjsgfa
.
service
.
impl
;
import
java.nio.charset.StandardCharsets
;
import
java.util.List
;
import
java.util.List
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
...
@@ -148,17 +149,17 @@ public class SjJkzpServiceImpl implements ISjJkzpService
...
@@ -148,17 +149,17 @@ public class SjJkzpServiceImpl implements ISjJkzpService
public
int
insertSjJkzp
(
SjJkzp
sjJkzp
)
public
int
insertSjJkzp
(
SjJkzp
sjJkzp
)
{
{
if
(
StringUtils
.
isNotEmpty
(
sjJkzp
.
getZjkzz
())){
if
(
StringUtils
.
isNotEmpty
(
sjJkzp
.
getZjkzz
())){
sjJkzp
.
setZjkzz
(
new
String
(
Base64
.
decode
(
sjJkzp
.
getZjkzz
())));
sjJkzp
.
setZjkzz
(
new
String
(
Base64
.
decode
(
sjJkzp
.
getZjkzz
())
,
StandardCharsets
.
UTF_8
));
}
}
if
(
StringUtils
.
isNotEmpty
(
sjJkzp
.
getClcb
())){
if
(
StringUtils
.
isNotEmpty
(
sjJkzp
.
getClcb
())){
sjJkzp
.
setClcb
(
new
String
(
Base64
.
decode
(
sjJkzp
.
getClcb
())));
sjJkzp
.
setClcb
(
new
String
(
Base64
.
decode
(
sjJkzp
.
getClcb
())
,
StandardCharsets
.
UTF_8
));
}
}
if
(
StringUtils
.
isNotEmpty
(
sjJkzp
.
getJlgh
())){
if
(
StringUtils
.
isNotEmpty
(
sjJkzp
.
getJlgh
())){
sjJkzp
.
setJlgh
(
new
String
(
Base64
.
decode
(
sjJkzp
.
getJlgh
())));
sjJkzp
.
setJlgh
(
new
String
(
Base64
.
decode
(
sjJkzp
.
getJlgh
())
,
StandardCharsets
.
UTF_8
));
}
}
if
(
StringUtils
.
isNotEmpty
(
sjJkzp
.
getSyyq
())){
if
(
StringUtils
.
isNotEmpty
(
sjJkzp
.
getSyyq
())){
sjJkzp
.
setSyyq
(
new
String
(
Base64
.
decode
(
sjJkzp
.
getSyyq
())));
sjJkzp
.
setSyyq
(
new
String
(
Base64
.
decode
(
sjJkzp
.
getSyyq
())
,
StandardCharsets
.
UTF_8
));
}
}
return
sjJkzpMapper
.
insertSjJkzp
(
sjJkzp
);
return
sjJkzpMapper
.
insertSjJkzp
(
sjJkzp
);
}
}
...
@@ -173,17 +174,17 @@ public class SjJkzpServiceImpl implements ISjJkzpService
...
@@ -173,17 +174,17 @@ public class SjJkzpServiceImpl implements ISjJkzpService
public
int
updateSjJkzp
(
SjJkzp
sjJkzp
)
public
int
updateSjJkzp
(
SjJkzp
sjJkzp
)
{
{
if
(
StringUtils
.
isNotEmpty
(
sjJkzp
.
getZjkzz
())){
if
(
StringUtils
.
isNotEmpty
(
sjJkzp
.
getZjkzz
())){
sjJkzp
.
setZjkzz
(
new
String
(
Base64
.
decode
(
sjJkzp
.
getZjkzz
())));
sjJkzp
.
setZjkzz
(
new
String
(
Base64
.
decode
(
sjJkzp
.
getZjkzz
())
,
StandardCharsets
.
UTF_8
));
}
}
if
(
StringUtils
.
isNotEmpty
(
sjJkzp
.
getClcb
())){
if
(
StringUtils
.
isNotEmpty
(
sjJkzp
.
getClcb
())){
sjJkzp
.
setClcb
(
new
String
(
Base64
.
decode
(
sjJkzp
.
getClcb
())));
sjJkzp
.
setClcb
(
new
String
(
Base64
.
decode
(
sjJkzp
.
getClcb
())
,
StandardCharsets
.
UTF_8
));
}
}
if
(
StringUtils
.
isNotEmpty
(
sjJkzp
.
getJlgh
())){
if
(
StringUtils
.
isNotEmpty
(
sjJkzp
.
getJlgh
())){
sjJkzp
.
setJlgh
(
new
String
(
Base64
.
decode
(
sjJkzp
.
getJlgh
())));
sjJkzp
.
setJlgh
(
new
String
(
Base64
.
decode
(
sjJkzp
.
getJlgh
())
,
StandardCharsets
.
UTF_8
));
}
}
if
(
StringUtils
.
isNotEmpty
(
sjJkzp
.
getSyyq
())){
if
(
StringUtils
.
isNotEmpty
(
sjJkzp
.
getSyyq
())){
sjJkzp
.
setSyyq
(
new
String
(
Base64
.
decode
(
sjJkzp
.
getSyyq
())));
sjJkzp
.
setSyyq
(
new
String
(
Base64
.
decode
(
sjJkzp
.
getSyyq
())
,
StandardCharsets
.
UTF_8
));
}
}
sjJkzp
.
setUpdateTime
(
DateUtils
.
getNowDate
());
sjJkzp
.
setUpdateTime
(
DateUtils
.
getNowDate
());
return
sjJkzpMapper
.
updateSjJkzp
(
sjJkzp
);
return
sjJkzpMapper
.
updateSjJkzp
(
sjJkzp
);
...
...
src/main/java/com/zjsgfa/project/zjsgfa/service/impl/SjSggyGjsbxnyqServiceImpl.java
View file @
c694d146
package
com
.
zjsgfa
.
project
.
zjsgfa
.
service
.
impl
;
package
com
.
zjsgfa
.
project
.
zjsgfa
.
service
.
impl
;
import
java.nio.charset.StandardCharsets
;
import
java.util.List
;
import
java.util.List
;
import
cn.hutool.core.codec.Base64
;
import
cn.hutool.core.codec.Base64
;
...
@@ -56,7 +57,7 @@ public class SjSggyGjsbxnyqServiceImpl implements ISjSggyGjsbxnyqService
...
@@ -56,7 +57,7 @@ public class SjSggyGjsbxnyqServiceImpl implements ISjSggyGjsbxnyqService
public
int
insertSjSggyGjsbxnyq
(
SjSggyGjsbxnyq
sjSggyGjsbxnyq
)
public
int
insertSjSggyGjsbxnyq
(
SjSggyGjsbxnyq
sjSggyGjsbxnyq
)
{
{
if
(
StringUtils
.
isNotEmpty
(
sjSggyGjsbxnyq
.
getSjyh
())){
if
(
StringUtils
.
isNotEmpty
(
sjSggyGjsbxnyq
.
getSjyh
())){
String
s
=
new
String
(
Base64
.
decode
(
sjSggyGjsbxnyq
.
getSjyh
()));
String
s
=
new
String
(
Base64
.
decode
(
sjSggyGjsbxnyq
.
getSjyh
())
,
StandardCharsets
.
UTF_8
);
sjSggyGjsbxnyq
.
setSjyh
(
s
);
sjSggyGjsbxnyq
.
setSjyh
(
s
);
}
}
...
@@ -73,7 +74,7 @@ public class SjSggyGjsbxnyqServiceImpl implements ISjSggyGjsbxnyqService
...
@@ -73,7 +74,7 @@ public class SjSggyGjsbxnyqServiceImpl implements ISjSggyGjsbxnyqService
public
int
updateSjSggyGjsbxnyq
(
SjSggyGjsbxnyq
sjSggyGjsbxnyq
)
public
int
updateSjSggyGjsbxnyq
(
SjSggyGjsbxnyq
sjSggyGjsbxnyq
)
{
{
if
(
StringUtils
.
isNotEmpty
(
sjSggyGjsbxnyq
.
getSjyh
())){
if
(
StringUtils
.
isNotEmpty
(
sjSggyGjsbxnyq
.
getSjyh
())){
String
s
=
new
String
(
Base64
.
decode
(
sjSggyGjsbxnyq
.
getSjyh
()));
String
s
=
new
String
(
Base64
.
decode
(
sjSggyGjsbxnyq
.
getSjyh
())
,
StandardCharsets
.
UTF_8
);
sjSggyGjsbxnyq
.
setSjyh
(
s
);
sjSggyGjsbxnyq
.
setSjyh
(
s
);
}
}
return
sjSggyGjsbxnyqMapper
.
updateSjSggyGjsbxnyq
(
sjSggyGjsbxnyq
);
return
sjSggyGjsbxnyqMapper
.
updateSjSggyGjsbxnyq
(
sjSggyGjsbxnyq
);
...
...
src/main/java/com/zjsgfa/project/zjsgfa/service/impl/SjZysxServiceImpl.java
View file @
c694d146
package
com
.
zjsgfa
.
project
.
zjsgfa
.
service
.
impl
;
package
com
.
zjsgfa
.
project
.
zjsgfa
.
service
.
impl
;
import
java.nio.charset.StandardCharsets
;
import
java.util.List
;
import
java.util.List
;
import
cn.hutool.core.codec.Base64
;
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
com.zjsgfa.common.utils.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.security.crypto.codec.Utf8
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
com.zjsgfa.project.zjsgfa.mapper.SjZysxMapper
;
import
com.zjsgfa.project.zjsgfa.mapper.SjZysxMapper
;
import
com.zjsgfa.project.zjsgfa.domain.SjZysx
;
import
com.zjsgfa.project.zjsgfa.domain.SjZysx
;
...
@@ -57,7 +59,7 @@ public class SjZysxServiceImpl implements ISjZysxService
...
@@ -57,7 +59,7 @@ public class SjZysxServiceImpl implements ISjZysxService
public
int
insertSjZysx
(
SjZysx
sjZysx
)
public
int
insertSjZysx
(
SjZysx
sjZysx
)
{
{
if
(
StringUtils
.
isNotEmpty
(
sjZysx
.
getZysx
())){
if
(
StringUtils
.
isNotEmpty
(
sjZysx
.
getZysx
())){
sjZysx
.
setZysx
(
new
String
(
Base64
.
decode
(
sjZysx
.
getZysx
())));
sjZysx
.
setZysx
(
new
String
(
Base64
.
decode
(
sjZysx
.
getZysx
())
,
StandardCharsets
.
UTF_8
));
}
}
return
sjZysxMapper
.
insertSjZysx
(
sjZysx
);
return
sjZysxMapper
.
insertSjZysx
(
sjZysx
);
}
}
...
@@ -74,7 +76,7 @@ public class SjZysxServiceImpl implements ISjZysxService
...
@@ -74,7 +76,7 @@ public class SjZysxServiceImpl implements ISjZysxService
String
lb
=
sjZysx
.
getLb
();
String
lb
=
sjZysx
.
getLb
();
if
(
"喷漏卡塌"
.
equals
(
lb
)
||
"特殊岩性风险"
.
equals
(
lb
)){
if
(
"喷漏卡塌"
.
equals
(
lb
)
||
"特殊岩性风险"
.
equals
(
lb
)){
if
(
StringUtils
.
isNotEmpty
(
sjZysx
.
getZysx
())){
if
(
StringUtils
.
isNotEmpty
(
sjZysx
.
getZysx
())){
sjZysx
.
setZysx
(
new
String
(
Base64
.
decode
(
sjZysx
.
getZysx
())));
sjZysx
.
setZysx
(
new
String
(
Base64
.
decode
(
sjZysx
.
getZysx
())
,
StandardCharsets
.
UTF_8
));
}
}
}
}
...
...
src/main/java/com/zjsgfa/project/zt/controller/DjdcController.java
View file @
c694d146
...
@@ -369,7 +369,7 @@ public class DjdcController {
...
@@ -369,7 +369,7 @@ public class DjdcController {
int
m
=
0
;
int
m
=
0
;
Cell
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
item
.
getJh
()+
""
);
Cell
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
item
.
getJh
()+
""
);
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
item
.
getKc
()+
""
);
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
item
.
getKc
()+
""
);
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
item
.
getJtm
()+
""
);
//
cell = row.createCell(m++);cell.setCellStyle(cellStyle); cell.setCellValue(item.getJtm()+"");
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
item
.
getKsjs
()+
""
);
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
item
.
getKsjs
()+
""
);
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
item
.
getJs
()+
""
);
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
item
.
getJs
()+
""
);
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
item
.
getJc
()+
""
);
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
item
.
getJc
()+
""
);
...
...
src/main/java/com/zjsgfa/project/zt/domain/Ljjw.java
View file @
c694d146
...
@@ -46,10 +46,10 @@ public class Ljjw {
...
@@ -46,10 +46,10 @@ public class Ljjw {
private
Double
jdjl
;
private
Double
jdjl
;
//井口横坐标
//井口横坐标
@Excel
(
name
=
"井口横坐标"
)
@Excel
(
name
=
"井口横坐标"
,
cellType
=
Excel
.
ColumnType
.
NUMERIC
)
private
Double
jkhzb
;
private
Double
jkhzb
;
//井口纵坐标
//井口纵坐标
@Excel
(
name
=
"井口纵坐标"
)
@Excel
(
name
=
"井口纵坐标"
,
cellType
=
Excel
.
ColumnType
.
NUMERIC
)
private
Double
jkzzb
;
private
Double
jkzzb
;
//井口横距离
//井口横距离
@Excel
(
name
=
"井口横距离"
)
@Excel
(
name
=
"井口横距离"
)
...
@@ -60,10 +60,10 @@ public class Ljjw {
...
@@ -60,10 +60,10 @@ public class Ljjw {
//井底横坐标
//井底横坐标
@Excel
(
name
=
"井底横坐标"
)
@Excel
(
name
=
"井底横坐标"
,
cellType
=
Excel
.
ColumnType
.
NUMERIC
)
private
Double
jdhzb
;
private
Double
jdhzb
;
//井底纵坐标
//井底纵坐标
@Excel
(
name
=
"井底纵坐标"
)
@Excel
(
name
=
"井底纵坐标"
,
cellType
=
Excel
.
ColumnType
.
NUMERIC
)
private
Double
jdzzb
;
private
Double
jdzzb
;
//井底横距离
//井底横距离
...
...
src/main/java/com/zjsgfa/project/zt/service/impl/DjdcServiceImpl.java
View file @
c694d146
...
@@ -167,7 +167,7 @@ public class DjdcServiceImpl implements DjdcService {
...
@@ -167,7 +167,7 @@ public class DjdcServiceImpl implements DjdcService {
//
//
String
lx
=
item
.
getLx
();
String
lx
=
item
.
getLx
();
if
(
StringUtils
.
isNotEmpty
(
lx
)){
if
(
StringUtils
.
isNotEmpty
(
lx
)){
if
(
lx
.
equals
(
"PDC钻头
"
)){
if
(
lx
.
startsWith
(
"PDC"
)
||
lx
.
startsWith
(
"pdc
"
)){
String
wpc
=
item
.
getWpc
();
String
wpc
=
item
.
getWpc
();
String
npc
=
item
.
getNpc
();
String
npc
=
item
.
getNpc
();
String
wpcqk
=
""
;
String
wpcqk
=
""
;
...
@@ -179,7 +179,7 @@ public class DjdcServiceImpl implements DjdcService {
...
@@ -179,7 +179,7 @@ public class DjdcServiceImpl implements DjdcService {
if
(
i
==
0
){
if
(
i
==
0
){
wpcqk
=
"外排齿:无磨损"
;
wpcqk
=
"外排齿:无磨损"
;
}
else
{
}
else
{
wpcqk
=
"外排齿:
1/"
+
i
+
"
磨损"
;
wpcqk
=
"外排齿:
"
+
i
+
"级
磨损"
;
}
}
break
;
break
;
}
}
...
@@ -188,12 +188,12 @@ public class DjdcServiceImpl implements DjdcService {
...
@@ -188,12 +188,12 @@ public class DjdcServiceImpl implements DjdcService {
if
(
StringUtils
.
isNotEmpty
(
npc
)){
if
(
StringUtils
.
isNotEmpty
(
npc
)){
Integer
clsz
=
clsz
(
npc
);
Integer
clsz
=
clsz
(
npc
);
for
(
int
i
=
1
;
i
<
9
;
i
++){
for
(
int
i
=
0
;
i
<
9
;
i
++){
if
(
clsz
==
i
){
if
(
clsz
==
i
){
if
(
i
==
0
){
if
(
i
==
0
){
npcqk
=
"内排齿:无磨损"
;
npcqk
=
"内排齿:无磨损"
;
}
else
{
}
else
{
npcqk
=
"内排齿:
1/"
+
i
+
"
磨损"
;
npcqk
=
"内排齿:
"
+
i
+
"级
磨损"
;
}
}
break
;
break
;
}
}
...
@@ -240,7 +240,7 @@ public class DjdcServiceImpl implements DjdcService {
...
@@ -240,7 +240,7 @@ public class DjdcServiceImpl implements DjdcService {
if
(
StringUtils
.
isNotEmpty
(
item
.
getQzyy
())){
if
(
StringUtils
.
isNotEmpty
(
item
.
getQzyy
())){
Qzyy
qzyy
=
qzyyList
.
stream
().
filter
(
it
->
it
.
getLabel
().
equals
(
item
.
getQzyy
())).
findFirst
().
orElse
(
null
);
Qzyy
qzyy
=
qzyyList
.
stream
().
filter
(
it
->
it
.
getLabel
().
equals
(
item
.
getQzyy
())).
findFirst
().
orElse
(
null
);
if
(
qzyy
!=
null
){
if
(
qzyy
!=
null
){
item
.
setQzyy
(
qzyy
.
getValue
());
item
.
setQzyy
(
qzyy
.
get
Label
()+
"-"
+
qzyy
.
get
Value
());
}
}
}
}
...
...
src/main/resources/mybatis/zt/DjdcInfoMapper.xml
View file @
c694d146
...
@@ -419,7 +419,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -419,7 +419,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
#{item}
#{item}
</foreach>
</foreach>
</if>
</if>
order by jkjl asc) where ROWNUM
<
=
5
order by jkjl asc) where ROWNUM
<
=
8
union all
union all
select *
select *
from (
from (
...
@@ -489,8 +489,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -489,8 +489,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</if>
</if>
order by jdjl asc
order by jdjl asc
) where ROWNUM
<
=
5
) where ROWNUM
<
=
8
) a order by j
h
) a order by j
kjl
</select>
</select>
...
...
src/main/resources/static/excel/sjdrmb.xlsx
View file @
c694d146
No preview for this file type
src/main/resources/static/excel/zqfxdcmb.xlsx
View file @
c694d146
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