|
|
|
@ -23,6 +23,21 @@ public class YltController extends Controller {
|
|
|
|
|
Logger log = LoggerFactory.getLogger(YltController.class);
|
|
|
|
|
YltModel ym = new YltModel();
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 功能:获取当前订单是不是在有合作的道闸车场内,这样的车场停车有减免
|
|
|
|
|
*
|
|
|
|
|
* @param order_no
|
|
|
|
|
*/
|
|
|
|
|
@Before({GET.class})
|
|
|
|
|
@IsLoginInterface({})
|
|
|
|
|
public void isThirdPartyStation(String order_no) {
|
|
|
|
|
Record record = ym.getThirdPartyStation(order_no);
|
|
|
|
|
if (record == null) {
|
|
|
|
|
renderJson(CommonUtil.getRet(false, "不在合作的道闸车场内!"));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
renderJson(CommonUtil.getRet(true, "在合作的道闸车场内!"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 功能:获取用户的车牌列表
|
|
|
|
@ -42,12 +57,12 @@ public class YltController extends Controller {
|
|
|
|
|
*/
|
|
|
|
|
@Before({POST.class})
|
|
|
|
|
@IsLoginInterface({})
|
|
|
|
|
@EmptyInterface({"order_no","charge_plate_no"})
|
|
|
|
|
@EmptyInterface({"order_no", "charge_plate_no"})
|
|
|
|
|
// 非指定闸机场地
|
|
|
|
|
// http://10.10.21.20:8888/ZhuQue/Ylt/SyncChargePilePay?order_no=2020092315154430479
|
|
|
|
|
// 科拓闸机场地
|
|
|
|
|
// http://10.10.21.20:8888/ZhuQue/Ylt/SyncChargePilePay?order_no=2022012911045715187
|
|
|
|
|
public void SyncChargePilePay(String order_no,String charge_plate_no) { //订单号,车牌号
|
|
|
|
|
public void SyncChargePilePay(String order_no, String charge_plate_no) { //订单号,车牌号
|
|
|
|
|
//根据订单号获取到第三方方面提供的车场信息
|
|
|
|
|
Record thirdPartyStation = ym.getThirdPartyStation(order_no);
|
|
|
|
|
if (thirdPartyStation == null) {
|
|
|
|
|