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
15be9e20
Commit
15be9e20
authored
Jun 18, 2019
by
hezhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加是否省内游
parent
df45e728
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
6 deletions
+21
-6
TourGoodDTO.java
...src/main/java/com/xxfc/platform/tour/dto/TourGoodDTO.java
+5
-0
TourGood.java
...src/main/java/com/xxfc/platform/tour/entity/TourGood.java
+6
-1
TourGoodDetailVo.java
...main/java/com/xxfc/platform/tour/vo/TourGoodDetailVo.java
+4
-0
TourGoodVo.java
...i/src/main/java/com/xxfc/platform/tour/vo/TourGoodVo.java
+4
-5
TourGoodMapper.xml
...-tour-server/src/main/resources/mapper/TourGoodMapper.xml
+2
-0
No files found.
xx-tour/xx-tour-api/src/main/java/com/xxfc/platform/tour/dto/TourGoodDTO.java
View file @
15be9e20
...
@@ -72,6 +72,11 @@ public class TourGoodDTO {
...
@@ -72,6 +72,11 @@ public class TourGoodDTO {
@ApiModelProperty
(
value
=
"状态:0-未发布;1-上架;2-下架"
)
@ApiModelProperty
(
value
=
"状态:0-未发布;1-上架;2-下架"
)
private
Integer
status
;
private
Integer
status
;
//是否省外;0-省内;1-省外
@ApiModelProperty
(
value
=
"是否省外;0-省内;1-省外"
)
private
Integer
isOutside
;
//是否推荐:0-未推荐;1-已推荐
//是否推荐:0-未推荐;1-已推荐
@ApiModelProperty
(
value
=
"是否推荐:0-未推荐;1-已推荐"
)
@ApiModelProperty
(
value
=
"是否推荐:0-未推荐;1-已推荐"
)
private
Integer
recommend
;
private
Integer
recommend
;
...
...
xx-tour/xx-tour-api/src/main/java/com/xxfc/platform/tour/entity/TourGood.java
View file @
15be9e20
...
@@ -90,7 +90,12 @@ public class TourGood implements Serializable {
...
@@ -90,7 +90,12 @@ public class TourGood implements Serializable {
@Column
(
name
=
"status"
)
@Column
(
name
=
"status"
)
@ApiModelProperty
(
value
=
"状态:0-未发布;1-上架;2-下架"
)
@ApiModelProperty
(
value
=
"状态:0-未发布;1-上架;2-下架"
)
private
Integer
status
;
private
Integer
status
;
//是否省外;0-省内;1-省外
@Column
(
name
=
"is_outside"
)
@ApiModelProperty
(
value
=
"是否省外;0-省内;1-省外"
)
private
Integer
isOutside
;
//创建时间
//创建时间
@Column
(
name
=
"crt_time"
)
@Column
(
name
=
"crt_time"
)
@ApiModelProperty
(
value
=
"创建时间"
,
hidden
=
true
)
@ApiModelProperty
(
value
=
"创建时间"
,
hidden
=
true
)
...
...
xx-tour/xx-tour-api/src/main/java/com/xxfc/platform/tour/vo/TourGoodDetailVo.java
View file @
15be9e20
...
@@ -83,6 +83,10 @@ public class TourGoodDetailVo {
...
@@ -83,6 +83,10 @@ public class TourGoodDetailVo {
//更新时间
//更新时间
@ApiModelProperty
(
value
=
"更新时间"
,
hidden
=
true
)
@ApiModelProperty
(
value
=
"更新时间"
,
hidden
=
true
)
private
Long
updTime
;
private
Long
updTime
;
//是否省外;0-省内;1-省外
@ApiModelProperty
(
value
=
"是否省外;0-省内;1-省外"
)
private
Integer
isOutside
;
//是否推荐:0-未推荐;1-已推荐
//是否推荐:0-未推荐;1-已推荐
@ApiModelProperty
(
value
=
"是否推荐:0-未推荐;1-已推荐"
)
@ApiModelProperty
(
value
=
"是否推荐:0-未推荐;1-已推荐"
)
...
...
xx-tour/xx-tour-api/src/main/java/com/xxfc/platform/tour/vo/TourGoodVo.java
View file @
15be9e20
...
@@ -2,11 +2,6 @@ package com.xxfc.platform.tour.vo;
...
@@ -2,11 +2,6 @@ package com.xxfc.platform.tour.vo;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.Data
;
import
javax.persistence.Column
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
java.io.Serializable
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
...
@@ -74,6 +69,10 @@ public class TourGoodVo implements Serializable {
...
@@ -74,6 +69,10 @@ public class TourGoodVo implements Serializable {
@ApiModelProperty
(
value
=
"状态:0-未发布;1-上架;2-下架"
)
@ApiModelProperty
(
value
=
"状态:0-未发布;1-上架;2-下架"
)
private
Integer
status
;
private
Integer
status
;
//是否省外;0-省内;1-省外
@ApiModelProperty
(
value
=
"是否省外;0-省内;1-省外"
)
private
Integer
isOutside
;
//天数
//天数
@ApiModelProperty
(
value
=
"天数"
)
@ApiModelProperty
(
value
=
"天数"
)
private
Integer
number
;
private
Integer
number
;
...
...
xx-tour/xx-tour-server/src/main/resources/mapper/TourGoodMapper.xml
View file @
15be9e20
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
<result
property=
"isMember"
column=
"is_member"
/>
<result
property=
"isMember"
column=
"is_member"
/>
<result
property=
"stock"
column=
"stock"
/>
<result
property=
"stock"
column=
"stock"
/>
<result
property=
"unit"
column=
"unit"
/>
<result
property=
"unit"
column=
"unit"
/>
<result
property=
"isOutside"
column=
"is_outside"
/>
</resultMap>
</resultMap>
<resultMap
type=
"com.xxfc.platform.tour.vo.TourGoodVo"
id=
"tourGoodVoMap"
>
<resultMap
type=
"com.xxfc.platform.tour.vo.TourGoodVo"
id=
"tourGoodVoMap"
>
...
@@ -47,6 +48,7 @@
...
@@ -47,6 +48,7 @@
<result
property=
"stock"
column=
"stock"
/>
<result
property=
"stock"
column=
"stock"
/>
<result
property=
"unit"
column=
"unit"
/>
<result
property=
"unit"
column=
"unit"
/>
<result
property=
"tagNames"
column=
"tagNames"
/>
<result
property=
"tagNames"
column=
"tagNames"
/>
<result
property=
"isOutside"
column=
"is_outside"
/>
</resultMap>
</resultMap>
<!--查询旅游路线列表-->
<!--查询旅游路线列表-->
...
...
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