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
2d93c9b0
Commit
2d93c9b0
authored
Dec 14, 2020
by
unset
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
8a22a63e
e77b9fb8
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
6 deletions
+18
-6
RscpResolution.java
.../upyuns/platform/rs/datacenter/entity/RscpResolution.java
+6
-2
RscpImageDataTotalController.java
...form/rs/datacenter/rest/RscpImageDataTotalController.java
+1
-0
RscpImagePriceController.java
...platform/rs/datacenter/rest/RscpImagePriceController.java
+1
-1
RscpAreaImageTotalMapper.xml
...er/src/main/resources/mapper/RscpAreaImageTotalMapper.xml
+3
-0
RscpImageDataTotalMapper.xml
...er/src/main/resources/mapper/RscpImageDataTotalMapper.xml
+3
-0
CustomFormWebController.java
...rm/rs/website/controller/web/CustomFormWebController.java
+4
-3
No files found.
rs-datacenter/rs-datacenter-api/src/main/java/com/upyuns/platform/rs/datacenter/entity/RscpResolution.java
View file @
2d93c9b0
...
...
@@ -20,7 +20,11 @@ public class RscpResolution implements java.io.Serializable {
private
String
id
;
/** resolutionName */
@ApiModelProperty
(
value
=
""
)
@ApiModelProperty
(
value
=
"分辨率标识"
)
private
String
resolution
;
/** resolutionName */
@ApiModelProperty
(
value
=
"分辨率展示"
)
private
String
resolutionName
;
/** sensorName */
...
...
@@ -32,7 +36,7 @@ public class RscpResolution implements java.io.Serializable {
private
Integer
status
;
/** sort */
@ApiModelProperty
(
value
=
""
)
@ApiModelProperty
(
value
=
"
排序
"
)
private
Integer
sort
;
/** 首页排序 */
...
...
rs-datacenter/rs-datacenter-server/src/main/java/com/upyuns/platform/rs/datacenter/rest/RscpImageDataTotalController.java
View file @
2d93c9b0
...
...
@@ -86,6 +86,7 @@ public class RscpImageDataTotalController extends BaseController<RscpImageDataTo
Integer
type
;
String
startDate
;
String
endDate
;
BigDecimal
resolution
;
String
startDateTime
;
String
endDateTime
;
String
geom
;
...
...
rs-datacenter/rs-datacenter-server/src/main/java/com/upyuns/platform/rs/datacenter/rest/RscpImagePriceController.java
View file @
2d93c9b0
...
...
@@ -36,7 +36,7 @@ public class RscpImagePriceController extends BaseController<RscpImagePriceBiz,
List
<
ImagePriceVO
>
imagePriceVOS
=
CollUtil
.
newArrayList
();
String
key
=
""
;
List
<
String
>
satelliteTypes
=
list
.
parallelStream
().
map
(
RscpImagePrice:
:
getImageSatelliteType
).
collect
(
Collectors
.
toList
());
List
<
String
>
satelliteTypes
=
list
.
parallelStream
().
map
(
RscpImagePrice:
:
getImageSatelliteType
).
distinct
().
collect
(
Collectors
.
toList
());
for
(
String
satelliteType
:
satelliteTypes
)
{
List
<
RscpImagePrice
>
imagePriceList
=
list
.
parallelStream
().
filter
(
rscpImagePrice
->
satelliteType
.
equals
(
rscpImagePrice
.
getImageSatelliteType
())).
collect
(
Collectors
.
toList
());
imagePriceVOS
.
add
(
new
ImagePriceVO
(){{
...
...
rs-datacenter/rs-datacenter-server/src/main/resources/mapper/RscpAreaImageTotalMapper.xml
View file @
2d93c9b0
...
...
@@ -63,6 +63,9 @@
</if>
</foreach>
</if>
<if
test=
"resolution != null"
>
and #{image_resolution} = any(image_resolution)
</if>
<if
test=
"startDateTime != null"
>
and begin_time
>
= #{startDateTime}
</if>
...
...
rs-datacenter/rs-datacenter-server/src/main/resources/mapper/RscpImageDataTotalMapper.xml
View file @
2d93c9b0
...
...
@@ -112,6 +112,9 @@
</if>
</foreach>
</if>
<if
test=
"resolution != null"
>
and #{image_resolution} = any(image_resolution)
</if>
<if
test=
"startDateTime != null"
>
and image_take_time
>
= #{startDateTime}
</if>
...
...
rs-website/rs-website-server/src/main/java/com/upyuns/platform/rs/website/controller/web/CustomFormWebController.java
View file @
2d93c9b0
...
...
@@ -4,6 +4,7 @@ import com.github.wxiaoqi.security.common.msg.ObjectRestResponse;
import
com.github.wxiaoqi.security.common.rest.BaseController
;
import
com.upyuns.platform.rs.website.biz.CustomFormBiz
;
import
com.upyuns.platform.rs.website.entity.CustomForm
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
...
...
@@ -13,19 +14,19 @@ import org.springframework.web.bind.annotation.RestController;
public
class
CustomFormWebController
extends
BaseController
<
CustomFormBiz
,
CustomForm
>
{
@RequestMapping
(
value
=
"customIndustry"
,
method
=
RequestMethod
.
POST
)
public
ObjectRestResponse
customIndustry
(
CustomForm
entity
)
{
public
ObjectRestResponse
customIndustry
(
@RequestBody
CustomForm
entity
)
{
baseBiz
.
insertSelective
(
entity
);
return
ObjectRestResponse
.
succ
();
}
@RequestMapping
(
value
=
"customImgStorage"
,
method
=
RequestMethod
.
POST
)
public
ObjectRestResponse
customImgStorage
(
CustomForm
entity
)
{
public
ObjectRestResponse
customImgStorage
(
@RequestBody
CustomForm
entity
)
{
baseBiz
.
insertSelective
(
entity
);
return
ObjectRestResponse
.
succ
();
}
@RequestMapping
(
value
=
"customImageData"
,
method
=
RequestMethod
.
POST
)
public
ObjectRestResponse
customImageData
(
CustomForm
entity
)
{
public
ObjectRestResponse
customImageData
(
@RequestBody
CustomForm
entity
)
{
baseBiz
.
insertSelective
(
entity
);
return
ObjectRestResponse
.
succ
();
}
...
...
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