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
51ff787d
Commit
51ff787d
authored
Nov 30, 2020
by
unset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增影像信息,收货地址,影像图框模块接口
parent
1a3e798a
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
35 additions
and
1 deletion
+35
-1
PageDataVO.class
...es/com/github/wxiaoqi/security/common/vo/PageDataVO.class
+0
-0
PageParam.class
...ses/com/github/wxiaoqi/security/common/vo/PageParam.class
+0
-0
AuthorityMenuTree.class
.../github/wxiaoqi/security/admin/vo/AuthorityMenuTree.class
+0
-0
MenuTree.class
...asses/com/github/wxiaoqi/security/admin/vo/MenuTree.class
+0
-0
ImageInformationDto.java
...m/upyuns/platform/rs/website/dto/ImageInformationDto.java
+3
-0
ImageImgStorage.java
...om/upyuns/platform/rs/website/entity/ImageImgStorage.java
+4
-1
ImageInformation.java
...m/upyuns/platform/rs/website/entity/ImageInformation.java
+3
-0
ImageInformationBiz.java
...m/upyuns/platform/rs/website/biz/ImageInformationBiz.java
+18
-0
ImageInformationController.java
...orm/rs/website/controller/ImageInformationController.java
+5
-0
IndustryApplicationInfoController.java
...website/controller/IndustryApplicationInfoController.java
+1
-0
IndustryApplicationTypeController.java
...website/controller/IndustryApplicationTypeController.java
+1
-0
No files found.
ace-common/target/classes/com/github/wxiaoqi/security/common/vo/PageDataVO.class
View file @
51ff787d
No preview for this file type
ace-common/target/classes/com/github/wxiaoqi/security/common/vo/PageParam.class
View file @
51ff787d
No preview for this file type
ace-modules/ace-admin-api/target/classes/com/github/wxiaoqi/security/admin/vo/AuthorityMenuTree.class
View file @
51ff787d
No preview for this file type
ace-modules/ace-admin-api/target/classes/com/github/wxiaoqi/security/admin/vo/MenuTree.class
View file @
51ff787d
No preview for this file type
rs-website/rs-website-api/src/main/java/com/upyuns/platform/rs/website/dto/ImageInformationDto.java
View file @
51ff787d
...
...
@@ -11,4 +11,7 @@ import lombok.Data;
*/
@Data
public
class
ImageInformationDto
extends
PageParam
{
String
name
;
}
rs-website/rs-website-api/src/main/java/com/upyuns/platform/rs/website/entity/ImageImgStorage.java
View file @
51ff787d
...
...
@@ -112,4 +112,7 @@ public class ImageImgStorage implements Serializable {
private
String
relatedIds
;
private
Date
crtTime
;
private
Date
updTime
;
}
rs-website/rs-website-api/src/main/java/com/upyuns/platform/rs/website/entity/ImageInformation.java
View file @
51ff787d
...
...
@@ -91,5 +91,8 @@ public class ImageInformation implements Serializable {
@ApiModelProperty
(
value
=
"是否启用:1、启用,2、禁用"
)
private
Integer
status
;
private
Date
crtTime
;
private
Date
updTime
;
}
rs-website/rs-website-server/src/main/java/com/upyuns/platform/rs/website/biz/ImageInformationBiz.java
View file @
51ff787d
...
...
@@ -7,6 +7,7 @@ import com.github.wxiaoqi.security.common.util.Query;
import
com.github.wxiaoqi.security.common.util.process.ResultCode
;
import
com.github.wxiaoqi.security.common.vo.PageDataVO
;
import
com.upyuns.platform.rs.website.dto.ImageInformationDto
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.stereotype.Service
;
import
com.upyuns.platform.rs.website.entity.ImageInformation
;
...
...
@@ -14,6 +15,8 @@ import com.upyuns.platform.rs.website.mapper.ImageInformationMapper;
import
com.github.wxiaoqi.security.common.biz.BaseBiz
;
import
tk.mybatis.mapper.entity.Example
;
import
java.util.List
;
/**
* 影像信息介绍信息表
*
...
...
@@ -56,8 +59,23 @@ public class ImageInformationBiz extends BaseBiz<ImageInformationMapper,ImageInf
Example
example
=
new
Example
(
ImageInformation
.
class
);
Example
.
Criteria
criteria
=
example
.
createCriteria
();
criteria
.
andEqualTo
(
"isDel"
,
0
);
if
(
StringUtils
.
isNotBlank
(
imageInformationDto
.
getName
()))
{
criteria
.
andLike
(
"name"
,
"%"
+
imageInformationDto
.
getName
()
+
"%"
);
}
example
.
orderBy
(
"updTime"
);
Query
query
=
new
Query
(
imageInformationDto
);
PageDataVO
<
ImageInformation
>
pageDataVO
=
PageDataVO
.
pageInfo
(
query
,
()
->
mapper
.
selectByExample
(
example
));
return
ObjectRestResponse
.
succ
(
pageDataVO
);
}
/**
* 获取所有影像信息
* @return
*/
public
List
<
ImageInformation
>
getAll
()
{
Example
example
=
new
Example
(
ImageInformation
.
class
);
example
.
createCriteria
().
andEqualTo
(
"isDel"
,
0
).
andEqualTo
(
"status"
,
1
);
example
.
orderBy
(
"rank"
);
return
mapper
.
selectByExample
(
example
);
}
}
\ No newline at end of file
rs-website/rs-website-server/src/main/java/com/upyuns/platform/rs/website/controller/ImageInformationController.java
View file @
51ff787d
...
...
@@ -23,4 +23,9 @@ public class ImageInformationController extends BaseController<ImageInformationB
return
baseBiz
.
addUpdate
(
imageInformation
);
}
@GetMapping
(
value
=
"getAll"
)
public
ObjectRestResponse
getAll
()
{
return
ObjectRestResponse
.
succ
(
baseBiz
.
getAll
());
}
}
\ No newline at end of file
rs-website/rs-website-server/src/main/java/com/upyuns/platform/rs/website/controller/IndustryApplicationInfoController.java
View file @
51ff787d
...
...
@@ -25,4 +25,5 @@ public class IndustryApplicationInfoController extends BaseController<IndustryAp
public
ObjectRestResponse
getAll
()
{
return
baseBiz
.
getAllIndexShow
();
}
}
\ No newline at end of file
rs-website/rs-website-server/src/main/java/com/upyuns/platform/rs/website/controller/IndustryApplicationTypeController.java
View file @
51ff787d
...
...
@@ -26,6 +26,7 @@ public class IndustryApplicationTypeController extends BaseController<IndustryAp
return
baseBiz
.
getAll
(
indexShow
);
}
@GetMapping
(
value
=
"getDetail"
)
public
ObjectRestResponse
getDetail
(
Integer
id
)
{
return
baseBiz
.
getDetail
(
id
);
...
...
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