package com.clx.performance.dao.impl;

import com.clx.performance.dao.OrderChildPoundLogDao;
import com.clx.performance.mapper.OrderChildPoundLogMapper;
import com.clx.performance.model.OrderChildPoundLog;
import com.msl.common.dao.impl.BaseDaoImpl;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: aiqinguo
 * @Description: 磅单日志表
 * @Date: 2023/09/18 11:34:50
 * @Version: 1.0
 */
@Repository
public class OrderChildPoundLogDaoImpl extends BaseDaoImpl<OrderChildPoundLogMapper, OrderChildPoundLog, Integer> implements OrderChildPoundLogDao {
    @Override
    public List<OrderChildPoundLog> getPoundLogList(String childNo) {
        return list(lQrWrapper().eq(OrderChildPoundLog::getChildNo,childNo).orderByDesc(OrderChildPoundLog::getId));
    }
}
