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
bbd34e9e
Commit
bbd34e9e
authored
Jun 12, 2019
by
hanfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改车型模块
parent
f88039a1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
4 deletions
+25
-4
VehiclePlatCataBiz.java
...ava/com/xxfc/platform/vehicle/biz/VehiclePlatCataBiz.java
+9
-1
VehicleModelController.java
...om/xxfc/platform/vehicle/rest/VehicleModelController.java
+16
-3
No files found.
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/biz/VehiclePlatCataBiz.java
View file @
bbd34e9e
...
@@ -8,6 +8,7 @@ import com.github.wxiaoqi.security.common.biz.BaseBiz;
...
@@ -8,6 +8,7 @@ import com.github.wxiaoqi.security.common.biz.BaseBiz;
import
com.xxfc.platform.vehicle.common.RestResponse
;
import
com.xxfc.platform.vehicle.common.RestResponse
;
import
com.xxfc.platform.vehicle.constant.RedisKey
;
import
com.xxfc.platform.vehicle.constant.RedisKey
;
import
com.xxfc.platform.vehicle.entity.VehicleCata
;
import
com.xxfc.platform.vehicle.entity.VehicleCata
;
import
com.xxfc.platform.vehicle.entity.VehicleModel
;
import
com.xxfc.platform.vehicle.entity.VehiclePlatCata
;
import
com.xxfc.platform.vehicle.entity.VehiclePlatCata
;
import
com.xxfc.platform.vehicle.mapper.VehiclePlatCataMapper
;
import
com.xxfc.platform.vehicle.mapper.VehiclePlatCataMapper
;
import
com.xxfc.platform.vehicle.pojo.CataVo
;
import
com.xxfc.platform.vehicle.pojo.CataVo
;
...
@@ -115,6 +116,13 @@ public class VehiclePlatCataBiz extends BaseBiz<VehiclePlatCataMapper, VehiclePl
...
@@ -115,6 +116,13 @@ public class VehiclePlatCataBiz extends BaseBiz<VehiclePlatCataMapper, VehiclePl
}
}
}
}
// public List
public
VehicleModel
findVehicleModelPage
(
VehicleModel
vm
){
return
null
;
}
}
}
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/rest/VehicleModelController.java
View file @
bbd34e9e
...
@@ -14,10 +14,9 @@ import io.swagger.annotations.Api;
...
@@ -14,10 +14,9 @@ import io.swagger.annotations.Api;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiParam
;
import
io.swagger.annotations.ApiParam
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
@Controller
@
Rest
Controller
@RequestMapping
(
"vehicleModel"
)
@RequestMapping
(
"vehicleModel"
)
@Api
(
value
=
"车型controller"
,
tags
={
"车型操作接口"
})
@Api
(
value
=
"车型controller"
,
tags
={
"车型操作接口"
})
public
class
VehicleModelController
extends
BaseController
<
VehicleModelBiz
,
VehicleModel
>
{
public
class
VehicleModelController
extends
BaseController
<
VehicleModelBiz
,
VehicleModel
>
{
...
@@ -37,7 +36,6 @@ public class VehicleModelController extends BaseController<VehicleModelBiz,Vehic
...
@@ -37,7 +36,6 @@ public class VehicleModelController extends BaseController<VehicleModelBiz,Vehic
//订单
//订单
@ApiOperation
(
"车型详情"
)
@ApiOperation
(
"车型详情"
)
@RequestMapping
(
value
=
"/app/unauth/detail/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/app/unauth/detail/{id}"
,
method
=
RequestMethod
.
GET
)
@ResponseBody
public
ObjectRestResponse
<
VModelDetailVO
>
detail
(
@PathVariable
(
"id"
)
@ApiParam
(
"车型id"
)
Integer
id
){
public
ObjectRestResponse
<
VModelDetailVO
>
detail
(
@PathVariable
(
"id"
)
@ApiParam
(
"车型id"
)
Integer
id
){
//查询车型信息,车型类型关系
//查询车型信息,车型类型关系
//,公司信息,系统信息(购车须知,预定须知)
//,公司信息,系统信息(购车须知,预定须知)
...
@@ -49,4 +47,19 @@ public class VehicleModelController extends BaseController<VehicleModelBiz,Vehic
...
@@ -49,4 +47,19 @@ public class VehicleModelController extends BaseController<VehicleModelBiz,Vehic
return
new
ObjectRestResponse
().
data
(
vModelDetailVO
);
return
new
ObjectRestResponse
().
data
(
vModelDetailVO
);
}
}
@ApiOperation
(
"车型列表"
)
@RequestMapping
(
value
=
"/app/findVehicleModelPage"
,
method
=
RequestMethod
.
GET
)
public
ObjectRestResponse
<
VModelDetailVO
>
findVehicleModelPage
(
@RequestBody@ApiParam
(
"查询信息"
)
VehicleModel
vm
){
if
(
vm
==
null
)
{
return
ObjectRestResponse
.
createDefaultFail
();
}
VehicleModel
vehicleModel
=
vehiclePlatCataBiz
.
findVehicleModelPage
(
vm
);
return
ObjectRestResponse
.
succ
(
vehicleModel
);
}
}
}
\ No newline at end of file
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