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
91bbc276
Commit
91bbc276
authored
Sep 27, 2020
by
周健威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
品牌
parent
ad47ba56
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
14 deletions
+19
-14
VehicleBrand.java
...n/java/com/xxfc/platform/vehicle/entity/VehicleBrand.java
+3
-3
VehicleCategory.java
...ava/com/xxfc/platform/vehicle/entity/VehicleCategory.java
+5
-5
BgVehicleCategoryController.java
...tform/vehicle/rest/admin/BgVehicleCategoryController.java
+10
-5
VehicleBrandMapper.xml
...e-server/src/main/resources/mapper/VehicleBrandMapper.xml
+1
-1
No files found.
xx-vehicle/xx-vehicle-api/src/main/java/com/xxfc/platform/vehicle/entity/VehicleBrand.java
View file @
91bbc276
...
@@ -100,9 +100,9 @@ public class VehicleBrand implements Serializable {
...
@@ -100,9 +100,9 @@ public class VehicleBrand implements Serializable {
/**
/**
* 品牌删除状态 1:正常 2:删除
* 品牌删除状态 1:正常 2:删除
*/
*/
@Column
(
name
=
"
delete
"
)
@Column
(
name
=
"
is_del
"
)
@ApiModelProperty
(
value
=
"品牌删除状态
1:正常 2
:删除"
)
@ApiModelProperty
(
value
=
"品牌删除状态
0:正常 1
:删除"
)
private
Integer
delete
;
private
Integer
isDel
;
/**
/**
* 品牌审核备注
* 品牌审核备注
...
...
xx-vehicle/xx-vehicle-api/src/main/java/com/xxfc/platform/vehicle/entity/VehicleCategory.java
View file @
91bbc276
...
@@ -32,14 +32,14 @@ public class VehicleCategory implements Serializable {
...
@@ -32,14 +32,14 @@ public class VehicleCategory implements Serializable {
*/
*/
@Column
(
name
=
"brand_id"
)
@Column
(
name
=
"brand_id"
)
@ApiModelProperty
(
value
=
""
)
@ApiModelProperty
(
value
=
""
)
private
Long
brandId
;
private
Integer
brandId
;
/**
/**
*
*
*/
*/
@Column
(
name
=
"brand_name"
)
@Column
(
name
=
"brand_name"
)
@ApiModelProperty
(
value
=
""
)
@ApiModelProperty
(
value
=
""
)
private
Lo
ng
brandName
;
private
Stri
ng
brandName
;
/**
/**
*
*
...
@@ -65,9 +65,9 @@ public class VehicleCategory implements Serializable {
...
@@ -65,9 +65,9 @@ public class VehicleCategory implements Serializable {
/**
/**
* 品牌删除状态 1:正常 2:删除
* 品牌删除状态 1:正常 2:删除
*/
*/
@Column
(
name
=
"
delete
"
)
@Column
(
name
=
"
is_del
"
)
@ApiModelProperty
(
value
=
"品牌删除状态
1:正常 2
:删除"
)
@ApiModelProperty
(
value
=
"品牌删除状态
0:正常 1
:删除"
)
private
Integer
delete
;
private
Integer
isDel
;
/**
/**
* 创建时间
* 创建时间
...
...
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/rest/admin/BgVehicleCategoryController.java
View file @
91bbc276
...
@@ -13,10 +13,7 @@ import com.xxfc.platform.vehicle.entity.VehicleCategory;
...
@@ -13,10 +13,7 @@ import com.xxfc.platform.vehicle.entity.VehicleCategory;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.Data
;
import
lombok.Data
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -25,7 +22,15 @@ import static com.xxfc.platform.universal.constant.DictionaryKey.APP_ORDER;
...
@@ -25,7 +22,15 @@ import static com.xxfc.platform.universal.constant.DictionaryKey.APP_ORDER;
import
static
com
.
xxfc
.
platform
.
universal
.
constant
.
DictionaryKey
.
VEHICLE
;
import
static
com
.
xxfc
.
platform
.
universal
.
constant
.
DictionaryKey
.
VEHICLE
;
@RestController
@RestController
@RequestMapping
(
"
admin
/vehicleCategory"
)
@RequestMapping
(
"
backstage
/vehicleCategory"
)
public
class
BgVehicleCategoryController
extends
BaseController
<
VehicleCategoryBiz
,
VehicleCategory
>
{
public
class
BgVehicleCategoryController
extends
BaseController
<
VehicleCategoryBiz
,
VehicleCategory
>
{
@ApiOperation
(
"添加"
)
@RequestMapping
(
value
=
"addCategory"
,
method
=
RequestMethod
.
POST
)
@ResponseBody
public
ObjectRestResponse
<
VehicleCategory
>
addCategory
(
@RequestBody
VehicleCategory
entity
)
{
baseBiz
.
insertSelective
(
entity
);
return
new
ObjectRestResponse
<
VehicleCategory
>();
}
}
}
\ No newline at end of file
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/VehicleBrandMapper.xml
View file @
91bbc276
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<result
property=
"status"
column=
"status"
/>
<result
property=
"status"
column=
"status"
/>
<result
property=
"recommend"
column=
"recommend"
/>
<result
property=
"recommend"
column=
"recommend"
/>
<result
property=
"audit"
column=
"audit"
/>
<result
property=
"audit"
column=
"audit"
/>
<result
property=
"
delete"
column=
"delete
"
/>
<result
property=
"
isDel"
column=
"is_del
"
/>
<result
property=
"auditRemark"
column=
"audit_remark"
/>
<result
property=
"auditRemark"
column=
"audit_remark"
/>
<result
property=
"crtTime"
column=
"crt_time"
/>
<result
property=
"crtTime"
column=
"crt_time"
/>
<result
property=
"updTime"
column=
"upd_time"
/>
<result
property=
"updTime"
column=
"upd_time"
/>
...
...
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