预订单时间槽列表逻辑调整,分账、提现 报文字段 保存
This commit is contained in:
parent
0248a38268
commit
6a335ef1aa
@ -324,8 +324,8 @@ public class UserOrderController extends BaseControllerImpl {
|
||||
|
||||
@ApiOperation(value = "可预约订单的时间槽", notes = "可预约订单的时间槽")
|
||||
@RequestMapping(value = "/booking_time_args", method = RequestMethod.GET)
|
||||
public CommonResult listInvoice(@RequestParam(name = "store_id", defaultValue = "0") String store_id) {
|
||||
List<BookingArgDTO> list = shopOrderInfoService.genBookingOrderArgList(store_id);
|
||||
public CommonResult listInvoice(@RequestParam(name = "store_ids", defaultValue = "") String store_ids) {
|
||||
List<BookingArgDTO> list = shopOrderInfoService.genBookingOrderArgList(store_ids);
|
||||
return CommonResult.success(list);
|
||||
}
|
||||
|
||||
|
||||
@ -1123,9 +1123,10 @@ public class ShopOrderInfoServiceImpl extends BaseServiceImpl<ShopOrderInfoMappe
|
||||
|
||||
try {
|
||||
// 1. 解析并去重店铺ID
|
||||
List<String> uniqueStoreIds = Arrays.stream(storeIds.split(","))
|
||||
List<Integer> uniqueStoreIds = Arrays.stream(storeIds.split(","))
|
||||
.map(String::trim)
|
||||
.filter(StrUtil::isNotBlank)
|
||||
.map(Integer::valueOf)
|
||||
.distinct()
|
||||
.collect(Collectors.toList());
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user