gongchunyi
3 天以前 89601693cac022cd36288f67afc39c079ce70810
src/main/java/com/ruoyi/production/service/impl/ProductionSettlementDetailsServiceImpl.java
@@ -6,6 +6,8 @@
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import java.util.List;
/**
 * <p>
 * 生产成本核算对比明细表 服务实现类
@@ -17,4 +19,10 @@
@Service
public class ProductionSettlementDetailsServiceImpl extends ServiceImpl<ProductionSettlementDetailsMapper, ProductionSettlementDetails> implements IProductionSettlementDetailsService {
    @Override
    public List<ProductionSettlementDetails> selectByBatchId(Long batchId) {
        return this.lambdaQuery()
                .eq(ProductionSettlementDetails::getBatchId, batchId)
                .list();
    }
}