package com.ssm.manage.mapper;

import com.ssm.core.mapper.BaseMapper;
import com.ssm.manage.entity.DebtList;
import com.ssm.manage.response.DebtDayVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Date;
import java.util.List;

@Component
public interface DebtListMapper extends BaseMapper<DebtList> {
    int insertBatch(@RequestParam("list")List<DebtList> list);

    List<DebtDayVo> selectByDay(@Param("storeIds") List<Long> storeIds,@Param("startTime") Date startTime,@Param("endTime") Date endTime);
}