@ -1063,26 +1063,6 @@ public class YbTest extends WatSDIWindow {
}
public void syjgAction ( ) {
// syjgHzxxAction();
// sdgghmxbAction();
// sdgmhzjzmxAction();
// sdgMjzcfzbAction();
// sdgMjzcfmxbAction();
// sdgMjzQtcfmxbAction();
// sdgMjzFymxbAction();
// sdgMjzJsmxbAction();
// sdgMjzJsZffsmxbAction();
// sdgMjzZdmxbAction();
// sjgRydjmxbAction();
// sdgZycfzbAction();
// sdgZycfmxbAction();
// sdgZyQtcfmxbAction();
// sdgZyFymxbAction();
// sdgZyCydjmxbAction();
// sdgZyJsmxbAction();
// sdgZyJsZffsmxbAction();
// sdgZyZdmxbAction();
DxNormalDataManager yljgusedao = new DxNormalDataManager ( "select PKEY,JGMC from MAIN_YLJG where ZT='1' " ) ;
yljgusedao . reload ( ) ;
Calendar begin = Calendar . getInstance ( ) ;
@ -1090,63 +1070,46 @@ public class YbTest extends WatSDIWindow {
begin . set ( Calendar . MINUTE , 0 ) ;
begin . set ( Calendar . SECOND , 0 ) ;
begin . add ( Calendar . DATE , - 1 ) ;
//Timestamp biginTimestamp = new Timestamp(begin.getTimeInMillis());
Timestamp biginTimestamp = new Timestamp ( Long . valueOf ( "17342783 99000" ) ) ;
// Timestamp biginTimestamp = new Timestamp(begin.getTimeInMillis());
Timestamp biginTimestamp = new Timestamp ( Long . valueOf ( "17354879 99000" ) ) ;
Calendar end = Calendar . getInstance ( ) ;
end . set ( Calendar . HOUR_OF_DAY , 23 ) ;
end . set ( Calendar . MINUTE , 59 ) ;
end . set ( Calendar . SECOND , 59 ) ;
end . add ( Calendar . DATE , - 1 ) ;
//Timestamp enTimestamp = new Timestamp(end.getTimeInMillis());
Timestamp enTimestamp = new Timestamp ( Long . valueOf ( "1734451199000" ) ) ;
// for(int i=0;i<yljgusedao.getRowCount();i++){
//String companyid=MainUtil.getCurCompanyID();
// String companyid="C903C18E-27EB-A242-6306-E301CB3E6AC9";
// syjgHzxxAction(companyid,biginTimestamp,enTimestamp);
// sdgghmxbAction(companyid, biginTimestamp, enTimestamp);
// sdgmhzjzmxAction(companyid, biginTimestamp, enTimestamp);
// sdgMjzcfzbAction(companyid, biginTimestamp, enTimestamp);
// sdgMjzcfmxbAction(companyid, biginTimestamp, enTimestamp);
// sdgMjzQtcfmxbAction(companyid, biginTimestamp, enTimestamp);
// sdgMjzFymxbAction(companyid, biginTimestamp, enTimestamp);
// sdgMjzJsmxbAction(companyid, biginTimestamp, enTimestamp);
// sdgMjzJsZffsmxbAction(companyid, biginTimestamp, enTimestamp);
// sdgMjzZdmxbAction(companyid, biginTimestamp, enTimestamp);
// sjgRydjmxbAction(companyid, biginTimestamp, enTimestamp);
// sdgZycfzbAction(companyid, biginTimestamp, enTimestamp);
// sdgZycfmxbAction(companyid, biginTimestamp, enTimestamp);
// sdgZyQtcfmxbAction(companyid, biginTimestamp, enTimestamp);
// sdgZyFymxbAction(companyid, biginTimestamp, enTimestamp);1
// sdgZyCydjmxbAction(companyid, biginTimestamp, enTimestamp);
// sdgZyJsmxbAction(companyid, biginTimestamp, enTimestamp);
// sdgZyJsZffsmxbAction(companyid, biginTimestamp, enTimestamp);
// sdgZyZdmxbAction(companyid, biginTimestamp, enTimestamp);
// }
// Timestamp enTimestamp = new Timestamp(end.getTimeInMillis());
Timestamp enTimestamp = new Timestamp ( Long . valueOf ( "1735747199000" ) ) ;
List < DxDataManager > dataList = new ArrayList < DxDataManager > ( ) ;
String message = "" ;
String companyid = "C903C18E-27EB-A242-6306-E301CB3E6AC9" ;
// syjgHzxxAction(companyid,biginTimestamp,enTimestamp);
// sdgghmxbAction(companyid, biginTimestamp, enTimestamp);
// sdgmhzjzmxAction(companyid, biginTimestamp, enTimestamp);
// sdgMjzcfzbAction(companyid, biginTimestamp, enTimestamp);
// sdgMjzcfmxbAction(companyid, biginTimestamp, enTimestamp);
// sdgMjzQtcfmxbAction(companyid, biginTimestamp, enTimestamp);
sdgMjzFymxbAction ( companyid , biginTimestamp , enTimestamp ) ;
// sdgMjzJsmxbAction(companyid, biginTimestamp, enTimestamp);
// sdgMjzJsZffsmxbAction(companyid, biginTimestamp, enTimestamp);
// sdgMjzZdmxbAction(companyid, biginTimestamp, enTimestamp);
// sjgRydjmxbAction(companyid, biginTimestamp, enTimestamp);
// sdgZycfzbAction(companyid, biginTimestamp, enTimestamp);
// sdgZycfmxbAction(companyid, biginTimestamp, enTimestamp);
// sdgZyQtcfmxbAction(companyid, biginTimestamp, enTimestamp);
sdgZyFymxbAction ( companyid , biginTimestamp , enTimestamp ) ;
// sdgZyCydjmxbAction(companyid, biginTimestamp, enTimestamp);
// sdgZyJsmxbAction(companyid, biginTimestamp, enTimestamp);
// sdgZyJsZffsmxbAction(companyid, biginTimestamp, enTimestamp);
// sdgZyZdmxbAction(companyid, biginTimestamp, enTimestamp);
syjgHzxxAction ( companyid , biginTimestamp , enTimestamp ) ;
sdgghmxbAction ( companyid , biginTimestamp , enTimestamp ) ;
sdgmhzjzmxAction ( companyid , biginTimestamp , enTimestamp ) ;
sdgMjzcfzbAction ( companyid , biginTimestamp , enTimestamp ) ;
sdgMjzcfmxbAction ( companyid , biginTimestamp , enTimestamp ) ;
sdgMjzQtcfmxbAction ( companyid , biginTimestamp , enTimestamp ) ;
sdgMjzFymxbAction ( companyid , biginTimestamp , enTimestamp ) ;
sdgMjzJsmxbAction ( companyid , biginTimestamp , enTimestamp ) ;
sdgMjzJsZffsmxbAction ( companyid , biginTimestamp , enTimestamp ) ;
sdgMjzZdmxbAction ( companyid , biginTimestamp , enTimestamp ) ;
sjgRydjmxbAction ( companyid , biginTimestamp , enTimestamp ) ;
sdgZycfzbAction ( companyid , biginTimestamp , enTimestamp ) ;
sdgZycfmxbAction ( companyid , biginTimestamp , enTimestamp ) ;
sdgZyQtcfmxbAction ( companyid , biginTimestamp , enTimestamp ) ;
sdgZyFymxbAction ( companyid , biginTimestamp , enTimestamp ) ;
sdgZyCydjmxbAction ( companyid , biginTimestamp , enTimestamp ) ;
sdgZyJsmxbAction ( companyid , biginTimestamp , enTimestamp ) ;
sdgZyJsZffsmxbAction ( companyid , biginTimestamp , enTimestamp ) ;
sdgZyZdmxbAction ( companyid , biginTimestamp , enTimestamp ) ;
}
public static DxNormalDataManager setYwdzSource ( DxNormalDataManager dao ) {
DxProxoolDataSourceFactory ds = new DxProxoolDataSourceFactory ( "mysql_lei" ) ;
dao . setDataSourceFactory ( ds ) ;
return dao ;
}
public void syjgHzxxAction ( String companyid , Timestamp biginTimestamp , Timestamp enTimestamp ) {
//his_患者信息
@ -1159,7 +1122,7 @@ public class YbTest extends WatSDIWindow {
sjghzjbxxbdao . reload ( ) ;
DxNormalDataManager ybjgcsdao = DaoCreator . getNormalDao ( "ybjgcsdao" ) ;
ybjgcsdao . reload ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
ybjgcsdao . reload ( new Object [ ] { companyid } ) ;
SimpleDateFormat sdf2 = new SimpleDateFormat ( "yyyy-MM-dd" ) ;
SimpleDateFormat sdft = new SimpleDateFormat ( "yyyy-MM-dd hh:mm:ss" ) ;
@ -1218,7 +1181,7 @@ public class YbTest extends WatSDIWindow {
}
sjghzjbxxbdao . setColumnValue ( "LXDH_LBDM" , LXDH_LBDM ) ; //联系电话-类别代码
sjghzjbxxbdao . setColumnValue ( "LXDH_LB" , LXDH_LB ) ; //联系电话-类别
int [ ] arr = MainUtil . getAgeIntArray ( hzinfoTestDao . getColumnValueAsLong ( i , "CSRQ" ) ) ;
int [ ] arr = getAgeIntArray ( hzinfoTestDao . getColumnValueAsLong ( i , "CSRQ" ) ) ;
sjghzjbxxbdao . setColumnValue ( "NLS" , arr [ 0 ] ) ; //年龄(岁)
sjghzjbxxbdao . setColumnValue ( "NLY" , arr [ 1 ] ) ; //年龄(月)
// sjghzjbxxbdao.setColumnValue("NLT", arr[2]);//年龄(天)
@ -1232,17 +1195,89 @@ public class YbTest extends WatSDIWindow {
}
if ( sjghzjbxxbdao . commit ( ) ) {
System . out . println ( "====【患者信息TB_HZXX】更新成功==" ) ;
}
}
}
/ * *
* 返回年龄数组
* @param lBirthday 出生日期Long值
* @return 年龄整数数组 { 年 , 月 , 日 }
* /
public static int [ ] getAgeIntArray ( Long lBirthday ) {
try {
if ( lBirthday = = 0L ) {
//输入lBirthday为0L时表示未输入
throw new Exception ( "输入日期错误" ) ;
}
Date dateBirthday = new Date ( lBirthday ) ;
return getAgeIntArray ( dateBirthday , null ) ;
} catch ( Exception e ) {
return new int [ ] { 0 , 0 , 0 } ;
}
}
/ * *
* 返回年龄数组
* @param dateBirthday 出生日期
* @param dateCalculate 计算日期 如传入值为NULL , 则表示当时 。
* @return 年龄整数数组 { 年 , 月 , 日 }
* /
public static int [ ] getAgeIntArray ( Date dateBirthday , Date dateCalculate ) {
//年龄数组
int [ ] aIntAge = new int [ ] { 0 , 0 , 0 } ;
Calendar calAge = Calendar . getInstance ( ) ;
if ( dateCalculate ! = null ) {
calAge . setTime ( dateCalculate ) ;
}
aIntAge [ 0 ] = calAge . get ( Calendar . YEAR ) ;
aIntAge [ 1 ] = calAge . get ( Calendar . MONTH ) + 1 ;
aIntAge [ 2 ] = calAge . get ( Calendar . DAY_OF_MONTH ) ;
//出生日期数组
int [ ] aIntBirth = new int [ ] { 0 , 0 , 0 } ;
Calendar calBirthday = Calendar . getInstance ( ) ;
if ( dateBirthday ! = null ) {
calBirthday . setTime ( dateBirthday ) ;
}
aIntBirth [ 0 ] = calBirthday . get ( Calendar . YEAR ) ;
aIntBirth [ 1 ] = calBirthday . get ( Calendar . MONTH ) + 1 ;
aIntBirth [ 2 ] = calBirthday . get ( Calendar . DAY_OF_MONTH ) ;
//进行加减计算
aIntAge [ 0 ] - = aIntBirth [ 0 ] ;
aIntAge [ 1 ] - = aIntBirth [ 1 ] ;
aIntAge [ 2 ] - = aIntBirth [ 2 ] ;
//进行日补齐计算
if ( aIntAge [ 2 ] < 0 ) {
Calendar calCal = Calendar . getInstance ( ) ;
if ( dateCalculate ! = null ) {
calCal . setTime ( dateCalculate ) ;
}
calCal . set ( Calendar . DAY_OF_MONTH , 1 ) ;
calCal . set ( Calendar . DAY_OF_YEAR , calCal . get ( Calendar . DAY_OF_YEAR ) - 1 ) ;
aIntAge [ 2 ] + = calCal . get ( Calendar . DAY_OF_MONTH ) ;
aIntAge [ 1 ] - - ;
}
//进行月补齐计算
if ( aIntAge [ 1 ] < 0 ) {
aIntAge [ 1 ] + = 12 ;
aIntAge [ 0 ] - - ;
}
//进行年补齐计算
if ( aIntAge [ 0 ] < 0 ) {
aIntAge [ 0 ] = 0 ;
aIntAge [ 1 ] = 0 ;
aIntAge [ 2 ] = 0 ;
}
return aIntAge ;
}
/* 4.3.1.1挂号明细表 */
public void sdgghmxbAction ( String companyid , Timestamp biginTimestamp , Timestamp enTimestamp ) {
//his_挂号明细表
DxNormalDataManager mzghJzGhbAllDao = DaoCreator . getNormalDao ( "sjg_mzghJzGhbAllDao" ) ;
mzghJzGhbAllDao . reload ( new Object [ ] { companyid , biginTimestamp , enTimestamp } ) ;
DxNormalDataManager mzsffpzbAllDao = DaoCreator . getNormalDao ( "mzsffpzbAllDao" ) ;
mzsffpzbAllDao . reload ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
mzsffpzbAllDao . reload ( new Object [ ] { companyid } ) ;
//中心_挂号明细表
DxNormalDataManager sdgghmxbdao = DaoCreator . getNormalDao ( "sdgghmxbdao" ) ;
@ -1250,15 +1285,17 @@ public class YbTest extends WatSDIWindow {
sdgghmxbdao . reload ( ) ;
DxNormalDataManager ybjgcsdao = DaoCreator . getNormalDao ( "ybjgcsdao" ) ;
ybjgcsdao . reload ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
ybjgcsdao . reload ( new Object [ ] { companyid } ) ;
SimpleDateFormat sdf2 = new SimpleDateFormat ( "yyyy-MM-dd" ) ;
SimpleDateFormat sdft = new SimpleDateFormat ( "yyyy-MM-dd hh:mm:ss" ) ;
DxNormalDataManager ksdic = DaoCreator . getNormalDao ( this , "ksdic" ) ;
DxNormalDataManager ksdic = DaoCreator . getNormalDao ( "ksdic" ) ;
ksdic . setNormalParameters ( new Object [ ] { companyid } ) ;
ksdic . reloadByDictionary ( "DPTNAME" , "DPTID" ) ;
DxNormalDataManager jgrydicdao = DaoCreator . getNormalDao ( "jgrydicdao" ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
jgrydicdao . reloadByDictionary ( "NAME" , "USERACCOUNT" ) ;
long datatime = System . currentTimeMillis ( ) ;
for ( int i = 0 ; i < mzghJzGhbAllDao . getRowCount ( ) ; i + + ) {
@ -1315,6 +1352,7 @@ public class YbTest extends WatSDIWindow {
if ( sdgghmxbdao . commit ( ) ) {
System . out . println ( "====【挂号明细表TB_MZ_GHMXB】更新成功==" ) ;
}
}
/*4.3.1.2门急诊就诊明细表*/
@ -1329,21 +1367,21 @@ public class YbTest extends WatSDIWindow {
sjgmjzjzmxbdao . reload ( ) ;
DxNormalDataManager ybjgcsdao = DaoCreator . getNormalDao ( "ybjgcsdao" ) ;
ybjgcsdao . reload ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
ybjgcsdao . reload ( new Object [ ] { companyid } ) ;
SimpleDateFormat sdf2 = new SimpleDateFormat ( "yyyy-MM-dd" ) ;
SimpleDateFormat sdft = new SimpleDateFormat ( "yyyy-MM-dd hh:mm:ss" ) ;
DxNormalDataManager dpdicdao = DaoCreator . getNormalDao ( "dpdicdao" ) ;
dpdicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
dpdicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
dpdicdao . reloadByDictionary ( "DPTNAME" , "DPTID" ) ;
DxNormalDataManager jgrydicdao = DaoCreator . getNormalDao ( "jgrydicdao" ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
jgrydicdao . reloadByDictionary ( "NAME" , "USERACCOUNT" ) ;
long datatime = System . currentTimeMillis ( ) ;
DxNormalDataManager gzzMzQtjbzdDao = DaoCreator . getNormalDao ( this , "gzzMzQtjbzdDao" ) ;
gzzMzQtjbzdDao . reload ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
DxNormalDataManager gzzMzQtjbzdDao = DaoCreator . getNormalDao ( "gzzMzQtjbzdDao" ) ;
gzzMzQtjbzdDao . reload ( new Object [ ] { companyid } ) ;
for ( int i = 0 ; i < sjgmjzjzmxbdao_his . getRowCount ( ) ; i + + ) {
sjgmjzjzmxbdao . absoluteInSert ( ) ;
sjgmjzjzmxbdao . setColumnValue ( "yljgdm" , "452894746" ) ; //医疗机构代码
@ -1383,7 +1421,7 @@ public class YbTest extends WatSDIWindow {
String jbmc = "" ;
String jbbm = "" ;
gzzMzQtjbzdDao . setFilter ( " JGID LIKE '" + MainUtil . getCurCompanyID ( ) + "' AND HZPKEY LIKE '" + sjgmjzjzmxbdao_his . getColumnValueAsString ( i , "HZPKEY" ) + "' AND JZPKEY LIKE '" + sjgmjzjzmxbdao_his . getColumnValueAsString ( i , "JZPKEY" ) + "'" ) ;
gzzMzQtjbzdDao . setFilter ( " JGID LIKE '" + companyid + "' AND HZPKEY LIKE '" + sjgmjzjzmxbdao_his . getColumnValueAsString ( i , "HZPKEY" ) + "' AND JZPKEY LIKE '" + sjgmjzjzmxbdao_his . getColumnValueAsString ( i , "JZPKEY" ) + "'" ) ;
gzzMzQtjbzdDao . filter ( ) ;
if ( gzzMzQtjbzdDao . getRowCount ( ) > 0 ) {
@ -1416,7 +1454,7 @@ public class YbTest extends WatSDIWindow {
if ( sjgmjzjzmxbdao . commit ( ) ) {
System . out . println ( "====【门急诊就诊明细表】更新成功==" ) ;
}
}
}
/*4.3.1.3门急诊处方主表*/
@ -1431,20 +1469,20 @@ public class YbTest extends WatSDIWindow {
sjgmjzCfzbdao . reload ( ) ;
DxNormalDataManager ybjgcsdao = DaoCreator . getNormalDao ( "ybjgcsdao" ) ;
ybjgcsdao . reload ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
ybjgcsdao . reload ( new Object [ ] { companyid } ) ;
SimpleDateFormat sdf2 = new SimpleDateFormat ( "yyyy-MM-dd" ) ;
SimpleDateFormat sdft = new SimpleDateFormat ( "yyyy-MM-dd hh:mm:ss" ) ;
DxNormalDataManager dpdicdao = DaoCreator . getNormalDao ( "dpdicdao" ) ;
dpdicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
dpdicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
dpdicdao . reloadByDictionary ( "DPTNAME" , "DPTID" ) ;
DxNormalDataManager jgrydicdao = DaoCreator . getNormalDao ( "jgrydicdao" ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
jgrydicdao . reloadByDictionary ( "NAME" , "USERACCOUNT" ) ;
DxDataManager xbdao = DaoCreator . getNormalDao ( this , "xbdao" ) ;
DxDataManager xbdao = DaoCreator . getNormalDao ( "xbdao" ) ;
xbdao . reloadByDictionary ( "MC" , "BH" ) ;
long datatime = System . currentTimeMillis ( ) ;
Timestamp timestamp = new Timestamp ( datatime ) ;
@ -1590,22 +1628,22 @@ public class YbTest extends WatSDIWindow {
sjgmjzypcdmxbdao . reload ( ) ;
DxNormalDataManager ybjgcsdao = DaoCreator . getNormalDao ( "ybjgcsdao" ) ;
ybjgcsdao . reload ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
ybjgcsdao . reload ( new Object [ ] { companyid } ) ;
SimpleDateFormat sdf2 = new SimpleDateFormat ( "yyyy-MM-dd" ) ;
SimpleDateFormat sdft = new SimpleDateFormat ( "yyyy-MM-dd hh:mm:ss" ) ;
DxNormalDataManager dpdicdao = DaoCreator . getNormalDao ( "dpdicdao" ) ;
dpdicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
dpdicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
dpdicdao . reloadByDictionary ( "DPTNAME" , "DPTID" ) ;
DxNormalDataManager jgrydicdao = DaoCreator . getNormalDao ( "jgrydicdao" ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
jgrydicdao . reloadByDictionary ( "NAME" , "USERACCOUNT" ) ;
DxNormalDataManager yyyfDic = DaoCreator . getNormalDao ( this , "yyyfDic" ) ;
DxNormalDataManager yyyfDic = DaoCreator . getNormalDao ( "yyyfDic" ) ;
DxNormalDataManager dwdicdao = DaoCreator . getNormalDao ( this , "dwdicdao" ) ;
DxNormalDataManager dwdicdao = DaoCreator . getNormalDao ( "dwdicdao" ) ;
dwdicdao . reloadByDictionary ( "MC" , "BH" ) ;
long datatime = System . currentTimeMillis ( ) ;
@ -1714,22 +1752,22 @@ public class YbTest extends WatSDIWindow {
sjgmjzqtcfmxbdao . reload ( ) ;
DxNormalDataManager ybjgcsdao = DaoCreator . getNormalDao ( "ybjgcsdao" ) ;
ybjgcsdao . reload ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
ybjgcsdao . reload ( new Object [ ] { companyid } ) ;
SimpleDateFormat sdf2 = new SimpleDateFormat ( "yyyy-MM-dd" ) ;
SimpleDateFormat sdft = new SimpleDateFormat ( "yyyy-MM-dd hh:mm:ss" ) ;
DxNormalDataManager dpdicdao = DaoCreator . getNormalDao ( "dpdicdao" ) ;
dpdicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
dpdicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
dpdicdao . reloadByDictionary ( "DPTNAME" , "DPTID" ) ;
DxNormalDataManager jgrydicdao = DaoCreator . getNormalDao ( "jgrydicdao" ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
jgrydicdao . reloadByDictionary ( "NAME" , "USERACCOUNT" ) ;
DxNormalDataManager yyyfDic = DaoCreator . getNormalDao ( this , "yyyfDic" ) ;
DxNormalDataManager yyyfDic = DaoCreator . getNormalDao ( "yyyfDic" ) ;
DxNormalDataManager dwdicdao = DaoCreator . getNormalDao ( this , "dwdicdao" ) ;
DxNormalDataManager dwdicdao = DaoCreator . getNormalDao ( "dwdicdao" ) ;
dwdicdao . reloadByDictionary ( "MC" , "BH" ) ;
long datatime = System . currentTimeMillis ( ) ;
Timestamp timestamp = new Timestamp ( datatime ) ;
@ -1792,7 +1830,7 @@ public class YbTest extends WatSDIWindow {
}
sjgmjzqtcfmxbdao . setColumnValue ( "zxksbm" , his_mzQtmxbDao . getColumnValueAsString ( i , "YZXZKS" ) ) ; //执行科室编码
sjgmjzqtcfmxbdao . setColumnValue ( "zxksmc" , dpdicdao . getDicValue ( his_mzQtmxbDao . getColumnValueAsString ( i , "YZXZKS" ) ) ) ; //执行科室名称
sjgmjzqtcfmxbdao . setColumnValue ( "jzjgmc" , MainUtil . getCurCompanyName ( ) ) ; //执行科室名称
sjgmjzqtcfmxbdao . setColumnValue ( "jzjgmc" , "越西县妇幼保健院" ) ; //执行科室名称
sjgmjzqtcfmxbdao . setColumnValue ( "cfzxsj" , new Timestamp ( his_mzQtmxbDao . getColumnValueAsLong ( i , "CJRQ" ) ) ) ; //处方执行时间
sjgmjzqtcfmxbdao . setColumnValue ( "wsfwyq" , "" ) ; //卫生服务要求
sjgmjzqtcfmxbdao . setColumnValue ( "qtyxcz" , "" ) ; //其它医学处置
@ -1837,26 +1875,26 @@ public class YbTest extends WatSDIWindow {
sjgmjzfymxbdao . reload ( ) ;
DxNormalDataManager ybjgcsdao = DaoCreator . getNormalDao ( "ybjgcsdao" ) ;
ybjgcsdao . reload ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
ybjgcsdao . reload ( new Object [ ] { companyid } ) ;
SimpleDateFormat sdf2 = new SimpleDateFormat ( "yyyy-MM-dd" ) ;
SimpleDateFormat sdft = new SimpleDateFormat ( "yyyy-MM-dd hh:mm:ss" ) ;
DxNormalDataManager dpdicdao = DaoCreator . getNormalDao ( "dpdicdao" ) ;
dpdicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
dpdicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
dpdicdao . reloadByDictionary ( "DPTNAME" , "DPTID" ) ;
DxNormalDataManager jgrydicdao = DaoCreator . getNormalDao ( "jgrydicdao" ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
jgrydicdao . reloadByDictionary ( "NAME" , "USERACCOUNT" ) ;
DxNormalDataManager yyyfDic = DaoCreator . getNormalDao ( this , "yyyfDic" ) ;
DxNormalDataManager yyyfDic = DaoCreator . getNormalDao ( "yyyfDic" ) ;
DxNormalDataManager ksdic = DaoCreator . getNormalDao ( this , "ksdic" ) ;
ksdic . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
DxNormalDataManager ksdic = DaoCreator . getNormalDao ( "ksdic" ) ;
ksdic . setNormalParameters ( new Object [ ] { companyid } ) ;
ksdic . reloadByDictionary ( "DPTNAME" , "DPTID" ) ;
DxNormalDataManager dwdicdao = DaoCreator . getNormalDao ( this , "dwdicdao" ) ;
DxNormalDataManager dwdicdao = DaoCreator . getNormalDao ( "dwdicdao" ) ;
dwdicdao . reloadByDictionary ( "MC" , "BH" ) ;
long datatime = System . currentTimeMillis ( ) ;
Timestamp timestamp = new Timestamp ( datatime ) ;
@ -2036,26 +2074,26 @@ public class YbTest extends WatSDIWindow {
sjgmjzjsmxbdao . reload ( ) ;
DxNormalDataManager ybjgcsdao = DaoCreator . getNormalDao ( "ybjgcsdao" ) ;
ybjgcsdao . reload ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
ybjgcsdao . reload ( new Object [ ] { companyid } ) ;
SimpleDateFormat sdf2 = new SimpleDateFormat ( "yyyy-MM-dd" ) ;
SimpleDateFormat sdft = new SimpleDateFormat ( "yyyy-MM-dd hh:mm:ss" ) ;
DxNormalDataManager dpdicdao = DaoCreator . getNormalDao ( "dpdicdao" ) ;
dpdicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
dpdicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
dpdicdao . reloadByDictionary ( "DPTNAME" , "DPTID" ) ;
DxNormalDataManager jgrydicdao = DaoCreator . getNormalDao ( "jgrydicdao" ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
jgrydicdao . reloadByDictionary ( "NAME" , "USERACCOUNT" ) ;
DxNormalDataManager yyyfDic = DaoCreator . getNormalDao ( this , "yyyfDic" ) ;
DxNormalDataManager yyyfDic = DaoCreator . getNormalDao ( "yyyfDic" ) ;
DxNormalDataManager ksdic = DaoCreator . getNormalDao ( this , "ksdic" ) ;
ksdic . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
DxNormalDataManager ksdic = DaoCreator . getNormalDao ( "ksdic" ) ;
ksdic . setNormalParameters ( new Object [ ] { companyid } ) ;
ksdic . reloadByDictionary ( "DPTNAME" , "DPTID" ) ;
DxNormalDataManager dwdicdao = DaoCreator . getNormalDao ( this , "dwdicdao" ) ;
DxNormalDataManager dwdicdao = DaoCreator . getNormalDao ( "dwdicdao" ) ;
dwdicdao . reloadByDictionary ( "MC" , "BH" ) ;
long datatime = System . currentTimeMillis ( ) ;
Timestamp timestamp = new Timestamp ( datatime ) ;
@ -2133,26 +2171,26 @@ public class YbTest extends WatSDIWindow {
sjgmjzjszffsmxbdao . reload ( ) ;
DxNormalDataManager ybjgcsdao = DaoCreator . getNormalDao ( "ybjgcsdao" ) ;
ybjgcsdao . reload ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
ybjgcsdao . reload ( new Object [ ] { companyid } ) ;
SimpleDateFormat sdf2 = new SimpleDateFormat ( "yyyy-MM-dd" ) ;
SimpleDateFormat sdft = new SimpleDateFormat ( "yyyy-MM-dd hh:mm:ss" ) ;
DxNormalDataManager dpdicdao = DaoCreator . getNormalDao ( "dpdicdao" ) ;
dpdicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
dpdicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
dpdicdao . reloadByDictionary ( "DPTNAME" , "DPTID" ) ;
DxNormalDataManager jgrydicdao = DaoCreator . getNormalDao ( "jgrydicdao" ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
jgrydicdao . reloadByDictionary ( "NAME" , "USERACCOUNT" ) ;
DxNormalDataManager yyyfDic = DaoCreator . getNormalDao ( this , "yyyfDic" ) ;
DxNormalDataManager yyyfDic = DaoCreator . getNormalDao ( "yyyfDic" ) ;
DxNormalDataManager ksdic = DaoCreator . getNormalDao ( this , "ksdic" ) ;
ksdic . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
DxNormalDataManager ksdic = DaoCreator . getNormalDao ( "ksdic" ) ;
ksdic . setNormalParameters ( new Object [ ] { companyid } ) ;
ksdic . reloadByDictionary ( "DPTNAME" , "DPTID" ) ;
DxNormalDataManager dwdicdao = DaoCreator . getNormalDao ( this , "dwdicdao" ) ;
DxNormalDataManager dwdicdao = DaoCreator . getNormalDao ( "dwdicdao" ) ;
dwdicdao . reloadByDictionary ( "MC" , "BH" ) ;
long datatime = System . currentTimeMillis ( ) ;
Timestamp timestamp = new Timestamp ( datatime ) ;
@ -2214,26 +2252,26 @@ public class YbTest extends WatSDIWindow {
sjgmjzzdmxbdao . reload ( ) ;
DxNormalDataManager ybjgcsdao = DaoCreator . getNormalDao ( "ybjgcsdao" ) ;
ybjgcsdao . reload ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
ybjgcsdao . reload ( new Object [ ] { companyid } ) ;
SimpleDateFormat sdf2 = new SimpleDateFormat ( "yyyy-MM-dd" ) ;
SimpleDateFormat sdft = new SimpleDateFormat ( "yyyy-MM-dd hh:mm:ss" ) ;
DxNormalDataManager dpdicdao = DaoCreator . getNormalDao ( "dpdicdao" ) ;
dpdicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
dpdicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
dpdicdao . reloadByDictionary ( "DPTNAME" , "DPTID" ) ;
DxNormalDataManager jgrydicdao = DaoCreator . getNormalDao ( "jgrydicdao" ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
jgrydicdao . reloadByDictionary ( "NAME" , "USERACCOUNT" ) ;
DxNormalDataManager yyyfDic = DaoCreator . getNormalDao ( this , "yyyfDic" ) ;
DxNormalDataManager yyyfDic = DaoCreator . getNormalDao ( "yyyfDic" ) ;
DxNormalDataManager ksdic = DaoCreator . getNormalDao ( this , "ksdic" ) ;
ksdic . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
DxNormalDataManager ksdic = DaoCreator . getNormalDao ( "ksdic" ) ;
ksdic . setNormalParameters ( new Object [ ] { companyid } ) ;
ksdic . reloadByDictionary ( "DPTNAME" , "DPTID" ) ;
DxNormalDataManager dwdicdao = DaoCreator . getNormalDao ( this , "dwdicdao" ) ;
DxNormalDataManager dwdicdao = DaoCreator . getNormalDao ( "dwdicdao" ) ;
dwdicdao . reloadByDictionary ( "MC" , "BH" ) ;
long datatime = System . currentTimeMillis ( ) ;
Timestamp timestamp = new Timestamp ( datatime ) ;
@ -2289,26 +2327,26 @@ public class YbTest extends WatSDIWindow {
sjgrydjmxbdao . reload ( ) ;
DxNormalDataManager ybjgcsdao = DaoCreator . getNormalDao ( "ybjgcsdao" ) ;
ybjgcsdao . reload ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
ybjgcsdao . reload ( new Object [ ] { companyid } ) ;
SimpleDateFormat sdf2 = new SimpleDateFormat ( "yyyy-MM-dd" ) ;
SimpleDateFormat sdft = new SimpleDateFormat ( "yyyy-MM-dd hh:mm:ss" ) ;
DxNormalDataManager dpdicdao = DaoCreator . getNormalDao ( "dpdicdao" ) ;
dpdicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
dpdicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
dpdicdao . reloadByDictionary ( "DPTNAME" , "DPTID" ) ;
DxNormalDataManager jgrydicdao = DaoCreator . getNormalDao ( "jgrydicdao" ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
jgrydicdao . reloadByDictionary ( "NAME" , "USERACCOUNT" ) ;
DxNormalDataManager yyyfDic = DaoCreator . getNormalDao ( this , "yyyfDic" ) ;
DxNormalDataManager yyyfDic = DaoCreator . getNormalDao ( "yyyfDic" ) ;
DxNormalDataManager ksdic = DaoCreator . getNormalDao ( this , "ksdic" ) ;
ksdic . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
DxNormalDataManager ksdic = DaoCreator . getNormalDao ( "ksdic" ) ;
ksdic . setNormalParameters ( new Object [ ] { companyid } ) ;
ksdic . reloadByDictionary ( "DPTNAME" , "DPTID" ) ;
DxNormalDataManager dwdicdao = DaoCreator . getNormalDao ( this , "dwdicdao" ) ;
DxNormalDataManager dwdicdao = DaoCreator . getNormalDao ( "dwdicdao" ) ;
dwdicdao . reloadByDictionary ( "MC" , "BH" ) ;
long datatime = System . currentTimeMillis ( ) ;
Timestamp timestamp = new Timestamp ( datatime ) ;
@ -2381,20 +2419,20 @@ public class YbTest extends WatSDIWindow {
sjgzyyzzbdao . reload ( ) ;
DxNormalDataManager ybjgcsdao = DaoCreator . getNormalDao ( "ybjgcsdao" ) ;
ybjgcsdao . reload ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
ybjgcsdao . reload ( new Object [ ] { companyid } ) ;
SimpleDateFormat sdf2 = new SimpleDateFormat ( "yyyy-MM-dd" ) ;
SimpleDateFormat sdft = new SimpleDateFormat ( "yyyy-MM-dd hh:mm:ss" ) ;
DxNormalDataManager dpdicdao = DaoCreator . getNormalDao ( "dpdicdao" ) ;
dpdicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
dpdicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
dpdicdao . reloadByDictionary ( "DPTNAME" , "DPTID" ) ;
DxNormalDataManager jgrydicdao = DaoCreator . getNormalDao ( "jgrydicdao" ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
jgrydicdao . reloadByDictionary ( "NAME" , "USERACCOUNT" ) ;
DxDataManager xbdao = DaoCreator . getNormalDao ( this , "xbdao" ) ;
DxDataManager xbdao = DaoCreator . getNormalDao ( "xbdao" ) ;
xbdao . reloadByDictionary ( "MC" , "BH" ) ;
long datatime = System . currentTimeMillis ( ) ;
Timestamp timestamp = new Timestamp ( datatime ) ;
@ -2479,22 +2517,22 @@ public class YbTest extends WatSDIWindow {
sjgzyyzzbdao . reload ( ) ;
DxNormalDataManager ybjgcsdao = DaoCreator . getNormalDao ( "ybjgcsdao" ) ;
ybjgcsdao . reload ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
ybjgcsdao . reload ( new Object [ ] { companyid } ) ;
SimpleDateFormat sdf2 = new SimpleDateFormat ( "yyyy-MM-dd" ) ;
SimpleDateFormat sdft = new SimpleDateFormat ( "yyyy-MM-dd hh:mm:ss" ) ;
DxNormalDataManager dpdicdao = DaoCreator . getNormalDao ( "dpdicdao" ) ;
dpdicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
dpdicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
dpdicdao . reloadByDictionary ( "DPTNAME" , "DPTID" ) ;
DxNormalDataManager jgrydicdao = DaoCreator . getNormalDao ( "jgrydicdao" ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
jgrydicdao . reloadByDictionary ( "NAME" , "USERACCOUNT" ) ;
DxNormalDataManager yyyfDic = DaoCreator . getNormalDao ( this , "yyyfDic" ) ;
DxNormalDataManager yyyfDic = DaoCreator . getNormalDao ( "yyyfDic" ) ;
DxNormalDataManager dwdicdao = DaoCreator . getNormalDao ( this , "dwdicdao" ) ;
DxNormalDataManager dwdicdao = DaoCreator . getNormalDao ( "dwdicdao" ) ;
dwdicdao . reloadByDictionary ( "MC" , "BH" ) ;
long datatime = System . currentTimeMillis ( ) ;
@ -2636,22 +2674,22 @@ public class YbTest extends WatSDIWindow {
zyQtmxbDao . reload ( ) ;
DxNormalDataManager ybjgcsdao = DaoCreator . getNormalDao ( "ybjgcsdao" ) ;
ybjgcsdao . reload ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
ybjgcsdao . reload ( new Object [ ] { companyid } ) ;
SimpleDateFormat sdf2 = new SimpleDateFormat ( "yyyy-MM-dd" ) ;
SimpleDateFormat sdft = new SimpleDateFormat ( "yyyy-MM-dd hh:mm:ss" ) ;
DxNormalDataManager dpdicdao = DaoCreator . getNormalDao ( "dpdicdao" ) ;
dpdicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
dpdicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
dpdicdao . reloadByDictionary ( "DPTNAME" , "DPTID" ) ;
DxNormalDataManager jgrydicdao = DaoCreator . getNormalDao ( "jgrydicdao" ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
jgrydicdao . reloadByDictionary ( "NAME" , "USERACCOUNT" ) ;
DxNormalDataManager yyyfDic = DaoCreator . getNormalDao ( this , "yyyfDic" ) ;
DxNormalDataManager yyyfDic = DaoCreator . getNormalDao ( "yyyfDic" ) ;
DxNormalDataManager dwdicdao = DaoCreator . getNormalDao ( this , "dwdicdao" ) ;
DxNormalDataManager dwdicdao = DaoCreator . getNormalDao ( "dwdicdao" ) ;
dwdicdao . reloadByDictionary ( "MC" , "BH" ) ;
long datatime = System . currentTimeMillis ( ) ;
Timestamp timestamp = new Timestamp ( datatime ) ;
@ -2784,26 +2822,26 @@ public class YbTest extends WatSDIWindow {
sjgzysfmxbdao . reload ( ) ;
DxNormalDataManager ybjgcsdao = DaoCreator . getNormalDao ( "ybjgcsdao" ) ;
ybjgcsdao . reload ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
ybjgcsdao . reload ( new Object [ ] { companyid } ) ;
SimpleDateFormat sdf2 = new SimpleDateFormat ( "yyyy-MM-dd" ) ;
SimpleDateFormat sdft = new SimpleDateFormat ( "yyyy-MM-dd hh:mm:ss" ) ;
DxNormalDataManager dpdicdao = DaoCreator . getNormalDao ( "dpdicdao" ) ;
dpdicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
dpdicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
dpdicdao . reloadByDictionary ( "DPTNAME" , "DPTID" ) ;
DxNormalDataManager jgrydicdao = DaoCreator . getNormalDao ( "jgrydicdao" ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
jgrydicdao . reloadByDictionary ( "NAME" , "USERACCOUNT" ) ;
DxNormalDataManager yyyfDic = DaoCreator . getNormalDao ( this , "yyyfDic" ) ;
DxNormalDataManager yyyfDic = DaoCreator . getNormalDao ( "yyyfDic" ) ;
DxNormalDataManager dwdicdao = DaoCreator . getNormalDao ( this , "dwdicdao" ) ;
DxNormalDataManager dwdicdao = DaoCreator . getNormalDao ( "dwdicdao" ) ;
dwdicdao . reloadByDictionary ( "MC" , "BH" ) ;
DxNormalDataManager ksdic = DaoCreator . getNormalDao ( this , "ksdic" ) ;
ksdic . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
DxNormalDataManager ksdic = DaoCreator . getNormalDao ( "ksdic" ) ;
ksdic . setNormalParameters ( new Object [ ] { companyid } ) ;
ksdic . reloadByDictionary ( "DPTNAME" , "DPTID" ) ;
long datatime = System . currentTimeMillis ( ) ;
Timestamp timestamp = new Timestamp ( datatime ) ;
@ -2958,26 +2996,26 @@ public class YbTest extends WatSDIWindow {
DxNormalDataManager ybjgcsdao = DaoCreator . getNormalDao ( "ybjgcsdao" ) ;
ybjgcsdao . reload ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
ybjgcsdao . reload ( new Object [ ] { companyid } ) ;
SimpleDateFormat sdf2 = new SimpleDateFormat ( "yyyy-MM-dd" ) ;
SimpleDateFormat sdft = new SimpleDateFormat ( "yyyy-MM-dd hh:mm:ss" ) ;
DxNormalDataManager dpdicdao = DaoCreator . getNormalDao ( "dpdicdao" ) ;
dpdicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
dpdicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
dpdicdao . reloadByDictionary ( "DPTNAME" , "DPTID" ) ;
DxNormalDataManager jgrydicdao = DaoCreator . getNormalDao ( "jgrydicdao" ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
jgrydicdao . reloadByDictionary ( "NAME" , "USERACCOUNT" ) ;
DxNormalDataManager yyyfDic = DaoCreator . getNormalDao ( this , "yyyfDic" ) ;
DxNormalDataManager yyyfDic = DaoCreator . getNormalDao ( "yyyfDic" ) ;
DxNormalDataManager dwdicdao = DaoCreator . getNormalDao ( this , "dwdicdao" ) ;
DxNormalDataManager dwdicdao = DaoCreator . getNormalDao ( "dwdicdao" ) ;
dwdicdao . reloadByDictionary ( "MC" , "BH" ) ;
DxNormalDataManager ksdic = DaoCreator . getNormalDao ( this , "ksdic" ) ;
ksdic . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
DxNormalDataManager ksdic = DaoCreator . getNormalDao ( "ksdic" ) ;
ksdic . setNormalParameters ( new Object [ ] { companyid } ) ;
ksdic . reloadByDictionary ( "DPTNAME" , "DPTID" ) ;
long datatime = System . currentTimeMillis ( ) ;
Timestamp timestamp = new Timestamp ( datatime ) ;
@ -3060,12 +3098,6 @@ public class YbTest extends WatSDIWindow {
}
public static DxNormalDataManager setYwdzSource ( DxNormalDataManager dao ) {
DxProxoolDataSourceFactory ds = new DxProxoolDataSourceFactory ( "mysql_lei" ) ;
dao . setDataSourceFactory ( ds ) ;
return dao ;
}
/*4.4.1.7住院结算明细表*/
public void sdgZyJsmxbAction ( String companyid , Timestamp biginTimestamp , Timestamp enTimestamp ) {
//住院结算明细
@ -3078,26 +3110,26 @@ public class YbTest extends WatSDIWindow {
sjgzyjsmxbdao . reload ( ) ;
DxNormalDataManager ybjgcsdao = DaoCreator . getNormalDao ( "ybjgcsdao" ) ;
ybjgcsdao . reload ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
ybjgcsdao . reload ( new Object [ ] { companyid } ) ;
SimpleDateFormat sdf2 = new SimpleDateFormat ( "yyyy-MM-dd" ) ;
SimpleDateFormat sdft = new SimpleDateFormat ( "yyyy-MM-dd hh:mm:ss" ) ;
DxNormalDataManager dpdicdao = DaoCreator . getNormalDao ( "dpdicdao" ) ;
dpdicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
dpdicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
dpdicdao . reloadByDictionary ( "DPTNAME" , "DPTID" ) ;
DxNormalDataManager jgrydicdao = DaoCreator . getNormalDao ( "jgrydicdao" ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
jgrydicdao . reloadByDictionary ( "NAME" , "USERACCOUNT" ) ;
DxNormalDataManager yyyfDic = DaoCreator . getNormalDao ( this , "yyyfDic" ) ;
DxNormalDataManager yyyfDic = DaoCreator . getNormalDao ( "yyyfDic" ) ;
DxNormalDataManager dwdicdao = DaoCreator . getNormalDao ( this , "dwdicdao" ) ;
DxNormalDataManager dwdicdao = DaoCreator . getNormalDao ( "dwdicdao" ) ;
dwdicdao . reloadByDictionary ( "MC" , "BH" ) ;
DxNormalDataManager ksdic = DaoCreator . getNormalDao ( this , "ksdic" ) ;
ksdic . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
DxNormalDataManager ksdic = DaoCreator . getNormalDao ( "ksdic" ) ;
ksdic . setNormalParameters ( new Object [ ] { companyid } ) ;
ksdic . reloadByDictionary ( "DPTNAME" , "DPTID" ) ;
long datatime = System . currentTimeMillis ( ) ;
Timestamp timestamp = new Timestamp ( datatime ) ;
@ -3168,26 +3200,26 @@ public class YbTest extends WatSDIWindow {
sjgzyjszffsmxbdao . reload ( ) ;
DxNormalDataManager ybjgcsdao = DaoCreator . getNormalDao ( "ybjgcsdao" ) ;
ybjgcsdao . reload ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
ybjgcsdao . reload ( new Object [ ] { companyid } ) ;
SimpleDateFormat sdf2 = new SimpleDateFormat ( "yyyy-MM-dd" ) ;
SimpleDateFormat sdft = new SimpleDateFormat ( "yyyy-MM-dd hh:mm:ss" ) ;
DxNormalDataManager dpdicdao = DaoCreator . getNormalDao ( "dpdicdao" ) ;
dpdicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
dpdicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
dpdicdao . reloadByDictionary ( "DPTNAME" , "DPTID" ) ;
DxNormalDataManager jgrydicdao = DaoCreator . getNormalDao ( "jgrydicdao" ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
jgrydicdao . reloadByDictionary ( "NAME" , "USERACCOUNT" ) ;
DxNormalDataManager yyyfDic = DaoCreator . getNormalDao ( this , "yyyfDic" ) ;
DxNormalDataManager yyyfDic = DaoCreator . getNormalDao ( "yyyfDic" ) ;
DxNormalDataManager ksdic = DaoCreator . getNormalDao ( this , "ksdic" ) ;
ksdic . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
DxNormalDataManager ksdic = DaoCreator . getNormalDao ( "ksdic" ) ;
ksdic . setNormalParameters ( new Object [ ] { companyid } ) ;
ksdic . reloadByDictionary ( "DPTNAME" , "DPTID" ) ;
DxNormalDataManager dwdicdao = DaoCreator . getNormalDao ( this , "dwdicdao" ) ;
DxNormalDataManager dwdicdao = DaoCreator . getNormalDao ( "dwdicdao" ) ;
dwdicdao . reloadByDictionary ( "MC" , "BH" ) ;
long datatime = System . currentTimeMillis ( ) ;
Timestamp timestamp = new Timestamp ( datatime ) ;
@ -3250,26 +3282,26 @@ public class YbTest extends WatSDIWindow {
sjgzyzdmxbdao . reload ( ) ;
DxNormalDataManager ybjgcsdao = DaoCreator . getNormalDao ( "ybjgcsdao" ) ;
ybjgcsdao . reload ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
ybjgcsdao . reload ( new Object [ ] { companyid } ) ;
SimpleDateFormat sdf2 = new SimpleDateFormat ( "yyyy-MM-dd" ) ;
SimpleDateFormat sdft = new SimpleDateFormat ( "yyyy-MM-dd hh:mm:ss" ) ;
DxNormalDataManager dpdicdao = DaoCreator . getNormalDao ( "dpdicdao" ) ;
dpdicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
dpdicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
dpdicdao . reloadByDictionary ( "DPTNAME" , "DPTID" ) ;
DxNormalDataManager jgrydicdao = DaoCreator . getNormalDao ( "jgrydicdao" ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
jgrydicdao . setNormalParameters ( new Object [ ] { companyid } ) ;
jgrydicdao . reloadByDictionary ( "NAME" , "USERACCOUNT" ) ;
DxNormalDataManager yyyfDic = DaoCreator . getNormalDao ( this , "yyyfDic" ) ;
DxNormalDataManager yyyfDic = DaoCreator . getNormalDao ( "yyyfDic" ) ;
DxNormalDataManager ksdic = DaoCreator . getNormalDao ( this , "ksdic" ) ;
ksdic . setNormalParameters ( new Object [ ] { MainUtil . getCurCompanyID ( ) } ) ;
DxNormalDataManager ksdic = DaoCreator . getNormalDao ( "ksdic" ) ;
ksdic . setNormalParameters ( new Object [ ] { companyid } ) ;
ksdic . reloadByDictionary ( "DPTNAME" , "DPTID" ) ;
DxNormalDataManager dwdicdao = DaoCreator . getNormalDao ( this , "dwdicdao" ) ;
DxNormalDataManager dwdicdao = DaoCreator . getNormalDao ( "dwdicdao" ) ;
dwdicdao . reloadByDictionary ( "MC" , "BH" ) ;
long datatime = System . currentTimeMillis ( ) ;
Timestamp timestamp = new Timestamp ( datatime ) ;