logsupvendorserviceimpl.java
来自「一个关于tlms的一个小程序 看看能否帮助到别人」· Java 代码 · 共 64 行
JAVA
64 行
/**
* =============================================
* Copyright 2006 szmx
*
* Change Revision
* --------------------------------
* Date Author Remarks
* 2006-4-20 terry.zhang Create com.szmx.tlms.supplychain.service.impl.LogSupVendorServiceImpl
* =============================================
*/
package com.szmx.tlms.supplychain.service.impl;
import com.szmx.framework.base.service.impl.BaseServiceImpl;
import com.szmx.framework.base.model.Pagination;
import com.szmx.tlms.supplychain.service.LogSupVendorService;
import com.szmx.tlms.supplychain.dao.LogSupVendorDAO;
import com.szmx.tlms.supplychain.model.LogSupVendor;
import com.szmx.tlms.TlmsServiceException;
/**
* @author terry.zhang
* @since 2006-4-20
*/
public class LogSupVendorServiceImpl extends BaseServiceImpl implements LogSupVendorService {
private LogSupVendorDAO logSupVendorDAO;
/**
* @see com.szmx.tlms.supplychain.service.LogSupVendorService#setLogSupVendorDAO(com.szmx.tlms.supplychain.dao.LogSupVendorDAO)
*/
public void setLogSupVendorDAO(LogSupVendorDAO logSupVendorDAO) {
this.logSupVendorDAO=logSupVendorDAO;
}
/**
* @see com.szmx.tlms.supplychain.service.LogSupVendorService#getLogSupVendors(com.szmx.framework.base.model.Pagination, com.szmx.tlms.supplychain.model.LogSupVendor)
*/
public Pagination getLogSupVendors(Pagination pageObj, LogSupVendor logSupVendor) throws TlmsServiceException {
return this.logSupVendorDAO.getLogSupVendors(pageObj,logSupVendor);
}
/**
* @see com.szmx.tlms.supplychain.service.LogSupVendorService#getLogSupVendor(String)
*/
public LogSupVendor getLogSupVendor(String id) throws TlmsServiceException {
return (LogSupVendor)this.logSupVendorDAO.getObject(LogSupVendor.class,Long.valueOf(id));
}
/**
* @see com.szmx.tlms.supplychain.service.LogSupVendorService#saveLogSupVendor(com.szmx.tlms.supplychain.model.LogSupVendor)
*/
public void saveLogSupVendor(LogSupVendor logSupVendor) throws TlmsServiceException {
this.logSupVendorDAO.saveObject(logSupVendor);
}
/**
* @see com.szmx.tlms.supplychain.service.LogSupVendorService#removeAllLogSupVendors(String[])
*/
public void removeAllLogSupVendors(String[] id) throws TlmsServiceException {
for(int i=0;i<id.length;i++)this.logSupVendorDAO.removeObject(LogSupVendor.class,Long.valueOf(id[i]));
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?