|
|
|
|
DxNormalDataManager dpdicdao = DaoCreator.getNormalDao(this,"dpdicdao");
dpdicdao.setNormalParameters(new Object[]{MainUtil.getCurCompanyID()});
dpdicdao.reloadByDictionary("DPTNAME", "DPTID");
DxNormalDataManager yztlxdic = DaoCreator.getNormalDao(this,"yztlxdic");
yztlxdic.reloadByDictionary("MC", "BH");
DxNormalDataManager hzinfozyfwdic = DaoCreator.getNormalDao(this,"hzinfozyfwdic");
hzinfozyfwdic.reloadByDictionary("MC", "BH");
DxNormalDataManager zyzcyyfPopDao = DaoCreator.getNormalDao(this,"zyzcyyfPopDao");
zyzcyyfPopDao.setNormalParameters(new Object[]{MainUtil.getCurCompanyID(),"%","%","%"});
zyzcyyfPopDao.reload();
DxNormalDataManager yyzylcDic = DaoCreator.getNormalDao(this,"yyzylcDic");
yyzylcDic.setNormalParameters(new Object[]{MainUtil.getCurCompanyID()});
yyzylcDic.reload();
DxNormalDataManager ypzyylDao = DaoCreator.getNormalDao(this,"ypzyylDao");
ypzyylDao.setNormalParameters(new Object[]{MainUtil.getCurCompanyID()});
ypzyylDao.reload();
DxNormalDataManager zyzcypcPopDao = DaoCreator.getNormalDao(this,"zyzcypcPopDao");
zyzcypcPopDao.setNormalParameters(new Object[]{MainUtil.getCurCompanyID(),"%","%","%"});
zyzcypcPopDao.reload();
DxNormalDataManager gzzZcyJxTypeDao = DaoCreator.getNormalDao(this,"gzzZcyJxTypeDao");
gzzZcyJxTypeDao.setNormalParameters(new Object[]{MainUtil.getCurCompanyID()});
gzzZcyJxTypeDao.reload();
//医嘱大类
DxNormalDataManager hisyzdldao=DaoCreator.getNormalDao(this,"hisyzdldao");
hisyzdldao.setNormalParameters(new Object[]{MainUtil.getCurCompanyID()});
hisyzdldao.reloadByDictionary("MC", "BH");
DxNormalDataManager yyyfDic = DaoCreator.getNormalDao(this,"yyyfDic");
yyyfDic.setNormalParameters(new Object[]{MainUtil.getCurCompanyID()});
yyyfDic.reloadByDictionary("MC", "BM");
DxNormalDataManager jgrydicdao = DaoCreator.getNormalDao(this,"jgrydicdao");
jgrydicdao.setNormalParameters(new Object[]{MainUtil.getCurCompanyID()});
jgrydicdao.reloadByDictionary("NAME", "USERACCOUNT");
DxNormalDataManager hisyzxdic = DaoCreator.getNormalDao(this,"hisyzxdic");
hisyzxdic.setNormalParameters(new Object[]{MainUtil.getCurCompanyID()});
hisyzxdic.reloadByDictionary("MC", "BM");
DxNormalDataManager yylcDic = DaoCreator.getNormalDao(this,"yylcDic");
yylcDic.setNormalParameters(new Object[]{MainUtil.getCurCompanyID()});
yylcDic.reloadByDictionary("MC", "BM");
DxNormalDataManager dwdicdao = DaoCreator.getNormalDao(this,"dwdicdao");
dwdicdao.reloadByDictionary("MC", "BH");
DxNormalDataManager yypcDic = DaoCreator.getNormalDao(this,"yypcDic");
yypcDic.setNormalParameters(new Object[]{MainUtil.getCurCompanyID()});
yypcDic.reloadByDictionary("MC", "BM");
DxNormalDataManager sfgcdicdao = DaoCreator.getNormalDao(this,"sfgcdicdao");
sfgcdicdao.reload();
DxNormalDataManager sfdao = DaoCreator.getNormalDao(this,"sfdao");
sfdao.reloadByDictionary("MC", "BH");
//医嘱子类
DxNormalDataManager hisyzzldao=DaoCreator.getNormalDao(this,"hisyzzldao");
hisyzzldao.setNormalParameters(new Object[]{MainUtil.getCurCompanyID()});
hisyzzldao.reloadByDictionary("MC", "BH");
DxDataGridPopGridTextCell cell = (DxDataGridPopGridTextCell) dbgrid2.getColumn("YZMC").getCellRender();
cell.addColumnDictionary("YZZL", hisyzzldao);
cell.addColumnDictionary("YZDW", dwdicdao);
cell.addColumnDictionary("JBDW", dwdicdao);
cell.addColumnDictionary("DPTID", dpdicdao);
cell.addColumnDictionary("LMT_USED_FLAG", sfdao); |