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
300b34ba
Commit
300b34ba
authored
Jun 26, 2019
by
hezhen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'base-modify' of
http://113.105.137.151:22280/youjj/cloud-platform
into base-modify
parents
16f06aef
2539b62b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
11 deletions
+12
-11
AppApplication.java
...r/src/main/java/com/xxfc/platform/app/AppApplication.java
+0
-3
BannerBiz.java
...er/src/main/java/com/xxfc/platform/app/biz/BannerBiz.java
+2
-1
BannerMapper.java
.../main/java/com/xxfc/platform/app/mapper/BannerMapper.java
+3
-0
TourFeign.java
...src/main/java/com/xxfc/platform/tour/feign/TourFeign.java
+7
-7
No files found.
xx-app/xx-app-server/src/main/java/com/xxfc/platform/app/AppApplication.java
View file @
300b34ba
...
...
@@ -20,10 +20,7 @@ import org.springframework.scheduling.annotation.EnableScheduling;
@EnableAceCache
@tk
.
mybatis
.
spring
.
annotation
.
MapperScan
(
basePackages
=
"com.xxfc.platform.app.mapper"
)
public
class
AppApplication
{
public
static
void
main
(
String
[]
args
)
{
SpringApplication
.
run
(
AppApplication
.
class
,
args
);
}
}
xx-app/xx-app-server/src/main/java/com/xxfc/platform/app/biz/BannerBiz.java
View file @
300b34ba
...
...
@@ -34,7 +34,8 @@ public class BannerBiz extends BaseBiz<BannerMapper,Banner> {
Banner
banner
=
new
Banner
();
banner
.
setIsDel
(
0
);
banner
.
setType
(
type
);
return
mapper
.
selectByExample
(
banner
);
//mapper.findByType(type);
return
mapper
.
findBannerListByType
(
type
);
}
/*
...
...
xx-app/xx-app-server/src/main/java/com/xxfc/platform/app/mapper/BannerMapper.java
View file @
300b34ba
...
...
@@ -21,4 +21,7 @@ public interface BannerMapper extends Mapper<Banner> {
@Select
(
"select * from `banner` where is_del=#{isDel} order by rank ASC"
)
List
<
Banner
>
findBannerListByisDelOrderByRank
(
Banner
banner
);
@Select
(
"select * from `banner` where `is_del`=0 and `type`=#{type} order by rank asc "
)
List
<
Banner
>
findBannerListByType
(
Integer
type
);
}
xx-tour/xx-tour-api/src/main/java/com/xxfc/platform/tour/feign/TourFeign.java
View file @
300b34ba
...
...
@@ -49,17 +49,17 @@ public interface TourFeign {
* @return
*/
@RequestMapping
(
value
=
"/spe/stock"
,
method
=
RequestMethod
.
GET
)
public
ObjectRestResponse
<
TourSpePriceVo
>
stock
(
@RequestParam
Integer
speId
,
@RequestParam
Integer
number
,
@RequestParam
Integer
type
);
public
ObjectRestResponse
<
TourSpePriceVo
>
stock
(
@RequestParam
(
"speId"
)
Integer
speId
,
@RequestParam
(
"number"
)
Integer
number
,
@RequestParam
(
"type"
)
Integer
type
);
@RequestMapping
(
value
=
"/tourGood/app/unauth/usable/{id}"
,
method
=
RequestMethod
.
GET
)
public
ObjectRestResponse
<
TourGood
>
usableGet
(
@PathVariable
int
id
);
public
ObjectRestResponse
<
TourGood
>
usableGet
(
@PathVariable
(
value
=
"id"
)
int
id
);
@GetMapping
(
"/tourUser/app/unauth/getTourUsers"
)
public
ObjectRestResponse
<
List
<
TourUser
>>
getTourUsers
(
@RequestParam
String
ids
);
public
ObjectRestResponse
<
List
<
TourUser
>>
getTourUsers
(
@RequestParam
(
"ids"
)
String
ids
);
@GetMapping
(
"/tourGood/verfication/entityList"
)
public
ObjectRestResponse
<
List
<
TourGoodVerification
>>
entityList
(
@RequestParam
Map
<
String
,
Object
>
entity
);
public
ObjectRestResponse
<
List
<
TourGoodVerification
>>
entityList
(
@RequestParam
(
"entity"
)
Map
<
String
,
Object
>
entity
);
/**
* 更新发车状态
...
...
@@ -75,8 +75,8 @@ public interface TourFeign {
* @param properties
* @return
*/
@PutMapping
(
"/tourGood/verfication/personnums"
)
ObjectRestResponse
<
Void
>
updateTourGoodPersonNum
(
@RequestParam
(
"verficationId"
)
Integer
verficationId
,
@RequestParam
(
"properties"
)
String
properties
,
@RequestParam
(
"number"
)
Integer
number
);
@PutMapping
(
"/tourGood/verfication/personnums"
)
ObjectRestResponse
<
Void
>
updateTourGoodPersonNum
(
@RequestParam
(
"verficationId"
)
Integer
verficationId
,
@RequestParam
(
"properties"
)
String
properties
,
@RequestParam
(
"number"
)
Integer
number
);
/**
* 查询订单列表
...
...
@@ -84,7 +84,7 @@ public interface TourFeign {
* @return
*/
@GetMapping
(
"/tourGood/verfication/orders"
)
PageDataVO
<
TourGoodOrderVo
>
findTourGoodOrders
(
@RequestParam
Map
<
String
,
Object
>
tourGoodOrderFindVo
);
PageDataVO
<
TourGoodOrderVo
>
findTourGoodOrders
(
@RequestParam
(
"tourGoodOrderFindVo"
)
Map
<
String
,
Object
>
tourGoodOrderFindVo
);
@ApiOperation
(
"首页旅游列表"
)
@GetMapping
(
value
=
"/tourGood/app/shopList"
)
...
...
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