You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3033 lines
129 KiB
3033 lines
129 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<datasource>
|
|
<!-- 1 表示 sql语句dao 2表示存储过程dao 默认为sql语句dao -->
|
|
<dao id="logonDao" type="1" memo="登录用户">
|
|
<sql>select A.USERID,A.MRKS,A.JGID,A.EFFICET,A.SFZYYS,A.DUTY,A.SFZYHS,A.SFMZYS,A.EMPID,A.SFCFQ,A.BDZH,A.SFMZSFY,A.SFZYSFY,A.YBUSERNAME,A.YBPASSWORD,A.SFKXQYBL,A.SFZYZHQ,A.KSSYSJB,A.FZLYYSJB,A.SFJB,A.CJR,A.CJRQ,A.XGR,A.XGRQ,A.YHQXBS,A.YSJB,a.YBID,a.YBNAME,B.JGMC,A.PKEY,a.HIE_USERNAME,a.HIE_PASSWORD from MAIN_JGYH A left join MAIN_YLJG B on A.JGID = B.pkey where A.EMPID=?</sql>
|
|
<tables>
|
|
<table name="MAIN_JGYH" insert="true" update="true" delete="true">
|
|
<primary>USERID</primary>
|
|
<primary>JGID</primary>
|
|
<primary>EMPID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="USERID" type="12" table="MAIN_JGYH" />
|
|
<f name="MRKS" type="4" table="MAIN_JGYH" />
|
|
<f name="JGID" type="12" table="MAIN_JGYH" />
|
|
<f name="EFFICET" type="12" table="MAIN_JGYH" />
|
|
<f name="SFZYYS" type="12" table="MAIN_JGYH" />
|
|
<f name="DUTY" type="12" table="MAIN_JGYH" />
|
|
<f name="SFZYHS" type="12" table="MAIN_JGYH" />
|
|
<f name="SFMZYS" type="12" table="MAIN_JGYH" />
|
|
<f name="EMPID" type="12" table="MAIN_JGYH" />
|
|
<f name="SFCFQ" type="12" table="MAIN_JGYH" />
|
|
<f name="BDZH" type="12" table="MAIN_JGYH" />
|
|
<f name="SFMZSFY" type="12" table="MAIN_JGYH" />
|
|
<f name="SFZYSFY" type="12" table="MAIN_JGYH" />
|
|
<f name="YBUSERNAME" type="12" table="MAIN_JGYH" />
|
|
<f name="YBPASSWORD" type="12" table="MAIN_JGYH" />
|
|
<f name="SFKXQYBL" type="12" table="MAIN_JGYH" />
|
|
<f name="SFZYZHQ" type="12" table="MAIN_JGYH" />
|
|
<f name="KSSYSJB" type="12" table="MAIN_JGYH" />
|
|
<f name="FZLYYSJB" type="12" table="MAIN_JGYH" />
|
|
<f name="SFJB" type="12" table="MAIN_JGYH" />
|
|
<f name="CJR" type="12" table="MAIN_JGYH" />
|
|
<f name="CJRQ" type="93" table="MAIN_JGYH" />
|
|
<f name="XGR" type="12" table="MAIN_JGYH" />
|
|
<f name="XGRQ" type="93" table="MAIN_JGYH" />
|
|
<f name="YHQXBS" type="-5" table="MAIN_JGYH" />
|
|
<f name="YSJB" type="-5" table="MAIN_JGYH" />
|
|
<f name="YBID" type="12" table="MAIN_JGYH" />
|
|
<f name="YBNAME" type="12" table="MAIN_JGYH" />
|
|
<f name="JGMC" type="12" />
|
|
<f name="PKEY" type="12" table="MAIN_JGYH" />
|
|
<f name="HIE_USERNAME" type="12" table="MAIN_JGYH" />
|
|
<f name="HIE_PASSWORD" type="12" table="MAIN_JGYH" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="mainLogDao" type="1">
|
|
<sql>select PKEY,CLASSNAME,LOG,LOGIP,CJR,CJRQ,JGID,TABLENAME,DMLTYPE,TRANSSTATE,SUCCESSSTATE from MAIN_LOG where 1=2</sql>
|
|
<tables>
|
|
<table name="MAIN_LOG" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="MAIN_LOG" />
|
|
<f name="CLASSNAME" type="12" table="MAIN_LOG" />
|
|
<f name="LOG" type="12" table="MAIN_LOG" />
|
|
<f name="LOGIP" type="12" table="MAIN_LOG" />
|
|
<f name="CJR" type="12" table="MAIN_LOG" />
|
|
<f name="CJRQ" type="93" table="MAIN_LOG" />
|
|
<f name="JGID" type="12" table="MAIN_LOG" />
|
|
<f name="TABLENAME" type="12" table="MAIN_LOG" />
|
|
<f name="DMLTYPE" type="12" table="MAIN_LOG" />
|
|
<f name="TRANSSTATE" type="12" table="MAIN_LOG" />
|
|
<f name="SUCCESSSTATE" type="12" table="MAIN_LOG" />
|
|
</fields>
|
|
</dao>
|
|
<dao id="mainYljgDao" type="1">
|
|
<sql>select PKEY,TYSHXYDM,ZZJGBM,JGMC,DEMC,WSJGDM,XZQHDM,ADDR0,ADDR1,ADDR2,ADDR3,ADDR4,MPHM,JJLXDM,WSJGLBDM,JGFLGLDM,JGCLRQ,YZBM,LXDH,JGFZRXM,JGFZRLXDH,DWLSGXDM,YYDJDCDM,YYDJJBDM,SFYBDDYLJG,SJPKEY,LICENCE,ZT,JKPTJGBM,HIE_API_URL,HIE_APP_KEY from MAIN_YLJG</sql>
|
|
<tables>
|
|
<table delete="true" insert="true" name="MAIN_YLJG" update="true">
|
|
<primary>PKEY</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" table="MAIN_YLJG" type="12" />
|
|
<f name="TYSHXYDM" table="MAIN_YLJG" type="12" />
|
|
<f name="ZZJGBM" table="MAIN_YLJG" type="12" />
|
|
<f name="JGMC" table="MAIN_YLJG" type="12" />
|
|
<f name="DEMC" table="MAIN_YLJG" type="12" />
|
|
<f name="WSJGDM" table="MAIN_YLJG" type="12" />
|
|
<f name="XZQHDM" table="MAIN_YLJG" type="12" />
|
|
<f name="ADDR0" table="MAIN_YLJG" type="12" />
|
|
<f name="ADDR1" table="MAIN_YLJG" type="12" />
|
|
<f name="ADDR2" table="MAIN_YLJG" type="12" />
|
|
<f name="ADDR3" table="MAIN_YLJG" type="12" />
|
|
<f name="ADDR4" table="MAIN_YLJG" type="12" />
|
|
<f name="MPHM" table="MAIN_YLJG" type="12" />
|
|
<f name="JJLXDM" table="MAIN_YLJG" type="12" />
|
|
<f name="WSJGLBDM" table="MAIN_YLJG" type="12" />
|
|
<f name="JGFLGLDM" table="MAIN_YLJG" type="12" />
|
|
<f name="JGCLRQ" table="MAIN_YLJG" type="93" />
|
|
<f name="YZBM" table="MAIN_YLJG" type="12" />
|
|
<f name="LXDH" table="MAIN_YLJG" type="12" />
|
|
<f name="JGFZRXM" table="MAIN_YLJG" type="12" />
|
|
<f name="JGFZRLXDH" table="MAIN_YLJG" type="1" />
|
|
<f name="DWLSGXDM" table="MAIN_YLJG" type="12" />
|
|
<f name="YYDJDCDM" table="MAIN_YLJG" type="12" />
|
|
<f name="YYDJJBDM" table="MAIN_YLJG" type="12" />
|
|
<f name="SFYBDDYLJG" table="MAIN_YLJG" type="12" />
|
|
<f name="SJPKEY" table="MAIN_YLJG" type="12" />
|
|
<f name="LICENCE" table="MAIN_YLJG" type="12" />
|
|
<f name="ZT" table="MAIN_YLJG" type="12" />
|
|
<f name="JKPTJGBM" table="MAIN_YLJG" type="12" />
|
|
<f name="HIE_API_URL" table="MAIN_YLJG" type="12" />
|
|
<f name="HIE_APP_KEY" table="MAIN_YLJG" type="12" />
|
|
</fields>
|
|
</dao>
|
|
<dao id="employeedao" type="1">
|
|
<sql>select EMPID,NAME,SEX,PYM,BIRTHDAY,JLJG,GLJG,IDTYPE,IDENTITYID,USERACCOUNT,USERPASSWORD,UPLOADFLAG,TITLE,PHOTO,MEMO,EDUCATION,PHONE_NUM,EMAIL,SIGNIMG,SPECIALTY,PROFILE,SPECIALITY,CERTIFICATE,CJR,CJRQ,XGR,XGRQ,NATIONALITY,MRDLJG,DLJG,YBUSERNAME,MZ,MRDLKS from MAIN_YHXX where USERACCOUNT = ?</sql>
|
|
<tables>
|
|
<table name="MAIN_YHXX" insert="true" update="true" delete="true">
|
|
<primary>EMPID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="EMPID" type="12" table="MAIN_YHXX" />
|
|
<f name="NAME" type="12" table="MAIN_YHXX" />
|
|
<f name="SEX" type="12" table="MAIN_YHXX" />
|
|
<f name="PYM" type="12" table="MAIN_YHXX" />
|
|
<f name="BIRTHDAY" type="93" table="MAIN_YHXX" />
|
|
<f name="JLJG" type="12" table="MAIN_YHXX" />
|
|
<f name="GLJG" type="12" table="MAIN_YHXX" />
|
|
<f name="IDTYPE" type="12" table="MAIN_YHXX" />
|
|
<f name="IDENTITYID" type="12" table="MAIN_YHXX" />
|
|
<f name="USERACCOUNT" type="12" table="MAIN_YHXX" />
|
|
<f name="USERPASSWORD" type="12" table="MAIN_YHXX" />
|
|
<f name="UPLOADFLAG" type="12" table="MAIN_YHXX" />
|
|
<f name="TITLE" type="12" table="MAIN_YHXX" />
|
|
<f name="PHOTO" type="12" table="MAIN_YHXX" />
|
|
<f name="MEMO" type="12" table="MAIN_YHXX" />
|
|
<f name="EDUCATION" type="12" table="MAIN_YHXX" />
|
|
<f name="PHONE_NUM" type="12" table="MAIN_YHXX" />
|
|
<f name="EMAIL" type="12" table="MAIN_YHXX" />
|
|
<f name="SIGNIMG" type="12" table="MAIN_YHXX" />
|
|
<f name="SPECIALTY" type="12" table="MAIN_YHXX" />
|
|
<f name="PROFILE" type="12" table="MAIN_YHXX" />
|
|
<f name="SPECIALITY" type="12" table="MAIN_YHXX" />
|
|
<f name="CERTIFICATE" type="12" table="MAIN_YHXX" />
|
|
<f name="CJR" type="12" table="MAIN_YHXX" />
|
|
<f name="CJRQ" type="93" table="MAIN_YHXX" />
|
|
<f name="XGR" type="12" table="MAIN_YHXX" />
|
|
<f name="XGRQ" type="93" table="MAIN_YHXX" />
|
|
<f name="NATIONALITY" type="12" table="MAIN_YHXX" />
|
|
<f name="MRDLJG" type="12" table="MAIN_YHXX" />
|
|
<f name="DLJG" type="12" table="MAIN_YHXX" />
|
|
<f name="YBUSERNAME" type="12" table="MAIN_YHXX" />
|
|
<f name="MZ" type="12" table="MAIN_YHXX" />
|
|
<f name="MRDLKS" type="12" table="MAIN_YHXX" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="yljginfodao" type="1">
|
|
<sql>select CRB_JGBM,CRB_JGMC,CRB_TOKEN,CRB_USER,CRB_PASSWORD,CRB_URL,PKEY,TYSHXYDM,ZZJGBM,JGMC,DEMC,WSJGDM,XZQHDM,ADDR0,ADDR1,ADDR2,ADDR3,ADDR4,MPHM,JJLXDM,WSJGLBDM,JGFLGLDM,JGCLRQ,YZBM,LXDH,JGFZRXM,JGFZRLXDH,DWLSGXDM,YYDJDCDM,YYDJJBDM,SFYBDDYLJG,SJPKEY,LICENCE,ZT,SYSCOMPERFLAG from MAIN_YLJG where pkey=?</sql>
|
|
<tables>
|
|
<table name="MAIN_YLJG" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="CRB_JGBM" table="MAIN_YLJG" type="12" />
|
|
<f name="CRB_JGMC" table="MAIN_YLJG" type="12" />
|
|
<f name="CRB_TOKEN" table="MAIN_YLJG" type="12" />
|
|
<f name="CRB_USER" table="MAIN_YLJG" type="12" />
|
|
<f name="CRB_PASSWORD" table="MAIN_YLJG" type="12" />
|
|
<f name="CRB_URL" table="MAIN_YLJG" type="12" />
|
|
<f name="PKEY" type="12" table="MAIN_YLJG" />
|
|
<f name="TYSHXYDM" type="12" table="MAIN_YLJG" />
|
|
<f name="ZZJGBM" type="12" table="MAIN_YLJG" />
|
|
<f name="JGMC" type="12" table="MAIN_YLJG" />
|
|
<f name="DEMC" type="12" table="MAIN_YLJG" />
|
|
<f name="WSJGDM" type="12" table="MAIN_YLJG" />
|
|
<f name="XZQHDM" type="12" table="MAIN_YLJG" />
|
|
<f name="ADDR0" type="12" table="MAIN_YLJG" />
|
|
<f name="ADDR1" type="12" table="MAIN_YLJG" />
|
|
<f name="ADDR2" type="12" table="MAIN_YLJG" />
|
|
<f name="ADDR3" type="12" table="MAIN_YLJG" />
|
|
<f name="ADDR4" type="12" table="MAIN_YLJG" />
|
|
<f name="MPHM" type="12" table="MAIN_YLJG" />
|
|
<f name="JJLXDM" type="12" table="MAIN_YLJG" />
|
|
<f name="WSJGLBDM" type="12" table="MAIN_YLJG" />
|
|
<f name="JGFLGLDM" type="12" table="MAIN_YLJG" />
|
|
<f name="JGCLRQ" type="93" table="MAIN_YLJG" />
|
|
<f name="YZBM" type="12" table="MAIN_YLJG" />
|
|
<f name="LXDH" type="12" table="MAIN_YLJG" />
|
|
<f name="JGFZRXM" type="12" table="MAIN_YLJG" />
|
|
<f name="JGFZRLXDH" type="1" table="MAIN_YLJG" />
|
|
<f name="DWLSGXDM" type="12" table="MAIN_YLJG" />
|
|
<f name="YYDJDCDM" type="12" table="MAIN_YLJG" />
|
|
<f name="YYDJJBDM" type="12" table="MAIN_YLJG" />
|
|
<f name="SFYBDDYLJG" type="12" table="MAIN_YLJG" />
|
|
<f name="SJPKEY" type="12" table="MAIN_YLJG" />
|
|
<f name="LICENCE" type="12" table="MAIN_YLJG" />
|
|
<f name="ZT" type="12" table="MAIN_YLJG" />
|
|
<f name="SYSCOMPERFLAG" type="12" table="MAIN_YLJG" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="functionlistdao" cache="true" type="1" memo="菜单列表">
|
|
<sql>Select SYSFUNID,SYSFUNNUMBER,SYSFUNNAME_CN,SYSFUNDESC_CN,SYSFUN_SER,SYSFUN_REMARK,SYSFUN_FLAG,SYSFUN_STATUS,SYSFUN_DIFF,CJR,CJRQ,XGR,XGRQ,JGID,SYS_FUN_HELP,SYSFUN_LOOKVALUE,SYSFUN_ADDVALUE,SYSFUN_EDITVALUE,SYSFUN_DELETEVALUE,SYSFUN_POSTVALUE,SYSFUN_AMOUNTVALUE,SYSFUN_PRINTVALUE,SYSFUN_SELECTVALUE,SYSFUN_AUDITVALUE,SYSFUN_RETURNVALUE,SYSFUN_HELPVALUE,SYSFUN_SPACVALUE1,SYSFUN_SPACVALUE2,SYSFUN_SPACVALUE3,SYSFUN_SPACVALUE4,SYSFUN_SPACVALUE5,SYSFUN_PARENT from MAIN_FUNCTION</sql>
|
|
<tables>
|
|
<table name="MAIN_FUNCTION" insert="true" update="true" delete="true">
|
|
<primary>SYSFUNID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="SYSFUNID" type="12" table="MAIN_FUNCTION" />
|
|
<f name="SYSFUNNUMBER" type="12" table="MAIN_FUNCTION" />
|
|
<f name="SYSFUNNAME_CN" type="12" table="MAIN_FUNCTION" />
|
|
<f name="SYSFUNDESC_CN" type="12" table="MAIN_FUNCTION" />
|
|
<f name="SYSFUN_SER" type="-5" table="MAIN_FUNCTION" />
|
|
<f name="SYSFUN_REMARK" type="12" table="MAIN_FUNCTION" />
|
|
<f name="SYSFUN_FLAG" type="-5" table="MAIN_FUNCTION" />
|
|
<f name="SYSFUN_STATUS" type="-5" table="MAIN_FUNCTION" />
|
|
<f name="SYSFUN_DIFF" type="-5" table="MAIN_FUNCTION" />
|
|
<f name="CJR" type="12" table="MAIN_FUNCTION" />
|
|
<f name="CJRQ" type="93" table="MAIN_FUNCTION" />
|
|
<f name="XGR" type="12" table="MAIN_FUNCTION" />
|
|
<f name="XGRQ" type="93" table="MAIN_FUNCTION" />
|
|
<f name="JGID" type="12" table="MAIN_FUNCTION" />
|
|
<f name="SYS_FUN_HELP" type="12" table="MAIN_FUNCTION" />
|
|
<f name="SYSFUN_LOOKVALUE" type="-5" table="MAIN_FUNCTION" />
|
|
<f name="SYSFUN_ADDVALUE" type="-5" table="MAIN_FUNCTION" />
|
|
<f name="SYSFUN_EDITVALUE" type="-5" table="MAIN_FUNCTION" />
|
|
<f name="SYSFUN_DELETEVALUE" type="-5" table="MAIN_FUNCTION" />
|
|
<f name="SYSFUN_POSTVALUE" type="-5" table="MAIN_FUNCTION" />
|
|
<f name="SYSFUN_AMOUNTVALUE" type="-5" table="MAIN_FUNCTION" />
|
|
<f name="SYSFUN_PRINTVALUE" type="-5" table="MAIN_FUNCTION" />
|
|
<f name="SYSFUN_SELECTVALUE" type="-5" table="MAIN_FUNCTION" />
|
|
<f name="SYSFUN_AUDITVALUE" type="-5" table="MAIN_FUNCTION" />
|
|
<f name="SYSFUN_RETURNVALUE" type="-5" table="MAIN_FUNCTION" />
|
|
<f name="SYSFUN_HELPVALUE" type="-5" table="MAIN_FUNCTION" />
|
|
<f name="SYSFUN_SPACVALUE1" type="-5" table="MAIN_FUNCTION" />
|
|
<f name="SYSFUN_SPACVALUE2" type="-5" table="MAIN_FUNCTION" />
|
|
<f name="SYSFUN_SPACVALUE3" type="-5" table="MAIN_FUNCTION" />
|
|
<f name="SYSFUN_SPACVALUE4" type="-5" table="MAIN_FUNCTION" />
|
|
<f name="SYSFUN_SPACVALUE5" type="-5" table="MAIN_FUNCTION" />
|
|
<f name="SYSFUN_PARENT" type="12" table="MAIN_FUNCTION" />
|
|
</fields>
|
|
</dao>
|
|
<dao id="comgroupdao" type="1">
|
|
<sql>
|
|
select a.ID,a.FZID,a.YHID,a.JGID,b.FZBM from MAIN_YHZ a
|
|
left join MAIN_JGQXZ b on a.JGID=b.JGID and a.FZID=b.ID
|
|
where a.YHID=? and a.JGID=?
|
|
</sql>
|
|
<tables>
|
|
<table name="MAIN_YHZ" insert="true" update="true" delete="true">
|
|
<primary>ID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="ID" type="12" table="MAIN_YHZ" />
|
|
<f name="FZID" type="12" table="MAIN_YHZ" />
|
|
<f name="YHID" type="12" table="MAIN_YHZ" />
|
|
<f name="JGID" type="12" table="MAIN_YHZ" />
|
|
<f name="FZBM" type="12" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="sysfunctionmoduldao" cache="true" type="1">
|
|
<sql>select SYSFUNID,SYSFUNNUMBER,SYSFUNNAME_CN,SYSFUNDESC_CN,SYSFUN_SER,SYSFUN_REMARK,SYSFUN_FLAG,SYSFUN_STATUS,SYSFUN_DIFF,CJR,CJRQ,XGR,XGRQ,JGID,SYS_FUN_HELP,SYSFUN_LOOKVALUE,SYSFUN_ADDVALUE,SYSFUN_EDITVALUE,SYSFUN_DELETEVALUE,SYSFUN_POSTVALUE,SYSFUN_AMOUNTVALUE,SYSFUN_PRINTVALUE,SYSFUN_SELECTVALUE,SYSFUN_AUDITVALUE,SYSFUN_RETURNVALUE,SYSFUN_HELPVALUE,SYSFUN_SPACVALUE1,SYSFUN_SPACVALUE2,SYSFUN_SPACVALUE3,SYSFUN_SPACVALUE4,SYSFUN_SPACVALUE5,SYSFUN_PARENT,SYSFUN_ISGZGN from MAIN_FUNCTION where SysFun_Status=0 and SYSFUN_FLAG=0 ORDER BY SysFun_Ser,SYSFUNNUMBER ASC</sql>
|
|
<tables>
|
|
<table delete="true" insert="true" name="MAIN_FUNCTION" update="true">
|
|
<primary>SYSFUNID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="SYSFUNID" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUNNUMBER" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUNNAME_CN" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUNDESC_CN" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUN_SER" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_REMARK" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUN_FLAG" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_STATUS" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_DIFF" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="CJR" table="MAIN_FUNCTION" type="12" />
|
|
<f name="CJRQ" table="MAIN_FUNCTION" type="93" />
|
|
<f name="XGR" table="MAIN_FUNCTION" type="12" />
|
|
<f name="XGRQ" table="MAIN_FUNCTION" type="93" />
|
|
<f name="JGID" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYS_FUN_HELP" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUN_LOOKVALUE" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_ADDVALUE" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_EDITVALUE" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_DELETEVALUE" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_POSTVALUE" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_AMOUNTVALUE" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_PRINTVALUE" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_SELECTVALUE" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_AUDITVALUE" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_RETURNVALUE" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_HELPVALUE" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_SPACVALUE1" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_SPACVALUE2" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_SPACVALUE3" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_SPACVALUE4" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_SPACVALUE5" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_PARENT" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUN_ISGZGN" table="MAIN_FUNCTION" type="12" />
|
|
</fields>
|
|
</dao>
|
|
<dao id="sysfunctiondao" cache="true" type="1">
|
|
<sql>select SYSFUNID,SYSFUNNUMBER,SYSFUNNAME_CN,SYSFUNDESC_CN,SYSFUN_SER,SYSFUN_REMARK,SYSFUN_FLAG,SYSFUN_STATUS,SYSFUN_DIFF,CJR,CJRQ,XGR,XGRQ,JGID,SYS_FUN_HELP,SYSFUN_LOOKVALUE,SYSFUN_ADDVALUE,SYSFUN_EDITVALUE,SYSFUN_DELETEVALUE,SYSFUN_POSTVALUE,SYSFUN_AMOUNTVALUE,SYSFUN_PRINTVALUE,SYSFUN_SELECTVALUE,SYSFUN_AUDITVALUE,SYSFUN_RETURNVALUE,SYSFUN_HELPVALUE,SYSFUN_SPACVALUE1,SYSFUN_SPACVALUE2,SYSFUN_SPACVALUE3,SYSFUN_SPACVALUE4,SYSFUN_SPACVALUE5,SYSFUN_PARENT,SYSFUN_ISGZGN from MAIN_FUNCTION where SysFun_Status=0 and SYSFUNNUMBER like ? and SYSFUN_FLAG >= 1 ORDER BY SYSFUNNUMBER ASC</sql>
|
|
<tables>
|
|
<table delete="true" insert="true" name="MAIN_FUNCTION" update="true">
|
|
<primary>SYSFUNID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="SYSFUNID" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUNNUMBER" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUNNAME_CN" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUNDESC_CN" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUN_SER" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_REMARK" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUN_FLAG" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_STATUS" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_DIFF" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="CJR" table="MAIN_FUNCTION" type="12" />
|
|
<f name="CJRQ" table="MAIN_FUNCTION" type="93" />
|
|
<f name="XGR" table="MAIN_FUNCTION" type="12" />
|
|
<f name="XGRQ" table="MAIN_FUNCTION" type="93" />
|
|
<f name="JGID" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYS_FUN_HELP" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUN_LOOKVALUE" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUN_ADDVALUE" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUN_EDITVALUE" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUN_DELETEVALUE" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUN_POSTVALUE" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUN_AMOUNTVALUE" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUN_PRINTVALUE" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUN_SELECTVALUE" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUN_AUDITVALUE" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUN_RETURNVALUE" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUN_HELPVALUE" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUN_SPACVALUE1" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUN_SPACVALUE2" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUN_SPACVALUE3" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUN_SPACVALUE4" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUN_SPACVALUE5" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUN_PARENT" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUN_ISGZGN" table="MAIN_FUNCTION" type="12" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="focusFunctionDao" cache="true" log="true" type="1">
|
|
<sql>select SYSFUNID,SYSFUNNUMBER,SYSFUNNAME_CN,SYSFUNDESC_CN,SYSFUN_SER,SYSFUN_REMARK,SYSFUN_FLAG,SYSFUN_STATUS,SYSFUN_DIFF,CJR,CJRQ,XGR,XGRQ,JGID,SYS_FUN_HELP,SYSFUN_LOOKVALUE,SYSFUN_ADDVALUE,SYSFUN_EDITVALUE,SYSFUN_DELETEVALUE,SYSFUN_POSTVALUE,SYSFUN_AMOUNTVALUE,SYSFUN_PRINTVALUE,SYSFUN_SELECTVALUE,SYSFUN_AUDITVALUE,SYSFUN_RETURNVALUE,SYSFUN_HELPVALUE,SYSFUN_SPACVALUE1,SYSFUN_SPACVALUE2,SYSFUN_SPACVALUE3,SYSFUN_SPACVALUE4,SYSFUN_SPACVALUE5,SYSFUN_PARENT,SYSFUN_ISGZGN from MAIN_FUNCTION where SYSFUN_ISGZGN='1' and SysFun_Status=0 and SYSFUNNUMBER like ? and SYSFUN_FLAG = 3 ORDER BY SYSFUNNUMBER ASC</sql>
|
|
<tables>
|
|
<table delete="true" insert="true" name="MAIN_FUNCTION" update="true">
|
|
<primary>SYSFUNID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="SYSFUNID" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUNNUMBER" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUNNAME_CN" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUNDESC_CN" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUN_SER" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_REMARK" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUN_FLAG" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_STATUS" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_DIFF" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="CJR" table="MAIN_FUNCTION" type="12" />
|
|
<f name="CJRQ" table="MAIN_FUNCTION" type="93" />
|
|
<f name="XGR" table="MAIN_FUNCTION" type="12" />
|
|
<f name="XGRQ" table="MAIN_FUNCTION" type="93" />
|
|
<f name="JGID" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYS_FUN_HELP" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUN_LOOKVALUE" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_ADDVALUE" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_EDITVALUE" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_DELETEVALUE" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_POSTVALUE" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_AMOUNTVALUE" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_PRINTVALUE" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_SELECTVALUE" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_AUDITVALUE" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_RETURNVALUE" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_HELPVALUE" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_SPACVALUE1" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_SPACVALUE2" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_SPACVALUE3" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_SPACVALUE4" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_SPACVALUE5" table="MAIN_FUNCTION" type="-5" />
|
|
<f name="SYSFUN_PARENT" table="MAIN_FUNCTION" type="12" />
|
|
<f name="SYSFUN_ISGZGN" table="MAIN_FUNCTION" type="12" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="pgriddao1" type="1">
|
|
<sql>select distinct Main_Function.SysFunNumber,Main_Function.SysFunName_Cn,
|
|
Main_Function.SysFun_Parent,Main_Function.SysFun_Flag,
|
|
0 as SysFun_LookValue,0 as SysFun_AddValue,0 as SysFun_EditValue,
|
|
0 as SysFun_DeleteValue,0 as SysFun_PostValue,0 as SysFun_AmountValue,
|
|
0 as SysFun_PrintValue,0 as SysFun_SelectValue,0 as SysFun_AuditValue,
|
|
0 as SysFun_ReturnValue,0 as SysFun_HelpValue,0 as SysFun_SpacValue1,
|
|
0 as SysFun_SpacValue2,0 as SysFun_SpacValue3,0 as SysFun_SpacValue4,
|
|
0 as SysFun_SpacValue5
|
|
from MAIN_YHCDQX
|
|
inner join Main_Function on MAIN_YHCDQX.CDBM=Main_Function.SysFunNumber
|
|
where MAIN_YHCDQX.QXLB=0
|
|
and Main_Function.SysFun_Status=0 and MAIN_YHCDQX.TrueID=null
|
|
order by Main_Function.SysFunNumber
|
|
</sql>
|
|
<tables>
|
|
<table name="Main_Function" insert="false" update="false" delete="false">
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="SYSFUNNUMBER" type="12" />
|
|
<f name="SYSFUNNAME_CN" type="12" />
|
|
<f name="SYSFUN_PARENT" type="12" />
|
|
<f name="SYSFUN_FLAG" type="-5" />
|
|
<f name="SYSFUN_LOOKVALUE" type="4" />
|
|
<f name="SYSFUN_ADDVALUE" type="4" />
|
|
<f name="SYSFUN_EDITVALUE" type="4" />
|
|
<f name="SYSFUN_DELETEVALUE" type="4" />
|
|
<f name="SYSFUN_POSTVALUE" type="4" />
|
|
<f name="SYSFUN_AMOUNTVALUE" type="4" />
|
|
<f name="SYSFUN_PRINTVALUE" type="4" />
|
|
<f name="SYSFUN_SELECTVALUE" type="4" />
|
|
<f name="SYSFUN_AUDITVALUE" type="4" />
|
|
<f name="SYSFUN_RETURNVALUE" type="4" />
|
|
<f name="SYSFUN_HELPVALUE" type="4" />
|
|
<f name="SYSFUN_SPACVALUE1" type="4" />
|
|
<f name="SYSFUN_SPACVALUE2" type="4" />
|
|
<f name="SYSFUN_SPACVALUE3" type="4" />
|
|
<f name="SYSFUN_SPACVALUE4" type="4" />
|
|
<f name="SYSFUN_SPACVALUE5" type="4" />
|
|
</fields>
|
|
</dao>
|
|
<dao id="systemFunctionTreedao" type="1">
|
|
<sql>select SYSFUNID,SYSFUNNUMBER,SYSFUNNAME_CN,SYSFUNDESC_CN,SYSFUN_SER,SYSFUN_REMARK,SYSFUN_FLAG,SYSFUN_STATUS,SYSFUN_DIFF,CJR,CJRQ,XGR,XGRQ,JGID,SYS_FUN_HELP,SYSFUN_LOOKVALUE,SYSFUN_ADDVALUE,SYSFUN_EDITVALUE,SYSFUN_DELETEVALUE,SYSFUN_POSTVALUE,SYSFUN_AMOUNTVALUE,SYSFUN_PRINTVALUE,SYSFUN_SELECTVALUE,SYSFUN_AUDITVALUE,SYSFUN_RETURNVALUE,SYSFUN_HELPVALUE,SYSFUN_SPACVALUE1,SYSFUN_SPACVALUE2,SYSFUN_SPACVALUE3,SYSFUN_SPACVALUE4,SYSFUN_SPACVALUE5,SYSFUN_PARENT from Main_Function where JGID=? ORDER BY SYSFUNNUMBER,SYSFUN_SER ASC</sql>
|
|
<tables>
|
|
<table delete="false" insert="false" name="Main_Function" update="false">
|
|
<primary>SYSFUNID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="SYSFUNID" table="Main_Function" type="12" />
|
|
<f name="SYSFUNNUMBER" table="Main_Function" type="12" />
|
|
<f name="SYSFUNNAME_CN" table="Main_Function" type="12" />
|
|
<f name="SYSFUNDESC_CN" table="Main_Function" type="12" />
|
|
<f name="SYSFUN_SER" table="Main_Function" type="-5" />
|
|
<f name="SYSFUN_REMARK" table="Main_Function" type="12" />
|
|
<f name="SYSFUN_FLAG" table="Main_Function" type="-5" />
|
|
<f name="SYSFUN_STATUS" table="Main_Function" type="-5" />
|
|
<f name="SYSFUN_DIFF" table="Main_Function" type="-5" />
|
|
<f name="CJR" table="Main_Function" type="12" />
|
|
<f name="CJRQ" table="Main_Function" type="93" />
|
|
<f name="XGR" table="Main_Function" type="12" />
|
|
<f name="XGRQ" table="Main_Function" type="93" />
|
|
<f name="JGID" table="Main_Function" type="12" />
|
|
<f name="SYS_FUN_HELP" table="Main_Function" type="12" />
|
|
<f name="SYSFUN_LOOKVALUE" table="Main_Function" type="-5" />
|
|
<f name="SYSFUN_ADDVALUE" table="Main_Function" type="-5" />
|
|
<f name="SYSFUN_EDITVALUE" table="Main_Function" type="-5" />
|
|
<f name="SYSFUN_DELETEVALUE" table="Main_Function" type="-5" />
|
|
<f name="SYSFUN_POSTVALUE" table="Main_Function" type="-5" />
|
|
<f name="SYSFUN_AMOUNTVALUE" table="Main_Function" type="-5" />
|
|
<f name="SYSFUN_PRINTVALUE" table="Main_Function" type="-5" />
|
|
<f name="SYSFUN_SELECTVALUE" table="Main_Function" type="-5" />
|
|
<f name="SYSFUN_AUDITVALUE" table="Main_Function" type="-5" />
|
|
<f name="SYSFUN_RETURNVALUE" table="Main_Function" type="-5" />
|
|
<f name="SYSFUN_HELPVALUE" table="Main_Function" type="-5" />
|
|
<f name="SYSFUN_SPACVALUE1" table="Main_Function" type="-5" />
|
|
<f name="SYSFUN_SPACVALUE2" table="Main_Function" type="-5" />
|
|
<f name="SYSFUN_SPACVALUE3" table="Main_Function" type="-5" />
|
|
<f name="SYSFUN_SPACVALUE4" table="Main_Function" type="-5" />
|
|
<f name="SYSFUN_SPACVALUE5" table="Main_Function" type="-5" />
|
|
<f name="SYSFUN_PARENT" table="Main_Function" type="12" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="griddao2" type="1" memo="使用群组">
|
|
<sql>select distinct d.SysFunNumber,d.SysFunName_Cn,d.SysFun_Parent,d.SysFun_Flag from MAIN_YHZCDQX a inner join MAIN_YHZCD b on a.CDZ=b.ID inner join MAIN_YHCDQX c on c.TrueID=b.ID inner join Main_Function d on c.CDBM=d.SysFunNumber where c.QXLB=1 and b.ZT=0 and d.SysFun_Status=0 and a.JGID=? order by d.SysFunNumber</sql>
|
|
<tables>
|
|
<table delete="false" insert="false" name="Main_Function" update="false">
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="SYSFUNNUMBER" table="Main_Function" type="12" />
|
|
<f name="SYSFUNNAME_CN" table="Main_Function" type="12" />
|
|
<f name="SYSFUN_PARENT" table="Main_Function" type="12" />
|
|
<f name="SYSFUN_FLAG" table="Main_Function" type="-5" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="funvaluedao" type="1">
|
|
<sql>select ID,MKBM,YHID,QXLB,CJR,CJRQ,
|
|
XGR,XGRQ,JGID,SYSFUN_LOOKVALUE,SYSFUN_ADDVALUE,SYSFUN_EDITVALUE,
|
|
SYSFUN_DELETEVALUE,SYSFUN_POSTVALUE,SYSFUN_AMOUNTVALUE,SYSFUN_PRINTVALUE,
|
|
SYSFUN_SELECTVALUE,SYSFUN_AUDITVALUE,SYSFUN_RETURNVALUE,SYSFUN_HELPVALUE,
|
|
SYSFUN_SPACVALUE1,SYSFUN_SPACVALUE2,SYSFUN_SPACVALUE3,SYSFUN_SPACVALUE4,
|
|
SYSFUN_SPACVALUE5
|
|
from MAIN_YHQX
|
|
where YHID=? and QXLB=? and JGID=?
|
|
</sql>
|
|
<tables>
|
|
<table delete="false" insert="false" name="MAIN_YHQX" update="false">
|
|
<primary>ID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="ID" type="12" table="MAIN_YHQX" />
|
|
<f name="MKBM" type="12" table="MAIN_YHQX" />
|
|
<f name="YHID" type="12" table="MAIN_YHQX" />
|
|
<f name="QXLB" type="12" table="MAIN_YHQX" />
|
|
<f name="CJR" type="12" table="MAIN_YHQX" />
|
|
<f name="CJRQ" type="93" table="MAIN_YHQX" />
|
|
<f name="XGR" type="12" table="MAIN_YHQX" />
|
|
<f name="XGRQ" type="93" table="MAIN_YHQX" />
|
|
<f name="JGID" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_LOOKVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_ADDVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_EDITVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_DELETEVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_POSTVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_AMOUNTVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_PRINTVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SELECTVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_AUDITVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_RETURNVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_HELPVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE1" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE2" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE3" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE4" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE5" type="12" table="MAIN_YHQX" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="userdlksdao" cache="true" type="1" memo="用户指定的科室">
|
|
<sql>select a.KSBM,b.DPTZJM,b.DPTID,b.DPTNAME KSMC,b.DPTTYPE,b.DPTGPID from MAIN_YHGLKS a left join MAIN_KS b on a.JGID=b.JGID and a.KSBM=b.DPTID where a.JGID=? and a.EMPID=? and a.SCBZ=0 order by DPTTYPE,KSMC</sql>
|
|
<tables>
|
|
<table name="MAIN_YHGLKS" insert="false" update="false" delete="false">
|
|
<primary>KSBM</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="KSBM" type="12" table="MAIN_YHGLKS" />
|
|
<f name="DPTZJM" type="12" />
|
|
<f name="DPTID" type="12" />
|
|
<f name="KSMC" type="12" table="MAIN_YHGLKS" />
|
|
<f name="DPTTYPE" type="12" />
|
|
<f name="DPTGPID" type="12" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="yltManagerHosDao" type="1">
|
|
<sql>select PKEY,TYSHXYDM,ZZJGBM,JGMC,DEMC,WSJGDM,XZQHDM,ADDR0,ADDR1,ADDR2,ADDR3,ADDR4,MPHM,JJLXDM,WSJGLBDM,JGFLGLDM,JGCLRQ,YZBM,LXDH,JGFZRXM,JGFZRLXDH,DWLSGXDM,YYDJDCDM,YYDJJBDM,SFYBDDYLJG,SJPKEY,LICENCE,ZT from MAIN_YLJG where SJPKEY=? order by JGMC</sql>
|
|
<tables>
|
|
<table delete="true" insert="true" name="MAIN_YLJG" update="true">
|
|
<primary>PKEY</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" table="MAIN_YLJG" type="12" />
|
|
<f name="TYSHXYDM" table="MAIN_YLJG" type="12" />
|
|
<f name="ZZJGBM" table="MAIN_YLJG" type="12" />
|
|
<f name="JGMC" table="MAIN_YLJG" type="12" />
|
|
<f name="DEMC" table="MAIN_YLJG" type="12" />
|
|
<f name="WSJGDM" table="MAIN_YLJG" type="12" />
|
|
<f name="XZQHDM" table="MAIN_YLJG" type="12" />
|
|
<f name="ADDR0" table="MAIN_YLJG" type="12" />
|
|
<f name="ADDR1" table="MAIN_YLJG" type="12" />
|
|
<f name="ADDR2" table="MAIN_YLJG" type="12" />
|
|
<f name="ADDR3" table="MAIN_YLJG" type="12" />
|
|
<f name="ADDR4" table="MAIN_YLJG" type="12" />
|
|
<f name="MPHM" table="MAIN_YLJG" type="12" />
|
|
<f name="JJLXDM" table="MAIN_YLJG" type="12" />
|
|
<f name="WSJGLBDM" table="MAIN_YLJG" type="12" />
|
|
<f name="JGFLGLDM" table="MAIN_YLJG" type="12" />
|
|
<f name="JGCLRQ" table="MAIN_YLJG" type="93" />
|
|
<f name="YZBM" table="MAIN_YLJG" type="12" />
|
|
<f name="LXDH" table="MAIN_YLJG" type="12" />
|
|
<f name="JGFZRXM" table="MAIN_YLJG" type="12" />
|
|
<f name="JGFZRLXDH" table="MAIN_YLJG" type="1" />
|
|
<f name="DWLSGXDM" table="MAIN_YLJG" type="12" />
|
|
<f name="YYDJDCDM" table="MAIN_YLJG" type="12" />
|
|
<f name="YYDJJBDM" table="MAIN_YLJG" type="12" />
|
|
<f name="SFYBDDYLJG" table="MAIN_YLJG" type="12" />
|
|
<f name="SJPKEY" table="MAIN_YLJG" type="12" />
|
|
<f name="LICENCE" table="MAIN_YLJG" type="12" />
|
|
<f name="ZT" table="MAIN_YLJG" type="12" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="wbpydao" cache="true" type="1">
|
|
<sql>select JT,FT,SP,SW,QP,QW from WBPYBM</sql>
|
|
<tables>
|
|
<table name="WBPYBM" insert="true" update="true" delete="true">
|
|
<primary>FT</primary>
|
|
<primary>JT</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="JT" type="12" table="WBPYBM" />
|
|
<f name="FT" type="12" table="WBPYBM" />
|
|
<f name="SP" type="12" table="WBPYBM" />
|
|
<f name="SW" type="12" table="WBPYBM" />
|
|
<f name="QP" type="12" table="WBPYBM" />
|
|
<f name="QW" type="12" table="WBPYBM" />
|
|
</fields>
|
|
</dao>
|
|
<dao id="menuDao" cache="true" type="1">
|
|
<sql>select A.TYPE,A.OPEN_TYPE,A.ALL_CLASSNAME,A.MENUID,A.MENU_IMG,A.IS_REGISTER,A.PARAMS_KEY,A.PARAMS_VALUE,B.SYSFUNNAME_CN MENU_NAME from MAIN_MENU A LEFT JOIN MAIN_FUNCTION B ON A.MENUID=B.SYSFUNNUMBER</sql>
|
|
<tables>
|
|
<table name="MAIN_MENU" insert="true" update="true" delete="true">
|
|
<primary>MENUID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="TYPE" type="12" table="MAIN_MENU" />
|
|
<f name="OPEN_TYPE" type="12" table="MAIN_MENU" />
|
|
<f name="ALL_CLASSNAME" type="12" table="MAIN_MENU" />
|
|
<f name="MENUID" type="12" table="MAIN_MENU" />
|
|
<f name="MENU_IMG" type="12" table="MAIN_MENU" />
|
|
<f name="IS_REGISTER" type="12" table="MAIN_MENU" />
|
|
<f name="PARAMS_KEY" type="12" table="MAIN_MENU" />
|
|
<f name="PARAMS_VALUE" type="12" table="MAIN_MENU" />
|
|
<f name="MENU_NAME" type="12" />
|
|
</fields>
|
|
</dao>
|
|
<dao id="nocomgroupnouserdao" type="1" memo="使用非群组公司权限和非群组个人权限1">
|
|
<sql>select A.ID,A.YHID,A.QXLB,A.CJR,A.CJRQ,A.XGR,A.XGRQ,A.JGID,A.SYSFUN_LOOKVALUE,A.SYSFUN_ADDVALUE,A.SYSFUN_EDITVALUE,A.SYSFUN_DELETEVALUE,A.SYSFUN_POSTVALUE,A.SYSFUN_AMOUNTVALUE,A.SYSFUN_PRINTVALUE,A.SYSFUN_SELECTVALUE,A.SYSFUN_AUDITVALUE,A.SYSFUN_RETURNVALUE,A.SYSFUN_HELPVALUE,A.SYSFUN_SPACVALUE1,A.SYSFUN_SPACVALUE2,A.SYSFUN_SPACVALUE3,A.SYSFUN_SPACVALUE4,A.SYSFUN_SPACVALUE5,temptable.SYSFUNNUMBER,temptable.SYSFUNNAME_CN,temptable.SYSFUN_PARENT,temptable.SYSFUN_FLAG from MAIN_YHQX A
|
|
inner join (select distinct Main_Function.SysFunNumber,
|
|
Main_Function.SysFunName_Cn,Main_Function.SysFun_Parent,Main_Function.SysFun_Flag
|
|
from MAIN_YHCDQX
|
|
inner join Main_Function on MAIN_YHCDQX.CDBM=Main_Function.SysFunNumber
|
|
where MAIN_YHCDQX.QXLB='0'
|
|
and Main_Function.SysFun_Status=0
|
|
and MAIN_YHCDQX.TRUEID=?
|
|
) temptable
|
|
on A.MKBM=temptable.SysFunNumber
|
|
where A.JGID=?
|
|
and A.YHID=?
|
|
and A.QXLB='0'
|
|
and A.SysFun_LookValue=1
|
|
order by temptable.SysFunNumber
|
|
</sql>
|
|
<tables>
|
|
<table name="MAIN_YHQX" insert="false" update="false" delete="false">
|
|
<primary>ID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="ID" type="12" table="MAIN_YHQX" />
|
|
<f name="YHID" type="12" table="MAIN_YHQX" />
|
|
<f name="QXLB" type="12" table="MAIN_YHQX" />
|
|
<f name="CJR" type="12" table="MAIN_YHQX" />
|
|
<f name="CJRQ" type="93" table="MAIN_YHQX" />
|
|
<f name="XGR" type="12" table="MAIN_YHQX" />
|
|
<f name="XGRQ" type="93" table="MAIN_YHQX" />
|
|
<f name="JGID" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_LOOKVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_ADDVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_EDITVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_DELETEVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_POSTVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_AMOUNTVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_PRINTVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SELECTVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_AUDITVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_RETURNVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_HELPVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE1" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE2" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE3" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE4" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE5" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUNNUMBER" type="12" />
|
|
<f name="SYSFUNNAME_CN" type="12" />
|
|
<f name="SYSFUN_PARENT" type="12" />
|
|
<f name="SYSFUN_FLAG" type="-5" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="comgroupnouserdao" type="1" memo="使用群组公司权限和非群组个人权限2">
|
|
<sql>select A.ID,A.YHID,A.QXLB,A.CJR,A.CJRQ,A.XGR,A.XGRQ,A.JGID,A.SYSFUN_LOOKVALUE,A.SYSFUN_ADDVALUE,A.SYSFUN_EDITVALUE,A.SYSFUN_DELETEVALUE,A.SYSFUN_POSTVALUE,A.SYSFUN_AMOUNTVALUE,A.SYSFUN_PRINTVALUE,A.SYSFUN_SELECTVALUE,A.SYSFUN_AUDITVALUE,A.SYSFUN_RETURNVALUE,A.SYSFUN_HELPVALUE,A.SYSFUN_SPACVALUE1,A.SYSFUN_SPACVALUE2,A.SYSFUN_SPACVALUE3,A.SYSFUN_SPACVALUE4,A.SYSFUN_SPACVALUE5,temptable.SYSFUNNUMBER,temptable.SYSFUNNAME_CN,temptable.SYSFUN_PARENT,temptable.SYSFUN_FLAG from MAIN_YHQX A
|
|
inner join (
|
|
select distinct Main_Function.SysFunNumber,
|
|
Main_Function.SysFunName_Cn,Main_Function.SysFun_Parent,Main_Function.SysFun_Flag
|
|
from MAIN_YHZCDQX
|
|
inner join MAIN_YHZCD on MAIN_YHZCDQX.CDZ=MAIN_YHZCD.ID
|
|
inner join MAIN_YHCDQX on MAIN_YHCDQX.TRUEID=MAIN_YHZCD.ID
|
|
inner join Main_Function on
|
|
MAIN_YHCDQX.CDBM=Main_Function.SysFunNumber
|
|
|
|
where MAIN_YHCDQX.QXLB='1' and MAIN_YHZCD.ZT='0'
|
|
and Main_Function.SysFun_Status=0 and MAIN_YHZCDQX.JGID=?
|
|
) temptable
|
|
on A.MKBM=temptable.SysFunNumber
|
|
where A.JGID=?
|
|
and A.YHID=?
|
|
and A.QXLB='0'
|
|
and A.SysFun_LookValue=1
|
|
order by temptable.SysFunNumber
|
|
</sql>
|
|
<tables>
|
|
<table name="MAIN_YHQX" insert="false" update="false" delete="false">
|
|
<primary>ID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="ID" type="12" table="MAIN_YHQX" />
|
|
<f name="YHID" type="12" table="MAIN_YHQX" />
|
|
<f name="QXLB" type="12" table="MAIN_YHQX" />
|
|
<f name="CJR" type="12" table="MAIN_YHQX" />
|
|
<f name="CJRQ" type="93" table="MAIN_YHQX" />
|
|
<f name="XGR" type="12" table="MAIN_YHQX" />
|
|
<f name="XGRQ" type="93" table="MAIN_YHQX" />
|
|
<f name="JGID" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_LOOKVALUE" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_ADDVALUE" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_EDITVALUE" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_DELETEVALUE" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_POSTVALUE" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_AMOUNTVALUE" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_PRINTVALUE" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SELECTVALUE" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_AUDITVALUE" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_RETURNVALUE" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_HELPVALUE" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE1" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE2" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE3" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE4" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE5" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUNNUMBER" type="12" />
|
|
<f name="SYSFUNNAME_CN" type="12" />
|
|
<f name="SYSFUN_PARENT" type="12" />
|
|
<f name="SYSFUN_FLAG" type="-5" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="nocomgroupuserdao" type="1" memo="使用非群组公司权限和群组个人权限3">
|
|
<sql>select A.ID,A.YHID,A.QXLB,A.CJR,A.CJRQ,A.XGR,A.XGRQ,A.JGID,A.SYSFUN_LOOKVALUE,A.SYSFUN_ADDVALUE,A.SYSFUN_EDITVALUE,A.SYSFUN_DELETEVALUE,A.SYSFUN_POSTVALUE,A.SYSFUN_AMOUNTVALUE,A.SYSFUN_PRINTVALUE,A.SYSFUN_SELECTVALUE,A.SYSFUN_AUDITVALUE,A.SYSFUN_RETURNVALUE,A.SYSFUN_HELPVALUE,A.SYSFUN_SPACVALUE1,A.SYSFUN_SPACVALUE2,A.SYSFUN_SPACVALUE3,A.SYSFUN_SPACVALUE4,A.SYSFUN_SPACVALUE5,temptable.SYSFUNNUMBER,temptable.SYSFUNNAME_CN,temptable.SYSFUN_PARENT,temptable.SYSFUN_FLAG
|
|
from MAIN_YHZ
|
|
inner join MAIN_JGQXZ on MAIN_YHZ.FZID=MAIN_JGQXZ.ID
|
|
inner join MAIN_YHQX A on A.YHID=MAIN_JGQXZ.ID
|
|
inner join (
|
|
select distinct Main_Function.SysFunNumber,Main_Function.SysFunName_Cn,Main_Function.SysFun_Parent,
|
|
Main_Function.SysFun_Flag
|
|
from MAIN_YHCDQX
|
|
inner join Main_Function on
|
|
MAIN_YHCDQX.CDBM=Main_Function.SysFunNumber
|
|
where MAIN_YHCDQX.QXLB='0' and Main_Function.SysFun_Status=0 and MAIN_YHCDQX.TRUEID=? ) temptable
|
|
on A.MKBM=temptable.SysFunNumber
|
|
where MAIN_YHZ.JGID=MAIN_JGQXZ.JGID
|
|
and A.JGID=MAIN_JGQXZ.JGID
|
|
and MAIN_YHZ.JGID=?
|
|
and MAIN_YHZ.YHID=?
|
|
and MAIN_JGQXZ.ZT='0'
|
|
and A.QXLB='1'
|
|
and A.SysFun_LookValue=1
|
|
order by temptable.SysFunNumber
|
|
</sql>
|
|
<tables>
|
|
<table name="MAIN_YHQX" insert="false" update="false" delete="false">
|
|
<primary>ID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="ID" type="12" table="MAIN_YHQX" />
|
|
<f name="YHID" type="12" table="MAIN_YHQX" />
|
|
<f name="QXLB" type="12" table="MAIN_YHQX" />
|
|
<f name="CJR" type="12" table="MAIN_YHQX" />
|
|
<f name="CJRQ" type="93" table="MAIN_YHQX" />
|
|
<f name="XGR" type="12" table="MAIN_YHQX" />
|
|
<f name="XGRQ" type="93" table="MAIN_YHQX" />
|
|
<f name="JGID" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_LOOKVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_ADDVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_EDITVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_DELETEVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_POSTVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_AMOUNTVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_PRINTVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SELECTVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_AUDITVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_RETURNVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_HELPVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE1" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE2" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE3" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE4" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE5" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUNNUMBER" type="12" />
|
|
<f name="SYSFUNNAME_CN" type="12" />
|
|
<f name="SYSFUN_PARENT" type="12" />
|
|
<f name="SYSFUN_FLAG" type="-5" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="comgroupuserdao" type="1" memo="使用群组公司权限和群组个人权限4">
|
|
<sql>select A.ID,A.YHID,A.QXLB,A.CJR,A.CJRQ,A.XGR,A.XGRQ,A.JGID,A.SYSFUN_LOOKVALUE,A.SYSFUN_ADDVALUE,A.SYSFUN_EDITVALUE,A.SYSFUN_DELETEVALUE,A.SYSFUN_POSTVALUE,A.SYSFUN_AMOUNTVALUE,A.SYSFUN_PRINTVALUE,A.SYSFUN_SELECTVALUE,A.SYSFUN_AUDITVALUE,A.SYSFUN_RETURNVALUE,A.SYSFUN_HELPVALUE,A.SYSFUN_SPACVALUE1,A.SYSFUN_SPACVALUE2,A.SYSFUN_SPACVALUE3,A.SYSFUN_SPACVALUE4,A.SYSFUN_SPACVALUE5,temptable.SYSFUNNUMBER,temptable.SYSFUNNAME_CN,temptable.SYSFUN_PARENT,temptable.SYSFUN_FLAG
|
|
from MAIN_YHZ
|
|
inner join MAIN_JGQXZ on MAIN_YHZ.FZID=MAIN_JGQXZ.ID
|
|
inner join MAIN_YHQX A on A.YHID=MAIN_JGQXZ.ID
|
|
inner join (
|
|
select distinct Main_Function.SysFunNumber,
|
|
Main_Function.SysFunName_Cn,Main_Function.SysFun_Parent,Main_Function.SysFun_Flag
|
|
from MAIN_YHZCDQX
|
|
inner join MAIN_YHZCD on MAIN_YHZCDQX.CDZ=MAIN_YHZCD.ID
|
|
inner join MAIN_YHCDQX on MAIN_YHCDQX.TRUEID=MAIN_YHZCD.ID
|
|
inner join Main_Function on MAIN_YHCDQX.CDBM=Main_Function.SysFunNumber
|
|
|
|
where MAIN_YHCDQX.QXLB='1'
|
|
and MAIN_YHZCD.ZT='0'
|
|
and Main_Function.SysFun_Status='0' and MAIN_YHZCDQX.JGID=?
|
|
) temptable on A.MKBM=temptable.SysFunNumber
|
|
where MAIN_YHZ.JGID=MAIN_JGQXZ.JGID
|
|
and A.JGID=MAIN_JGQXZ.JGID
|
|
and MAIN_YHZ.JGID=?
|
|
and MAIN_YHZ.YHID=?
|
|
and MAIN_JGQXZ.ZT='0'
|
|
and A.QXLB='1'
|
|
and A.SysFun_LookValue=1
|
|
order by temptable.SysFunNumber
|
|
</sql>
|
|
<tables>
|
|
<table name="MAIN_YHQX" insert="false" update="false" delete="false">
|
|
<primary>ID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="ID" type="12" table="MAIN_YHQX" />
|
|
<f name="YHID" type="12" table="MAIN_YHQX" />
|
|
<f name="QXLB" type="12" table="MAIN_YHQX" />
|
|
<f name="CJR" type="12" table="MAIN_YHQX" />
|
|
<f name="CJRQ" type="93" table="MAIN_YHQX" />
|
|
<f name="XGR" type="12" table="MAIN_YHQX" />
|
|
<f name="XGRQ" type="93" table="MAIN_YHQX" />
|
|
<f name="JGID" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_LOOKVALUE" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_ADDVALUE" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_EDITVALUE" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_DELETEVALUE" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_POSTVALUE" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_AMOUNTVALUE" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_PRINTVALUE" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SELECTVALUE" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_AUDITVALUE" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_RETURNVALUE" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_HELPVALUE" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE1" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE2" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE3" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE4" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE5" type="-5" table="MAIN_YHQX" />
|
|
<f name="SYSFUNNUMBER" type="12" />
|
|
<f name="SYSFUNNAME_CN" type="12" />
|
|
<f name="SYSFUN_PARENT" type="12" />
|
|
<f name="SYSFUN_FLAG" type="-5" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="getfileserverdao" log="true" type="1" memo="获取文件服务器地址">
|
|
<sql>
|
|
select PKEY,YSIP,MDIP,FILESERVER,ZT,CJR,CJRQ,XGR,XGRQ,LOCKFLAG from MAIN_FILESERVER where ZT='1'
|
|
</sql>
|
|
<tables>
|
|
<table name="MAIN_FILESERVER" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="MAIN_FILESERVER" />
|
|
<f name="YSIP" type="12" table="MAIN_FILESERVER" />
|
|
<f name="MDIP" type="12" table="MAIN_FILESERVER" />
|
|
<f name="FILESERVER" type="12" table="MAIN_FILESERVER" />
|
|
<f name="ZT" type="12" table="MAIN_FILESERVER" />
|
|
<f name="CJR" type="12" table="MAIN_FILESERVER" />
|
|
<f name="CJRQ" type="93" table="MAIN_FILESERVER" />
|
|
<f name="XGR" type="12" table="MAIN_FILESERVER" />
|
|
<f name="XGRQ" type="93" table="MAIN_FILESERVER" />
|
|
<f name="LOCKFLAG" type="-5" table="MAIN_FILESERVER" />
|
|
</fields>
|
|
</dao>
|
|
<dao id="commanfunctiondao" type="1">
|
|
<sql>select 0 js,0 isdelete,FUNCTIONID,FUNCTIONTYPE,CANDELETE,ISFIXED,NAME,ICON,QZ,USERACCOUNT,JGID,LASTUSERTIME,LASTLOCATION,LASTUSERIP from MAIN_OPERATION where JGID=? and useraccount = ? order by ISFIXED desc,qz desc</sql>
|
|
<tables>
|
|
<table name="MAIN_OPERATION" insert="true" update="true" delete="true">
|
|
<primary>FUNCTIONID</primary>
|
|
<primary>USERACCOUNT</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="js" type="8" table="MAIN_OPERATION" />
|
|
<f name="isdelete" type="8" table="MAIN_OPERATION" />
|
|
<f name="FUNCTIONID" type="12" table="MAIN_OPERATION" />
|
|
<f name="FUNCTIONTYPE" type="12" table="MAIN_OPERATION" />
|
|
<f name="CANDELETE" type="12" table="MAIN_OPERATION" />
|
|
<f name="ISFIXED" type="12" table="MAIN_OPERATION" />
|
|
<f name="NAME" type="12" table="MAIN_OPERATION" />
|
|
<f name="ICON" type="12" table="MAIN_OPERATION" />
|
|
<f name="QZ" type="8" table="MAIN_OPERATION" />
|
|
<f name="USERACCOUNT" type="12" table="MAIN_OPERATION" />
|
|
<f name="JGID" type="12" table="MAIN_OPERATION" />
|
|
<f name="LASTUSERTIME" type="93" table="MAIN_OPERATION" />
|
|
<f name="LASTLOCATION" type="12" table="MAIN_OPERATION" />
|
|
<f name="LASTUSERIP" type="12" table="MAIN_OPERATION" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="commonfunctionmemorydao" type="1">
|
|
<sql>select FUNCTIONID,USERACCOUNT,JGID,ISFIXED,NAME,ICON,QZ from MAIN_OPERATIONCACHE where useraccount = ? and JGID=? order by isfixed desc,qz desc</sql>
|
|
<tables>
|
|
<table name="MAIN_OPERATIONCACHE" insert="true" update="true" delete="true">
|
|
<primary>FUNCTIONID</primary>
|
|
<primary>USERACCOUNT</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="FUNCTIONID" type="12" table="MAIN_OPERATIONCACHE" />
|
|
<f name="USERACCOUNT" type="12" table="MAIN_OPERATIONCACHE" />
|
|
<f name="JGID" type="12" table="MAIN_OPERATIONCACHE" />
|
|
<f name="ISFIXED" type="12" table="MAIN_OPERATIONCACHE" />
|
|
<f name="NAME" type="12" table="MAIN_OPERATIONCACHE" />
|
|
<f name="ICON" type="12" table="MAIN_OPERATIONCACHE" />
|
|
<f name="QZ" type="8" table="MAIN_OPERATIONCACHE" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="yszsmemorydao" type="1">
|
|
<sql>select PKEY,TYPE,GJZ,QZ,JGID,USERACCOUNT from MAIN_MEMORY where type = '0' and JGID = ? and USERACCOUNT = ? order by QZ desc</sql>
|
|
<tables>
|
|
<table name="MAIN_MEMORY" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>TYPE</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="MAIN_MEMORY" />
|
|
<f name="TYPE" type="12" table="MAIN_MEMORY" />
|
|
<f name="GJZ" type="12" table="MAIN_MEMORY" />
|
|
<f name="QZ" type="4" table="MAIN_MEMORY" />
|
|
<f name="JGID" type="12" table="MAIN_MEMORY" />
|
|
<f name="USERACCOUNT" type="12" table="MAIN_MEMORY" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="ysjbmemorydao" type="1">
|
|
<sql>select PKEY,TYPE,GJZ,QZ,JGID,USERACCOUNT from MAIN_MEMORY where type = '1' and JGID = ? and USERACCOUNT = ? order by QZ desc</sql>
|
|
<tables>
|
|
<table name="MAIN_MEMORY" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>TYPE</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="MAIN_MEMORY" />
|
|
<f name="TYPE" type="12" table="MAIN_MEMORY" />
|
|
<f name="GJZ" type="12" table="MAIN_MEMORY" />
|
|
<f name="QZ" type="4" table="MAIN_MEMORY" />
|
|
<f name="JGID" type="12" table="MAIN_MEMORY" />
|
|
<f name="USERACCOUNT" type="12" table="MAIN_MEMORY" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="yslismemorydao" type="1">
|
|
<sql>select PKEY,TYPE,GJZ,QZ,JGID,USERACCOUNT from MAIN_MEMORY where type = '2' and JGID = ? and USERACCOUNT = ? order by QZ desc</sql>
|
|
<tables>
|
|
<table name="MAIN_MEMORY" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>TYPE</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="MAIN_MEMORY" />
|
|
<f name="TYPE" type="12" table="MAIN_MEMORY" />
|
|
<f name="GJZ" type="12" table="MAIN_MEMORY" />
|
|
<f name="QZ" type="4" table="MAIN_MEMORY" />
|
|
<f name="JGID" type="12" table="MAIN_MEMORY" />
|
|
<f name="USERACCOUNT" type="12" table="MAIN_MEMORY" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="ysypmemorydao" type="1">
|
|
<sql>select PKEY,TYPE,GJZ,QZ,JGID,USERACCOUNT from MAIN_MEMORY where type = '3' and JGID = ? and USERACCOUNT = ? order by QZ desc</sql>
|
|
<tables>
|
|
<table name="MAIN_MEMORY" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>TYPE</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="MAIN_MEMORY" />
|
|
<f name="TYPE" type="12" table="MAIN_MEMORY" />
|
|
<f name="GJZ" type="12" table="MAIN_MEMORY" />
|
|
<f name="QZ" type="4" table="MAIN_MEMORY" />
|
|
<f name="JGID" type="12" table="MAIN_MEMORY" />
|
|
<f name="USERACCOUNT" type="12" table="MAIN_MEMORY" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="ysxmmemorydao" type="1">
|
|
<sql>select PKEY,TYPE,GJZ,QZ,JGID,USERACCOUNT from MAIN_MEMORY where type = '4' and JGID = ? and USERACCOUNT = ? order by QZ desc</sql>
|
|
<tables>
|
|
<table name="MAIN_MEMORY" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>TYPE</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="MAIN_MEMORY" />
|
|
<f name="TYPE" type="12" table="MAIN_MEMORY" />
|
|
<f name="GJZ" type="12" table="MAIN_MEMORY" />
|
|
<f name="QZ" type="4" table="MAIN_MEMORY" />
|
|
<f name="JGID" type="12" table="MAIN_MEMORY" />
|
|
<f name="USERACCOUNT" type="12" table="MAIN_MEMORY" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="ysjycfmemorydao" type="1">
|
|
<sql>select PKEY,TYPE,GJZ,QZ,JGID,USERACCOUNT from MAIN_MEMORY where type = '5' and JGID = ? and USERACCOUNT = ? order by QZ desc</sql>
|
|
<tables>
|
|
<table name="MAIN_MEMORY" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>TYPE</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="MAIN_MEMORY" />
|
|
<f name="TYPE" type="12" table="MAIN_MEMORY" />
|
|
<f name="GJZ" type="12" table="MAIN_MEMORY" />
|
|
<f name="QZ" type="4" table="MAIN_MEMORY" />
|
|
<f name="JGID" type="12" table="MAIN_MEMORY" />
|
|
<f name="USERACCOUNT" type="12" table="MAIN_MEMORY" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="ysyfmemorydao" type="1">
|
|
<sql>select PKEY,TYPE,GJZ,QZ,JGID,USERACCOUNT from MAIN_MEMORY where type = '6' and JGID = ? and USERACCOUNT = ? order by QZ desc</sql>
|
|
<tables>
|
|
<table name="MAIN_MEMORY" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>TYPE</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="MAIN_MEMORY" />
|
|
<f name="TYPE" type="12" table="MAIN_MEMORY" />
|
|
<f name="GJZ" type="12" table="MAIN_MEMORY" />
|
|
<f name="QZ" type="4" table="MAIN_MEMORY" />
|
|
<f name="JGID" type="12" table="MAIN_MEMORY" />
|
|
<f name="USERACCOUNT" type="12" table="MAIN_MEMORY" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="yspcmemorydao" type="1">
|
|
<sql>select PKEY,TYPE,GJZ,QZ,JGID,USERACCOUNT from MAIN_MEMORY where type = '7' and JGID = ? and USERACCOUNT = ? order by QZ desc</sql>
|
|
<tables>
|
|
<table name="MAIN_MEMORY" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>TYPE</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="MAIN_MEMORY" />
|
|
<f name="TYPE" type="12" table="MAIN_MEMORY" />
|
|
<f name="GJZ" type="12" table="MAIN_MEMORY" />
|
|
<f name="QZ" type="4" table="MAIN_MEMORY" />
|
|
<f name="JGID" type="12" table="MAIN_MEMORY" />
|
|
<f name="USERACCOUNT" type="12" table="MAIN_MEMORY" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="ysrismemorydao" type="1">
|
|
<sql>select PKEY,TYPE,GJZ,QZ,JGID,USERACCOUNT from MAIN_MEMORY where type = '8' and JGID = ? and USERACCOUNT = ? order by QZ desc</sql>
|
|
<tables>
|
|
<table name="MAIN_MEMORY" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>TYPE</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="MAIN_MEMORY" />
|
|
<f name="TYPE" type="12" table="MAIN_MEMORY" />
|
|
<f name="GJZ" type="12" table="MAIN_MEMORY" />
|
|
<f name="QZ" type="4" table="MAIN_MEMORY" />
|
|
<f name="JGID" type="12" table="MAIN_MEMORY" />
|
|
<f name="USERACCOUNT" type="12" table="MAIN_MEMORY" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="yssjmemorydao" type="1">
|
|
<sql>select PKEY,TYPE,GJZ,QZ,JGID,USERACCOUNT from MAIN_MEMORY where type = '9' and JGID = ? and USERACCOUNT = ? order by QZ desc</sql>
|
|
<tables>
|
|
<table name="MAIN_MEMORY" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>TYPE</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="MAIN_MEMORY" />
|
|
<f name="TYPE" type="12" table="MAIN_MEMORY" />
|
|
<f name="GJZ" type="12" table="MAIN_MEMORY" />
|
|
<f name="QZ" type="4" table="MAIN_MEMORY" />
|
|
<f name="JGID" type="12" table="MAIN_MEMORY" />
|
|
<f name="USERACCOUNT" type="12" table="MAIN_MEMORY" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
<dao id="functionbilldao" type="1">
|
|
<sql>Select BILL_ID,BILL_UPDATE,BILL_RESERVED,BILL_FUNNUMBER,JGID,BILL_TYPE,BILL_NAME,CJR,CJRQ,XGR,XGRQ from MAIN_BILLNO where BILL_FUNNUMBER=? and JGID=?</sql>
|
|
<tables>
|
|
<table name="MAIN_BILLNO" insert="false" update="false" delete="false">
|
|
<primary>BILL_ID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="BILL_ID" type="-5" table="MAIN_BILLNO" />
|
|
<f name="BILL_UPDATE" type="-5" table="MAIN_BILLNO" />
|
|
<f name="BILL_RESERVED" type="-5" table="MAIN_BILLNO" />
|
|
<f name="BILL_FUNNUMBER" type="12" table="MAIN_BILLNO" />
|
|
<f name="JGID" type="12" table="MAIN_BILLNO" />
|
|
<f name="BILL_TYPE" type="-5" table="MAIN_BILLNO" />
|
|
<f name="BILL_NAME" type="12" table="MAIN_BILLNO" />
|
|
<f name="CJR" type="12" table="MAIN_BILLNO" />
|
|
<f name="CJRQ" type="93" table="MAIN_BILLNO" />
|
|
<f name="XGR" type="12" table="MAIN_BILLNO" />
|
|
<f name="XGRQ" type="93" table="MAIN_BILLNO" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="zyyfGLKSDao" log="true" cache="true" type="1" memo="住院药房关联科室设置dao">
|
|
<sql>select PKEY,ZYYFPKEY,GLKSPKEY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_YFFY_ZYYF_GLKS where JGID=? and ZYYFPKEY=? order by CJRQ </sql>
|
|
<tables>
|
|
<table name="HIS_YFFY_ZYYF_GLKS" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>ZYYFPKEY</primary>
|
|
<primary>GLKSPKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_YFFY_ZYYF_GLKS" />
|
|
<f name="ZYYFPKEY" type="12" table="HIS_YFFY_ZYYF_GLKS" />
|
|
<f name="GLKSPKEY" type="12" table="HIS_YFFY_ZYYF_GLKS" />
|
|
<f name="CJR" type="12" table="HIS_YFFY_ZYYF_GLKS" />
|
|
<f name="CJRQ" type="93" table="HIS_YFFY_ZYYF_GLKS" />
|
|
<f name="XGR" type="12" table="HIS_YFFY_ZYYF_GLKS" />
|
|
<f name="XGRQ" type="93" table="HIS_YFFY_ZYYF_GLKS" />
|
|
<f name="JGID" type="12" table="HIS_YFFY_ZYYF_GLKS" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_YFFY_ZYYF_GLKS" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="kspopDao" type="1">
|
|
<sql>select DPTID,DPTCODE,DPTNAME,DPTRMARK,DPTADDR,DPTLAYER,DPTTYPE,DPTGPID,DPTSEX,DPTZJM,DPTBAGE,DPTEAGE,DPTTXMJC,DPTYBCODE,CJR,CJRQ,XGR,XGRQ,JGID,DPTFLAG from MAIN_KS where JGID=? and (DPTCODE like ? or DPTNAME like ? or DPTZJM like ?) and DPTFLAG=1 order by DPTCODE</sql>
|
|
<tables>
|
|
<table delete="true" insert="true" name="MAIN_KS" update="true">
|
|
<primary>DPTID</primary>
|
|
<primary>DPTCODE</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="DPTID" table="MAIN_KS" type="12" />
|
|
<f name="DPTCODE" table="MAIN_KS" type="12" />
|
|
<f name="DPTNAME" table="MAIN_KS" type="12" />
|
|
<f name="DPTRMARK" table="MAIN_KS" type="12" />
|
|
<f name="DPTADDR" table="MAIN_KS" type="12" />
|
|
<f name="DPTLAYER" table="MAIN_KS" type="12" />
|
|
<f name="DPTTYPE" table="MAIN_KS" type="12" />
|
|
<f name="DPTGPID" table="MAIN_KS" type="12" />
|
|
<f name="DPTSEX" table="MAIN_KS" type="12" />
|
|
<f name="DPTZJM" table="MAIN_KS" type="12" />
|
|
<f name="DPTBAGE" table="MAIN_KS" type="12" />
|
|
<f name="DPTEAGE" table="MAIN_KS" type="12" />
|
|
<f name="DPTTXMJC" table="MAIN_KS" type="12" />
|
|
<f name="DPTYBCODE" table="MAIN_KS" type="12" />
|
|
<f name="CJR" table="MAIN_KS" type="12" />
|
|
<f name="CJRQ" table="MAIN_KS" type="93" />
|
|
<f name="XGR" table="MAIN_KS" type="12" />
|
|
<f name="XGRQ" table="MAIN_KS" type="93" />
|
|
<f name="JGID" table="MAIN_KS" type="12" />
|
|
<f name="DPTFLAG" table="MAIN_KS" type="-5" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="mainPrintTypeDao" log="true" type="1">
|
|
<sql>select PKEY,PRINTTYPE,SFQY,CJR,CJRQ,JGID,'' printxh from MAIN_PRINT_TYPE where JGID=? order by pkey</sql>
|
|
<tables>
|
|
<table name="MAIN_PRINT_TYPE" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="MAIN_PRINT_TYPE" />
|
|
<f name="PRINTTYPE" type="12" table="MAIN_PRINT_TYPE" />
|
|
<f name="SFQY" type="12" table="MAIN_PRINT_TYPE" />
|
|
<f name="CJR" type="12" table="MAIN_PRINT_TYPE" />
|
|
<f name="CJRQ" type="93" table="MAIN_PRINT_TYPE" />
|
|
<f name="JGID" type="12" table="MAIN_PRINT_TYPE" />
|
|
<f name="printxh" type="12" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="functionbilldetaildao" type="1" memo="根据获取编码规则主单号获得明细列">
|
|
<sql>select BILLDE_ID,BILLMA_ID,BILLDE_TYPE,BILLDE_VALUE,JGID from MAIN_BILLDETAILNO where BillMa_ID=? and JGID=? order by BILLDE_ID</sql>
|
|
<tables>
|
|
<table delete="true" insert="true" name="MAIN_BILLDETAILNO" update="true">
|
|
<primary>BILLDE_ID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="BILLDE_ID" table="MAIN_BILLDETAILNO" type="-5" />
|
|
<f name="BILLMA_ID" table="MAIN_BILLDETAILNO" type="-5" />
|
|
<f name="BILLDE_TYPE" table="MAIN_BILLDETAILNO" type="-5" />
|
|
<f name="BILLDE_VALUE" table="MAIN_BILLDETAILNO" type="12" />
|
|
<f name="JGID" table="MAIN_BILLDETAILNO" type="12" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<!--机构字典值查询, -->
|
|
<dao id="jgzdbdao" type="1">
|
|
<sql>select JGID,JGZDLB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT,VALUE3,VALUE4,VALUE5 from MAIN_JGZDB where JGID=? and JGZDLB_BH=? order by BH asc,xh</sql>
|
|
<tables>
|
|
<table name="MAIN_JGZDB" insert="true" update="true" delete="true">
|
|
<primary>JGID</primary>
|
|
<primary>JGZDLB_BH</primary>
|
|
<primary>BH</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="JGID" type="12" table="MAIN_JGZDB" />
|
|
<f name="JGZDLB_BH" type="12" table="MAIN_JGZDB" />
|
|
<f name="BH" type="12" table="MAIN_JGZDB" />
|
|
<f name="MC" type="12" table="MAIN_JGZDB" />
|
|
<f name="PYM" type="12" table="MAIN_JGZDB" />
|
|
<f name="WBM" type="12" table="MAIN_JGZDB" />
|
|
<f name="VALUE1" type="12" table="MAIN_JGZDB" />
|
|
<f name="VALUE2" type="12" table="MAIN_JGZDB" />
|
|
<f name="XH" type="8" table="MAIN_JGZDB" />
|
|
<f name="ZT" type="12" table="MAIN_JGZDB" />
|
|
<f name="VALUE3" type="12" table="MAIN_JGZDB" />
|
|
<f name="VALUE4" type="12" table="MAIN_JGZDB" />
|
|
<f name="VALUE5" type="12" table="MAIN_JGZDB" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<!--机构字典值POP, -->
|
|
<dao id="jgzdbpopdao" type="1">
|
|
<sql>select JGID,JGZDLB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT,VALUE3,VALUE4,VALUE5 from MAIN_JGZDB where ZT='1' and JGID=? and JGZDLB_BH=? and (BH like ? or upper(MC) like ? or PYM like ? or WBM like ?) order by XH asc,BH asc</sql>
|
|
<tables>
|
|
<table name="MAIN_JGZDB" insert="true" update="true" delete="true">
|
|
<primary>JGID</primary>
|
|
<primary>JGZDLB_BH</primary>
|
|
<primary>BH</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="JGID" type="12" table="MAIN_JGZDB" />
|
|
<f name="JGZDLB_BH" type="12" table="MAIN_JGZDB" />
|
|
<f name="BH" type="12" table="MAIN_JGZDB" />
|
|
<f name="MC" type="12" table="MAIN_JGZDB" />
|
|
<f name="PYM" type="12" table="MAIN_JGZDB" />
|
|
<f name="WBM" type="12" table="MAIN_JGZDB" />
|
|
<f name="VALUE1" type="12" table="MAIN_JGZDB" />
|
|
<f name="VALUE2" type="12" table="MAIN_JGZDB" />
|
|
<f name="XH" type="12" table="MAIN_JGZDB" />
|
|
<f name="ZT" type="12" table="MAIN_JGZDB" />
|
|
<f name="VALUE3" type="12" table="MAIN_JGZDB" />
|
|
<f name="VALUE4" type="12" table="MAIN_JGZDB" />
|
|
<f name="VALUE5" type="12" table="MAIN_JGZDB" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<!--机构字典类型查询,其中BH值的开头3个字符意义为:Z00表示HIS,Z01表示LIS,Z02表示RIS -->
|
|
<dao id="jgzdlbcxdao" type="1">
|
|
<sql>select JGID,BH,MC,BZ from MAIN_JGZDLB where JGID=? and BH like ?</sql>
|
|
<fields>
|
|
<f name="JGID" type="12" />
|
|
<f name="BH" type="12" />
|
|
<f name="MC" type="12" />
|
|
<f name="BZ" type="12" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="YljgTreeDao" type="1" memo="当前机构与所有管理的机构">
|
|
<sql>select PKEY,TYSHXYDM,ZZJGBM,JGMC,DEMC,WSJGDM,XZQHDM,ADDR0,ADDR1,ADDR2,ADDR3,ADDR4,MPHM,JJLXDM,WSJGLBDM,JGFLGLDM,JGCLRQ,YZBM,LXDH,JGFZRXM,JGFZRLXDH,DWLSGXDM,YYDJDCDM,YYDJJBDM,SFYBDDYLJG,SJPKEY,LICENCE,ZT,SYSCOMPERFLAG from MAIN_YLJG where pkey = ? or SJPKEY=? order by SJPKEY desc,pkey</sql>
|
|
<tables>
|
|
<table name="MAIN_YLJG" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="MAIN_YLJG" />
|
|
<f name="TYSHXYDM" type="12" table="MAIN_YLJG" />
|
|
<f name="ZZJGBM" type="12" table="MAIN_YLJG" />
|
|
<f name="JGMC" type="12" table="MAIN_YLJG" />
|
|
<f name="DEMC" type="12" table="MAIN_YLJG" />
|
|
<f name="WSJGDM" type="12" table="MAIN_YLJG" />
|
|
<f name="XZQHDM" type="12" table="MAIN_YLJG" />
|
|
<f name="ADDR0" type="12" table="MAIN_YLJG" />
|
|
<f name="ADDR1" type="12" table="MAIN_YLJG" />
|
|
<f name="ADDR2" type="12" table="MAIN_YLJG" />
|
|
<f name="ADDR3" type="12" table="MAIN_YLJG" />
|
|
<f name="ADDR4" type="12" table="MAIN_YLJG" />
|
|
<f name="MPHM" type="12" table="MAIN_YLJG" />
|
|
<f name="JJLXDM" type="12" table="MAIN_YLJG" />
|
|
<f name="WSJGLBDM" type="12" table="MAIN_YLJG" />
|
|
<f name="JGFLGLDM" type="12" table="MAIN_YLJG" />
|
|
<f name="JGCLRQ" type="93" table="MAIN_YLJG" />
|
|
<f name="YZBM" type="12" table="MAIN_YLJG" />
|
|
<f name="LXDH" type="12" table="MAIN_YLJG" />
|
|
<f name="JGFZRXM" type="12" table="MAIN_YLJG" />
|
|
<f name="JGFZRLXDH" type="1" table="MAIN_YLJG" />
|
|
<f name="DWLSGXDM" type="12" table="MAIN_YLJG" />
|
|
<f name="YYDJDCDM" type="12" table="MAIN_YLJG" />
|
|
<f name="YYDJJBDM" type="12" table="MAIN_YLJG" />
|
|
<f name="SFYBDDYLJG" type="12" table="MAIN_YLJG" />
|
|
<f name="SJPKEY" type="12" table="MAIN_YLJG" />
|
|
<f name="LICENCE" type="12" table="MAIN_YLJG" />
|
|
<f name="ZT" type="12" table="MAIN_YLJG" />
|
|
<f name="SYSCOMPERFLAG" type="1" table="MAIN_YLJG" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<!--取最大编号 -->
|
|
<dao id="watbhdao" type="1">
|
|
<sql>select SEQID,CURVAL from WATSEQUENCE where SEQID=?</sql>
|
|
<tables>
|
|
<table name="WATSEQUENCE" insert="true" update="true" delete="true">
|
|
<primary>SEQID</primary>
|
|
<primary>CURVAL</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="SEQID" type="12" table="WATSEQUENCE" />
|
|
<f name="CURVAL" type="4" table="WATSEQUENCE" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<!--机构参数 -->
|
|
<dao id="mainjgcsdao" type="1">
|
|
<sql>select JGID,CSLX_BM,LB,CSZ,BZ from MAIN_JGCS where JGID=? and LB=? and CSLX_BM like ?</sql>
|
|
<tables>
|
|
<table name="MAIN_JGCS" insert="true" update="true" delete="true">
|
|
<primary>JGID</primary>
|
|
<primary>CSLX_BM</primary>
|
|
<primary>LB</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="JGID" type="12" table="MAIN_JGCS" />
|
|
<f name="CSLX_BM" type="12" table="MAIN_JGCS" />
|
|
<f name="LB" type="12" table="MAIN_JGCS" />
|
|
<f name="CSZ" type="12" table="MAIN_JGCS" />
|
|
<f name="BZ" type="12" table="MAIN_JGCS" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<!--字典表pop -->
|
|
<dao id="zdbpopdao" type="1" cache="true">
|
|
<sql>select BH,MC,PYM,WBM from MAIN_ZDB where ZT='1' and ZDZB_BH=? and (BH like ? or MC like ? or PYM like ? or WBM like ?) order by XH asc,BH asc</sql>
|
|
<fields>
|
|
<f name="BH" type="12" />
|
|
<f name="MC" type="12" />
|
|
<f name="PYM" type="12" />
|
|
<f name="WBM" type="12" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="shengDao" type="1">
|
|
<sql>select RKEY,CODE,CNAME,RGLEVEL,SUPERRG,REMARK,CJR,CJRQ,SCBZ,PYM from MAIN_REGION where RGLEVEL='0' ORDER BY CODE</sql>
|
|
<tables>
|
|
<table name="MAIN_REGION" insert="false" update="false" delete="false">
|
|
<primary>RKEY</primary>
|
|
<primary>CODE</primary>
|
|
<primary>CNAME</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="RKEY" type="4" table="MAIN_REGION" />
|
|
<f name="CODE" type="12" table="MAIN_REGION" />
|
|
<f name="CNAME" type="12" table="MAIN_REGION" />
|
|
<f name="RGLEVEL" type="4" table="MAIN_REGION" />
|
|
<f name="SUPERRG" type="12" table="MAIN_REGION" />
|
|
<f name="REMARK" type="12" table="MAIN_REGION" />
|
|
<f name="CJR" type="12" table="MAIN_REGION" />
|
|
<f name="CJRQ" type="93" table="MAIN_REGION" />
|
|
<f name="SCBZ" type="12" table="MAIN_REGION" />
|
|
<f name="PYM" type="12" table="MAIN_REGION" />
|
|
</fields>
|
|
</dao>
|
|
|
|
<dao id="shiDao" type="1">
|
|
<sql>select RKEY,CODE,CNAME,RGLEVEL,SUPERRG,REMARK,CJR,CJRQ,SCBZ,PYM from MAIN_REGION where RGLEVEL='1' and superrg=? ORDER BY CODE</sql>
|
|
<tables>
|
|
<table name="MAIN_REGION" insert="true" update="true" delete="true">
|
|
<primary>RKEY</primary>
|
|
<primary>CODE</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="RKEY" type="4" table="MAIN_REGION" />
|
|
<f name="CODE" type="12" table="MAIN_REGION" />
|
|
<f name="CNAME" type="12" table="MAIN_REGION" />
|
|
<f name="RGLEVEL" type="4" table="MAIN_REGION" />
|
|
<f name="SUPERRG" type="12" table="MAIN_REGION" />
|
|
<f name="REMARK" type="12" table="MAIN_REGION" />
|
|
<f name="CJR" type="12" table="MAIN_REGION" />
|
|
<f name="CJRQ" type="93" table="MAIN_REGION" />
|
|
<f name="SCBZ" type="12" table="MAIN_REGION" />
|
|
<f name="PYM" type="12" table="MAIN_REGION" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="xianDao" type="1">
|
|
<sql>select RKEY,CODE,CNAME,RGLEVEL,SUPERRG,REMARK,CJR,CJRQ,SCBZ,PYM from MAIN_REGION where RGLEVEL='2' and superrg=? ORDER BY CODE</sql>
|
|
<tables>
|
|
<table name="MAIN_REGION" insert="true" update="true" delete="true">
|
|
<primary>RKEY</primary>
|
|
<primary>CODE</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="RKEY" type="4" table="MAIN_REGION" />
|
|
<f name="CODE" type="12" table="MAIN_REGION" />
|
|
<f name="CNAME" type="12" table="MAIN_REGION" />
|
|
<f name="RGLEVEL" type="4" table="MAIN_REGION" />
|
|
<f name="SUPERRG" type="12" table="MAIN_REGION" />
|
|
<f name="REMARK" type="12" table="MAIN_REGION" />
|
|
<f name="CJR" type="12" table="MAIN_REGION" />
|
|
<f name="CJRQ" type="93" table="MAIN_REGION" />
|
|
<f name="SCBZ" type="12" table="MAIN_REGION" />
|
|
<f name="PYM" type="12" table="MAIN_REGION" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="dxLanguageConversionDic" log="true" cache="true" type="1" memo="用于界面显示文本语言转换的dao">
|
|
<sql>
|
|
select SOURCE,TARGET,LOCKFLAG from MAIN_LANGUAGECONVERSION order by source
|
|
</sql>
|
|
<tables>
|
|
<table name="MAIN_LANGUAGECONVERSION" insert="true" update="true" delete="true">
|
|
<primary>SOURCE</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="SOURCE" type="12" table="MAIN_LANGUAGECONVERSION" />
|
|
<f name="TARGET" type="12" table="MAIN_LANGUAGECONVERSION" />
|
|
<f name="LOCKFLAG" type="-5" table="MAIN_LANGUAGECONVERSION" />
|
|
</fields>
|
|
</dao>
|
|
|
|
<dao id="dxLanguageConversionDao" log="true" type="1" memo="用于界面显示文本语言转换的dao">
|
|
<sql>
|
|
select SOURCE,TARGET,LOCKFLAG from MAIN_LANGUAGECONVERSION order by source
|
|
</sql>
|
|
<tables>
|
|
<table name="MAIN_LANGUAGECONVERSION" insert="true" update="true" delete="true">
|
|
<primary>SOURCE</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="SOURCE" type="12" table="MAIN_LANGUAGECONVERSION" />
|
|
<f name="TARGET" type="12" table="MAIN_LANGUAGECONVERSION" />
|
|
<f name="LOCKFLAG" type="-5" table="MAIN_LANGUAGECONVERSION" />
|
|
</fields>
|
|
</dao>
|
|
<dao id="yljgusedao" type="1">
|
|
<sql>select PKEY,TYSHXYDM,ZZJGBM,JGMC,DEMC,WSJGDM,XZQHDM,ADDR0,ADDR1,ADDR2,ADDR3,ADDR4,MPHM,JJLXDM,WSJGLBDM,JGFLGLDM,JGCLRQ,YZBM,LXDH,JGFZRXM,JGFZRLXDH,DWLSGXDM,YYDJDCDM,YYDJJBDM,SFYBDDYLJG,SJPKEY,LICENCE,PYM,WBM,ZT from MAIN_YLJG where ZT='1' and (JGMC like ? or DEMC like ? or PYM like ? or WBM like ? ) order by XZQHDM,SJPKEY </sql>
|
|
<tables>
|
|
<table delete="true" insert="true" name="MAIN_YLJG" update="true">
|
|
<primary>PKEY</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" table="MAIN_YLJG" type="12" />
|
|
<f name="TYSHXYDM" table="MAIN_YLJG" type="12" />
|
|
<f name="ZZJGBM" table="MAIN_YLJG" type="12" />
|
|
<f name="JGMC" table="MAIN_YLJG" type="12" />
|
|
<f name="DEMC" table="MAIN_YLJG" type="12" />
|
|
<f name="WSJGDM" table="MAIN_YLJG" type="12" />
|
|
<f name="XZQHDM" table="MAIN_YLJG" type="12" />
|
|
<f name="ADDR0" table="MAIN_YLJG" type="12" />
|
|
<f name="ADDR1" table="MAIN_YLJG" type="12" />
|
|
<f name="ADDR2" table="MAIN_YLJG" type="12" />
|
|
<f name="ADDR3" table="MAIN_YLJG" type="12" />
|
|
<f name="ADDR4" table="MAIN_YLJG" type="12" />
|
|
<f name="MPHM" table="MAIN_YLJG" type="12" />
|
|
<f name="JJLXDM" table="MAIN_YLJG" type="12" />
|
|
<f name="WSJGLBDM" table="MAIN_YLJG" type="12" />
|
|
<f name="JGFLGLDM" table="MAIN_YLJG" type="12" />
|
|
<f name="JGCLRQ" table="MAIN_YLJG" type="93" />
|
|
<f name="YZBM" table="MAIN_YLJG" type="12" />
|
|
<f name="LXDH" table="MAIN_YLJG" type="12" />
|
|
<f name="JGFZRXM" table="MAIN_YLJG" type="12" />
|
|
<f name="JGFZRLXDH" table="MAIN_YLJG" type="1" />
|
|
<f name="DWLSGXDM" table="MAIN_YLJG" type="12" />
|
|
<f name="YYDJDCDM" table="MAIN_YLJG" type="12" />
|
|
<f name="YYDJJBDM" table="MAIN_YLJG" type="12" />
|
|
<f name="SFYBDDYLJG" table="MAIN_YLJG" type="12" />
|
|
<f name="SJPKEY" table="MAIN_YLJG" type="12" />
|
|
<f name="LICENCE" table="MAIN_YLJG" type="12" />
|
|
<f name="PYM" table="MAIN_YLJG" type="12" />
|
|
<f name="WBM" table="MAIN_YLJG" type="12" />
|
|
<f name="ZT" table="MAIN_YLJG" type="12" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="employeedicdao" cache="true" type="1">
|
|
<sql>select EMPID,NAME from MAIN_YHXX</sql>
|
|
<fields>
|
|
<f name="EMPID" type="12" table="MAIN_YHXX" />
|
|
<f name="NAME" type="12" table="MAIN_YHXX" />
|
|
</fields>
|
|
</dao>
|
|
<dao id="logonDao" type="1">
|
|
<sql>select A.USERID,A.MRKS,A.JGID,A.EFFICET,A.SFZYYS,A.DUTY,A.SFZYHS,A.SFMZYS,A.EMPID,A.SFCFQ,A.BDZH,A.SFMZSFY,A.SFZYSFY,A.YBUSERNAME,A.YBPASSWORD,A.SFKXQYBL,A.SFZYZHQ,A.KSSYSJB,A.FZLYYSJB,A.SFJB,A.CJR,A.CJRQ,A.XGR,A.XGRQ,A.YHQXBS,A.YSJB,a.YBID,a.YBNAME,B.JGMC,A.PKEY,a.HIE_USERNAME,a.HIE_PASSWORD,a.PAY_ZDBB_PKEY,a.SFDMCFQ,a.SFJSLCFQ from MAIN_JGYH A left join MAIN_YLJG B on A.JGID = B.pkey where A.EMPID=?</sql>
|
|
<tables>
|
|
<table name="MAIN_JGYH" insert="true" update="true" delete="true">
|
|
<primary>USERID</primary>
|
|
<primary>JGID</primary>
|
|
<primary>EMPID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="USERID" type="12" table="MAIN_JGYH" />
|
|
<f name="MRKS" type="12" table="MAIN_JGYH" />
|
|
<f name="JGID" type="12" table="MAIN_JGYH" />
|
|
<f name="EFFICET" type="12" table="MAIN_JGYH" />
|
|
<f name="SFZYYS" type="12" table="MAIN_JGYH" />
|
|
<f name="DUTY" type="12" table="MAIN_JGYH" />
|
|
<f name="SFZYHS" type="12" table="MAIN_JGYH" />
|
|
<f name="SFMZYS" type="12" table="MAIN_JGYH" />
|
|
<f name="EMPID" type="12" table="MAIN_JGYH" />
|
|
<f name="SFCFQ" type="12" table="MAIN_JGYH" />
|
|
<f name="BDZH" type="12" table="MAIN_JGYH" />
|
|
<f name="SFMZSFY" type="12" table="MAIN_JGYH" />
|
|
<f name="SFZYSFY" type="12" table="MAIN_JGYH" />
|
|
<f name="YBUSERNAME" type="12" table="MAIN_JGYH" />
|
|
<f name="YBPASSWORD" type="12" table="MAIN_JGYH" />
|
|
<f name="SFKXQYBL" type="12" table="MAIN_JGYH" />
|
|
<f name="SFZYZHQ" type="12" table="MAIN_JGYH" />
|
|
<f name="KSSYSJB" type="12" table="MAIN_JGYH" />
|
|
<f name="FZLYYSJB" type="12" table="MAIN_JGYH" />
|
|
<f name="SFJB" type="12" table="MAIN_JGYH" />
|
|
<f name="CJR" type="12" table="MAIN_JGYH" />
|
|
<f name="CJRQ" type="93" table="MAIN_JGYH" />
|
|
<f name="XGR" type="12" table="MAIN_JGYH" />
|
|
<f name="XGRQ" type="93" table="MAIN_JGYH" />
|
|
<f name="YHQXBS" type="-5" table="MAIN_JGYH" />
|
|
<f name="YSJB" type="12" table="MAIN_JGYH" />
|
|
<f name="YBID" type="12" table="MAIN_JGYH" />
|
|
<f name="YBNAME" type="12" table="MAIN_JGYH" />
|
|
<f name="JGMC" type="12" />
|
|
<f name="PKEY" type="12" table="MAIN_JGYH" />
|
|
<f name="HIE_USERNAME" type="12" table="MAIN_JGYH" />
|
|
<f name="HIE_PASSWORD" type="12" table="MAIN_JGYH" />
|
|
<f name="PAY_ZDBB_PKEY" type="12" table="MAIN_JGYH" />
|
|
<f name="SFDMCFQ" type="12" table="MAIN_JGYH" />
|
|
<f name="SFJSLCFQ" type="12" table="MAIN_JGYH" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<!--检验结果单位 pop 101000 -->
|
|
<dao id="jyjgdwpopdao" type="1" cache="true">
|
|
<sql>select BH,MC,PYM,WBM from MAIN_ZDB where ZDZB_BH='101000' and (BH like ? or upper(MC) like ? or PYM like ? or WBM like ?) order by XH asc,BH asc</sql>
|
|
<fields>
|
|
<f name="BH" type="12" />
|
|
<f name="MC" type="12" />
|
|
<f name="PYM" type="12" />
|
|
<f name="WBM" type="12" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<!--标本类型pop 101016 -->
|
|
<dao id="bblxpopdao" type="1" cache="true">
|
|
<sql>select BH,MC,PYM,WBM from MAIN_ZDB where ZDZB_BH='101016' and (BH like ? or upper(MC) like ? or PYM like ? or WBM like ?) order by XH asc,BH asc</sql>
|
|
<fields>
|
|
<f name="BH" type="12" />
|
|
<f name="MC" type="12" />
|
|
<f name="PYM" type="12" />
|
|
<f name="WBM" type="12" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<!--报告单格式pop 101019 -->
|
|
<dao id="bgdgspopdao" type="1" cache="true">
|
|
<sql>select BH,MC,PYM,WBM from MAIN_ZDB where ZDZB_BH='101019' and (BH like ? or MC like ? or PYM like ? or WBM like ?) order by XH asc,BH asc</sql>
|
|
<fields>
|
|
<f name="BH" type="12" />
|
|
<f name="MC" type="12" />
|
|
<f name="PYM" type="12" />
|
|
<f name="WBM" type="12" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<!--机构人员参数 -->
|
|
<dao id="mainjgrycsdao" type="1">
|
|
<sql>select JGID,CSLX_BM,USERACCOUNT,CSZ,BZ from MAIN_JGRYCS where JGID=? and USERACCOUNT=? and CSLX_BM like ?</sql>
|
|
<tables>
|
|
<table name="MAIN_JGRYCS" insert="true" update="true" delete="true">
|
|
<primary>JGID</primary>
|
|
<primary>CSLX_BM</primary>
|
|
<primary>USERACCOUNT</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="JGID" type="12" table="MAIN_JGRYCS" />
|
|
<f name="CSLX_BM" type="12" table="MAIN_JGRYCS" />
|
|
<f name="USERACCOUNT" type="12" table="MAIN_JGRYCS" />
|
|
<f name="CSZ" type="12" table="MAIN_JGRYCS" />
|
|
<f name="BZ" type="12" table="MAIN_JGRYCS" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="zyyfByGlksDao" log="true" cache="true" type="1" memo="住院药房关联科室设置dao">
|
|
<sql>select PKEY,ZYYFPKEY,GLKSPKEY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_YFFY_ZYYF_GLKS where JGID=? and GLKSPKEY=? order by CJRQ </sql>
|
|
<tables>
|
|
<table name="HIS_YFFY_ZYYF_GLKS" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>ZYYFPKEY</primary>
|
|
<primary>GLKSPKEY</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_YFFY_ZYYF_GLKS" />
|
|
<f name="ZYYFPKEY" type="12" table="HIS_YFFY_ZYYF_GLKS" />
|
|
<f name="GLKSPKEY" type="12" table="HIS_YFFY_ZYYF_GLKS" />
|
|
<f name="CJR" type="12" table="HIS_YFFY_ZYYF_GLKS" />
|
|
<f name="CJRQ" type="93" table="HIS_YFFY_ZYYF_GLKS" />
|
|
<f name="XGR" type="12" table="HIS_YFFY_ZYYF_GLKS" />
|
|
<f name="XGRQ" type="93" table="HIS_YFFY_ZYYF_GLKS" />
|
|
<f name="JGID" type="12" table="HIS_YFFY_ZYYF_GLKS" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_YFFY_ZYYF_GLKS" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="qyyzzlzdbdao" type="1" memo="取药医嘱医嘱子类dao">
|
|
<sql>select JGID,JGZDLB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT,VALUE3,VALUE4,VALUE5 from MAIN_JGZDB where JGID=? and JGZDLB_BH='Z00002' and (VALUE2 ='01' or VALUE2 ='02' or VALUE2='03') order by XH asc,BH asc</sql>
|
|
<tables>
|
|
<table name="MAIN_JGZDB" insert="true" update="true" delete="true">
|
|
<primary>JGID</primary>
|
|
<primary>JGZDLB_BH</primary>
|
|
<primary>BH</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="JGID" type="12" table="MAIN_JGZDB" />
|
|
<f name="JGZDLB_BH" type="12" table="MAIN_JGZDB" />
|
|
<f name="BH" type="12" table="MAIN_JGZDB" />
|
|
<f name="MC" type="12" table="MAIN_JGZDB" />
|
|
<f name="PYM" type="12" table="MAIN_JGZDB" />
|
|
<f name="WBM" type="12" table="MAIN_JGZDB" />
|
|
<f name="VALUE1" type="12" table="MAIN_JGZDB" />
|
|
<f name="VALUE2" type="12" table="MAIN_JGZDB" />
|
|
<f name="XH" type="12" table="MAIN_JGZDB" />
|
|
<f name="ZT" type="12" table="MAIN_JGZDB" />
|
|
<f name="VALUE3" type="12" table="MAIN_JGZDB" />
|
|
<f name="VALUE4" type="12" table="MAIN_JGZDB" />
|
|
<f name="VALUE5" type="12" table="MAIN_JGZDB" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="treedao" type="1">
|
|
<sql>select SYSFUNID,SYSFUNNUMBER,SYSFUNNAME_CN,SYSFUNDESC_CN,SYSFUN_SER,SYSFUN_REMARK,SYSFUN_FLAG,SYSFUN_STATUS,SYSFUN_DIFF,CJR,CJRQ,XGR,XGRQ,JGID,SYS_FUN_HELP,SYSFUN_LOOKVALUE,SYSFUN_ADDVALUE,SYSFUN_EDITVALUE,SYSFUN_DELETEVALUE,SYSFUN_POSTVALUE,SYSFUN_AMOUNTVALUE,SYSFUN_PRINTVALUE,SYSFUN_SELECTVALUE,SYSFUN_AUDITVALUE,SYSFUN_RETURNVALUE,SYSFUN_HELPVALUE,SYSFUN_SPACVALUE1,SYSFUN_SPACVALUE2,SYSFUN_SPACVALUE3,SYSFUN_SPACVALUE4,SYSFUN_SPACVALUE5,SYSFUN_PARENT from main_function where SysFun_Parent=? and JGID=? and SysFun_Status=0 ORDER BY SYSFUNNUMBER ASC</sql>
|
|
<tables>
|
|
<table delete="true" insert="true" name="main_function" update="true">
|
|
<primary>SYSFUNID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="SYSFUNID" table="main_function" type="12" />
|
|
<f name="SYSFUNNUMBER" table="main_function" type="12" />
|
|
<f name="SYSFUNNAME_CN" table="main_function" type="12" />
|
|
<f name="SYSFUNDESC_CN" table="main_function" type="12" />
|
|
<f name="SYSFUN_SER" table="main_function" type="-5" />
|
|
<f name="SYSFUN_REMARK" table="main_function" type="12" />
|
|
<f name="SYSFUN_FLAG" table="main_function" type="-5" />
|
|
<f name="SYSFUN_STATUS" table="main_function" type="-5" />
|
|
<f name="SYSFUN_DIFF" table="main_function" type="-5" />
|
|
<f name="CJR" table="main_function" type="12" />
|
|
<f name="CJRQ" table="main_function" type="93" />
|
|
<f name="XGR" table="main_function" type="12" />
|
|
<f name="XGRQ" table="main_function" type="93" />
|
|
<f name="JGID" table="main_function" type="12" />
|
|
<f name="SYS_FUN_HELP" table="main_function" type="12" />
|
|
<f name="SYSFUN_LOOKVALUE" table="main_function" type="-5" />
|
|
<f name="SYSFUN_ADDVALUE" table="main_function" type="-5" />
|
|
<f name="SYSFUN_EDITVALUE" table="main_function" type="-5" />
|
|
<f name="SYSFUN_DELETEVALUE" table="main_function" type="-5" />
|
|
<f name="SYSFUN_POSTVALUE" table="main_function" type="-5" />
|
|
<f name="SYSFUN_AMOUNTVALUE" table="main_function" type="-5" />
|
|
<f name="SYSFUN_PRINTVALUE" table="main_function" type="-5" />
|
|
<f name="SYSFUN_SELECTVALUE" table="main_function" type="-5" />
|
|
<f name="SYSFUN_AUDITVALUE" table="main_function" type="-5" />
|
|
<f name="SYSFUN_RETURNVALUE" table="main_function" type="-5" />
|
|
<f name="SYSFUN_HELPVALUE" table="main_function" type="-5" />
|
|
<f name="SYSFUN_SPACVALUE1" table="main_function" type="-5" />
|
|
<f name="SYSFUN_SPACVALUE2" table="main_function" type="-5" />
|
|
<f name="SYSFUN_SPACVALUE3" table="main_function" type="-5" />
|
|
<f name="SYSFUN_SPACVALUE4" table="main_function" type="-5" />
|
|
<f name="SYSFUN_SPACVALUE5" table="main_function" type="-5" />
|
|
<f name="SYSFUN_PARENT" table="main_function" type="12" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<!--科室查询以DPTID -->
|
|
<dao id="dptforiddao" log="true" type="1">
|
|
<sql>select DPTID,DPTCODE,DPTNAME,DPTRMARK,DPTADDR,DPTLAYER,DPTTYPE,DPTGPID,DPTSEX,DPTZJM,DPTBAGE,DPTEAGE,DPTTXMJC,DPTYBCODE,ISMZ,ISJZ,ISZY,ISTJ,CJR,CJRQ,XGR,XGRQ,JGID,DPTFLAG,SCRQ,SCR,DPTYBMC,ITRO,DEPT_RESPER_NAME,DEPT_RESPER_TEL,DEPT_MED_SERV_SCP,DEPT_ESTBDAT,APRV_BED_CNT,HI_CRTF_BED_CNT,DR_PSNCNT,PHAR_PSNCNT,NURS_PSNCNT,TECN_PSNCNT,YBSCFLAG,ISLIS from MAIN_KS where JGID=? and DPTID=?</sql>
|
|
<tables>
|
|
<table name="MAIN_KS" insert="true" update="true" delete="true">
|
|
<primary>DPTID</primary>
|
|
<primary>DPTCODE</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="DPTID" type="12" table="MAIN_KS" />
|
|
<f name="DPTCODE" type="12" table="MAIN_KS" />
|
|
<f name="DPTNAME" type="12" table="MAIN_KS" />
|
|
<f name="DPTRMARK" type="12" table="MAIN_KS" />
|
|
<f name="DPTADDR" type="12" table="MAIN_KS" />
|
|
<f name="DPTLAYER" type="12" table="MAIN_KS" />
|
|
<f name="DPTTYPE" type="12" table="MAIN_KS" />
|
|
<f name="DPTGPID" type="12" table="MAIN_KS" />
|
|
<f name="DPTSEX" type="12" table="MAIN_KS" />
|
|
<f name="DPTZJM" type="12" table="MAIN_KS" />
|
|
<f name="DPTBAGE" type="12" table="MAIN_KS" />
|
|
<f name="DPTEAGE" type="12" table="MAIN_KS" />
|
|
<f name="DPTTXMJC" type="12" table="MAIN_KS" />
|
|
<f name="DPTYBCODE" type="12" table="MAIN_KS" />
|
|
<f name="ISMZ" type="12" table="MAIN_KS" />
|
|
<f name="ISJZ" type="12" table="MAIN_KS" />
|
|
<f name="ISZY" type="12" table="MAIN_KS" />
|
|
<f name="ISTJ" type="12" table="MAIN_KS" />
|
|
<f name="CJR" type="12" table="MAIN_KS" />
|
|
<f name="CJRQ" type="93" table="MAIN_KS" />
|
|
<f name="XGR" type="12" table="MAIN_KS" />
|
|
<f name="XGRQ" type="93" table="MAIN_KS" />
|
|
<f name="JGID" type="12" table="MAIN_KS" />
|
|
<f name="DPTFLAG" type="-5" table="MAIN_KS" />
|
|
<f name="SCRQ" type="93" table="MAIN_KS" />
|
|
<f name="SCR" type="12" table="MAIN_KS" />
|
|
<f name="DPTYBMC" type="12" table="MAIN_KS" />
|
|
<f name="ITRO" type="12" table="MAIN_KS" />
|
|
<f name="DEPT_RESPER_NAME" type="12" table="MAIN_KS" />
|
|
<f name="DEPT_RESPER_TEL" type="12" table="MAIN_KS" />
|
|
<f name="DEPT_MED_SERV_SCP" type="12" table="MAIN_KS" />
|
|
<f name="DEPT_ESTBDAT" type="93" table="MAIN_KS" />
|
|
<f name="APRV_BED_CNT" type="-5" table="MAIN_KS" />
|
|
<f name="HI_CRTF_BED_CNT" type="-5" table="MAIN_KS" />
|
|
<f name="DR_PSNCNT" type="-5" table="MAIN_KS" />
|
|
<f name="PHAR_PSNCNT" type="-5" table="MAIN_KS" />
|
|
<f name="NURS_PSNCNT" type="-5" table="MAIN_KS" />
|
|
<f name="TECN_PSNCNT" type="-5" table="MAIN_KS" />
|
|
<f name="YBSCFLAG" type="12" table="MAIN_KS" />
|
|
<f name="ISLIS" type="12" table="MAIN_KS" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="jimuReportServerAddrDao" log="true" cache="false" type="1" memo="积木报表服务器地址dao">
|
|
<sql>
|
|
select PKEY,DESIGNADDR,REPORTADDR,CJR,CJRQ,XGR,XGRQ,LOCKFLAG from HIS_JIMUREPORT_SERVER
|
|
</sql>
|
|
<tables>
|
|
<table name="HIS_JIMUREPORT_SERVER" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_JIMUREPORT_SERVER" />
|
|
<f name="DESIGNADDR" type="12" table="HIS_JIMUREPORT_SERVER" />
|
|
<f name="REPORTADDR" type="12" table="HIS_JIMUREPORT_SERVER" />
|
|
<f name="CJR" type="12" table="HIS_JIMUREPORT_SERVER" />
|
|
<f name="CJRQ" type="93" table="HIS_JIMUREPORT_SERVER" />
|
|
<f name="XGR" type="12" table="HIS_JIMUREPORT_SERVER" />
|
|
<f name="XGRQ" type="93" table="HIS_JIMUREPORT_SERVER" />
|
|
<f name="LOCKFLAG" type="-5" table="HIS_JIMUREPORT_SERVER" />
|
|
</fields>
|
|
</dao>
|
|
|
|
<dao id="maintransdao" log="true" type="1" memo="字典转换dao">
|
|
<sql>
|
|
select JGID,ZDBH,QY,YSZ,YSZMC,DZZ,DZZMC,ZT from MAIN_TRANS where JGID=? and ZDBH like ? order by QY asc,YSZ asc
|
|
</sql>
|
|
<tables>
|
|
<table name="MAIN_TRANS" insert="true" update="true" delete="true">
|
|
<primary>JGID</primary>
|
|
<primary>ZDBH</primary>
|
|
<primary>QY</primary>
|
|
<primary>YSZ</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="JGID" type="12" table="MAIN_TRANS" />
|
|
<f name="ZDBH" type="12" table="MAIN_TRANS" />
|
|
<f name="QY" type="12" table="MAIN_TRANS" />
|
|
<f name="YSZ" type="12" table="MAIN_TRANS" />
|
|
<f name="YSZMC" type="12" table="MAIN_TRANS" />
|
|
<f name="DZZ" type="12" table="MAIN_TRANS" />
|
|
<f name="DZZMC" type="12" table="MAIN_TRANS" />
|
|
<f name="ZT" type="12" table="MAIN_TRANS" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="maintransmrdao" log="true" type="1" memo="字典转换默认值dao">
|
|
<sql>
|
|
select JGID,ZDBH,QY,MRBM,MRMC,ZT from MAIN_TRANSMRZ where JGID=? and ZDBH like ? order by QY asc
|
|
</sql>
|
|
<tables>
|
|
<table name="MAIN_TRANSMRZ" insert="true" update="true" delete="true">
|
|
<primary>JGID</primary>
|
|
<primary>ZDBH</primary>
|
|
<primary>QY</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="JGID" type="12" table="MAIN_TRANSMRZ" />
|
|
<f name="ZDBH" type="12" table="MAIN_TRANSMRZ" />
|
|
<f name="QY" type="12" table="MAIN_TRANSMRZ" />
|
|
<f name="MRBM" type="12" table="MAIN_TRANSMRZ" />
|
|
<f name="MRMC" type="12" table="MAIN_TRANSMRZ" />
|
|
<f name="ZT" type="12" table="MAIN_TRANSMRZ" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="getmaintransdao" log="true" type="1" memo="获取字典转换对照值">
|
|
<sql>
|
|
select JGID,ZDBH,QY,YSZ,YSZMC,DZZ,DZZMC,ZT from MAIN_TRANS where ZT='1' and JGID=? and ZDBH=? and QY=? and YSZ=?
|
|
</sql>
|
|
<tables>
|
|
<table name="MAIN_TRANS" insert="false" update="false" delete="false">
|
|
<primary>JGID</primary>
|
|
<primary>ZDBH</primary>
|
|
<primary>QY</primary>
|
|
<primary>YSZ</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="JGID" type="12" table="MAIN_TRANS" />
|
|
<f name="ZDBH" type="12" table="MAIN_TRANS" />
|
|
<f name="QY" type="12" table="MAIN_TRANS" />
|
|
<f name="YSZ" type="12" table="MAIN_TRANS" />
|
|
<f name="YSZMC" type="12" table="MAIN_TRANS" />
|
|
<f name="DZZ" type="12" table="MAIN_TRANS" />
|
|
<f name="DZZMC" type="12" table="MAIN_TRANS" />
|
|
<f name="ZT" type="12" table="MAIN_TRANS" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="getmaintransmrdao" log="true" type="1" memo="获取字典转换默认值dao">
|
|
<sql>
|
|
select JGID,ZDBH,QY,MRBM,MRMC,ZT from MAIN_TRANSMRZ where ZT='1' and JGID=? and ZDBH=? and QY=?
|
|
</sql>
|
|
<tables>
|
|
<table name="MAIN_TRANSMRZ" insert="false" update="false" delete="false">
|
|
<primary>JGID</primary>
|
|
<primary>ZDBH</primary>
|
|
<primary>QY</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="JGID" type="12" table="MAIN_TRANSMRZ" />
|
|
<f name="ZDBH" type="12" table="MAIN_TRANSMRZ" />
|
|
<f name="QY" type="12" table="MAIN_TRANSMRZ" />
|
|
<f name="MRBM" type="12" table="MAIN_TRANSMRZ" />
|
|
<f name="MRMC" type="12" table="MAIN_TRANSMRZ" />
|
|
<f name="ZT" type="12" table="MAIN_TRANSMRZ" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="jgzdbbhdao" type="1" memo="机构字典编码查询">
|
|
<sql>select JGID,JGZDLB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT,VALUE3,VALUE4,VALUE5 from MAIN_JGZDB where JGID=? and JGZDLB_BH=? and BH like ? order by BH asc,xh</sql>
|
|
<tables>
|
|
<table name="MAIN_JGZDB" insert="true" update="true" delete="true">
|
|
<primary>JGID</primary>
|
|
<primary>JGZDLB_BH</primary>
|
|
<primary>BH</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="JGID" type="12" table="MAIN_JGZDB" />
|
|
<f name="JGZDLB_BH" type="12" table="MAIN_JGZDB" />
|
|
<f name="BH" type="12" table="MAIN_JGZDB" />
|
|
<f name="MC" type="12" table="MAIN_JGZDB" />
|
|
<f name="PYM" type="12" table="MAIN_JGZDB" />
|
|
<f name="WBM" type="12" table="MAIN_JGZDB" />
|
|
<f name="VALUE1" type="12" table="MAIN_JGZDB" />
|
|
<f name="VALUE2" type="12" table="MAIN_JGZDB" />
|
|
<f name="XH" type="8" table="MAIN_JGZDB" />
|
|
<f name="ZT" type="12" table="MAIN_JGZDB" />
|
|
<f name="VALUE3" type="12" table="MAIN_JGZDB" />
|
|
<f name="VALUE4" type="12" table="MAIN_JGZDB" />
|
|
<f name="VALUE5" type="12" table="MAIN_JGZDB" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="mainyhqxdao" log="true" type="1">
|
|
<sql>
|
|
select ID,MKBM,YHID,QXLB,CJR,CJRQ,XGR,XGRQ,JGID,SYSFUN_LOOKVALUE,SYSFUN_ADDVALUE,SYSFUN_EDITVALUE,SYSFUN_DELETEVALUE,SYSFUN_POSTVALUE,SYSFUN_AMOUNTVALUE,SYSFUN_PRINTVALUE,SYSFUN_SELECTVALUE,SYSFUN_AUDITVALUE,SYSFUN_RETURNVALUE,SYSFUN_HELPVALUE,SYSFUN_SPACVALUE1,SYSFUN_SPACVALUE2,SYSFUN_SPACVALUE3,SYSFUN_SPACVALUE4,SYSFUN_SPACVALUE5 from MAIN_YHQX
|
|
WHERE JGID=? and YHID=? AND QXLB=?
|
|
</sql>
|
|
<tables>
|
|
<table name="MAIN_YHQX" insert="true" update="true" delete="true">
|
|
<primary>ID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="ID" type="12" table="MAIN_YHQX" />
|
|
<f name="MKBM" type="12" table="MAIN_YHQX" />
|
|
<f name="YHID" type="12" table="MAIN_YHQX" />
|
|
<f name="QXLB" type="12" table="MAIN_YHQX" />
|
|
<f name="CJR" type="12" table="MAIN_YHQX" />
|
|
<f name="CJRQ" type="93" table="MAIN_YHQX" />
|
|
<f name="XGR" type="12" table="MAIN_YHQX" />
|
|
<f name="XGRQ" type="93" table="MAIN_YHQX" />
|
|
<f name="JGID" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_LOOKVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_ADDVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_EDITVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_DELETEVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_POSTVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_AMOUNTVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_PRINTVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SELECTVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_AUDITVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_RETURNVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_HELPVALUE" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE1" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE2" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE3" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE4" type="12" table="MAIN_YHQX" />
|
|
<f name="SYSFUN_SPACVALUE5" type="12" table="MAIN_YHQX" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="zhenDao" type="1">
|
|
<sql>select RKEY,CODE,CNAME,RGLEVEL,SUPERRG,REMARK,CJR,CJRQ,SCBZ,PYM from MAIN_REGION where RGLEVEL='3' and superrg=? ORDER BY CODE</sql>
|
|
<tables>
|
|
<table name="MAIN_REGION" insert="true" update="true" delete="true">
|
|
<primary>RKEY</primary>
|
|
<primary>CODE</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="RKEY" type="4" table="MAIN_REGION" />
|
|
<f name="CODE" type="12" table="MAIN_REGION" />
|
|
<f name="CNAME" type="12" table="MAIN_REGION" />
|
|
<f name="RGLEVEL" type="4" table="MAIN_REGION" />
|
|
<f name="SUPERRG" type="12" table="MAIN_REGION" />
|
|
<f name="REMARK" type="12" table="MAIN_REGION" />
|
|
<f name="CJR" type="12" table="MAIN_REGION" />
|
|
<f name="CJRQ" type="93" table="MAIN_REGION" />
|
|
<f name="SCBZ" type="12" table="MAIN_REGION" />
|
|
<f name="PYM" type="12" table="MAIN_REGION" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="cunDao" type="1">
|
|
<sql>select RKEY,CODE,CNAME,RGLEVEL,SUPERRG,REMARK,CJR,CJRQ,SCBZ,PYM from MAIN_REGION where RGLEVEL='4' and superrg=? ORDER BY CODE</sql>
|
|
<tables>
|
|
<table name="MAIN_REGION" insert="true" update="true" delete="true">
|
|
<primary>RKEY</primary>
|
|
<primary>CODE</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="RKEY" type="4" table="MAIN_REGION" />
|
|
<f name="CODE" type="12" table="MAIN_REGION" />
|
|
<f name="CNAME" type="12" table="MAIN_REGION" />
|
|
<f name="RGLEVEL" type="4" table="MAIN_REGION" />
|
|
<f name="SUPERRG" type="12" table="MAIN_REGION" />
|
|
<f name="REMARK" type="12" table="MAIN_REGION" />
|
|
<f name="CJR" type="12" table="MAIN_REGION" />
|
|
<f name="CJRQ" type="93" table="MAIN_REGION" />
|
|
<f name="SCBZ" type="12" table="MAIN_REGION" />
|
|
<f name="PYM" type="12" table="MAIN_REGION" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="yfkspopDao" type="1" memo="只查药房科室">
|
|
<sql>select DPTID,DPTCODE,DPTNAME,DPTRMARK,DPTADDR,DPTLAYER,DPTTYPE,DPTGPID,DPTSEX,DPTZJM,DPTBAGE,DPTEAGE,DPTTXMJC,DPTYBCODE,CJR,CJRQ,XGR,XGRQ,JGID,DPTFLAG from MAIN_KS where JGID=? and (DPTCODE like ? or DPTNAME like ? or DPTZJM like ?) and DPTFLAG=1
|
|
and DPTTYPE = '4' order by DPTCODE</sql>
|
|
<tables>
|
|
<table delete="true" insert="true" name="MAIN_KS" update="true">
|
|
<primary>DPTID</primary>
|
|
<primary>DPTCODE</primary>
|
|
<primary>JGID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="DPTID" table="MAIN_KS" type="12" />
|
|
<f name="DPTCODE" table="MAIN_KS" type="12" />
|
|
<f name="DPTNAME" table="MAIN_KS" type="12" />
|
|
<f name="DPTRMARK" table="MAIN_KS" type="12" />
|
|
<f name="DPTADDR" table="MAIN_KS" type="12" />
|
|
<f name="DPTLAYER" table="MAIN_KS" type="12" />
|
|
<f name="DPTTYPE" table="MAIN_KS" type="12" />
|
|
<f name="DPTGPID" table="MAIN_KS" type="12" />
|
|
<f name="DPTSEX" table="MAIN_KS" type="12" />
|
|
<f name="DPTZJM" table="MAIN_KS" type="12" />
|
|
<f name="DPTBAGE" table="MAIN_KS" type="12" />
|
|
<f name="DPTEAGE" table="MAIN_KS" type="12" />
|
|
<f name="DPTTXMJC" table="MAIN_KS" type="12" />
|
|
<f name="DPTYBCODE" table="MAIN_KS" type="12" />
|
|
<f name="CJR" table="MAIN_KS" type="12" />
|
|
<f name="CJRQ" table="MAIN_KS" type="93" />
|
|
<f name="XGR" table="MAIN_KS" type="12" />
|
|
<f name="XGRQ" table="MAIN_KS" type="93" />
|
|
<f name="JGID" table="MAIN_KS" type="12" />
|
|
<f name="DPTFLAG" table="MAIN_KS" type="-5" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="daoGetHisScHieLoginLog" log="true" type="1" memo="四川 重点人群“先诊疗后付费” 接口登录日志表">
|
|
<sql>
|
|
<![CDATA[
|
|
select
|
|
t.PKEY
|
|
,t.JGID
|
|
,t.USERACCOUNT
|
|
,t.LOGIN_DATE
|
|
,t.LOGIN_TIME
|
|
,t.DATA_USER_ID
|
|
,t.DATA_LOGIN_ID
|
|
,t.DATA_USER_NAME
|
|
,t.DATA_ORG_ID
|
|
,t.DATA_ORG_NAME
|
|
,t.DATA_AREA_ID
|
|
,t.DATA_AREA_NAME
|
|
,t.DATA_ORG_TYPE
|
|
,t.DATA_ORG_CODE
|
|
,t.DATA_ORG_AREA
|
|
,t.DATA_FIELD_10
|
|
,t.DATA_OWN_AREA_IDS
|
|
,t.DATA_TOKEN
|
|
from HIS_SC_HIE_LOGIN_LOG t
|
|
where 1 = 1
|
|
and t.LOGIN_DATE >= ?
|
|
order by t.LOGIN_TIME
|
|
]]>
|
|
</sql>
|
|
<tables>
|
|
<table name="HIS_SC_HIE_LOGIN_LOG" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
<primary>USERACCOUNT</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_SC_HIE_LOGIN_LOG" />
|
|
<f name="JGID" type="12" table="HIS_SC_HIE_LOGIN_LOG" />
|
|
<f name="USERACCOUNT" type="12" table="HIS_SC_HIE_LOGIN_LOG" />
|
|
<f name="LOGIN_DATE" type="12" table="HIS_SC_HIE_LOGIN_LOG" />
|
|
<f name="LOGIN_TIME" type="93" table="HIS_SC_HIE_LOGIN_LOG" />
|
|
<f name="DATA_USER_ID" type="12" table="HIS_SC_HIE_LOGIN_LOG" />
|
|
<f name="DATA_LOGIN_ID" type="12" table="HIS_SC_HIE_LOGIN_LOG" />
|
|
<f name="DATA_USER_NAME" type="12" table="HIS_SC_HIE_LOGIN_LOG" />
|
|
<f name="DATA_ORG_ID" type="12" table="HIS_SC_HIE_LOGIN_LOG" />
|
|
<f name="DATA_ORG_NAME" type="12" table="HIS_SC_HIE_LOGIN_LOG" />
|
|
<f name="DATA_AREA_ID" type="12" table="HIS_SC_HIE_LOGIN_LOG" />
|
|
<f name="DATA_AREA_NAME" type="12" table="HIS_SC_HIE_LOGIN_LOG" />
|
|
<f name="DATA_ORG_TYPE" type="12" table="HIS_SC_HIE_LOGIN_LOG" />
|
|
<f name="DATA_ORG_CODE" type="12" table="HIS_SC_HIE_LOGIN_LOG" />
|
|
<f name="DATA_ORG_AREA" type="12" table="HIS_SC_HIE_LOGIN_LOG" />
|
|
<f name="DATA_FIELD_10" type="12" table="HIS_SC_HIE_LOGIN_LOG" />
|
|
<f name="DATA_OWN_AREA_IDS" type="12" table="HIS_SC_HIE_LOGIN_LOG" />
|
|
<f name="DATA_TOKEN" type="12" table="HIS_SC_HIE_LOGIN_LOG" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="daoGetHisScHieRybq" log="true" type="1" memo="四川 重点人群“先诊疗后付费” 人员标签">
|
|
<sql>
|
|
<![CDATA[
|
|
select
|
|
t.PKEY
|
|
,t.CZRQ
|
|
,t.CZR
|
|
,t.JGID
|
|
,t.HZPKEY
|
|
,t.JZPKEY
|
|
,t.XM
|
|
,t.ZJHM
|
|
,t.HJD_QH
|
|
,t.HJD_QH_NAME
|
|
,t.XJD_QH
|
|
,t.XJD_QH_NAME
|
|
,t.YLBX
|
|
,t.RKX_BQ_CODES
|
|
,t.RKX_BQ_NAMES
|
|
,t.JJX_BQ_CODES
|
|
,t.JJX_BQ_NAMES
|
|
,t.JK_BQ_CODES
|
|
,t.JK_BQ_NAMES
|
|
,t.GLZT_BQ_CODES
|
|
,t.GLZT_BQ_NAMES
|
|
,t.JJX_BQ_ATTR1
|
|
,t.HJD_FLAG
|
|
from HIS_HIE_RYBQ t
|
|
where 1 = 1
|
|
and t.JGID = ?
|
|
and t.HZPKEY = ?
|
|
and t.JZPKEY = ?
|
|
]]>
|
|
</sql>
|
|
<tables>
|
|
<table name="HIS_HIE_RYBQ" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
<primary>HZPKEY</primary>
|
|
<primary>JZPKEY</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_HIE_RYBQ" />
|
|
<f name="CZRQ" type="93" table="HIS_HIE_RYBQ" />
|
|
<f name="CZR" type="12" table="HIS_HIE_RYBQ" />
|
|
<f name="JGID" type="12" table="HIS_HIE_RYBQ" />
|
|
<f name="HZPKEY" type="12" table="HIS_HIE_RYBQ" />
|
|
<f name="JZPKEY" type="12" table="HIS_HIE_RYBQ" />
|
|
<f name="XM" type="12" table="HIS_HIE_RYBQ" />
|
|
<f name="ZJHM" type="12" table="HIS_HIE_RYBQ" />
|
|
<f name="HJD_QH" type="12" table="HIS_HIE_RYBQ" />
|
|
<f name="HJD_QH_NAME" type="12" table="HIS_HIE_RYBQ" />
|
|
<f name="XJD_QH" type="12" table="HIS_HIE_RYBQ" />
|
|
<f name="XJD_QH_NAME" type="12" table="HIS_HIE_RYBQ" />
|
|
<f name="YLBX" type="12" table="HIS_HIE_RYBQ" />
|
|
<f name="RKX_BQ_CODES" type="12" table="HIS_HIE_RYBQ" />
|
|
<f name="RKX_BQ_NAMES" type="12" table="HIS_HIE_RYBQ" />
|
|
<f name="JJX_BQ_CODES" type="12" table="HIS_HIE_RYBQ" />
|
|
<f name="JJX_BQ_NAMES" type="12" table="HIS_HIE_RYBQ" />
|
|
<f name="JK_BQ_CODES" type="12" table="HIS_HIE_RYBQ" />
|
|
<f name="JK_BQ_NAMES" type="12" table="HIS_HIE_RYBQ" />
|
|
<f name="GLZT_BQ_CODES" type="12" table="HIS_HIE_RYBQ" />
|
|
<f name="GLZT_BQ_NAMES" type="12" table="HIS_HIE_RYBQ" />
|
|
<f name="JJX_BQ_ATTR1" type="12" table="HIS_HIE_RYBQ" />
|
|
<f name="HJD_FLAG" type="12" table="HIS_HIE_RYBQ" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="daoGetHisScHieMedRec" log="true" type="1" memo="四川 重点人群“先诊疗后付费” 重点人群诊疗记录上传">
|
|
<sql>
|
|
<![CDATA[
|
|
select
|
|
t.PKEY
|
|
, t.CZR
|
|
, t.CZRQ
|
|
, t.JGID
|
|
, t.HZPKEY
|
|
, t.JZPKEY
|
|
, t.DATA_CARD_TYPE
|
|
, t.DATA_CARD_NO
|
|
, t.DATA_TYPE
|
|
, t.DATA_LSH
|
|
, t.DATA_CODE
|
|
, t.DATA_ENTER_DATE
|
|
, t.DATA_LEAVE_DATE
|
|
, t.DATA_KEY_CROWD
|
|
, t.DATA_ICD_NAME
|
|
, t.DATA_ICD_CODE
|
|
, t.DATA_TOTAL_FEE
|
|
, t.DATA_INS_FEE
|
|
, t.DATA_TOTAL_PREPAYMENT
|
|
, t.DATA_DEFICIENT_FEE
|
|
, t.DATA_SETTLEMENT_DATE
|
|
, t.REQ_DATE
|
|
, t.RTN_CODE
|
|
, t.RTN_DATA
|
|
, t.RTN_MSG
|
|
from HIS_SC_HIE_MED_REC t
|
|
where 1 = 1
|
|
and t.JGID = ?
|
|
and t.HZPKEY = ?
|
|
and t.JZPKEY = ?
|
|
]]>
|
|
</sql>
|
|
<tables>
|
|
<table name="HIS_SC_HIE_MED_REC" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
<primary>HZPKEY</primary>
|
|
<primary>JZPKEY</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_SC_HIE_MED_REC" />
|
|
<f name="CZRQ" type="93" table="HIS_SC_HIE_MED_REC" />
|
|
<f name="CZR" type="12" table="HIS_SC_HIE_MED_REC" />
|
|
<f name="CZR" type="12" table="HIS_SC_HIE_MED_REC" />
|
|
<f name="CZRQ" type="12" table="HIS_SC_HIE_MED_REC" />
|
|
<f name="JGID" type="12" table="HIS_SC_HIE_MED_REC" />
|
|
<f name="HZPKEY" type="12" table="HIS_SC_HIE_MED_REC" />
|
|
<f name="JZPKEY" type="12" table="HIS_SC_HIE_MED_REC" />
|
|
<f name="DATA_CARD_TYPE" type="12" table="HIS_SC_HIE_MED_REC" />
|
|
<f name="DATA_CARD_NO" type="12" table="HIS_SC_HIE_MED_REC" />
|
|
<f name="DATA_TYPE" type="12" table="HIS_SC_HIE_MED_REC" />
|
|
<f name="DATA_LSH" type="12" table="HIS_SC_HIE_MED_REC" />
|
|
<f name="DATA_CODE" type="12" table="HIS_SC_HIE_MED_REC" />
|
|
<f name="DATA_ENTER_DATE" type="12" table="HIS_SC_HIE_MED_REC" />
|
|
<f name="DATA_LEAVE_DATE" type="12" table="HIS_SC_HIE_MED_REC" />
|
|
<f name="DATA_KEY_CROWD" type="12" table="HIS_SC_HIE_MED_REC" />
|
|
<f name="DATA_ICD_NAME" type="12" table="HIS_SC_HIE_MED_REC" />
|
|
<f name="DATA_ICD_CODE" type="12" table="HIS_SC_HIE_MED_REC" />
|
|
<f name="DATA_TOTAL_FEE" type="8" table="HIS_SC_HIE_MED_REC" />
|
|
<f name="DATA_INS_FEE" type="8" table="HIS_SC_HIE_MED_REC" />
|
|
<f name="DATA_TOTAL_PREPAYMENT" type="8" table="HIS_SC_HIE_MED_REC" />
|
|
<f name="DATA_DEFICIENT_FEE" type="8" table="HIS_SC_HIE_MED_REC" />
|
|
<f name="DATA_SETTLEMENT_DATE" type="12" table="HIS_SC_HIE_MED_REC" />
|
|
<f name="REQ_DATE" type="93" table="HIS_SC_HIE_MED_REC" />
|
|
<f name="RTN_CODE" type="12" table="HIS_SC_HIE_MED_REC" />
|
|
<f name="RTN_DATA" type="12" table="HIS_SC_HIE_MED_REC" />
|
|
<f name="RTN_MSG" type="12" table="HIS_SC_HIE_MED_REC" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="daoGetHisScHieMedRecLog" log="true" type="1" memo="四川 重点人群“先诊疗后付费” 重点人群诊疗记录上传 LOG表">
|
|
<sql>
|
|
<![CDATA[
|
|
select
|
|
t.PKEY
|
|
, t.CZR
|
|
, t.CZRQ
|
|
, t.JGID
|
|
, t.HZPKEY
|
|
, t.JZPKEY
|
|
, t.DATA_CARD_TYPE
|
|
, t.DATA_CARD_NO
|
|
, t.DATA_TYPE
|
|
, t.DATA_LSH
|
|
, t.DATA_CODE
|
|
, t.DATA_ENTER_DATE
|
|
, t.DATA_LEAVE_DATE
|
|
, t.DATA_KEY_CROWD
|
|
, t.DATA_ICD_NAME
|
|
, t.DATA_ICD_CODE
|
|
, t.DATA_TOTAL_FEE
|
|
, t.DATA_INS_FEE
|
|
, t.DATA_TOTAL_PREPAYMENT
|
|
, t.DATA_DEFICIENT_FEE
|
|
, t.DATA_SETTLEMENT_DATE
|
|
, t.REQ_DATE
|
|
, t.RTN_CODE
|
|
, t.RTN_DATA
|
|
, t.RTN_MSG
|
|
from HIS_SC_HIE_MED_REC_LOG t
|
|
where 1 > 1
|
|
]]>
|
|
</sql>
|
|
<tables>
|
|
<table name="HIS_SC_HIE_MED_REC_LOG" insert="true" update="true" delete="false">
|
|
<primary>PKEY</primary>
|
|
<primary>JGID</primary>
|
|
<primary>HZPKEY</primary>
|
|
<primary>JZPKEY</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_SC_HIE_MED_REC_LOG" />
|
|
<f name="CZRQ" type="93" table="HIS_SC_HIE_MED_REC_LOG" />
|
|
<f name="CZR" type="12" table="HIS_SC_HIE_MED_REC_LOG" />
|
|
<f name="CZR" type="12" table="HIS_SC_HIE_MED_REC_LOG" />
|
|
<f name="CZRQ" type="12" table="HIS_SC_HIE_MED_REC_LOG" />
|
|
<f name="JGID" type="12" table="HIS_SC_HIE_MED_REC_LOG" />
|
|
<f name="HZPKEY" type="12" table="HIS_SC_HIE_MED_REC_LOG" />
|
|
<f name="JZPKEY" type="12" table="HIS_SC_HIE_MED_REC_LOG" />
|
|
<f name="DATA_CARD_TYPE" type="12" table="HIS_SC_HIE_MED_REC_LOG" />
|
|
<f name="DATA_CARD_NO" type="12" table="HIS_SC_HIE_MED_REC_LOG" />
|
|
<f name="DATA_TYPE" type="12" table="HIS_SC_HIE_MED_REC_LOG" />
|
|
<f name="DATA_LSH" type="12" table="HIS_SC_HIE_MED_REC_LOG" />
|
|
<f name="DATA_CODE" type="12" table="HIS_SC_HIE_MED_REC_LOG" />
|
|
<f name="DATA_ENTER_DATE" type="12" table="HIS_SC_HIE_MED_REC_LOG" />
|
|
<f name="DATA_LEAVE_DATE" type="12" table="HIS_SC_HIE_MED_REC_LOG" />
|
|
<f name="DATA_KEY_CROWD" type="12" table="HIS_SC_HIE_MED_REC_LOG" />
|
|
<f name="DATA_ICD_NAME" type="12" table="HIS_SC_HIE_MED_REC_LOG" />
|
|
<f name="DATA_ICD_CODE" type="12" table="HIS_SC_HIE_MED_REC_LOG" />
|
|
<f name="DATA_TOTAL_FEE" type="8" table="HIS_SC_HIE_MED_REC_LOG" />
|
|
<f name="DATA_INS_FEE" type="8" table="HIS_SC_HIE_MED_REC_LOG" />
|
|
<f name="DATA_TOTAL_PREPAYMENT" type="8" table="HIS_SC_HIE_MED_REC_LOG" />
|
|
<f name="DATA_DEFICIENT_FEE" type="8" table="HIS_SC_HIE_MED_REC_LOG" />
|
|
<f name="DATA_SETTLEMENT_DATE" type="12" table="HIS_SC_HIE_MED_REC_LOG" />
|
|
<f name="REQ_DATE" type="93" table="HIS_SC_HIE_MED_REC_LOG" />
|
|
<f name="RTN_CODE" type="12" table="HIS_SC_HIE_MED_REC_LOG" />
|
|
<f name="RTN_DATA" type="12" table="HIS_SC_HIE_MED_REC_LOG" />
|
|
<f name="RTN_MSG" type="12" table="HIS_SC_HIE_MED_REC_LOG" />
|
|
</fields>
|
|
<parameter>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
<dao id="ScHieJzdao" log="true" type="1">
|
|
<sql>
|
|
SELECT b.ZJHM,a.ZYNO,a.JJRQ,NVL( c.ZJE ,0) YJZJE,d.JBBM ,d.JBMC,
|
|
(SELECT COUNT(1) FROM HIS_HIE_RYBQ z WHERE a.PKEY=z.JZPKEY AND a.JGID=z.JGID AND z.HJD_FLAG='1') ZDZT
|
|
FROM HIS_JZ_BASEINFO a
|
|
LEFT JOIN HIS_HZINFO b ON a.JGID =b.JGID AND a.HZPKEY =b.PKEY
|
|
LEFT JOIN HIS_ZY_YJMANAGE c on a.pkey=c.jzpkey and c.YJTYPE='01' and a.JGID=c.JGID and c.YJTYPE='01'
|
|
LEFT JOIN HIS_JZ_MZZD d ON a.PKEY =d.JZPKEY AND a.JGID =d.JGID AND d.SFZZD ='1' AND d.ZDLX ='002'
|
|
WHERE a.JGID =? AND a.HZPKEY =? AND a.PKEY =?
|
|
</sql>
|
|
//ZJHM,ZYNO,JJRQ,YJZJE
|
|
<fields>
|
|
<f name="ZJHM" type="12" />
|
|
<f name="ZYNO" type="12" />
|
|
<f name="JJRQ" type="93" />
|
|
<f name="YJZJE" type="12" />
|
|
<f name="JBBM" type="12" />
|
|
<f name="JBMC" type="12" />
|
|
<f name="ZDZT" type="12" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="ScHieDjJsbdao" log="true" type="1">
|
|
<sql>
|
|
SELECT b.ENDTIME,b.DSCG_MAINDIAG_NAME,b.DSCG_MAINDIAG_CODE,NVL(a.MEDFEE_SUMAMT,0) MEDFEE_SUMAMT,NVL(a.FUND_PAY_SUMAMT,0) FUND_PAY_SUMAMT,NVL(a.ACCT_PAY,0) ACCT_PAY,a.SETL_TIME,
|
|
a.PSN_CASH_PAY
|
|
FROM HIS_YB_JSB a
|
|
LEFT JOIN HIS_YB_DJ b ON a.JGID =b.JGID AND a.MDTRT_ID =b.MDTRT_ID AND a.IPT_NO=b.IPT_NO AND a.CXZT='0'
|
|
WHERE a.JGID =? AND a.PKEY =? AND b.DJCXZT='0'
|
|
</sql>
|
|
//ENDTIME,DSCG_MAINDIAG_NAME,DSCG_MAINDIAG_CODE,MEDFEE_SUMAMT,FUND_PAY_SUMAMT,ACCT_PAY,SETL_TIME
|
|
<fields>
|
|
<f name="ENDTIME" type="93" />
|
|
<f name="DSCG_MAINDIAG_NAME" type="12" />
|
|
<f name="DSCG_MAINDIAG_CODE" type="12" />
|
|
<f name="MEDFEE_SUMAMT" type="4" />
|
|
<f name="FUND_PAY_SUMAMT" type="4" />
|
|
<f name="ACCT_PAY" type="4" />
|
|
<f name="SETL_TIME" type="93" />
|
|
<f name="PSN_CASH_PAY" type="4" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<!-- 地址转换 -->
|
|
<dao id="daoSysdsMainForApiUrl" type="1">
|
|
<sql>
|
|
<![CDATA[
|
|
select
|
|
t.ID
|
|
,t.SERVERTYPE
|
|
,t.SERVERURL
|
|
,t.CLIENTIP
|
|
,t.APIURL
|
|
,t.REMARK
|
|
,t.FLAG
|
|
from MAIN_APIURL t
|
|
where 1 = 1
|
|
and t.SERVERTYPE = ?
|
|
and t.SERVERURL = ?
|
|
and t.CLIENTIP like ?
|
|
]]>
|
|
</sql>
|
|
<tables>
|
|
<table name="MAIN_APIURL" insert="false" update="false" delete="false">
|
|
<primary>ID</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="ID" table="MAIN_APIURL" type="12" />
|
|
<f name="SERVERTYPE" table="MAIN_APIURL" type="12" />
|
|
<f name="SERVERURL" table="MAIN_APIURL" type="12" />
|
|
<f name="CLIENTIP" table="MAIN_APIURL" type="12" />
|
|
<f name="APIURL" table="MAIN_APIURL" type="12" />
|
|
<f name="REMARK" table="MAIN_APIURL" type="12" />
|
|
<f name="FLAG" table="MAIN_APIURL" type="12" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
|
|
|
|
<dao id="ScHiezyjsxxdao" log="true" type="1" memo="住院患者账单信息主表dao">
|
|
<sql>
|
|
select
|
|
a.PKEY,a.HZPKEY,a.GHPKEY,a.JZLX,a.JZZT,a.JZZB,a.HZFB,a.JZJS,a.ISYB,a.ISZZ,a.YYLX,a.ISLG,a.ISGSSJJ,a.HZYBLX,a.JJKS,a.JJRQ,a.JJYS,a.FBRQ,a.ZYNUM,a.WARD,a.ROOM,a.BED,a.KZRQ,a.JSRQ,a.THRY,a.HDYY,a.HDRQ,a.MZNUM,a.CJR,a.CJRQ,a.JGID,a.JZNO,a.MZNO,a.ZYNO,a.JZKH,a.CARDPKEY,a.JZNL,a.ISJZ,a.ZYLX,a.ZYHZLY,a.ZYYYRQ,a.CYRQ,a.CYYS,a.ZYNOOLD,a.SCZYRQ,a.ISGL,a.ISSJ,a.HZLX,a.GRLX,a.QTGRLX,a.CWFJLX,a.YSLX,a.MQJZINFO,a.ZKRQ,a.RYTJ,a.RYBQ,a.RYJZINFO,a.RYYS,a.RYQK,a.JZZL,a.JYYJ,a.ZYBZ,a.RYZD,a.RYZDMS,a.ZYBAH,a.RYNL,a.RYXSENLD,a.RYXSENLH,a.RYXSENLS,a.ZYZH,a.JZKLX,a.CRFS,a.OTHERCRFS,a.MAINBLYS,a.MAINBLXS,a.MOTHERJZPKEY,a.ZKDATE,a.RQDATE,a.CYKS,a.CYWARD,a.CYBED,a.HZZYZT,a.ISZZJS,a.ZZJSSJ,a.ZZJSR,a.ISYLJS,a.YLJSR,a.YLJSSJ,a.ISZZCWJS,a.CWJSR,a.CWJSSJ,a.ZDZBPKEY,a.CYBQ,a.CYQK,a.ISDEAD,a.DEADRQ,a.ISZK
|
|
,a.LYFS,a.SYLB,a.YZS,a.SYTC,a.TES,a.WYBZ,a.ZCBZ,a.SYSSLB,a.BFZBZ,a.JHSYFWZH,a.RJSS,a.SYSSRQ,a.RYKS,a.RYBED,b.xm,b.xb,b.SFZH,b.ZJHM,b.LXR,b.LXRDH,b.CSRQ,b.MZ
|
|
,c.PKEY
|
|
zdpkey,c.jzpkey,c.ZDJFLX,c.JFYBLX,c.HZRYLX,c.HZINTIME,c.HZOUTTIME,c.KSSJ,c.JSSJ,c.JFZJE,c.JFZKE,c.JFZKLX,c.JFJZE,c.HZPAYSELF,c.HZZFE,c.HZZFEORIGN,c.JFLX,c.ISHC,c.HCDJPKEY,c.JSZT,c.SFZXTFHSF,c.TFHSFZDPKEY,c.JZZDPKEY,d.PKEY
|
|
fppkey,d.GLZDBPKEY,d.SJPKEY,d.CLOSEPKEY,d.JZRQ,d.CHFPHM,d.CHPKEY,d.FPHM,d.PJLX,d.SFRY,d.SFRQ,d.SFZT,d.FPLX,d.FPDRYY,d.YBLX,d.YBZFJE,d.SFJE,d.YBJSB,d.CHYY,d.SFDZP,d.SFDYFP,d.SFJZDY,d.PJZT,d.TFHSF,d.SFKS,d.JJZF,d.GRZH,d.YYBC,d.GRPAY,f.ZJE
|
|
yjzje,d.SYJE,d.YSSFJE,d.TCZF,d.DBBX,d.YLJZ,d.GWYBZ,d.QYBC,c.ZTJS,c.ZTJSCFZZD,
|
|
r.JJX_BQ_NAMES,
|
|
(SELECT COUNT(1) FROM HIS_SC_HIE_MED_REC z WHERE a.PKEY=z.JZPKEY AND a.JGID=z.JGID ) ZDZT ,
|
|
nvl(mr.DATA_DEFICIENT_FEE,0) DATA_DEFICIENT_FEE
|
|
from HIS_JZ_BASEINFO a
|
|
left join HIS_HZINFO b on a.hzpkey = b.pkey and a.JGID=b.JGID
|
|
left join HIS_SFZD_ZB c on a.pkey = c.jzpkey and a.JGID=c.JGID
|
|
left join HIS_MZJS_MZFPZB d on c.pkey=d.GLZDBPKEY and c.JGID=d.JGID
|
|
left join HIS_ZY_YJMANAGE f on a.pkey=f.jzpkey and f.YJTYPE='01' and a.JGID=f.JGID and f.YJTYPE='01'
|
|
left join HIS_HIE_RYBQ r on a.JGID=r.JGID and a.PKEY=r.JZPKEY and r.HJD_FLAG='1'
|
|
left join HIS_SC_HIE_MED_REC mr on a.JGID=mr.JGID and a.PKEY=mr.JZPKEY
|
|
where a.JGID=? and
|
|
a.hzpkey=? and a.pkey=? and a.JZLX='Z' and (c.isHC is null or
|
|
c.ISHC=0) order by c.CJRQ desc
|
|
</sql>
|
|
<fields>
|
|
<f name="PKEY" type="12" />
|
|
<f name="HZPKEY" type="12"/>
|
|
<f name="GHPKEY" type="12" />
|
|
<f name="JZLX" type="12" />
|
|
<f name="JZZT" type="12" />
|
|
<f name="JZZB" type="12" />
|
|
<f name="HZFB" type="12" />
|
|
<f name="JZJS" type="12" />
|
|
<f name="ISYB" type="12" />
|
|
<f name="ISZZ" type="12" />
|
|
<f name="YYLX" type="12" />
|
|
<f name="ISLG" type="12" />
|
|
<f name="ISGSSJJ" type="12" />
|
|
<f name="HZYBLX" type="12" />
|
|
<f name="JJKS" type="12" />
|
|
<f name="JJRQ" type="93" />
|
|
<f name="JJYS" type="12" />
|
|
<f name="FBRQ" type="93" />
|
|
<f name="ZYNUM" type="8" />
|
|
<f name="WARD" type="12" />
|
|
<f name="ROOM" type="12" />
|
|
<f name="BED" type="12" />
|
|
<f name="KZRQ" type="93" />
|
|
<f name="JSRQ" type="93" />
|
|
<f name="THRY" type="12" />
|
|
<f name="HDYY" type="12" />
|
|
<f name="HDRQ" type="93" />
|
|
<f name="MZNUM" type="8" />
|
|
<f name="CJR" type="12"
|
|
/>
|
|
<f name="CJRQ" type="93"
|
|
/>
|
|
<f name="JGID" type="12"
|
|
/>
|
|
<f name="JZNO" type="12" />
|
|
<f name="MZNO" type="12" />
|
|
<f name="ZYNO" type="12" />
|
|
<f name="JZKH" type="12" />
|
|
<f name="CARDPKEY" type="12" />
|
|
<f name="JZNL" type="12" />
|
|
<f name="ISJZ" type="12" />
|
|
<f name="ZYLX" type="12" />
|
|
<f name="ZYHZLY" type="12" />
|
|
<f name="ZYYYRQ" type="93" />
|
|
<f name="CYRQ" type="93" />
|
|
<f name="CYYS" type="12" />
|
|
<f name="ZYNOOLD" type="12" />
|
|
<f name="SCZYRQ" type="93" />
|
|
<f name="ISGL" type="12" />
|
|
<f name="ISSJ" type="12" />
|
|
<f name="HZLX" type="12" />
|
|
<f name="GRLX" type="12" />
|
|
<f name="QTGRLX" type="12" />
|
|
<f name="CWFJLX" type="12" />
|
|
<f name="YSLX" type="12" />
|
|
<f name="MQJZINFO" type="12" />
|
|
<f name="ZKRQ" type="93" />
|
|
<f name="RYTJ" type="12" />
|
|
<f name="RYBQ" type="12" />
|
|
<f name="RYJZINFO" type="12" />
|
|
<f name="RYYS" type="12" />
|
|
<f name="RYQK" type="12" />
|
|
<f name="JZZL" type="12" />
|
|
<f name="JYYJ" type="-5" />
|
|
<f name="ZYBZ" type="12" />
|
|
<f name="RYZD" type="12" />
|
|
<f name="RYZDMS" type="12" />
|
|
<f name="ZYBAH" type="12" />
|
|
<f name="RYNL" type="12" />
|
|
<f name="RYXSENLD" type="-5" />
|
|
<f name="RYXSENLH" type="-5" />
|
|
<f name="RYXSENLS" type="-5" />
|
|
<f name="ZYZH" type="12" />
|
|
<f name="JZKLX" type="12" />
|
|
<f name="CRFS" type="12" />
|
|
<f name="OTHERCRFS" type="12" />
|
|
<f name="MAINBLYS" type="12" />
|
|
<f name="MAINBLXS" type="12" />
|
|
<f name="MOTHERJZPKEY" type="12" />
|
|
<f name="ZKDATE" type="93" />
|
|
<f name="RQDATE" type="93" />
|
|
<f name="CYKS" type="12" />
|
|
<f name="CYWARD" type="12" />
|
|
<f name="CYBED" type="12" />
|
|
<f name="HZZYZT" type="12" />
|
|
<f name="ISZZJS" type="12" />
|
|
<f name="ZZJSSJ" type="93" />
|
|
<f name="ZZJSR" type="12" />
|
|
<f name="ISYLJS" type="12" />
|
|
<f name="YLJSR" type="12" />
|
|
<f name="YLJSSJ" type="93" />
|
|
<f name="ISZZCWJS" type="12" />
|
|
<f name="CWJSR" type="12" />
|
|
<f name="CWJSSJ" type="93" />
|
|
<f name="ZDZBPKEY" type="12" />
|
|
<f name="CYBQ" type="12" />
|
|
<f name="CYQK" type="12" />
|
|
<f name="ISDEAD" type="12" />
|
|
<f name="DEADRQ" type="93" />
|
|
<f name="ISZK" type="12" />
|
|
<f name="LYFS" type="12" />
|
|
<f name="SYLB" type="12" />
|
|
<f name="YZS" type="12" />
|
|
<f name="SYTC" type="12" />
|
|
<f name="TES" type="12" />
|
|
<f name="WYBZ" type="12" />
|
|
<f name="ZCBZ" type="12" />
|
|
<f name="SYSSLB" type="12" />
|
|
<f name="BFZBZ" type="12" />
|
|
<f name="JHSYFWZH" type="12" />
|
|
<f name="RJSS" type="12" />
|
|
<f name="SYSSRQ" type="93" />
|
|
<f name="RYKS" type="12" />
|
|
<f name="RYBED" type="12" />
|
|
<f name="XM" type="12" />
|
|
<f name="XB" type="12" />
|
|
<f name="SFZH" type="12" />
|
|
<f name="ZJHM" type="12" />
|
|
<f name="LXR" type="12" />
|
|
<f name="LXRDH" type="12" />
|
|
<f name="CSRQ" type="93" />
|
|
<f name="MZ" type="12" />
|
|
<f name="ZDPKEY" schemaname="PKEY" type="12" />
|
|
<f name="JZPKEY" type="12" />
|
|
<f name="ZDJFLX" type="12" />
|
|
<f name="JFYBLX" type="12" />
|
|
<f name="HZRYLX" type="12" />
|
|
<f name="HZINTIME" type="93" />
|
|
<f name="HZOUTTIME" type="93" />
|
|
<f name="KSSJ" type="93" />
|
|
<f name="JSSJ" type="93" />
|
|
<f name="JFZJE" type="12" />
|
|
<f name="JFZKE" type="12" />
|
|
<f name="JFZKLX" type="12" />
|
|
<f name="JFJZE" type="12" />
|
|
<f name="HZPAYSELF" type="12" />
|
|
<f name="HZZFE" type="12" />
|
|
<f name="HZZFEORIGN" type="12" />
|
|
<f name="JFLX" type="12" />
|
|
<f name="ISHC" type="12" />
|
|
<f name="HCDJPKEY" type="12" />
|
|
<f name="JSZT" type="12" />
|
|
<f name="SFZXTFHSF" type="12" />
|
|
<f name="TFHSFZDPKEY" type="12" />
|
|
<f name="JZZDPKEY" type="12" />
|
|
<f name="FPPKEY" schemaname="PKEY" type="12"
|
|
/>
|
|
<f name="GLZDBPKEY" type="12" />
|
|
<f name="SJPKEY" type="12" />
|
|
<f name="CLOSEPKEY" type="12" />
|
|
<f name="JZRQ" type="93" />
|
|
<f name="CHFPHM" type="12" />
|
|
<f name="CHPKEY" type="12" />
|
|
<f name="FPHM" type="12" />
|
|
<f name="PJLX" type="12" />
|
|
<f name="SFRY" type="12" />
|
|
<f name="SFRQ" type="93" />
|
|
<f name="SFZT" type="12" />
|
|
<f name="FPLX" type="12" />
|
|
<f name="FPDRYY" type="12" />
|
|
<f name="YBLX" type="12" />
|
|
<f name="YBZFJE" type="12" />
|
|
<f name="SFJE" type="12" />
|
|
<f name="YBJSB" type="12" />
|
|
<f name="CHYY" type="12" />
|
|
<f name="SFDZP" type="12" />
|
|
<f name="SFDYFP" type="12" />
|
|
<f name="SFJZDY" type="12" />
|
|
<f name="PJZT" type="12" />
|
|
<f name="TFHSF" type="12" />
|
|
<f name="SFKS" type="12" />
|
|
<f name="JJZF" type="12" />
|
|
<f name="GRZH" type="12" />
|
|
<f name="YYBC" type="12" />
|
|
<f name="GRPAY" type="12" />
|
|
<f name="YJZJE" type="12" />
|
|
<f name="SYJE" type="12" />
|
|
<f name="YSSFJE" type="12" />
|
|
<f name="TCZF" type="12" />
|
|
<f name="DBBX" type="12" />
|
|
<f name="YLJZ" type="12" />
|
|
<f name="GWYBZ" type="12" />
|
|
<f name="QYBC" type="12" />
|
|
<f name="ZTJS" type="12" />
|
|
<f name="ZTJSCFZZD" type="12" />
|
|
<f name="JJX_BQ_NAMES" type="12" />
|
|
<f name="ZDZT" type="12" />
|
|
<f name="DATA_DEFICIENT_FEE" type="4" />
|
|
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
<dao id="ScHieybjsbpkeydao" log="true" type="1" memo="结算PKEY">
|
|
<sql>select PKEY,JGID,JZLX,MDTRT_ID,SETL_ID,IPT_NO,PSN_NO,PSN_NAME,PSN_CERT_TYPE,CERTNO,GEND,NATY,BRDY,AGE,INSUTYPE,PSN_SETLWAY,ACCT_USED_FLAG,MID_SETL_FLAG,PSN_TYPE,CVLSERV_FLAG,SETL_TIME,MDTRT_CERT_TYPE,MED_TYPE,MEDFEE_SUMAMT,FUND_PAY_SUMAMT,PSN_PART_AMT,ACCT_PAY,PSN_CASH_PAY,CASH_TYPE,HOSP_PART_AMT,BALC,ACCT_MULAID_PAY,FULAMT_OWNPAY_AMT,OVERLMT_SELFPAY,PRESELFPAY_AMT,INSCP_SCP_AMT,ACT_PAY_DEDC,HIFP_PAY,POOL_PROP_SELFPAY,CVLSERV_PAY,HIFES_PAY,HIFMI_PAY,HIFOB_PAY,MAF_PAY,OTH_PAY,HIFDM_PAY,MEDINS_SETL_ID,CLR_OPTINS,CLR_WAY,CLR_TYPE,CXZT,OLD_SETL_ID,CZY,CZSJ,FPHM,KLS,YJJZF,SJZF,SETL_LIST_ID,STMT_RSLT,
|
|
ZKBL,ZKJE,BBID,FZDATE,SCSJ,ISYZS,CHFPH,HI_PAYMTD,STAS_TYPE,ISDZFP,ZDZBPKEY,OMSGID,HZPKEY
|
|
from HIS_YB_JSB
|
|
where JGID=? and PKEY=?</sql>
|
|
<tables>
|
|
<table name="HIS_YB_JSB" insert="true" update="true" delete="true">
|
|
<primary>PKEY</primary>
|
|
</table>
|
|
</tables>
|
|
<fields>
|
|
<f name="PKEY" type="12" table="HIS_YB_JSB" />
|
|
<f name="JGID" type="12" table="HIS_YB_JSB" />
|
|
<f name="JZLX" type="12" table="HIS_YB_JSB" />
|
|
<f name="MDTRT_ID" type="12" table="HIS_YB_JSB" />
|
|
<f name="SETL_ID" type="12" table="HIS_YB_JSB" />
|
|
<f name="IPT_NO" type="12" table="HIS_YB_JSB" />
|
|
<f name="PSN_NO" type="12" table="HIS_YB_JSB" />
|
|
<f name="PSN_NAME" type="12" table="HIS_YB_JSB" />
|
|
<f name="PSN_CERT_TYPE" type="12" table="HIS_YB_JSB" />
|
|
<f name="CERTNO" type="12" table="HIS_YB_JSB" />
|
|
<f name="GEND" type="12" table="HIS_YB_JSB" />
|
|
<f name="NATY" type="12" table="HIS_YB_JSB" />
|
|
<f name="BRDY" type="93" table="HIS_YB_JSB" />
|
|
<f name="AGE" type="8" table="HIS_YB_JSB" />
|
|
<f name="INSUTYPE" type="12" table="HIS_YB_JSB" />
|
|
<f name="PSN_SETLWAY" type="12" table="HIS_YB_JSB" />
|
|
<f name="ACCT_USED_FLAG" type="12" table="HIS_YB_JSB" />
|
|
<f name="MID_SETL_FLAG" type="12" table="HIS_YB_JSB" />
|
|
<f name="PSN_TYPE" type="12" table="HIS_YB_JSB" />
|
|
<f name="CVLSERV_FLAG" type="12" table="HIS_YB_JSB" />
|
|
<f name="SETL_TIME" type="93" table="HIS_YB_JSB" />
|
|
<f name="MDTRT_CERT_TYPE" type="12" table="HIS_YB_JSB" />
|
|
<f name="MED_TYPE" type="12" table="HIS_YB_JSB" />
|
|
<f name="MEDFEE_SUMAMT" type="8" table="HIS_YB_JSB" />
|
|
<f name="FUND_PAY_SUMAMT" type="8" table="HIS_YB_JSB" />
|
|
<f name="PSN_PART_AMT" type="8" table="HIS_YB_JSB" />
|
|
<f name="ACCT_PAY" type="8" table="HIS_YB_JSB" />
|
|
<f name="PSN_CASH_PAY" type="8" table="HIS_YB_JSB" />
|
|
<f name="CASH_TYPE" type="12" table="HIS_YB_JSB" />
|
|
<f name="HOSP_PART_AMT" type="8" table="HIS_YB_JSB" />
|
|
<f name="BALC" type="8" table="HIS_YB_JSB" />
|
|
<f name="ACCT_MULAID_PAY" type="8" table="HIS_YB_JSB" />
|
|
<f name="FULAMT_OWNPAY_AMT" type="8" table="HIS_YB_JSB" />
|
|
<f name="OVERLMT_SELFPAY" type="8" table="HIS_YB_JSB" />
|
|
<f name="PRESELFPAY_AMT" type="8" table="HIS_YB_JSB" />
|
|
<f name="INSCP_SCP_AMT" type="8" table="HIS_YB_JSB" />
|
|
<f name="ACT_PAY_DEDC" type="8" table="HIS_YB_JSB" />
|
|
<f name="HIFP_PAY" type="8" table="HIS_YB_JSB" />
|
|
<f name="POOL_PROP_SELFPAY" type="8" table="HIS_YB_JSB" />
|
|
<f name="CVLSERV_PAY" type="8" table="HIS_YB_JSB" />
|
|
<f name="HIFES_PAY" type="8" table="HIS_YB_JSB" />
|
|
<f name="HIFMI_PAY" type="8" table="HIS_YB_JSB" />
|
|
<f name="HIFOB_PAY" type="8" table="HIS_YB_JSB" />
|
|
<f name="MAF_PAY" type="8" table="HIS_YB_JSB" />
|
|
<f name="OTH_PAY" type="8" table="HIS_YB_JSB" />
|
|
<f name="HIFDM_PAY" type="8" table="HIS_YB_JSB" />
|
|
<f name="MEDINS_SETL_ID" type="12" table="HIS_YB_JSB" />
|
|
<f name="CLR_OPTINS" type="12" table="HIS_YB_JSB" />
|
|
<f name="CLR_WAY" type="12" table="HIS_YB_JSB" />
|
|
<f name="CLR_TYPE" type="12" table="HIS_YB_JSB" />
|
|
<f name="CXZT" type="12" table="HIS_YB_JSB" />
|
|
<f name="OLD_SETL_ID" type="12" table="HIS_YB_JSB" />
|
|
<f name="CZY" type="12" table="HIS_YB_JSB" />
|
|
<f name="CZSJ" type="93" table="HIS_YB_JSB" />
|
|
<f name="FPHM" type="12" table="HIS_YB_JSB" />
|
|
<f name="KLS" type="12" table="HIS_YB_JSB" />
|
|
<f name="YJJZF" type="8" table="HIS_YB_JSB" />
|
|
<f name="SJZF" type="8" table="HIS_YB_JSB" />
|
|
<f name="SETL_LIST_ID" type="12" table="HIS_YB_JSB" />
|
|
<f name="STMT_RSLT" type="12" table="HIS_YB_JSB" />
|
|
<f name="ZKBL" type="8" table="HIS_YB_JSB" />
|
|
<f name="ZKJE" type="8" table="HIS_YB_JSB" />
|
|
<f name="BBID" type="12" table="HIS_YB_JSB" />
|
|
<f name="FZDATE" type="93" table="HIS_YB_JSB" />
|
|
<f name="SCSJ" type="93" table="HIS_YB_JSB" />
|
|
<f name="ISYZS" type="12" table="HIS_YB_JSB" />
|
|
<f name="CHFPH" type="12" table="HIS_YB_JSB" />
|
|
<f name="HI_PAYMTD" type="12" table="HIS_YB_JSB" />
|
|
<f name="STAS_TYPE" type="12" table="HIS_YB_JSB" />
|
|
<f name="ISDZFP" type="12" table="HIS_YB_JSB" />
|
|
<f name="ZDZBPKEY" type="12" table="HIS_YB_JSB" />
|
|
<f name="OMSGID" type="12" table="HIS_YB_JSB" />
|
|
<f name="HZPKEY" type="12" table="HIS_YB_JSB" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
<dao id="zysfzdrqDao" log="true" type="1">
|
|
<sql><![CDATA[
|
|
SELECT b.PKEY,b.CZRQ,b.CZR,b.JGID,b.HZPKEY,b.JZPKEY,b.XM,b.ZJHM,b.HJD_QH,b.HJD_QH_NAME,b.XJD_QH,
|
|
b.XJD_QH_NAME,b.YLBX,b.RKX_BQ_CODES,b.RKX_BQ_NAMES,b.JJX_BQ_CODES,b.JJX_BQ_NAMES,
|
|
b.JK_BQ_CODES,b.JK_BQ_NAMES,b.GLZT_BQ_CODES,b.GLZT_BQ_NAMES,b.JJX_BQ_ATTR1,b.HJD_FLAG,
|
|
c.DATA_TYPE,
|
|
c.DATA_LSH,
|
|
c.DATA_CODE,
|
|
c.DATA_ENTER_DATE,
|
|
c.DATA_LEAVE_DATE,
|
|
c.DATA_KEY_CROWD,
|
|
c.DATA_ICD_NAME,
|
|
c.DATA_ICD_CODE,
|
|
c.DATA_TOTAL_FEE,
|
|
c.DATA_INS_FEE,
|
|
c.DATA_TOTAL_PREPAYMENT,
|
|
c.DATA_DEFICIENT_FEE,
|
|
c.DATA_SETTLEMENT_DATE,
|
|
a.JJKS,
|
|
a.JJRQ,
|
|
d.MEDFEE_SUMAMT,
|
|
d.FUND_PAY_SUMAMT,
|
|
d.PSN_PART_AMT,
|
|
d.ACCT_PAY,
|
|
d.PSN_CASH_PAY,
|
|
e.PHONE,
|
|
(c.DATA_TOTAL_FEE-c.DATA_INS_FEE) AS ZFJE,
|
|
(c.DATA_TOTAL_FEE-c.DATA_INS_FEE-c.DATA_DEFICIENT_FEE) YHKJE,
|
|
d.SETL_TIME,
|
|
NVL(c.PKEY,'0') AS ZT,
|
|
c.RTN_CODE,
|
|
e.XZDZ
|
|
FROM HIS_JZ_BASEINFO a
|
|
LEFT JOIN HIS_HIE_RYBQ b ON a.JGID =b.JGID AND a.HZPKEY =b.HZPKEY AND a.PKEY =b.JZPKEY
|
|
LEFT JOIN HIS_SC_HIE_MED_REC c ON a.JGID =c.JGID AND a.HZPKEY =c.HZPKEY AND a.PKEY =c.JZPKEY
|
|
LEFT JOIN HIS_YB_JSB d ON a.JGID =d.JGID AND a.HZPKEY =d.HZPKEY AND a.PKEY =d.KLS AND d.CXZT ='0'
|
|
LEFT JOIN HIS_HZINFO e ON a.JGID =e.JGID AND a.HZPKEY =e.PKEY
|
|
WHERE b.JJX_BQ_CODES IS NOT null AND a.JZLX ='Z'
|
|
AND a.JGID =?
|
|
AND d.SETL_TIME >=?
|
|
AND d.SETL_TIME <=?
|
|
AND (c.PKEY is null OR 1=?)
|
|
AND (c.PKEY is not null OR 1=?)
|
|
ORDER BY d.SETL_TIME DESC
|
|
]]></sql>
|
|
//PKEY,CZRQ,CZR,JGID,HZPKEY,JZPKEY,XM,ZJHM,HJD_QH,HJD_QH_NAME,XJD_QH,XJD_QH_NAME,YLBX,RKX_BQ_CODES,RKX_BQ_NAMES,JJX_BQ_CODES,JJX_BQ_NAMES,JK_BQ_CODES,JK_BQ_NAMES,GLZT_BQ_CODES,GLZT_BQ_NAMES,JJX_BQ_ATTR1,HJD_FLAG,DATA_TYPE,DATA_LSH,DATA_CODE,DATA_ENTER_DATE,DATA_LEAVE_DATE,DATA_KEY_CROWD,DATA_ICD_NAME,DATA_ICD_CODE,DATA_TOTAL_FEE,DATA_INS_FEE,DATA_TOTAL_PREPAYMENT,DATA_DEFICIENT_FEE,DATA_SETTLEMENT_DATE,JJKS,JJRQ,MEDFEE_SUMAMT,FUND_PAY_SUMAMT,PSN_PART_AMT,ACCT_PAY,PSN_CASH_PAY,PHONE,ZFJE
|
|
<fields>
|
|
<f name="PKEY" type="12" />
|
|
<f name="CZRQ" type="93" />
|
|
<f name="CZR" type="12" />
|
|
<f name="JGID" type="12" />
|
|
<f name="HZPKEY" type="12" />
|
|
<f name="JZPKEY" type="12" />
|
|
<f name="XM" type="12" />
|
|
<f name="ZJHM" type="12" />
|
|
<f name="HJD_QH" type="12" />
|
|
<f name="HJD_QH_NAME" type="12" />
|
|
<f name="XJD_QH" type="12" />
|
|
<f name="XJD_QH_NAME" type="12" />
|
|
<f name="YLBX" type="12" />
|
|
<f name="RKX_BQ_CODES" type="12" />
|
|
<f name="RKX_BQ_NAMES" type="12" />
|
|
<f name="JJX_BQ_CODES" type="12" />
|
|
<f name="JJX_BQ_NAMES" type="12" />
|
|
<f name="JK_BQ_CODES" type="12" />
|
|
<f name="JK_BQ_NAMES" type="12" />
|
|
<f name="GLZT_BQ_CODES" type="12" />
|
|
<f name="GLZT_BQ_NAMES" type="12" />
|
|
<f name="JJX_BQ_ATTR1" type="12" />
|
|
<f name="HJD_FLAG" type="12" />
|
|
<f name="DATA_TYPE" type="12" />
|
|
<f name="DATA_LSH" type="12" />
|
|
<f name="DATA_CODE" type="12" />
|
|
<f name="DATA_ENTER_DATE" type="12" />
|
|
<f name="DATA_LEAVE_DATE" type="12" />
|
|
<f name="DATA_KEY_CROWD" type="12" />
|
|
<f name="DATA_ICD_NAME" type="12" />
|
|
<f name="DATA_ICD_CODE" type="12" />
|
|
<f name="DATA_TOTAL_FEE" type="8" />
|
|
<f name="DATA_INS_FEE" type="8" />
|
|
<f name="DATA_TOTAL_PREPAYMENT" type="8" />
|
|
<f name="DATA_DEFICIENT_FEE" type="8" />
|
|
<f name="DATA_SETTLEMENT_DATE" type="12" />
|
|
<f name="JJKS" type="12" />
|
|
<f name="JJRQ" type="93" />
|
|
<f name="MEDFEE_SUMAMT" type="8" />
|
|
<f name="FUND_PAY_SUMAMT" type="8" />
|
|
<f name="PSN_PART_AMT" type="8" />
|
|
<f name="ACCT_PAY" type="8" />
|
|
<f name="PSN_CASH_PAY" type="8" />
|
|
<f name="PHONE" type="12" />
|
|
<f name="ZFJE" type="4" />
|
|
<f name="YHKJE" type="4" />
|
|
<f name="SETL_TIME" type="93" />
|
|
<f name="ZT" type="12" />
|
|
<f name="RTN_CODE" type="12" />
|
|
<f name="XZDZ" type="12" />
|
|
</fields>
|
|
<parameter>
|
|
<p>12</p>
|
|
<p>93</p>
|
|
<p>93</p>
|
|
<p>12</p>
|
|
<p>12</p>
|
|
</parameter>
|
|
</dao>
|
|
|
|
</datasource>
|
|
|