yujian
2019-08-16 1db61f9479d537ecf2c030d8b9cb45b1e0bf0eec
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/pdd/PDDOrderMapper.java
@@ -1,8 +1,31 @@
package com.yeshi.fanli.dao.mybatis.pdd;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Param;
import com.yeshi.fanli.dao.BaseMapper;
import com.yeshi.fanli.entity.pdd.PDDOrder;
public interface PDDOrderMapper extends BaseMapper<PDDOrder> {
   /**
    * 根据订单SN查询订单
    *
    * @param orderSn
    * @return
    */
   PDDOrder selectByOrderSN(String orderSn);
   /**
    * 数量统计
    * @param dateType
    * @param year
    * @param startTime
    * @param endTime
    * @return
    */
   List<Map<String, Object>> countOrderNumber(@Param("dateType") Integer dateType, @Param("year") String year,
         @Param("startTime") String startTime, @Param("endTime") String endTime);
}