package cn.iocoder.yudao.module.pay.dal.mysql.dividerecord;

import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.pay.dal.dataobject.dividerecord.DivideRecordDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 分账记录 Mapper
 *
 * @author 管理员
 */
@Mapper
public interface DivideRecordMapper extends BaseMapperX<DivideRecordDO> {

    @Select("select * from pay_divide_record where DATE(create_time) = CURDATE()")
    List<DivideRecordDO> getList();
}