Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rs-cloud-platform
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
周健威
rs-cloud-platform
Commits
d54f5059
Commit
d54f5059
authored
Dec 30, 2021
by
周健威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改代码
parent
adf51b53
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
RscpImageCoverBiz.java
.../upyuns/platform/rs/datacenter/biz/RscpImageCoverBiz.java
+3
-1
rscpImageCoverMapper.xml
...server/src/main/resources/mapper/rscpImageCoverMapper.xml
+1
-1
No files found.
rs-datacenter/rs-datacenter-server/src/main/java/com/upyuns/platform/rs/datacenter/biz/RscpImageCoverBiz.java
View file @
d54f5059
...
@@ -69,8 +69,10 @@ public class RscpImageCoverBiz extends BaseBiz<RscpImageCoverMapper, RscpImageCo
...
@@ -69,8 +69,10 @@ public class RscpImageCoverBiz extends BaseBiz<RscpImageCoverMapper, RscpImageCo
setLimit
(
500
);
setLimit
(
500
);
}}),
()
->
rscpImageDataTotalBiz
.
selectByWeekend
(
w
->
{
}}),
()
->
rscpImageDataTotalBiz
.
selectByWeekend
(
w
->
{
w
.
andEqualTo
(
RscpImageDataTotal:
:
getCoverStatistics
,
0
);
w
.
andEqualTo
(
RscpImageDataTotal:
:
getCoverStatistics
,
0
);
w
.
andIsNotNull
(
RscpImageDataTotal:
:
getImageProvince
);
w
.
andNotEqualTo
(
RscpImageDataTotal:
:
getImageProvince
,
""
);
return
w
;
return
w
;
},
" image_take_time asc"
));
},
" image_
province asc, image_
take_time asc"
));
if
(
CollUtil
.
isNotEmpty
(
vos
.
getData
()))
{
if
(
CollUtil
.
isNotEmpty
(
vos
.
getData
()))
{
List
<
Long
>
ids
=
vos
.
getData
().
parallelStream
().
map
(
RscpImageDataTotal:
:
getId
).
collect
(
Collectors
.
toList
());
List
<
Long
>
ids
=
vos
.
getData
().
parallelStream
().
map
(
RscpImageDataTotal:
:
getId
).
collect
(
Collectors
.
toList
());
...
...
rs-datacenter/rs-datacenter-server/src/main/resources/mapper/rscpImageCoverMapper.xml
View file @
d54f5059
...
@@ -107,7 +107,7 @@
...
@@ -107,7 +107,7 @@
( select ridt_temp.unrange, cast(st_area(ST_Intersection(
( select ridt_temp.unrange, cast(st_area(ST_Intersection(
<if
test=
"oldId != null"
>
<if
test=
"oldId != null"
>
ST_Intersect
ion(ridt_temp.unrange, oric_temp.range)
st_un
ion(ridt_temp.unrange, oric_temp.range)
</if>
</if>
<if
test=
"oldId == null"
>
<if
test=
"oldId == null"
>
ridt_temp.unrange
ridt_temp.unrange
...
...
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