package com.clx.performance.dao.impl;

import com.clx.performance.dao.OrderChildWeighPictureDao;
import com.clx.performance.mapper.OrderChildWeighPictureMapper;
import com.clx.performance.model.OrderChildWeighPicture;
import com.msl.common.dao.impl.BaseDaoImpl;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author liruixin
 * Date 2024-08-02
 * Time 15:38
 */
@Repository
public class OrderChildWeighPictureDaoImpl extends BaseDaoImpl<OrderChildWeighPictureMapper, OrderChildWeighPicture, Integer> implements OrderChildWeighPictureDao {
    @Override
    public List<OrderChildWeighPicture> getImages(String childNo) {
        return list(lQrWrapper()
                .eq(OrderChildWeighPicture::getChildNo, childNo)
        );
    }
}
