资源简介
eas服务接口eas服务接口eas服务接口eas服务接口eas服务接口eas服务接口eas服务接口eas服务接口eas服务接口eas服务接口
代码片段和文件信息
package com.kingdee.eas.st.weigh.app;
import org.apache.log4j.Logger;
import javax.ejb.*;
import java.rmi.RemoteException;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.kingdee.bos.*;
import com.kingdee.bos.util.BOSobjectType;
import com.kingdee.bos.util.BOSUuid;
import com.kingdee.bos.metadata.ImetaDataPK;
import com.kingdee.bos.metadata.rule.RuleExecutor;
import com.kingdee.bos.metadata.metaDataPK;
//import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.bos.framework.ejb.AbstractEntityControllerBean;
import com.kingdee.bos.framework.ejb.AbstractBizControllerBean;
//import com.kingdee.bos.dao.IobjectPK;
import com.kingdee.bos.dao.IobjectValue;
import com.kingdee.bos.dao.IobjectCollection;
import com.kingdee.bos.service.ServiceContext;
import com.kingdee.bos.service.IServiceContext;
import com.kingdee.eas.rptclient.newrpt.util.MsgBox;
import com.kingdee.eas.st.weigh.WeighInfo;
import com.kingdee.eas.util.app.DbUtil;
import com.kingdee.jdbc.rowset.IRowSet;
public class MytestFacadeControllerBean extends AbstractMytestFacadeControllerBean
{
private static Logger logger =
Logger.getLogger(“com.kingdee.eas.st.weigh.app.MytestFacadeControllerBean“);
protected String _sayHello(Context ctx String enterName) throws BOSException
{
return “good night:“ + enterName ;
}
//获取物料辅助属性
protected IRowSet _getMaterialAss(Context ctx String sqlfilter) throws BOSException
{
IRowSet rs=DbUtil.executeQuery(ctx“select fidfnumberftype from T_BD_AsstAttrValue “ + sqlfilter);
return rs;
}
//获取物料的辅助属性对应的理论重量
protected IRowSet _getMaterialTheorgweigh(Context ctx String sqlFilter) throws BOSException
{
IRowSet rs=DbUtil.executeQuery(ctx“select * from T_CUS_MATheoryWeighEntry “ + sqlFilter);
return rs;
}
//获取磅秤资料
protected IRowSet _getBalancebase(Context ctx String sqlFilter) throws BOSException
{
IRowSet rs=DbUtil.executeQuery(ctx“select * from T_ST_Balancebase “ + sqlFilter);
return rs;
}
//获取用户档案
protected IRowSet _getUser(Context ctx String sqlFilter) throws BOSException
{
IRowSet rs=DbUtil.executeQuery(ctx“ select * from t_pm_user “ + sqlFilter);
return rs;
}
//获取物料档案
protected IRowSet _getMaterial(Context ctx String sqlFilter) throws BOSException
{
IRowSet rs=DbUtil.executeQuery(ctx“select * from t_bd_material “ + sqlFilter);
return rs;
}
//获取计量单位
protected IRowSet _getMaterialUnit(Context ctx String sqlFilter) throws BOSException
{
IRowSet rs=DbUtil.executeQuery(ctx“select * from T_BD_MeasureUnit “ + sqlFilter);
return rs;
}
//获取检斤类型
protected IRowS
- 上一篇:java实现大周期线性反馈移位寄存器
- 下一篇:简单的JAVA日记本程序源代码
评论
共有 条评论