首页未知支付方式过滤退单,productVo categoryId类型更改
This commit is contained in:
parent
dc7c7172ce
commit
594ba6af86
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ public class TbProductVo {
|
|||
private String coverImg;
|
||||
|
||||
@NotNull(message ="缺少商品类信息")
|
||||
private Integer categoryId;
|
||||
private String categoryId;
|
||||
|
||||
|
||||
private Integer specId;
|
||||
|
|
|
|||
Loading…
Reference in New Issue