Commit d54f5059 authored by 周健威's avatar 周健威

修改代码

parent adf51b53
......@@ -69,8 +69,10 @@ public class RscpImageCoverBiz extends BaseBiz<RscpImageCoverMapper, RscpImageCo
setLimit(500);
}}), () -> rscpImageDataTotalBiz.selectByWeekend(w -> {
w.andEqualTo(RscpImageDataTotal::getCoverStatistics, 0);
w.andIsNotNull(RscpImageDataTotal::getImageProvince);
w.andNotEqualTo(RscpImageDataTotal::getImageProvince, "");
return w;
}, " image_take_time asc"));
}, " image_province asc, image_take_time asc"));
if(CollUtil.isNotEmpty(vos.getData())) {
List<Long> ids = vos.getData().parallelStream().map(RscpImageDataTotal::getId).collect(Collectors.toList());
......
......@@ -107,7 +107,7 @@
( select ridt_temp.unrange, cast(st_area(ST_Intersection(
<if test="oldId != null">
ST_Intersection(ridt_temp.unrange, oric_temp.range)
st_union(ridt_temp.unrange, oric_temp.range)
</if>
<if test="oldId == null">
ridt_temp.unrange
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment