Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
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
youjj
cloud-platform
Commits
f5d84a20
Commit
f5d84a20
authored
Nov 05, 2020
by
hezhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
515e49d5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
UserCommentFindDTO.java
...github/wxiaoqi/security/admin/dto/UserCommentFindDTO.java
+2
-0
AppVehicleApplyController.java
...xxfc/platform/vehicle/rest/AppVehicleApplyController.java
+19
-0
No files found.
ace-modules/ace-admin-api/src/main/java/com/github/wxiaoqi/security/admin/dto/UserCommentFindDTO.java
View file @
f5d84a20
...
...
@@ -35,5 +35,7 @@ public class UserCommentFindDTO extends PageParam{
private
Integer
isShow
;
private
Integer
commentId
;
private
Integer
isDesc
;
}
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/rest/AppVehicleApplyController.java
View file @
f5d84a20
package
com
.
xxfc
.
platform
.
vehicle
.
rest
;
import
com.github.wxiaoqi.security.common.msg.ObjectRestResponse
;
import
com.github.wxiaoqi.security.common.util.BeanUtils
;
import
com.xxfc.platform.vehicle.biz.VehicleApplyBiz
;
import
com.xxfc.platform.vehicle.entity.Vehicle
;
import
com.xxfc.platform.vehicle.entity.VehicleApply
;
import
com.xxfc.platform.vehicle.pojo.dto.VehicleApplyFindDTO
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiModelProperty
;
...
...
@@ -50,6 +52,23 @@ public class AppVehicleApplyController extends BaseController<VehicleApplyBiz> {
}
@GetMapping
(
"apply/detail/{id}"
)
@ApiModelProperty
(
"商品审核详情"
)
public
ObjectRestResponse
detail
(
@PathVariable
Integer
id
)
{
List
<
Integer
>
companyIds
=
getBusinessUserCompanyIds
();
if
(
companyIds
==
null
&&
companyIds
.
size
()
==
0
){
return
ObjectRestResponse
.
succ
();
}
VehicleApply
vehicleApply
=
baseBiz
.
selectById
(
id
);
Vehicle
vehicle
=
new
Vehicle
();
BeanUtils
.
copyProperties
(
vehicleApply
,
vehicle
);
vehicle
.
setId
(
vehicleApply
.
getVehicleId
());
vehicle
.
setVehicleApplyId
(
vehicleApply
.
getId
());
vehicle
.
setIsDel
(
0
);
return
ObjectRestResponse
.
succ
(
vehicle
);
}
...
...
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