ICSShipmentDetailServiceImpl.java 1.03 KB
package com.huaheng.api.U8.Service;

import com.huaheng.api.U8.domain.ICSShipmentDetail;
import com.huaheng.pc.shipment.shipmentDetail.mapper.ShipmentDetailMapper;
import org.springframework.stereotype.Service;

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

/**
 * 出库下发或回传单子 服务层实现
 *
 * @author huaheng
 * @date 2018-12-17
 */
@Service
public class ICSShipmentDetailServiceImpl implements ICSShipmentDetailService {

    @Resource
    private ShipmentDetailMapper icsShipmentDetailMapper;

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

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

    //添加出库下发子单
    @Override
    public int insertModel(ICSShipmentDetail record) {
        return icsShipmentDetailMapper.insertModel(record);
    }
}