ICSReceiptDetailServiceImpl.java 1022 Bytes
package com.huaheng.api.U8.Service;

import com.huaheng.api.U8.domain.ICSReceiptDetail;
import com.huaheng.pc.receipt.receiptDetail.mapper.ReceiptDetailMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 入库下发或回传子单 实现层
 *
 * @author huaheng
 * @date 2019-1-2
 */

@Service
public class ICSReceiptDetailServiceImpl implements ICSReceiptDetailService{

    @Resource
    private ReceiptDetailMapper receiptDetailMapper;

    //查询子单
    @Override
    public ICSReceiptDetail selectModel(ICSReceiptDetail condition) {
        return receiptDetailMapper.selectModel(condition);
    }

    //查询子单列表
    @Override
    public List<ICSReceiptDetail> selectList(ICSReceiptDetail condition) {
        return receiptDetailMapper.selectList(condition);
    }

    //添加入库下发子单
    @Override
    public int insertModel(ICSReceiptDetail record) {
        return receiptDetailMapper.insertModel(record);
    }
}