📄 getbiaodaninf.java
字号:
package com.mdcl.mocha.jlcmcc.interfaceforWS;
import java.util.List;
import com.mdcl.mocha.bpm.sdk.ServiceManager;
import com.mdcl.mocha.bpm.sdk.boins.BoInsException;
import com.mdcl.mocha.bpm.sdk.boins.entity.IBoInstance;
import com.mdcl.mocha.bpm.sdk.boins.service.IBoInstanceService;
import com.mdcl.mocha.bpm.sdk.document.DocumentException;
import com.mdcl.mocha.bpm.sdk.document.entity.IContent;
import com.mdcl.mocha.bpm.sdk.document.entity.IDocAttachment;
import com.mdcl.mocha.bpm.sdk.document.entity.IDocument;
import com.mdcl.mocha.bpm.sdk.document.entity.IOpinion;
import com.mdcl.mocha.bpm.sdk.document.service.IOpinionService;
import com.mdcl.mocha.bpm.sdk.license.ExpiryException;
import com.mdcl.mocha.bpm.sdk.license.LicenseException;
import com.mdcl.mocha.bpm.sdk.license.NotFoundModuleException;
import com.mdcl.mocha.bpm.sdk.osm.IOrgMgmtService;
import com.mdcl.mocha.bpm.sdk.osm.OsmException;
import com.mdcl.mocha.bpm.sdk.osm.entity.AccountsBean;
import com.mdcl.mocha.bpm.sdk.osm.entity.EmpBean;
import com.mdcl.mocha.bpm.sdk.osm.entity.OrgBean;
import com.mdcl.mocha.jlcmcc.interfaceforWS.FTPforYS;
import com.mdcl.mocha.jlcmcc.userinf.GetUserInf;
/**
* <strong>Title : GetBiaoDanInf<br></strong>
* <strong>Description : </strong>吉林移动BPM获得表单信息类<br>
* <strong>Create on : 2007-9-23<br></strong>
* <p>
* <strong>Copyright (C) Mocha Software Co.,Ltd.<br></strong>
* <p>
* @author liulf@mochasoft.com.cn<br>
* @version <strong>Mocha BPM v6.2</strong><br>
* <br>
* <strong>修改历史:</strong><br>
* 修改人 修改日期 修改描述<br>
* -------------------------------------------<br>
* <br>
* <br>
*/
public class GetBiaoDanInf {
private BiaoDianBean BDBean=new BiaoDianBean();
/**
*
* 文档实例获得表单所有信息
*
* @param t_Doc
* <i>文档实例</i>
*/
private void getPuInf(IDocument t_Doc){
IContent t_ICo=null;
//承办部门编号
try{
t_ICo=t_Doc.getContent("chengbanbumen");
BDBean.chengbanbumenID=this.getBuMenID(t_ICo.getItemValue());
//System.out.println("----------### chengbanbumenID="+BDBean.chengbanbumenID+" ###--------");
}catch(Exception e){}
//承办部门
try{
t_ICo=t_Doc.getContent("chengbanbumen");
BDBean.chengbanbumen=this.getBuMenName(t_ICo.getItemValue());
//System.out.println("----------### chengbanbumen="+BDBean.chengbanbumen+" ###--------");
}catch(Exception e){}
//起草日期
try{
t_ICo=t_Doc.getContent("qicaoshijian");
//System.out.println("----------### qicaoshijian="+t_ICo.getItemValue()+" ###--------");
BDBean.qicaoshijian=t_ICo.getItemValue();
if(BDBean.qicaoshijian==null)BDBean.qicaoshijian=" ";
}catch(Exception e){}
//承办人联系电话
try{
t_ICo=t_Doc.getContent("lianxidianhua");
//System.out.println("----------### lianxidianhua="+t_ICo.getItemValue()+" ###--------");
BDBean.lianxidianhua=t_ICo.getItemValue();
if(BDBean.lianxidianhua==null)BDBean.lianxidianhua=" ";
}catch(Exception e){}
//是否为事实合同
try{
t_ICo=t_Doc.getContent("shishihetong");
//System.out.println("----------### shishihetong="+t_ICo.getItemValue()+" ###--------");
BDBean.shishihetong=t_ICo.getItemValue();
if(BDBean.shishihetong==null)BDBean.shishihetong=" ";
}catch(Exception e){}
//紧急程度
try{
t_ICo=t_Doc.getContent("jinjichengdu");
//System.out.println("----------### jinjichengdu="+t_ICo.getItemValue()+" ###--------");
BDBean.jinjichengdu=t_ICo.getItemValue();
if(BDBean.jinjichengdu==null)BDBean.jinjichengdu=" ";
}catch(Exception e){}
//合同编号
try{
t_ICo=t_Doc.getContent("hetongbianhao");
//System.out.println("----------### hetongbianhao="+t_ICo.getItemValue()+" ###--------");
BDBean.hetongbianhao=t_ICo.getItemValue();
if(BDBean.hetongbianhao==null)BDBean.hetongbianhao=" ";
}catch(Exception e){}
//已付金额
try{
t_ICo=t_Doc.getContent("yifujine");
//System.out.println("----------### yifujine="+t_ICo.getItemValue()+" ###--------");
BDBean.yifujine=t_ICo.getItemValue();
if(BDBean.yifujine==null)BDBean.yifujine=" ";
}catch(Exception e){}
//合同名称
try{
t_ICo=t_Doc.getContent("hetongmingcheng");
//System.out.println("----------### hetongmingcheng="+t_ICo.getItemValue()+" ###--------");
BDBean.hetongmingcheng=t_ICo.getItemValue();
if(BDBean.hetongmingcheng==null)BDBean.hetongmingcheng=" ";
}catch(Exception e){}
//到货日期
try{
t_ICo=t_Doc.getContent("daohuoriqi");
//System.out.println("----------### daohuoriqi="+t_ICo.getItemValue()+" ###--------");
BDBean.daohuoriqi=t_ICo.getItemValue();
if(BDBean.daohuoriqi==null)BDBean.daohuoriqi=" ";
}catch(Exception e){}
//合同大类
try{
t_ICo=t_Doc.getContent("daleivalue");
//System.out.println("----------### hetongdalei="+t_ICo.getItemValue()+" ###--------");
BDBean.hetongdalei=t_ICo.getItemValue();
if(BDBean.hetongdalei==null)BDBean.hetongdalei=" ";
}catch(Exception e){}
//合同小类
try{
t_ICo=t_Doc.getContent("xiaoleitext");
//System.out.println("----------### hetongxiaolei="+t_ICo.getItemValue()+" ###--------");
BDBean.hetongxiaolei=t_ICo.getItemValue();
if(BDBean.hetongxiaolei==null)BDBean.hetongxiaolei=" ";
}catch(Exception e){}
//合同小类ID
try{
t_ICo=t_Doc.getContent("xiaoleivalue");
//System.out.println("----------### xiaoleivalue="+t_ICo.getItemValue()+" ###--------");
BDBean.xiaoleivalue=t_ICo.getItemValue();
if(BDBean.xiaoleivalue==null)BDBean.xiaoleivalue=" ";
}catch(Exception e){}
//合同范本
try{
t_ICo=t_Doc.getContent("fanbenvalue");
//System.out.println("----------### hiddenhetongfanben="+t_ICo.getItemValue()+" ###--------");
BDBean.hiddenhetongfanben=t_ICo.getItemValue();
if(BDBean.hiddenhetongfanben==null)BDBean.hiddenhetongfanben=" ";
}catch(Exception e){}
//付款条件及支付方式
try{
t_ICo=t_Doc.getContent("fukuantiaojian");
//System.out.println("----------### fukuantiaojian="+t_ICo.getItemValue()+" ###--------");
BDBean.fukuantiaojian=t_ICo.getItemValue();
if(BDBean.fukuantiaojian==null)BDBean.fukuantiaojian=" ";
}catch(Exception e){}
//合同金额
try{
t_ICo=t_Doc.getContent("hetongjine");
//System.out.println("----------### hetongjine = "+t_ICo.getItemValue()+" ###--------");
BDBean.hetongjine=t_ICo.getItemValue();
if(BDBean.hetongjine==null)BDBean.hetongjine=" ";
}catch(Exception e){}
//货币类型
try{
t_ICo=t_Doc.getContent("huobileixing");
//System.out.println("----------### huobileixing = "+t_ICo.getItemValue()+" ###--------");
BDBean.huobileixing=t_ICo.getItemValue();
if(BDBean.huobileixing==null)BDBean.huobileixing=" ";
}catch(Exception e){}
//项目名称
try{
t_ICo=t_Doc.getContent("chengbenxiangmumingcheng");
//System.out.println("----------### chengbenxiangmumingcheng = "+t_ICo.getItemValue()+" ###--------");
BDBean.chengbenxiangmumingcheng=t_ICo.getItemValue();
if(BDBean.chengbenxiangmumingcheng==null)BDBean.chengbenxiangmumingcheng=" ";
}catch(Exception e){}
//预算编号
try{
t_ICo=t_Doc.getContent("chengbenyusuanbianhao");
//System.out.println("----------### chengbenyusuanbianhao = "+t_ICo.getItemValue()+" ###--------");
BDBean.chengbenyusuanbianhao=t_ICo.getItemValue();
if(BDBean.chengbenyusuanbianhao==null)BDBean.chengbenyusuanbianhao=" ";
}catch(Exception e){}
//合同对方当事人
try{
t_ICo=t_Doc.getContent("duifangdangshiren");
//System.out.println("----------### duifangdangshiren = "+t_ICo.getItemValue()+" ###--------");
BDBean.duifangdangshiren=t_ICo.getItemValue();
if(BDBean.duifangdangshiren==null)BDBean.duifangdangshiren=" ";
}catch(Exception e){}
//联系人
try{
t_ICo=t_Doc.getContent("lianxiren");
//System.out.println("----------### lianxiren = "+t_ICo.getItemValue()+" ###--------");
BDBean.lianxiren=t_ICo.getItemValue();
if(BDBean.lianxiren==null)BDBean.lianxiren=" ";
}catch(Exception e){}
//开户行
try{
t_ICo=t_Doc.getContent("kaihuhang");
//System.out.println("----------### kaihuhang = "+t_ICo.getItemValue()+" ###--------");
BDBean.kaihuhang=t_ICo.getItemValue();
if(BDBean.kaihuhang==null)BDBean.kaihuhang=" ";
}catch(Exception e){}
//联系电话
try{
t_ICo=t_Doc.getContent("duifanglianxidianhua");
//System.out.println("----------### duifanglianxidianhua = "+t_ICo.getItemValue()+" ###--------");
BDBean.duifanglianxidianhua=t_ICo.getItemValue();
if(BDBean.duifanglianxidianhua==null)BDBean.duifanglianxidianhua=" ";
}catch(Exception e){}
//帐 户
try{
t_ICo=t_Doc.getContent("zhanghu");
//System.out.println("----------### zhanghu = "+t_ICo.getItemValue()+" ###--------");
BDBean.zhanghu=t_ICo.getItemValue();
if(BDBean.zhanghu==null)BDBean.zhanghu=" ";
}catch(Exception e){}
//本方履行摘要
try{
t_ICo=t_Doc.getContent("benfanglvxingzhaiyao");
//System.out.println("----------### benfanglvxingzhaiyao = "+t_ICo.getItemValue()+" ###--------");
BDBean.benfanglvxingzhaiyao=t_ICo.getItemValue();
if(BDBean.benfanglvxingzhaiyao==null)BDBean.benfanglvxingzhaiyao=" ";
}catch(Exception e){}
//对方履行摘要
try{
t_ICo=t_Doc.getContent("duifanglvxingzhaiyao");
//System.out.println("----------### duifanglvxingzhaiyao = "+t_ICo.getItemValue()+" ###--------");
BDBean.duifanglvxingzhaiyao=t_ICo.getItemValue();
if(BDBean.duifanglvxingzhaiyao==null)BDBean.duifanglvxingzhaiyao=" ";
}catch(Exception e){}
//施印人
try{
t_ICo=t_Doc.getContent("shiyinren");
//System.out.println("----------### shiyinren = "+t_ICo.getItemValue()+" ###--------");
BDBean.shiyinren=t_ICo.getItemValue();
if(BDBean.shiyinren==null)BDBean.shiyinren=" ";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -