Commit 6e724271 authored by 华润's avatar 华润

数据库连接更改

parent 484d6f7d
This diff is collapsed.
......@@ -114,7 +114,7 @@
</insert>
<select id="sreachTSINFO" resultType="com.changda.gjjapp.db.entity.M_TSXQ">
select iscl,jsbh,s_qdzd.qdmc,a.tsid,a.tslxid,a.issh,a.bt,a.tsnr,a.yhxm,a.yhdh,a.tssj,a.sfcl,NVL (a.GRZH, ' ') grzh,a.qdid,nvl(a.hfsj,' ') hfsj,a.sfyc,b.lxmc,nvl(a.hfnr,' ') hfnr from s_qdzd,zhfw80.m_tsxq a inner join zhfw80.s_tslx b on a.tslxid=b.tslxid
select iscl,jsbh,s_qdzd.qdmc,a.tsid,a.tslxid,a.issh,a.bt,a.tsnr,a.yhxm,a.yhdh,a.tssj,a.sfcl,NVL (a.GRZH, ' ') grzh,a.qdid,nvl(a.hfsj,' ') hfsj,a.sfyc,b.lxmc,nvl(a.hfnr,' ') hfnr from s_qdzd,sxzhfw80.m_tsxq a inner join sxzhfw80.s_tslx b on a.tslxid=b.tslxid
where a.qdid = s_qdzd.qdid and b.zlx=#{zlx}
<if test="issh != null and issh !=''">and a.issh = #{issh} </if>
<if test="sfcl != null and sfcl !=''">and a.sfcl = #{sfcl} </if>
......@@ -128,7 +128,7 @@
</select>
<select id="sreachISHF" resultType="com.changda.gjjapp.db.entity.M_TSXQ">
select jsbh,s_qdzd.qdmc,a.tsid,a.tslxid,a.issh,a.bt,a.tsnr,a.yhxm,a.yhdh,a.tssj,a.sfcl,NVL (a.GRZH, ' ') grzh,a.qdid,nvl(a.hfsj,' ') hfsj,a.sfyc,b.lxmc,nvl(a.hfnr,' ') hfnr from s_qdzd,zhfw80.m_tsxq a inner join zhfw80.s_tslx b on a.tslxid=b.tslxid
select jsbh,s_qdzd.qdmc,a.tsid,a.tslxid,a.issh,a.bt,a.tsnr,a.yhxm,a.yhdh,a.tssj,a.sfcl,NVL (a.GRZH, ' ') grzh,a.qdid,nvl(a.hfsj,' ') hfsj,a.sfyc,b.lxmc,nvl(a.hfnr,' ') hfnr from s_qdzd,sxzhfw80.m_tsxq a inner join sxzhfw80.s_tslx b on a.tslxid=b.tslxid
where a.qdid = s_qdzd.qdid
<if test="tsid != null and tsid !=''">and a.tsid = #{tsid} </if>
order by tssj desc
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment