|
|
@@ -158,14 +158,16 @@ public class ManagementInfoController {
|
|
|
@ApiImplicitParam(name = "storeId", value = "商家id", dataType = "String", paramType = "query"),
|
|
|
@ApiImplicitParam(name = "startTime", value = "开始时间", dataType = "String", paramType = "query"),
|
|
|
@ApiImplicitParam(name = "entTime", value = "结束时间", dataType = "String", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "storeName", value = "店铺名称", dataType = "String", paramType = "query"),
|
|
|
})
|
|
|
public R<IPage<ManagementInfoVo>> getStorePlatformProfitDetails(@RequestParam(value = "page", defaultValue = "1") int page,
|
|
|
@RequestParam(value = "size", defaultValue = "10") int size,
|
|
|
@RequestParam(value = "type", required = false) String type,
|
|
|
@RequestParam(value = "storeId", required = false) String storeId,
|
|
|
@RequestParam(value = "startTime", required = false) String startTime,
|
|
|
- @RequestParam(value = "entTime", required = false) String entTime) {
|
|
|
- IPage<ManagementInfoVo> storePlatformProfitDetails = managementInfoService.getStorePlatformProfitDetails(page, size, storeId, type, startTime, entTime);
|
|
|
+ @RequestParam(value = "entTime", required = false) String entTime,
|
|
|
+ @RequestParam(value = "storeName", required = false) String storeName) {
|
|
|
+ IPage<ManagementInfoVo> storePlatformProfitDetails = managementInfoService.getStorePlatformProfitDetails(page, size, storeId, type, startTime, entTime, storeName);
|
|
|
return R.data(storePlatformProfitDetails);
|
|
|
}
|
|
|
|
|
|
@@ -175,10 +177,13 @@ public class ManagementInfoController {
|
|
|
@ApiImplicitParam(name = "page", value = "分页序数", dataType = "String", paramType = "query"),
|
|
|
@ApiImplicitParam(name = "size", value = "分页长度", dataType = "String", paramType = "query"),
|
|
|
@ApiImplicitParam(name = "type", value = "查询类型(1:当日,2:所有)", dataType = "String", paramType = "query"),
|
|
|
- @ApiImplicitParam(name = "tabType", value = "订单类型(全部订单:1,待付款:2,待付款/已取消:3,已退款:4,已完成:5)", dataType = "String", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "tabType", value = "订单类型(全部,传空; 0,待付款;4,已取消;1,待使用;7,已完成;5,已退款;)", dataType = "String", paramType = "query"),
|
|
|
@ApiImplicitParam(name = "orderId", value = "订单编号", dataType = "String", paramType = "query"),
|
|
|
@ApiImplicitParam(name = "startTime", value = "开始时间", dataType = "String", paramType = "query"),
|
|
|
@ApiImplicitParam(name = "entTime", value = "结束时间", dataType = "String", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "couponName", value = "商品名称", dataType = "String", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "couponType", value = "商品类型", dataType = "String", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "storeName", value = "店铺名称", dataType = "String", paramType = "query"),
|
|
|
})
|
|
|
public R<IPage<ManagementInfoVo>> getStorePlatformOrderVolume(@RequestParam(value = "page", defaultValue = "1") int page,
|
|
|
@RequestParam(value = "size", defaultValue = "10") int size,
|
|
|
@@ -186,8 +191,11 @@ public class ManagementInfoController {
|
|
|
@RequestParam(value = "tabType", required = false) String tabType,
|
|
|
@RequestParam(value = "orderId", required = false) String orderId,
|
|
|
@RequestParam(value = "startTime", required = false) String startTime,
|
|
|
- @RequestParam(value = "entTime", required = false) String entTime) {
|
|
|
- IPage<ManagementInfoVo> storePlatformProfitDetails = managementInfoService.getStorePlatformOrderVolume(page, size, orderId, type, tabType, startTime, entTime);
|
|
|
+ @RequestParam(value = "entTime", required = false) String entTime,
|
|
|
+ @RequestParam(value = "couponName", required = false) String couponName,
|
|
|
+ @RequestParam(value = "couponType", required = false) String couponType,
|
|
|
+ @RequestParam(value = "storeName", required = false) String storeName) {
|
|
|
+ IPage<ManagementInfoVo> storePlatformProfitDetails = managementInfoService.getStorePlatformOrderVolume(page, size, orderId, type, tabType, startTime, entTime, couponName, couponType, storeName);
|
|
|
return R.data(storePlatformProfitDetails);
|
|
|
}
|
|
|
|