123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504 |
- <?xml version="1.0" encoding="UTF-8"?>
- <das-client>
- <Sqls>
- <Sql name='test'><![CDATA[
- select 1
- ]]></Sql>
-
-
- <!-- 查询医生信息 -->
- <Sql name='query_doctor_old'><![CDATA[
- Select t3.* from(
- Select t2.*,rownum as row_num from(
- Select b.*,c.deptname from B_DOCTOR b left join B_DEPT c on b.deptcode = c.deptcode where 1=1 @p
- )t2 where rownum <=?
- ) t3
- where t3.row_num > ?
-
- ]]></Sql>
- <Sql name='query_doctor'><![CDATA[
- Select b.*,c.deptname from B_DOCTOR b left join B_DEPT c on b.deptcode = c.deptcode where 1=1 @p
- ]]></Sql>
- <!-- 查找科室信息不带分页的 -->
- <Sql name='queryDeptInfo'><![CDATA[
- Select * from B_DEPT where 1=1 and isshow =1 @p
- ]]></Sql>
- <Sql name='query_deptOld'><![CDATA[
- Select t3.* from(
- Select t2.*,rownum as row_num from(
- Select * from B_DEPT where 1=1 and isshow =1 @p
- )t2 where rownum <=?
- ) t3
- where t3.row_num > ?
- ]]></Sql>
- <Sql name='query_dept'><![CDATA[
- Select * from B_DEPT where 1=1 and isshow =1 @p
- ]]></Sql>
- <Sql name='query_hospital'><![CDATA[
- select b.* from B_HOSPITAL b where 1=1 @p
- ]]></Sql>
-
- <Sql name='queryClinicCard'><![CDATA[
- Select count(1) from H_ClinicCard where 1=1 @p
- ]]></Sql>
- <Sql name='countClinicCard'><![CDATA[
- select count(1) from C_CARDPACKAGE a,C_MEMBER b where 1=1 @p
- ]]></Sql>
- <!-- 查询诊室分布 -->
- <Sql name='queryFloorInfo_old'><![CDATA[
- select t3.*
- from (select t2.*, rownum as row_num
- from (Select b.deptName as name ,b.deptCode as code ,b.FloorNum as num, b.attachBuilding as buildingName from B_HOSPITAL a, B_DEPT b where 1=1 and a.hosId = b.hosId and
- a.hosId= ? and b.attachBuilding =? and b.isShow ='1' order by translate( SUBSTR(b.FloorNum,0,1),'一二三四五六七八九','123456789') ) t2
- where rownum <= ?) t3
- where t3.row_num > ?
- ]]></Sql>
- <Sql name='queryFloorInfo'><![CDATA[
- Select b.deptName as name ,b.deptCode as code ,b.FloorNum as num,
- case left(b.FloorNum,1) when '一' then 1 when '二' then 2 when '三' then 3 when '四' then 4 when '五' then 5
- when '六' then 6 when '七' then 7 when '八' then 8 when '九' then 9 else 0 end as fn ,
- b.attachBuilding as buildingName from B_HOSPITAL a, B_DEPT b where 1=1 and a.hosId = b.hosId and
- a.hosId= ? and b.attachBuilding =? and b.isShow ='1' order by fn ASC
- ]]></Sql>
- <!-- 查询就诊卡信处 -->
-
-
- <Sql name='queryClinlicCardByOpId_Old'><![CDATA[
- select t3.*
- from (select t2.*, rownum as row_num
- from (select a.memberName,f.cardId,f.cardType,id as memberId,(select df.value from DICTIONARY df
- where df.key = f.cardType and df.dictype = 'ctype' and rownum <=1 ) as cardName from C_MEMBER a ,(
- select id from (
- select c.memberId as id from C_WEIXIN c where c.opId = ?)) t, C_CARDPACKAGE f
- where a.memberId = t.id and f.memberId = a.memberId and a.status =1 @p) t2
- where rownum <= ?) t3
- where t3.row_num > ?
- ]]></Sql>
- <Sql name='queryClinlicCardByOpId'><![CDATA[
- select a.memberName,f.cardId,f.cardType,id as memberId,(select df.value from DICTIONARY df
- where df.keyword = f.cardType and df.dictype = 'ctype' limit 1 ) as cardName from C_MEMBER a ,(
- select id from (
- select c.memberId as id from C_WEIXIN c where c.opId = ?) x) t, C_CARDPACKAGE f
- where a.memberId = t.id and f.memberId = a.memberId and a.status =1 @p
- ]]></Sql>
- <Sql name='queryClinlicCardByOpIdWithBaidu_Old'><![CDATA[
- select t3.*
- from (select t2.*, rownum as row_num
- from (select a.memberName,f.cardId,f.cardType,id as memberId,(select df.value from DICTIONARY df
- where df.keyword = f.cardType and df.dictype = 'ctype' limit 1 ) as cardName from C_MEMBER a ,(
- select id from (
- select c.memberId as id from C_BAIDU c where c.opId = ?)) t, C_CARDPACKAGE f
- where a.memberId = t.id and f.memberId = a.memberId and a.status =1 @p) t2
- where rownum <= ?) t3
- where t3.row_num > ?
- ]]></Sql>
- <Sql name='queryClinlicCardByOpIdWithBaidu'><![CDATA[
- select a.memberName,f.cardId,f.cardType,id as memberId,(select df.value from DICTIONARY df
- where df.keyword = f.cardType and df.dictype = 'ctype' limit 1 ) as cardName from C_MEMBER a ,(
- select id from (
- select c.memberId as id from C_BAIDU c where c.opId = ?) x) t, C_CARDPACKAGE f
- where a.memberId = t.id and f.memberId = a.memberId and a.status =1 @p
- ]]></Sql>
- <Sql name='queryClinlicCardByOpIdWithZhiFu_Old'><![CDATA[
- select t3.*
- from (select t2.*, rownum as row_num
- from (select a.memberName,f.cardId,f.cardType,id as memberId,(select df.value from DICTIONARY df
- where df.keyword = f.cardType and df.dictype = 'ctype' and limit 1 ) as cardName from C_MEMBER a ,(
- select id from (
- select c.memberId as id from C_ZHIFUBAO c where c.OpId = ?)) t, C_CARDPACKAGE f
- where a.memberId = t.id and f.memberId = a.memberId and a.status =1 @p ) t2
- where rownum <= ?) t3
- where t3.row_num > ?
- ]]></Sql>
- <Sql name='queryClinlicCardByOpIdWithZhiFu'><![CDATA[
- select a.memberName,f.cardId,f.cardType,id as memberId,(select df.value from DICTIONARY df
- where df.keyword = f.cardType and df.dictype = 'ctype' limit 1 ) as cardName from C_MEMBER a ,(
- select id from (
- select c.memberId as id from C_ZHIFUBAO c where c.OpId = ?) x) t, C_CARDPACKAGE f
- where a.memberId = t.id and f.memberId = a.memberId and a.status =1 @p
- ]]></Sql>
- <!-- 查询就诊卡根据 OPID, -->
- <Sql name='queryClinicInfo'><![CDATA[
- Select * from H_CLINICCARD where 1=1 @p
- ]]></Sql>
-
- <Sql name='queryClinicWithWeiXin'><![CDATA[
- select a.cardId,a.balance,b.memberName,a.cardType,b.tel, b.idCard from C_CARDPACKAGE a inner join C_MEMBER b on a.memberid = b.memberid
- and b.status =1 and exists(select 1 from C_WEIXIN d where d.opId = ? and d.memberid = a.memberid and d.memberid =b.memberid) and a.memberId = ?
- ]]></Sql>
- <Sql name='queryClinicWithBaiDu'><![CDATA[
- select a.cardId,a.balance,b.memberName,a.cardType,b.tel, b.idCard from C_CARDPACKAGE a inner join C_MEMBER b on a.memberid = b.memberid
- and b.status =1 and exists(select 1 from C_BAIDU d where d.opId = ? and d.memberid = a.memberid and d.memberid =b.memberid) and a.memberId = ?
- ]]></Sql>
- <!-- 查询支付渠道信息 -->
- <Sql name='queryClinicWithZhiFu'><![CDATA[
- select a.cardId,a.balance,b.memberName,a.cardType,b.tel, b.idCard from C_CARDPACKAGE a inner join C_MEMBER b on a.memberid = b.memberid
- and b.status =1 and exists(select 1 from C_ZHIFUBAO d where d.opId = ? and d.memberid = a.memberid and d.memberid =b.memberid) and a.memberId = ?
- ]]></Sql>
- <Sql name='update_ClinicCard'><![CDATA[
- update C_MEMBER set status=? where memberId=?
- ]]></Sql>
- <!-- 通过上级科室编码查询科室信息 -->
- <Sql name='parentDeptIdQuery'><![CDATA[
- select t3.*
- from (select t2.*, rownum as row_num
- from (select b.deptcode,b.deptname,b.parentdeptcode ,b.deptBrief,b.deptAddr
- from B_DEPT b where b.hosId=? and b.parentdeptcode = ?) t2
- where rownum <= ?) t3
- where t3.row_num > ?
-
- ]]></Sql>
- <!-- 更新科室信息 -->
- <Sql name='updateDept'><![CDATA[
- update B_DEPT t set t.deptName=?,set t.deptAddr = ? ,t.deptBrief =? where t.deptCode = ?
-
- ]]></Sql>
- <!-- 查询所有医院信息 -->
- <Sql name='queryAllHosInfo'><![CDATA[
- select t3.*
- from (select t2.*, rownum as row_num
- from (select b.*
- from B_HOSPITAL b where 1=1 @p) t2
- where rownum <= ?) t3
- where t3.row_num > ?
-
- ]]></Sql>
- <!-- 查看医生信息有否存在 -->
- <Sql name='queryDoctorIsExists'><![CDATA[
- select count(1) from B_DOCTOR b where b.doctorCode=?
- ]]></Sql>
- <!-- 查看科室信息有否存在 -->
- <Sql name='queryDeptIsExists'><![CDATA[
- select count(1) from B_DEPT b where b.deptCode=?
- ]]>
- </Sql>
- <!-- 查询归属楼层信息 -->
- <Sql name='queryFloorDistribution'><![CDATA[
- select * from DICTIONARY t where 1=1 @p
- ]]>
- </Sql>
- <!-- 按标题查询文章列表 -->
- <Sql name='queryArticleByTitle'><![CDATA[
- select t3.*
- from (select t2.*, rownum as row_num
- from (select b.*
- from B_ARTICLE b where 1=1 @p) t2
- where rownum <= ? ) t3
- where t3.row_num > ? order by t3.createdate ]]>
- </Sql>
- <!-- 根据医生编码找出他的所有坐诊科室 -->
- <Sql name='queryAllDeptsByDocCode'><![CDATA[
- select b.deptname,b.deptcode
- from B_DOCTOR a inner join B_DEPT b on a.deptcode = b.deptcode and a.doctorcode=?
- ]]>
- </Sql>
- <!-- 通过HOSID查询医院是否存在 -->
- <Sql name='queryHospitalExistByHosId'><![CDATA[
- select count(1)
- from B_HOSPITAL a where a.hosId =?
- ]]>
- </Sql>
- <!-- 查询归属楼层图片信息 -->
- <Sql name='queryFloorDistributionPic'><![CDATA[
- select t.photourl from B_HOSPITAL t where t.hosid =?
- ]]>
- </Sql>
- <!-- 查询字典信息 -->
- <Sql name='queryDictionaryInfo'><![CDATA[
- select * from DICTIONARY t where 1=1 @p
- ]]>
- </Sql>
-
- <!-- 通过卡类型跟卡号的组合找出微信渠道信息 -->
- <Sql name='queryWeixinChannelInfoByCardInfo'><![CDATA[
- select a.opid,a.memberid
- from C_WEIXIN a ,C_MEMBER c where exists (select 1 from C_CARDPACKAGE t where 1=1 and a.memberid = t.memberid @p) and c.memberid = a.memberid and c.status =1 @a
- ]]>
- </Sql>
-
- <!-- 通过卡类型跟卡号的组合找出百度渠道信息 -->
- <Sql name='queryBaiDuChannelInfoByCardInfo'><![CDATA[
- select b.opid,b.memberid,c.tel from C_BAIDU b ,C_MEMBER c
- where exists (select 1 from C_CARDPACKAGE t where 1=1 and b.memberid = t.memberid @p) and c.memberid = b.memberid and c.status =1 @a
- ]]>
- </Sql>
-
- <!-- 通过卡类型跟卡号的组合找出支付宝渠道信息 -->
- <Sql name='queryAllChannelInfoByCardInfo'><![CDATA[
- select a.opid,a.memberid from C_WEIXIN a where exists (select 1 from C_CARDPACKAGE t where 1=1 and a.memberid = t.memberid @s)
- union all
- select b.opid,b.memberid from C_BAIDU b where exists (select 1 from C_CARDPACKAGE t where 1=1 and b.memberid = t.memberid @x)
- union all
- select c.opid,c.memberid from C_ZHIFUBAO c where exists (select 1 from C_CARDPACKAGE t where 1=1 and c.memberid = t.memberid @y)
- ]]>
- </Sql>
- <!-- 查询字典信息 -->
- <Sql name='queryZhiFuChannelInfoByCardInfo'><![CDATA[
- select b.opid,b.memberid from C_ZHIFUBAO b ,C_MEMBER c
- where exists (select 1 from C_CARDPACKAGE t where 1=1 and b.memberid = t.memberid @p) and c.memberid = b.memberid and c.status =1 @a
- ]]>
- </Sql>
- <Sql name='queryCardIdIsExists'><![CDATA[
- select count(1) from C_MEMBER a,C_CARDPACKAGE b where a.memberid=b.memberid and a.status =1 and b.cardid=?
- ]]>
- </Sql>
- <!-- 查询医生职称信息 -->
- <Sql name='queryTitleInfo_old'><![CDATA[
- select t3.*
- from (select t2.*, rownum as row_num
- from (select distinct(d.title) title ,d.titlecode from B_DOCTOR d where d.title in(
- select b.title
- from B_DOCTOR b
- where 1 = 1 @p
- )) t2
- where rownum <= ?) t3
- where t3.row_num > ?
- ]]>
- </Sql>
- <Sql name='queryTitleInfo'><![CDATA[
- select distinct(d.title) title ,d.titlecode from B_DOCTOR d where d.title in(
- select b.title
- from B_DOCTOR b
- where 1 = 1 @p)
- ]]>
- </Sql>
-
- <Sql name='delArticleInfo'><![CDATA[
- delete from B_ARTICLE where id = ?
- ]]>
- </Sql>
- <Sql name='queryChannelType'><![CDATA[
- select * from SYS_CHANNELINFO a where a.channelid = ?
- ]]>
- </Sql>
- <Sql name='queryCounts'><![CDATA[
- select count(1) from @p
- ]]>
-
- </Sql>
- <!-- 更新科室信息 -->
- <Sql name='updateDeptDetail'><![CDATA[
- update B_DEPT set @p
- ]]>
- </Sql>
- <Sql name='deleteDept'><![CDATA[
- delete from B_DEPT where 1=1 @a
- ]]></Sql>
- <Sql name='updateDoctor'><![CDATA[
- update B_DOCTOR set @p
- ]]>
- </Sql>
- <!-- 科室分级处理 // parentdeptcode='-1';-->
- <Sql name='deptLevelSql'><![CDATA[
- select b.deptcode,b.parentdeptcode,b.deptname from B_DEPT b connect by b.parentdeptcode = prior b.deptcode start with @p
- ]]>
- </Sql>
- <Sql name='findDeptLevel'><![CDATA[
- select distinct(b.parentdeptcode) pdc from B_DEPT b where b.parentdeptcode <> '-1'
- ]]>
- </Sql>
-
- <!-- 查找父节点为-1的所有科室 select b.deptcode,b.parentdeptcode,b.deptname from B_DEPT b where b.parentdeptcode = '-1' ORDER BY NLSSORT(b.deptname,'NLS_SORT = SCHINESE_PINYIN_M')-->
- <Sql name='findDeptRoot'><![CDATA[
- select b.deptcode,b.parentdeptcode,b.deptname from B_DEPT b where b.parentdeptcode = '-1' and b.hosid=? ORDER BY b.ordercol
- ]]>
- </Sql>
- <!-- 文章详情查询-->
- <Sql name='queryArticleDetail'><![CDATA[
- select * from B_ARTICLE b where 1=1 ]]>
- </Sql>
- <!-- 百度首页菜单-->
- <Sql name='querySysInfo'><![CDATA[
- select count(1) from SYS_MENU b where 1=1 and isshow=1 and state=1 @a order by orderid ]]>
- </Sql>
-
- <Sql name='querySysInfoWithPage_Old'><![CDATA[
- select t3.*
- from (select t2.*, rownum as row_num
- from (select * from SYS_MENU b where 1=1 and isshow=1 and state=1 @a order by orderid ) t2
- where rownum <= ?) t3
- where t3.row_num > ?
- ]]>
- </Sql>
- <Sql name='querySysInfoWithPage'><![CDATA[
- select * from SYS_MENU b where 1=1 and isshow=1 and state=1 @a order by orderid
- ]]>
- </Sql>
- <Sql name="queryArticleTotal">
-
- Select count(1) from B_ARTICLE a where 1=1 @a
-
- </Sql>
- <Sql name="queryArticleByClass_Old">
- <![CDATA[
-
- Select t3.* from(
- Select t2.*,rownum as row_num from(
- Select a.* from B_ARTICLE a where 1=1 @a
- order by a.lastmodify desc,a.createdate desc
- )t2 where rownum <=?
- ) t3
- where t3.row_num > ?
- ]]>
- </Sql>
- <Sql name="queryArticleByClass">
- <![CDATA[
- Select a.* from B_ARTICLE a where 1=1 @a
- order by a.lastmodify desc,a.createdate desc
- ]]>
- </Sql>
- <Sql name="addArticle">
- <![CDATA[
- INSERT into B_ARTICLE( ID,TITLE,CONTENTS,STATUS,TYPE,BIGIMGURL,IMGURL,TYPECLASS,CREATEDATE,ISSUEDATE,LASTMODIFY,LINKURL,ISHEAD,FINALDEAL,HOSID )
- VALUES ( ?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
- ]]>
- </Sql>
- <!-- update B_ARTICLE set CONTENTS=?,TITLE=?,TYPECLASS=?,ISHEAD=?,status=?,LASTMODIFY=?,ISSUEDATE=? where id =? -->
- <Sql name="editArticle">
- <![CDATA[
- update B_ARTICLE a set @p
- ]]>
- </Sql>
-
-
-
- <Sql name="basic_queryCardList">
- <![CDATA[
- select
- a.idCard,a.tel,a.memberid,a.membername,b.cardtype,
- (select d.value from DICTIONARY d where d.key = b.cardType and d.dictype = 'ctype' and rownum <=1 ) as cardName,
- b.cardid from C_MEMBER a
- left join C_CARDPACKAGE b on a.memberid=b.memberid
- left join @p
- where @a
- ]]>
- </Sql>
- <Sql name="basic_queryCardCount">
- <![CDATA[
- select
- count(1) from C_MEMBER a
- left join C_CARDPACKAGE b on a.memberid=b.memberid
- left join @p
- where @a
- ]]>
- </Sql>
-
- <Sql name='basic_queryChannelInfo'><![CDATA[
- select
- a.opid,a.memberid,c.idcard,c.tel,c.membername,@c
-
- from @t a,C_MEMBER c
- where exists (select 1 from C_CARDPACKAGE t where 1=1 and a.memberid = t.memberid @p)
- and c.memberid = a.memberid and c.status =1 @a
- ]]>
- </Sql>
-
- <!--以下是文章查询针对前端 -->
- <Sql name='queryArticleInfoForList'><![CDATA[
- select @a from B_ARTICLE a where 1=1 @b
- ]]>
- </Sql>
- <Sql name='queryNewDetail'><![CDATA[
- select @a from B_ARTICLE a where 1=1 @b
- ]]>
- </Sql>
- <Sql name="editDoctor">
- <![CDATA[
- update B_DOCTOR a set @p
- ]]>
- </Sql>
- <Sql name='basic_queryHospital'><![CDATA[
- select HosId,HosName,Province,ProvinceCode,City,CityCode,HosLevel,HosLevelName,Address,Tel,photoUrl,HosRoute,PostCode,CoordinateX,CoordinateY,HosBrief from B_HOSPITAL where 1=1 @p
- ]]>
- </Sql>
- <Sql name='basic_queryHosFloorList'><![CDATA[
- select
- deptName,deptCode,floorNum,attachBuilding from B_DEPT
- where hosId=? and attachbuilding=?
- order by attachbuilding,to_number(REGEXP_SUBSTR(floornum,'[^,]+', 1, 1))
- ]]>
- </Sql>
- <Sql name='basic_queryHosFloorCount'><![CDATA[
- select count(1) from B_DEPT where hosId=? and attachbuilding=?
- ]]>
- </Sql>
- <Sql name='basic_queryCardIdIsExists'><![CDATA[
- select count(1) from C_MEMBER a,C_CARDPACKAGE b where a.memberid=b.memberid and a.status =1 and b.cardid=?
- and exists (select password from b_empowerlogin e where e.memberid=a.memberid)
- and exists (select memberid from @t f where @p)
- ]]>
- </Sql>
- <Sql name='basic_queryCardInfo'><![CDATA[
- select a.memberId,a.membername,a.idCard,b.cardid from C_MEMBER a,C_CARDPACKAGE b where a.memberid=b.memberid and a.status =1 and b.cardid=?
- ]]>
- </Sql>
- <Sql name='basic_updateEmpowerLogin'><![CDATA[
- update b_EmpowerLogin set @a where 1=1 @b
- ]]>
- </Sql>
- <Sql name='basic_getDoctorList'><![CDATA[
- select deptcode,doctorcode,spec,photourl,doctorname,introduction,remark from B_DOCTOR where 1=1 @p
- ]]>
- </Sql>
- <Sql name='basic_queryDeptList'><![CDATA[
- Select * from B_DEPT where 1=1 @p
- ]]></Sql>
- <Sql name='basic_queryDoctorList'><![CDATA[
- Select * from B_DOCTOR where 1=1 @p
- ]]></Sql>
- <Sql name='basic_queryMemberInfo'><![CDATA[
- select a.memberId,a.membername,a.idCard,b.cardid,a.tel,a.status from C_MEMBER a,C_CARDPACKAGE b
- where a.memberid=b.memberid @p
- ]]></Sql>
- <Sql name='basic_updateChancelInfo'><![CDATA[
- update @a set status=? where 1=1 @p
- ]]></Sql>
-
- <Sql name='getHisIdByCardId'><![CDATA[
- select a.memberid,a.membername,b.cardid,a.tel,a.idcard from C_MEMBER a ,C_CARDPACKAGE b
- where b.memberid = a.memberid and a.status =1 @p
- ]]></Sql>
- <Sql name='basic_queryMemberChannelInfo'><![CDATA[
- select a.memberId,a.membername,a.idCard,b.cardid,@a from C_MEMBER a,C_CARDPACKAGE b
- where a.memberid=b.memberid @b
- ]]></Sql>
-
- <Sql name='basic_queryCountMemberInfo'><![CDATA[
- select count(1) from C_MEMBER a,C_CARDPACKAGE b
- where a.memberid=b.memberid @p
- ]]></Sql>
- <Sql name='countWeiXin'><![CDATA[
-
- select count(1) from C_WEIXIN a where 1=1 and exists (
- select * from C_CARDPACKAGE t,C_MEMBER b where t.cardid =? and b.status =1 and a.memberid = b.memberid and a.memberid = t.memberid)
- ]]></Sql>
-
- <Sql name='countZhiFu'><![CDATA[
- select count(1) from C_ZHIFUBAO a where 1=1 and exists (
- select * from C_CARDPACKAGE t,C_MEMBER b where t.cardid =? and b.status =1 and a.memberid = b.memberid and a.memberid = t.memberid)
- ]]></Sql>
-
- <Sql name='countBaiDu'><![CDATA[
- select count(1) from C_BAIDU a where 1=1 and exists (
- select * from C_CARDPACKAGE t,C_MEMBER b where t.cardid =? and b.status =1 and a.memberid = b.memberid and a.memberid = t.memberid)
- ]]></Sql>
- <Sql name='S_SysChannelApiContor'><![CDATA[
- select @a from SYS_CHANNEL_API_CONTOR where 1=1 @b
- ]]></Sql>
- <Sql name='S_Query_Method_Param'><![CDATA[
- select @a from SYS_METHOD_PARAM where 1=1 @b
- ]]></Sql>
- <Sql name='S_Delete_Method_Param'><![CDATA[
- delete from SYS_METHOD_PARAM where paramid=?
- ]]></Sql>
- <Sql name='basic_updateDeptIdByhosIdAndDeptCode'><![CDATA[
- update B_DEPT set deptuid=? where hosid=? and deptcode=?
- ]]></Sql>
- <Sql name='basic_updateDoctorIdByhosIdAndDeptCode'><![CDATA[
- update B_DOCTOR set doctoruid=?,relativedeptid=? where hosid=? and doctorcode=?
- ]]></Sql>
- </Sqls>
- </das-client>
|