UpfileOrigImpl.java
1.1 KB
package com.tianbo.analysis.service.imp;
import com.tianbo.analysis.dao.ORIGINMANIFESTMASTERMapper;
import com.tianbo.analysis.model.ORIGINMANIFESTMASTER;
import com.tianbo.analysis.service.UpfileOrigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class UpfileOrigImpl implements UpfileOrigService {
@Autowired
ORIGINMANIFESTMASTERMapper originmanifestmasterMapper;
@Override
public int insert(ORIGINMANIFESTMASTER originmanifestmaster) throws Exception {
return originmanifestmasterMapper.insertSelective(originmanifestmaster);
}
@Override
public ORIGINMANIFESTMASTER selectwaybill(String waybill) throws Exception {
return originmanifestmasterMapper.selectwaybill(waybill);
}
@Override
public int updateByPrimaryKey(String autoid) throws Exception {
return originmanifestmasterMapper.updateByPrimaryKey(autoid);
}
@Override
public int ediOrig(ORIGINMANIFESTMASTER originmanifestmaster) throws Exception {
return originmanifestmasterMapper.updateByPrimaryKeySelective(originmanifestmaster);
}
}