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.
132 lines
6.0 KiB
132 lines
6.0 KiB
3 months ago
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<datasource>
|
||
|
<!-- 1 表示 sql语句dao 2表示存储过程dao 默认为sql语句dao-->
|
||
|
|
||
|
|
||
|
<dao id="pjinDao" type="1">
|
||
|
<sql>
|
||
|
select PKEY,CGRQ,CGR,BEGINNUM,ENDNUM,CURRNUM,CURRFLAG,PJTYPE,SYTYPE,BEGINZM,CJR,CJRQ,XGR,XGRQ,JGID,THPKEY,THR,THRQ,LOCKFLAG,PJDM from HIS_PJIN where JGID = ? order by CGRQ
|
||
|
|
||
|
|
||
|
</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_PJIN" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>BEGINNUM</primary>
|
||
|
<primary>ENDNUM</primary>
|
||
|
<primary>CURRNUM</primary>
|
||
|
<primary>CURRFLAG</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_PJIN" />
|
||
|
<f name="CGRQ" type="93" table="HIS_PJIN" />
|
||
|
<f name="CGR" type="12" table="HIS_PJIN" />
|
||
|
<f name="BEGINNUM" type="8" table="HIS_PJIN" />
|
||
|
<f name="ENDNUM" type="8" table="HIS_PJIN" />
|
||
|
<f name="CURRNUM" type="8" table="HIS_PJIN" />
|
||
|
<f name="CURRFLAG" type="12" table="HIS_PJIN" />
|
||
|
<f name="PJTYPE" type="12" table="HIS_PJIN" />
|
||
|
<f name="SYTYPE" type="12" table="HIS_PJIN" />
|
||
|
<f name="BEGINZM" type="12" table="HIS_PJIN" />
|
||
|
<f name="CJR" type="12" table="HIS_PJIN" />
|
||
|
<f name="CJRQ" type="93" table="HIS_PJIN" />
|
||
|
<f name="XGR" type="12" table="HIS_PJIN" />
|
||
|
<f name="XGRQ" type="93" table="HIS_PJIN" />
|
||
|
<f name="JGID" type="12" table="HIS_PJIN" />
|
||
|
<f name="THPKEY" type="12" table="HIS_PJIN" />
|
||
|
<f name="THR" type="12" table="HIS_PJIN" />
|
||
|
<f name="THRQ" type="93" table="HIS_PJIN" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_PJIN" />
|
||
|
<f name="PJDM" type="12" table="HIS_PJIN" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
<dao id="newpjinDao" type="1">
|
||
|
<sql>
|
||
|
select PKEY,CGRQ,CGR,BEGINNUM,ENDNUM,CURRNUM,CURRFLAG,PJTYPE,SYTYPE,BEGINZM,CJR,CJRQ,XGR,XGRQ,JGID,THPKEY,THR,THRQ,LOCKFLAG,PJDM from HIS_PJIN where 1=2
|
||
|
|
||
|
|
||
|
</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_PJIN" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>BEGINNUM</primary>
|
||
|
<primary>ENDNUM</primary>
|
||
|
<primary>CURRNUM</primary>
|
||
|
<primary>CURRFLAG</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_PJIN" />
|
||
|
<f name="CGRQ" type="93" table="HIS_PJIN" />
|
||
|
<f name="CGR" type="12" table="HIS_PJIN" />
|
||
|
<f name="BEGINNUM" type="8" table="HIS_PJIN" />
|
||
|
<f name="ENDNUM" type="8" table="HIS_PJIN" />
|
||
|
<f name="CURRNUM" type="8" table="HIS_PJIN" />
|
||
|
<f name="CURRFLAG" type="12" table="HIS_PJIN" />
|
||
|
<f name="PJTYPE" type="12" table="HIS_PJIN" />
|
||
|
<f name="SYTYPE" type="12" table="HIS_PJIN" />
|
||
|
<f name="BEGINZM" type="12" table="HIS_PJIN" />
|
||
|
<f name="CJR" type="12" table="HIS_PJIN" />
|
||
|
<f name="CJRQ" type="93" table="HIS_PJIN" />
|
||
|
<f name="XGR" type="12" table="HIS_PJIN" />
|
||
|
<f name="XGRQ" type="93" table="HIS_PJIN" />
|
||
|
<f name="JGID" type="12" table="HIS_PJIN" />
|
||
|
<f name="THPKEY" type="12" table="HIS_PJIN" />
|
||
|
<f name="THR" type="12" table="HIS_PJIN" />
|
||
|
<f name="THRQ" type="93" table="HIS_PJIN" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_PJIN" />
|
||
|
<f name="PJDM" type="12" table="HIS_PJIN" />
|
||
|
</fields>
|
||
|
</dao>
|
||
|
|
||
|
|
||
|
<dao id="pjuseDao" type="1">
|
||
|
<sql>
|
||
|
|
||
|
select PKEY,LQRQ,LQR,FSR,BEGINNUM,ENDNUM,CURRNUM,CURRFLAG,PJTYPE,SYTYPE,BEGINZM,CJR,CJRQ,XGR,XGRQ,JGID,PJKEY,LOCKFLAG from HIS_PJUSE where JGID = ? order by LQRQ
|
||
|
|
||
|
|
||
|
</sql>
|
||
|
<tables>
|
||
|
<table name="HIS_PJUSE" insert="true" update="true" delete="true">
|
||
|
<primary>PKEY</primary>
|
||
|
<primary>BEGINNUM</primary>
|
||
|
<primary>ENDNUM</primary>
|
||
|
<primary>CURRNUM</primary>
|
||
|
<primary>CURRFLAG</primary>
|
||
|
<primary>JGID</primary>
|
||
|
</table>
|
||
|
</tables>
|
||
|
<fields>
|
||
|
<f name="PKEY" type="12" table="HIS_PJUSE" />
|
||
|
<f name="LQRQ" type="93" table="HIS_PJUSE" />
|
||
|
<f name="LQR" type="12" table="HIS_PJUSE" />
|
||
|
<f name="FSR" type="12" table="HIS_PJUSE" />
|
||
|
<f name="BEGINNUM" type="8" table="HIS_PJUSE" />
|
||
|
<f name="ENDNUM" type="8" table="HIS_PJUSE" />
|
||
|
<f name="CURRNUM" type="8" table="HIS_PJUSE" />
|
||
|
<f name="CURRFLAG" type="12" table="HIS_PJUSE" />
|
||
|
<f name="PJTYPE" type="12" table="HIS_PJUSE" />
|
||
|
<f name="SYTYPE" type="12" table="HIS_PJUSE" />
|
||
|
<f name="BEGINZM" type="12" table="HIS_PJUSE" />
|
||
|
<f name="CJR" type="12" table="HIS_PJUSE" />
|
||
|
<f name="CJRQ" type="93" table="HIS_PJUSE" />
|
||
|
<f name="XGR" type="12" table="HIS_PJUSE" />
|
||
|
<f name="XGRQ" type="93" table="HIS_PJUSE" />
|
||
|
<f name="JGID" type="12" table="HIS_PJUSE" />
|
||
|
<f name="PJKEY" type="12" table="HIS_PJUSE" />
|
||
|
<f name="LOCKFLAG" type="-5" table="HIS_PJUSE" />
|
||
|
</fields>
|
||
|
<parameter>
|
||
|
<p>12</p>
|
||
|
</parameter>
|
||
|
</dao>
|
||
|
</datasource>
|