|
@@ -23,14 +23,16 @@ public class FSController extends BaseController {
|
23
|
23
|
@ApiOperation(value = "获取停车信息(通过车牌号)", notes = "获取停车信息(通过车牌号)")
|
24
|
24
|
@ApiImplicitParams({
|
25
|
25
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "path", name = "carNo", value = "车牌号"),
|
|
26
|
+ @ApiImplicitParam(dataTypeClass = Integer.class, paramType = "query", name = "communityId", value = "小区Id"),
|
26
|
27
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "query", name = "appid", value = "appid"),
|
27
|
28
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "query", name = "datetime", value = "时间戳"),
|
28
|
29
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "query", name = "encrypt", value = "加密方式"),
|
29
|
30
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "query", name = "sign", value = "签名"),
|
30
|
31
|
})
|
31
|
|
- public ResponseBean getParkInfoByCarNo(@PathVariable("carNo") String carNo) {
|
|
32
|
+ public ResponseBean getParkInfoByCarNo(@PathVariable("carNo") String carNo,
|
|
33
|
+ @RequestParam(value = "communityId") Integer communityId) {
|
32
|
34
|
ResponseBean responseBean = new ResponseBean();
|
33
|
|
- responseBean = iFuShiService.getParkInfoByCarNo(carNo);
|
|
35
|
+ responseBean = iFuShiService.getParkInfoByCarNo(carNo, communityId);
|
34
|
36
|
return responseBean;
|
35
|
37
|
}
|
36
|
38
|
|
|
@@ -38,14 +40,16 @@ public class FSController extends BaseController {
|
38
|
40
|
@ApiOperation(value = "获取月租车信息(通过车牌号)", notes = "获取月租车信息(通过车牌号)")
|
39
|
41
|
@ApiImplicitParams({
|
40
|
42
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "path", name = "carNo", value = "车牌号"),
|
|
43
|
+ @ApiImplicitParam(dataTypeClass = Integer.class, paramType = "query", name = "communityId", value = "小区Id"),
|
41
|
44
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "query", name = "appid", value = "appid"),
|
42
|
45
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "query", name = "datetime", value = "时间戳"),
|
43
|
46
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "query", name = "encrypt", value = "加密方式"),
|
44
|
47
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "query", name = "sign", value = "签名"),
|
45
|
48
|
})
|
46
|
|
- public ResponseBean parkGetMonthCardInfoByCarNo(@PathVariable("carNo") String carNo) {
|
|
49
|
+ public ResponseBean parkGetMonthCardInfoByCarNo(@PathVariable("carNo") String carNo,
|
|
50
|
+ @RequestParam(value = "communityId") Integer communityId) {
|
47
|
51
|
ResponseBean responseBean = new ResponseBean();
|
48
|
|
- responseBean = iFuShiService.parkGetMonthCardInfoByCarNo(carNo);
|
|
52
|
+ responseBean = iFuShiService.parkGetMonthCardInfoByCarNo(carNo, communityId);
|
49
|
53
|
return responseBean;
|
50
|
54
|
}
|
51
|
55
|
|
|
@@ -53,14 +57,16 @@ public class FSController extends BaseController {
|
53
|
57
|
@ApiOperation(value = "获取临时车信息(通过车牌号)", notes = "获取临时车信息(通过车牌号)")
|
54
|
58
|
@ApiImplicitParams({
|
55
|
59
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "path", name = "carNo", value = "车牌号"),
|
|
60
|
+ @ApiImplicitParam(dataTypeClass = Integer.class, paramType = "query", name = "communityId", value = "小区Id"),
|
56
|
61
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "query", name = "appid", value = "appid"),
|
57
|
62
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "query", name = "datetime", value = "时间戳"),
|
58
|
63
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "query", name = "encrypt", value = "加密方式"),
|
59
|
64
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "query", name = "sign", value = "签名"),
|
60
|
65
|
})
|
61
|
|
- public ResponseBean parkGetTempCarPaymentInfoByCarNo(@PathVariable("carNo") String carNo) {
|
|
66
|
+ public ResponseBean parkGetTempCarPaymentInfoByCarNo(@PathVariable("carNo") String carNo,
|
|
67
|
+ @RequestParam(value = "communityId") Integer communityId) {
|
62
|
68
|
ResponseBean responseBean = new ResponseBean();
|
63
|
|
- responseBean = iFuShiService.parkGetTempCarPaymentInfoByCarNo(carNo);
|
|
69
|
+ responseBean = iFuShiService.parkGetTempCarPaymentInfoByCarNo(carNo, communityId);
|
64
|
70
|
return responseBean;
|
65
|
71
|
}
|
66
|
72
|
|
|
@@ -73,10 +79,10 @@ public class FSController extends BaseController {
|
73
|
79
|
// "CarNo车牌号;" +
|
74
|
80
|
// "CardNo停车卡号;" +
|
75
|
81
|
// "RechargeAmt充值续费金额;"),
|
76
|
|
- @ApiImplicitParam(dataTypeClass = String.class, paramType = "form", name = "appid", value = "appid"),
|
77
|
|
- @ApiImplicitParam(dataTypeClass = String.class, paramType = "form", name = "datetime", value = "时间戳"),
|
78
|
|
- @ApiImplicitParam(dataTypeClass = String.class, paramType = "form", name = "encrypt", value = "加密方式"),
|
79
|
|
- @ApiImplicitParam(dataTypeClass = String.class, paramType = "form", name = "sign", value = "签名"),
|
|
82
|
+// @ApiImplicitParam(dataTypeClass = String.class, paramType = "form", name = "appid", value = "appid"),
|
|
83
|
+// @ApiImplicitParam(dataTypeClass = String.class, paramType = "form", name = "datetime", value = "时间戳"),
|
|
84
|
+// @ApiImplicitParam(dataTypeClass = String.class, paramType = "form", name = "encrypt", value = "加密方式"),
|
|
85
|
+// @ApiImplicitParam(dataTypeClass = String.class, paramType = "form", name = "sign", value = "签名"),
|
80
|
86
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "form", name = "Phone", value = "手机号"),
|
81
|
87
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "form", name = "RenewDayType", value = "续费日期类型( 3:年 2:月 1:日, 选入对应的数字)"),
|
82
|
88
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "form", name = "RenewDay", value = "续费日期数目"),
|
|
@@ -84,6 +90,7 @@ public class FSController extends BaseController {
|
84
|
90
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "form", name = "CarNo", value = "车牌号"),
|
85
|
91
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "form", name = "CardNo", value = "停车卡号"),
|
86
|
92
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "form", name = "RechargeAmt", value = "充值续费金额"),
|
|
93
|
+ @ApiImplicitParam(dataTypeClass = Integer.class, paramType = "form", name = "communityId", value = "小区Id"),
|
87
|
94
|
})
|
88
|
95
|
public ResponseBean apiThirdPartyMonthCardPay(@RequestParam(value = "Phone") String Phone,
|
89
|
96
|
@RequestParam(value = "RenewDayType") String RenewDayType,
|
|
@@ -91,10 +98,11 @@ public class FSController extends BaseController {
|
91
|
98
|
@RequestParam(value = "PayStyle") String PayStyle,
|
92
|
99
|
@RequestParam(value = "CarNo") String CarNo,
|
93
|
100
|
@RequestParam(value = "CardNo", required = false) String CardNo,
|
94
|
|
- @RequestParam(value = "RechargeAmt") String RechargeAmt) {
|
|
101
|
+ @RequestParam(value = "RechargeAmt") String RechargeAmt,
|
|
102
|
+ @RequestParam(value = "communityId") Integer communityId) {
|
95
|
103
|
ResponseBean responseBean = new ResponseBean();
|
96
|
104
|
responseBean = iFuShiService.apiThirdPartyMonthCardPay(Phone, RenewDayType,
|
97
|
|
- RenewDay, PayStyle, CarNo, CardNo, RechargeAmt);
|
|
105
|
+ RenewDay, PayStyle, CarNo, CardNo, RechargeAmt, communityId);
|
98
|
106
|
return responseBean;
|
99
|
107
|
}
|
100
|
108
|
|
|
@@ -109,10 +117,10 @@ public class FSController extends BaseController {
|
109
|
117
|
// "CarNo车牌号;" +
|
110
|
118
|
// "CardNo停车卡号;" +
|
111
|
119
|
// "CouponList使用的优惠券列表"),
|
112
|
|
- @ApiImplicitParam(dataTypeClass = String.class, paramType = "form", name = "appid", value = "appid"),
|
113
|
|
- @ApiImplicitParam(dataTypeClass = String.class, paramType = "form", name = "datetime", value = "时间戳"),
|
114
|
|
- @ApiImplicitParam(dataTypeClass = String.class, paramType = "form", name = "encrypt", value = "加密方式"),
|
115
|
|
- @ApiImplicitParam(dataTypeClass = String.class, paramType = "form", name = "sign", value = "签名"),
|
|
120
|
+// @ApiImplicitParam(dataTypeClass = String.class, paramType = "form", name = "appid", value = "appid"),
|
|
121
|
+// @ApiImplicitParam(dataTypeClass = String.class, paramType = "form", name = "datetime", value = "时间戳"),
|
|
122
|
+// @ApiImplicitParam(dataTypeClass = String.class, paramType = "form", name = "encrypt", value = "加密方式"),
|
|
123
|
+// @ApiImplicitParam(dataTypeClass = String.class, paramType = "form", name = "sign", value = "签名"),
|
116
|
124
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "form", name = "Amount", value = "应缴金额(单位元)"),
|
117
|
125
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "form", name = "ActualAmount", value = "实缴金额(单位元)"),
|
118
|
126
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "form", name = "DeductionAmount", value = "抵扣金额(单位元)"),
|
|
@@ -121,6 +129,7 @@ public class FSController extends BaseController {
|
121
|
129
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "form", name = "CarNo", value = "车牌号"),
|
122
|
130
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "form", name = "CardNo", value = "停车卡号"),
|
123
|
131
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "form", name = "CouponList", value = "使用的优惠券列表"),
|
|
132
|
+ @ApiImplicitParam(dataTypeClass = Integer.class, paramType = "form", name = "communityId", value = "小区Id"),
|
124
|
133
|
})
|
125
|
134
|
public ResponseBean apiThirdPartyTemporaryCardPay(@RequestParam(value = "Amount") String Amount,
|
126
|
135
|
@RequestParam(value = "ActualAmount") String ActualAmount,
|
|
@@ -129,10 +138,11 @@ public class FSController extends BaseController {
|
129
|
138
|
@RequestParam(value = "PayStyle") String PayStyle,
|
130
|
139
|
@RequestParam(value = "CarNo") String CarNo,
|
131
|
140
|
@RequestParam(value = "CardNo", required = false) String CardNo,
|
132
|
|
- @RequestParam(value = "CouponList", required = false) String CouponList) {
|
|
141
|
+ @RequestParam(value = "CouponList", required = false) String CouponList,
|
|
142
|
+ @RequestParam(value = "communityId") Integer communityId) {
|
133
|
143
|
ResponseBean responseBean = new ResponseBean();
|
134
|
144
|
responseBean = iFuShiService.apiThirdPartyTemporaryCardPay(Amount, ActualAmount, DeductionAmount,
|
135
|
|
- Reason, PayStyle, CarNo, CardNo, CouponList);
|
|
145
|
+ Reason, PayStyle, CarNo, CardNo, CouponList, communityId);
|
136
|
146
|
return responseBean;
|
137
|
147
|
}
|
138
|
148
|
|
|
@@ -140,15 +150,17 @@ public class FSController extends BaseController {
|
140
|
150
|
@RequestMapping(value = "/car/apiGetOfflineFee/{carNoOrCardNo}", method = RequestMethod.GET)
|
141
|
151
|
@ApiOperation(value = "获取线下算费结果", notes = "获取线下算费结果")
|
142
|
152
|
@ApiImplicitParams({
|
143
|
|
- @ApiImplicitParam(paramType = "path", dataTypeClass = String.class, name = "carNoOrCardNo" , value = "车牌号码或卡号"),
|
|
153
|
+ @ApiImplicitParam(paramType = "path", dataTypeClass = String.class, name = "carNoOrCardNo" , value = "车牌号码或卡号"),
|
144
|
154
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "query", name = "appid", value = "appid"),
|
145
|
155
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "query", name = "datetime", value = "时间戳"),
|
146
|
156
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "query", name = "encrypt", value = "加密方式"),
|
147
|
157
|
@ApiImplicitParam(dataTypeClass = String.class, paramType = "query", name = "sign", value = "签名"),
|
|
158
|
+ @ApiImplicitParam(dataTypeClass = Integer.class, paramType = "form", name = "communityId", value = "小区Id"),
|
148
|
159
|
})
|
149
|
|
- public ResponseBean apiGetOfflineFee(@PathVariable("carNoOrCardNo") String carNoOrCardNo) {
|
|
160
|
+ public ResponseBean apiGetOfflineFee(@PathVariable("carNoOrCardNo") String carNoOrCardNo,
|
|
161
|
+ @RequestParam(value = "communityId") Integer communityId) {
|
150
|
162
|
ResponseBean responseBean = new ResponseBean();
|
151
|
|
- responseBean = iFuShiService.apiGetOfflineFee(carNoOrCardNo);
|
|
163
|
+ responseBean = iFuShiService.apiGetOfflineFee(carNoOrCardNo, communityId);
|
152
|
164
|
return responseBean;
|
153
|
165
|
}
|
154
|
166
|
|