mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-10 18:30:02 +08:00
查询订单汇总数据不做分页处理
(cherry picked from commit c1e5d6201ec5e16946f7eed9b59d2648c29c8fc5)
This commit is contained in:
@@ -13,6 +13,7 @@ import com.jsowell.common.util.poi.ExcelUtil;
|
|||||||
import com.jsowell.pile.domain.OrderBasicInfo;
|
import com.jsowell.pile.domain.OrderBasicInfo;
|
||||||
import com.jsowell.pile.domain.PileMerchantInfo;
|
import com.jsowell.pile.domain.PileMerchantInfo;
|
||||||
import com.jsowell.pile.dto.ManualSettlementDTO;
|
import com.jsowell.pile.dto.ManualSettlementDTO;
|
||||||
|
import com.jsowell.pile.dto.QueryMerchantOrderDTO;
|
||||||
import com.jsowell.pile.dto.QueryOrderDTO;
|
import com.jsowell.pile.dto.QueryOrderDTO;
|
||||||
import com.jsowell.pile.service.IOrderBasicInfoService;
|
import com.jsowell.pile.service.IOrderBasicInfoService;
|
||||||
import com.jsowell.pile.service.IPileMerchantInfoService;
|
import com.jsowell.pile.service.IPileMerchantInfoService;
|
||||||
@@ -155,7 +156,7 @@ public class OrderBasicInfoController extends BaseController {
|
|||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('order:order:list')")
|
@PreAuthorize("@ss.hasPermi('order:order:list')")
|
||||||
@PostMapping("/getMerchantOrderList")
|
@PostMapping("/getMerchantOrderList")
|
||||||
public TableDataInfo getMerchantOrderList(@RequestBody QueryOrderDTO dto) {
|
public TableDataInfo getMerchantOrderList(@RequestBody QueryMerchantOrderDTO dto) {
|
||||||
return getDataTable(orderBasicInfoService.getMerchantOrderInfoList(dto));
|
return getDataTable(orderBasicInfoService.getMerchantOrderInfoList(dto));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,69 @@
|
|||||||
|
package com.jsowell.pile.dto;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取运营商订单列表dto
|
||||||
|
*
|
||||||
|
* @author Lemon
|
||||||
|
* @Date 2023/7/10 9:56
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class QueryMerchantOrderDTO {
|
||||||
|
/**
|
||||||
|
* 充电桩编号
|
||||||
|
*/
|
||||||
|
private String pileSn;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 枪口号
|
||||||
|
*/
|
||||||
|
private String connectorCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 会员id
|
||||||
|
*/
|
||||||
|
private String memberId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 订单状态
|
||||||
|
*/
|
||||||
|
private String orderStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 订单编号
|
||||||
|
*/
|
||||||
|
private String orderCode;
|
||||||
|
|
||||||
|
// 交易流水号
|
||||||
|
private String transactionCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 手机号
|
||||||
|
*/
|
||||||
|
private String mobileNumber;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站点Id
|
||||||
|
*/
|
||||||
|
private String stationId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 运营商Id
|
||||||
|
*/
|
||||||
|
private String merchantId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 开始时间
|
||||||
|
*/
|
||||||
|
private String startTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 结束时间
|
||||||
|
*/
|
||||||
|
private String endTime;
|
||||||
|
|
||||||
|
private int pageSize;
|
||||||
|
|
||||||
|
private int pageNum;
|
||||||
|
}
|
||||||
@@ -64,7 +64,7 @@ public class QueryOrderDTO extends BaseEntity {
|
|||||||
*/
|
*/
|
||||||
private String endTime;
|
private String endTime;
|
||||||
|
|
||||||
private int pageSize;
|
// private int pageSize;
|
||||||
|
//
|
||||||
private int pageNum;
|
// private int pageNum;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,10 +2,7 @@ package com.jsowell.pile.mapper;
|
|||||||
|
|
||||||
import com.jsowell.pile.domain.OrderBasicInfo;
|
import com.jsowell.pile.domain.OrderBasicInfo;
|
||||||
import com.jsowell.pile.domain.OrderDetail;
|
import com.jsowell.pile.domain.OrderDetail;
|
||||||
import com.jsowell.pile.dto.IndexQueryDTO;
|
import com.jsowell.pile.dto.*;
|
||||||
import com.jsowell.pile.dto.QueryOrderDTO;
|
|
||||||
import com.jsowell.pile.dto.QueryPersonPileDTO;
|
|
||||||
import com.jsowell.pile.dto.QueryStationInfoDTO;
|
|
||||||
import com.jsowell.pile.vo.base.MerchantOrderInfoVO;
|
import com.jsowell.pile.vo.base.MerchantOrderInfoVO;
|
||||||
import com.jsowell.pile.vo.lianlian.AccumulativeInfoVO;
|
import com.jsowell.pile.vo.lianlian.AccumulativeInfoVO;
|
||||||
import com.jsowell.pile.vo.uniapp.OrderVO;
|
import com.jsowell.pile.vo.uniapp.OrderVO;
|
||||||
@@ -217,5 +214,5 @@ public interface OrderBasicInfoMapper {
|
|||||||
* @param dto
|
* @param dto
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
List<MerchantOrderInfoVO> getMerchantOrderInfoList(@Param("dto") QueryOrderDTO dto);
|
List<MerchantOrderInfoVO> getMerchantOrderInfoList(@Param("dto") QueryMerchantOrderDTO dto);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -277,7 +277,7 @@ public interface IOrderBasicInfoService {
|
|||||||
* 获取运营商订单列表
|
* 获取运营商订单列表
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
List<MerchantOrderInfoVO> getMerchantOrderInfoList(QueryOrderDTO dto);
|
List<MerchantOrderInfoVO> getMerchantOrderInfoList(QueryMerchantOrderDTO dto);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 生成订单逻辑
|
* 生成订单逻辑
|
||||||
|
|||||||
@@ -2065,7 +2065,7 @@ public class OrderBasicInfoServiceImpl implements IOrderBasicInfoService {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public List<MerchantOrderInfoVO> getMerchantOrderInfoList(QueryOrderDTO dto) {
|
public List<MerchantOrderInfoVO> getMerchantOrderInfoList(QueryMerchantOrderDTO dto) {
|
||||||
int pageNum = dto.getPageNum() == 0 ? 1 : dto.getPageNum();
|
int pageNum = dto.getPageNum() == 0 ? 1 : dto.getPageNum();
|
||||||
int pageSize = dto.getPageSize() == 0 ? 10 : dto.getPageSize();
|
int pageSize = dto.getPageSize() == 0 ? 10 : dto.getPageSize();
|
||||||
String startTime = DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD, DateUtils.addDays(new Date(), -7));
|
String startTime = DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD, DateUtils.addDays(new Date(), -7));
|
||||||
|
|||||||
Reference in New Issue
Block a user