|
|
@ -36,21 +36,25 @@ public class LpkGiftCardRest { |
|
|
|
public ResultBean wxBindMobile(@RequestBody BindCardDto bindCardDto) { |
|
|
|
return lpkGiftCardService.bindCard(bindCardDto); |
|
|
|
} |
|
|
|
|
|
|
|
@PostMapping("/bindAllCard") |
|
|
|
@ApiOperation(value = "客户绑定礼包卡") |
|
|
|
public ResultBean bindAllCard(@RequestBody BindCardDto bindCardDto) { |
|
|
|
return lpkGiftCardService.bindAllCard(bindCardDto); |
|
|
|
} |
|
|
|
|
|
|
|
@PostMapping("/gifCardByCustomerSid") |
|
|
|
@ApiOperation(value = "获取客户绑定的礼包卡") |
|
|
|
public ResultBean gifCardByCustomerSid(@RequestBody PagerQuery<LpkGiftCardQuery> query) { |
|
|
|
return lpkGiftCardService.getGifCardByCustomerSid(query); |
|
|
|
} |
|
|
|
|
|
|
|
@PostMapping("/gifCardsByCustomerSid") |
|
|
|
@ApiOperation(value = "获取客户绑定的礼包卡") |
|
|
|
public ResultBean gifCardsByCustomerSid(@RequestBody PagerQuery<LpkGiftCardQuery> query) { |
|
|
|
return lpkGiftCardService.getGifCardsByCustomerSid(query); |
|
|
|
} |
|
|
|
|
|
|
|
@GetMapping("/isSaturAndSun/{cardSid}") |
|
|
|
@ApiOperation(value = "获取时间段的周六日") |
|
|
|
public ResultBean isSaturAndSun(@PathVariable("cardSid") String cardSid) { |
|
|
@ -74,6 +78,7 @@ public class LpkGiftCardRest { |
|
|
|
public ResultBean generateCard(@RequestBody LpkGiftCardDto dto) { |
|
|
|
return lpkGiftCardService.generateCard(dto); |
|
|
|
} |
|
|
|
|
|
|
|
@GetMapping("/getCardByBank") |
|
|
|
@ApiOperation(value = "生成礼包卡信息") |
|
|
|
public JSONObject getCardByBank(@RequestParam(value = "pageNo", defaultValue = "1") Integer pageNo, |
|
|
@ -145,11 +150,13 @@ public class LpkGiftCardRest { |
|
|
|
HttpServletResponse response) throws IOException { |
|
|
|
return lpkGiftCardService.getExcelInfo3(startDate, endDate, file, request, response); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation("订单门店汇总导出") |
|
|
|
@PostMapping("/cardStatisticsListExport") |
|
|
|
public void cardStatisticsListExport(@RequestBody LpkGiftCardListQuery pq) { |
|
|
|
lpkGiftCardService.cardStatisticsListExport(pq); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation("订单门店汇总列表") |
|
|
|
@PostMapping("/cardStatisticsList") |
|
|
|
public ResultBean cardStatisticsList(@RequestBody PagerQuery<LpkReserveOrderQuery> pq) { |
|
|
@ -174,6 +181,7 @@ public class LpkGiftCardRest { |
|
|
|
public ResultBean cardShareDetail(@PathVariable("sid") String sid) { |
|
|
|
return lpkGiftCardService.cardShareDetail(sid); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation("共享家庭卡蔬菜详情") |
|
|
|
@GetMapping("/cardShareGoodsDetail/{sid}") |
|
|
|
public ResultBean cardShareGoodsDetail(@PathVariable("sid") String sid) { |
|
|
|