|
|
|
@ -6,6 +6,7 @@ import au.com.royalpay.payment.manage.appclient.beans.AppQueryBean;
|
|
|
|
|
import au.com.royalpay.payment.manage.appclient.core.RetailAppService;
|
|
|
|
|
import au.com.royalpay.payment.manage.bill.bean.NewBillBean;
|
|
|
|
|
import au.com.royalpay.payment.manage.bill.bean.QueryBillBean;
|
|
|
|
|
import au.com.royalpay.payment.manage.bill.bean.QueryBillOrderBean;
|
|
|
|
|
import au.com.royalpay.payment.manage.bill.core.BillOrderService;
|
|
|
|
|
import au.com.royalpay.payment.manage.bill.core.BillService;
|
|
|
|
|
import au.com.royalpay.payment.manage.signin.beans.ChangePwdBean;
|
|
|
|
@ -304,7 +305,7 @@ public class RetailAppController {
|
|
|
|
|
billService.updateBillStatus(bill_id,"2");
|
|
|
|
|
}
|
|
|
|
|
@RequestMapping(value = "/bills/orders/{bill_id}",method = RequestMethod.GET)
|
|
|
|
|
public List<JSONObject> getBillOrders(@PathVariable("bill_id")String bill_id,@ModelAttribute(CommonConsts.RETAIL_DEVICE) JSONObject device){
|
|
|
|
|
return billOrderService.getByBillId(bill_id,device.getIntValue("client_id"));
|
|
|
|
|
public List<JSONObject> getBillOrders(@PathVariable("bill_id")String bill_id, QueryBillOrderBean queryBillOrderBean,@ModelAttribute(CommonConsts.RETAIL_DEVICE) JSONObject device){
|
|
|
|
|
return billOrderService.query(bill_id,device.getIntValue("client_id"),queryBillOrderBean);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|