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
7be3c65d
Commit
7be3c65d
authored
Oct 16, 2019
by
libin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提现账号
parent
447bf340
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
114 additions
and
136 deletions
+114
-136
VehicleModelCalendarPrice.java
...fc/platform/vehicle/entity/VehicleModelCalendarPrice.java
+5
-0
VehicleModelCalendarPriceDTO.java
...atform/vehicle/pojo/dto/VehicleModelCalendarPriceDTO.java
+2
-1
VehicleModelCalendarPriceSaveDTO.java
...rm/vehicle/pojo/dto/VehicleModelCalendarPriceSaveDTO.java
+4
-0
VehicleModelCalendarPriceVo.java
...platform/vehicle/pojo/vo/VehicleModelCalendarPriceVo.java
+0
-29
VehicleModelCalendarPriceBiz.java
...fc/platform/vehicle/biz/VehicleModelCalendarPriceBiz.java
+100
-103
VehicleModelCalendarPriceController.java
...orm/vehicle/rest/VehicleModelCalendarPriceController.java
+3
-3
No files found.
xx-vehicle/xx-vehicle-api/src/main/java/com/xxfc/platform/vehicle/entity/VehicleModelCalendarPrice.java
View file @
7be3c65d
...
@@ -84,4 +84,9 @@ public class VehicleModelCalendarPrice implements Serializable {
...
@@ -84,4 +84,9 @@ public class VehicleModelCalendarPrice implements Serializable {
@Column
(
name
=
"is_del"
)
@Column
(
name
=
"is_del"
)
private
Integer
isDel
;
private
Integer
isDel
;
/**
* 会员等级 1:普通 2:黄金 3:钻石
*/
private
Integer
level
;
}
}
xx-vehicle/xx-vehicle-api/src/main/java/com/xxfc/platform/vehicle/pojo/dto/VehicleModelCalendarPriceDTO.java
View file @
7be3c65d
...
@@ -22,7 +22,8 @@ import java.util.Date;
...
@@ -22,7 +22,8 @@ import java.util.Date;
public
class
VehicleModelCalendarPriceDTO
implements
Serializable
{
public
class
VehicleModelCalendarPriceDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
private
Date
date
;
private
BigDecimal
price
;
private
BigDecimal
price
;
private
Date
bookDate
;
private
Integer
freeDays
;
private
Integer
freeDays
;
private
Boolean
isSelect
;
}
}
xx-vehicle/xx-vehicle-api/src/main/java/com/xxfc/platform/vehicle/pojo/dto/VehicleModelCalendarPriceSaveDTO.java
View file @
7be3c65d
...
@@ -51,4 +51,8 @@ public class VehicleModelCalendarPriceSaveDTO implements Serializable {
...
@@ -51,4 +51,8 @@ public class VehicleModelCalendarPriceSaveDTO implements Serializable {
*/
*/
private
BigDecimal
price
;
private
BigDecimal
price
;
/**
* 会员等级 1:普通 2:黄金 3:钻石
*/
private
Integer
level
;
}
}
xx-vehicle/xx-vehicle-api/src/main/java/com/xxfc/platform/vehicle/pojo/vo/VehicleModelCalendarPriceVo.java
deleted
100644 → 0
View file @
447bf340
package
com
.
xxfc
.
platform
.
vehicle
.
pojo
.
vo
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
* @author libin
* @version 1.0
* @description
* @data 2019/10/15 9:43
*/
@Data
@Builder
(
toBuilder
=
true
)
@NoArgsConstructor
@AllArgsConstructor
public
class
VehicleModelCalendarPriceVo
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
private
Date
date
;
private
BigDecimal
price
;
private
Integer
days
;
private
Boolean
isSelect
;
}
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/biz/VehicleModelCalendarPriceBiz.java
View file @
7be3c65d
This diff is collapsed.
Click to expand it.
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/rest/VehicleModelCalendarPriceController.java
View file @
7be3c65d
...
@@ -3,7 +3,7 @@ package com.xxfc.platform.vehicle.rest;
...
@@ -3,7 +3,7 @@ package com.xxfc.platform.vehicle.rest;
import
com.github.wxiaoqi.security.admin.feign.dto.AppUserDTO
;
import
com.github.wxiaoqi.security.admin.feign.dto.AppUserDTO
;
import
com.github.wxiaoqi.security.common.msg.ObjectRestResponse
;
import
com.github.wxiaoqi.security.common.msg.ObjectRestResponse
;
import
com.xxfc.platform.vehicle.biz.VehicleModelCalendarPriceBiz
;
import
com.xxfc.platform.vehicle.biz.VehicleModelCalendarPriceBiz
;
import
com.xxfc.platform.vehicle.pojo.
vo.VehicleModelCalendarPriceVo
;
import
com.xxfc.platform.vehicle.pojo.
dto.VehicleModelCalendarPriceDTO
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.RequiredArgsConstructor
;
import
lombok.RequiredArgsConstructor
;
...
@@ -30,11 +30,11 @@ public class VehicleModelCalendarPriceController {
...
@@ -30,11 +30,11 @@ public class VehicleModelCalendarPriceController {
@ApiOperation
(
"返回车型日历价格"
)
@ApiOperation
(
"返回车型日历价格"
)
@GetMapping
(
"/list/vehicle_model/calendar_price/{vehicleModelId}/{type}"
)
@GetMapping
(
"/list/vehicle_model/calendar_price/{vehicleModelId}/{type}"
)
public
ObjectRestResponse
<
VehicleModelCalendarPrice
Vo
>
listVehicleModelCalendarPriceByDateAndVehicleModelId
(
@RequestParam
(
value
=
"start"
,
required
=
false
)
Date
startDate
,
public
ObjectRestResponse
<
VehicleModelCalendarPrice
DTO
>
listVehicleModelCalendarPriceByDateAndVehicleModelId
(
@RequestParam
(
value
=
"start"
,
required
=
false
)
Date
startDate
,
@RequestParam
(
value
=
"end"
,
required
=
false
)
Date
endDate
,
@RequestParam
(
value
=
"end"
,
required
=
false
)
Date
endDate
,
@PathVariable
(
value
=
"vehicleModelId"
)
Integer
vehicleModelId
,
@PathVariable
(
value
=
"vehicleModelId"
)
Integer
vehicleModelId
,
AppUserDTO
appUserDTO
){
AppUserDTO
appUserDTO
){
List
<
VehicleModelCalendarPrice
Vo
>
vehicleModelCalendarPriceVos
=
vehicleModelCalendarPriceBiz
.
listVehicleModelCalendarPriceByDateAndVehicleModelIdAndUserId
(
startDate
,
endDate
,
vehicleModelId
,
appUserDTO
.
getUserid
());
List
<
VehicleModelCalendarPrice
DTO
>
vehicleModelCalendarPriceVos
=
vehicleModelCalendarPriceBiz
.
listVehicleModelCalendarPriceByDateAndVehicleModelIdAndUserId
(
startDate
,
endDate
,
vehicleModelId
,
appUserDTO
.
getUserid
());
return
ObjectRestResponse
.
succ
(
vehicleModelCalendarPriceVos
);
return
ObjectRestResponse
.
succ
(
vehicleModelCalendarPriceVos
);
}
}
}
}
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