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
45dd7f45
Commit
45dd7f45
authored
Mar 24, 2026
by
jiangyun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
c1341302
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
3 deletions
+15
-3
src/main/java/com/zjsgfa/project/zjsgfa/domain/SjLjfzqk.java
+2
-0
src/main/java/com/zjsgfa/project/zjsgfa/service/impl/SjLjfzqkServiceImpl.java
+6
-1
src/main/java/com/zjsgfa/project/zjsgfa/service/impl/SjLjzjyfzqkServiceImpl.java
+6
-1
src/main/resources/mybatis/zt/DjdcInfoMapper.xml
+1
-1
No files found.
src/main/java/com/zjsgfa/project/zjsgfa/domain/SjLjfzqk.java
View file @
45dd7f45
...
...
@@ -43,4 +43,6 @@ public class SjLjfzqk extends BaseEntity
/** 复杂情况 */
@Excel
(
name
=
"复杂情况"
)
private
String
fzqk
;
private
String
fsjgjyy
;
}
src/main/java/com/zjsgfa/project/zjsgfa/service/impl/SjLjfzqkServiceImpl.java
View file @
45dd7f45
...
...
@@ -118,7 +118,12 @@ public class SjLjfzqkServiceImpl implements ISjLjfzqkService
param1
.
setJkzzb
(
sjDjjc
.
getJkzzb
());
List
<
SjLjfzqk
>
jsqaList
=
djdcService
.
getJsqaListByJh
(
param1
);
if
(
jsqaList
.
size
()>
0
){
jsqaList
.
forEach
(
it
->{
it
.
setZbid
(
sjDjjc
.
getId
());});
jsqaList
.
forEach
(
it
->{
it
.
setZbid
(
sjDjjc
.
getId
());
String
fzqk
=
it
.
getFzqk
()
!=
null
?
it
.
getFzqk
()
:
""
;
String
fsjgjyy
=
it
.
getFsjgjyy
()
!=
null
?
it
.
getFsjgjyy
()
:
""
;
it
.
setFzqk
(
fzqk
+
":"
+
fsjgjyy
);
});
sjLjfzqkMapper
.
insertSjLjfzqkBatch
(
jsqaList
);
}
...
...
src/main/java/com/zjsgfa/project/zjsgfa/service/impl/SjLjzjyfzqkServiceImpl.java
View file @
45dd7f45
...
...
@@ -123,7 +123,12 @@ public class SjLjzjyfzqkServiceImpl implements ISjLjzjyfzqkService
param1
.
setJkzzb
(
sjDjjc
.
getJkzzb
());
List
<
SjLjfzqk
>
jsqaList
=
djdcService
.
getJsqaListByJh
(
param1
);
if
(
jsqaList
.
size
()>
0
){
jsqaList
.
forEach
(
it
->{
it
.
setZbid
(
sjDjjc
.
getId
());});
jsqaList
.
forEach
(
it
->{
it
.
setZbid
(
sjDjjc
.
getId
());
String
fzqk
=
it
.
getFzqk
()
!=
null
?
it
.
getFzqk
()
:
""
;
String
fsjgjyy
=
it
.
getFsjgjyy
()
!=
null
?
it
.
getFsjgjyy
()
:
""
;
it
.
setFzqk
(
fzqk
+
":"
+
fsjgjyy
);
});
sjLjzjyfzqkMapper
.
insertSjLjzjyfzqkBatch
(
jsqaList
);
}
...
...
src/main/resources/mybatis/zt/DjdcInfoMapper.xml
View file @
45dd7f45
...
...
@@ -1282,7 +1282,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select>
<select
id=
"getJsqaListByJh"
resultType=
"com.zjsgfa.project.zjsgfa.domain.SjLjfzqk"
>
select a.jh ljjh,FSRQ sj,FZQK fzqk,b.WJCZJS wzjs
select a.jh ljjh,FSRQ sj,FZQK fzqk,b.WJCZJS wzjs
,fsjgjyy
<if
test=
"jkhzb!=null and jkzzb !=null"
>
,round(power(power(ABS(c.jkhzb - #{jkhzb}
), 2) + power(ABS(c.jkzzb -#{jkzzb}), 2), 0.5), 2) as jl
...
...
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