首页未知支付方式过滤退单,productVo categoryId类型更改

This commit is contained in:
liuyingfang 2024-03-18 16:07:43 +08:00
parent dc7c7172ce
commit 594ba6af86
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ public interface TbOrderInfoRepository extends JpaRepository<TbOrderInfo, Intege
List<TbOrderPayCountVo> queryTbOrderPayCount(@Param("shopId")String shopId);
@Query(value = "SELECT COUNT(1) ,pay_type AS payType FROM tb_order_info Where shop_id = :shopId AND " +
" created_at BETWEEN :startTime AND :endTime AND status='closed' GROUP BY pay_type" ,nativeQuery = true)
" created_at BETWEEN :startTime AND :endTime AND status='closed'AND order_type <>'return' GROUP BY pay_type" ,nativeQuery = true)
List<Object[]> countByShopId(@Param("shopId") String shopId, @Param("startTime") Long startTime, @Param("endTime") Long endTime);
@Query("SELECT count(1) FROM TbOrderInfo WHERE source = :source AND shopId=:shopId")

View File

@ -46,7 +46,7 @@ public class TbProductVo {
private String coverImg;
@NotNull(message ="缺少商品类信息")
private Integer categoryId;
private String categoryId;
private Integer specId;