Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
parking_local_general
Overview
Overview
Details
Activity
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
李东升
parking_local_general
Commits
0bef8eeb
Commit
0bef8eeb
authored
May 27, 2020
by
李东升
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善计费规则说明
parent
1517e55f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
58 additions
and
11 deletions
+58
-11
IntervalChargeDetailPOJO.java
...local/pojo/chargeCalculator/IntervalChargeDetailPOJO.java
+1
-0
OneTimeChargeDetailPOJO.java
.../local/pojo/chargeCalculator/OneTimeChargeDetailPOJO.java
+15
-0
ThsIntervalPayableMoney.java
.../local/base/chargeCalculator/ThsIntervalPayableMoney.java
+17
-10
ThsOneTimePayableMoney.java
...e/local/base/chargeCalculator/ThsOneTimePayableMoney.java
+15
-0
ThsTimeFramePayableMoney.java
...local/base/chargeCalculator/ThsTimeFramePayableMoney.java
+10
-1
No files found.
src/main/java/com/huaching/parking/local/parking_local_general/domain/local/pojo/chargeCalculator/IntervalChargeDetailPOJO.java
View file @
0bef8eeb
...
@@ -37,6 +37,7 @@ package com.huaching.parking.local.parking_local_general.domain.local.pojo.charg
...
@@ -37,6 +37,7 @@ package com.huaching.parking.local.parking_local_general.domain.local.pojo.charg
public
class
IntervalChargeDetailPOJO
{
public
class
IntervalChargeDetailPOJO
{
private
Integer
money
;
private
Integer
money
;
//时长类型 0 分钟 1小时
private
Integer
frameType
;
private
Integer
frameType
;
//间隔时长
//间隔时长
private
Integer
intervalTime
;
private
Integer
intervalTime
;
...
...
src/main/java/com/huaching/parking/local/parking_local_general/domain/local/pojo/chargeCalculator/OneTimeChargeDetailPOJO.java
View file @
0bef8eeb
...
@@ -16,6 +16,21 @@ package com.huaching.parking.local.parking_local_general.domain.local.pojo.charg
...
@@ -16,6 +16,21 @@ package com.huaching.parking.local.parking_local_general.domain.local.pojo.charg
* ************************************************
* ************************************************
*/
*/
/*
首时段:2小时10元
后续:收费20元
{
"fastTime": 2,
"frameType": 1,
"fastMoney": 100,
"data": {
//金额
"money": 200,
}
}
*/
public
class
OneTimeChargeDetailPOJO
{
public
class
OneTimeChargeDetailPOJO
{
private
Integer
money
;
private
Integer
money
;
...
...
src/main/java/com/huaching/parking/local/parking_local_general/service/local/base/chargeCalculator/ThsIntervalPayableMoney.java
View file @
0bef8eeb
...
@@ -30,17 +30,24 @@ import java.util.Date;
...
@@ -30,17 +30,24 @@ import java.util.Date;
/*
/*
//表示每2分钟收费10元
IntervalChargeDetail:
/*
"data":{
首时段:2小时10元
//金额
后续:每间隔10分钟收费10元
"money": 100,
{
// 0 分钟 1 小时
"fastTime": 2,
"frameType": 0,
"frameType": 1,
// 时间
"fastMoney": 100,
"intervalTime": 2
"data": {
//金额
"money": 100,
//时间类型
"frameType": 0,
//间隔时长
"intervalTime": 10
}
}
}
*/
*/
@Component
@Component
public
class
ThsIntervalPayableMoney
implements
ThsRequestChargeAbstract
{
public
class
ThsIntervalPayableMoney
implements
ThsRequestChargeAbstract
{
...
...
src/main/java/com/huaching/parking/local/parking_local_general/service/local/base/chargeCalculator/ThsOneTimePayableMoney.java
View file @
0bef8eeb
...
@@ -27,6 +27,21 @@ import java.util.Date;
...
@@ -27,6 +27,21 @@ import java.util.Date;
* Copyright @ 李东升 2020. All rights reserved
* Copyright @ 李东升 2020. All rights reserved
* ************************************************
* ************************************************
*/
*/
/*
首时段:2小时10元
后续:收费20元
{
"fastTime": 2,
"frameType": 1,
"fastMoney": 100,
"data": {
//金额
"money": 200,
}
}
*/
@Component
@Component
public
class
ThsOneTimePayableMoney
implements
ThsRequestChargeAbstract
{
public
class
ThsOneTimePayableMoney
implements
ThsRequestChargeAbstract
{
...
...
src/main/java/com/huaching/parking/local/parking_local_general/service/local/base/chargeCalculator/ThsTimeFramePayableMoney.java
View file @
0bef8eeb
...
@@ -32,7 +32,16 @@ import java.util.List;
...
@@ -32,7 +32,16 @@ import java.util.List;
/*
/*
TimeFrameChargeDetail:
TimeFrameChargeDetail:
首时段:30分钟 收费5元
后续:
00:00-07:00时间端内每分钟收费2元
07:00-20:30时间端内每小时钟收费4元
20:30-00:00时间端内一共收费3元
//json数组
//json数组
{
"fastTime": 30,
"frameType": 0,
"fastMoney": 50,
"data": [
"data": [
{
{
//"frameType": 0 按分钟收费
//"frameType": 0 按分钟收费
...
@@ -59,7 +68,7 @@ TimeFrameChargeDetail:
...
@@ -59,7 +68,7 @@ TimeFrameChargeDetail:
"money": 300
"money": 300
}
}
]
]
}
*/
*/
...
...
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