郑永安
2023-06-19 2fcd97552d16718cc7997629fd637a73a5a4483f
src/main/java/com/gk/firework/Mapper/DeliveryOrderInfoMapper.java
对比新文件
@@ -0,0 +1,29 @@
package com.gk.firework.Mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gk.firework.Domain.DeliveryOrderInfo;
import com.gk.firework.Domain.Vo.DeliveryOrderInfoVo;
import com.gk.firework.Domain.Vo.ProductVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;
@Repository
public interface DeliveryOrderInfoMapper extends BaseMapper<DeliveryOrderInfo> {
    List<DeliveryOrderInfoVo> selectPages(Page<DeliveryOrderInfoVo> page, Map params);
    BigDecimal getDeliveryNum(@Param("condition") Map<String, Object> condition);
    BigDecimal getReturnDeliveryNum(@Param("condition") Map<String, Object> condition);
    DeliveryOrderInfo selectDeliveryOrderByTimeAndUser(@Param("datetime") String datetime, @Param("username") String username);
    List<DeliveryOrderInfo> selectPages(@Param("params") Map params);
    List<ProductVo> getProductVosByCert(@Param("cert") String cert);
}