Commit f5755400 by jiang'yun

修改

parent b6d44c41
......@@ -690,28 +690,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
from V_ODS_CYQ_JCXX_ZQJZJCXX@ZS t where t.jzmc like CONCAT(#{jh}, '%') )a WHERE ROWNUM <=1
</select>
<select id="selectZtsj" resultType="com.zjsgfa.project.zt.domain.Djjc">
select a.jh,a.jdhzb,a.jdzzb,to_char(b.WJRQ,'YYYY-MM-DD') wjrq,c.kc,c.jd,ksjs,c.JS,xh,
SZDC cw,
JC,
jxzs,
ZTXH,
PZ1,
PZ2,
PZ3,
PZ4,
PZ5,
PZ6,
PZ7,
PZ8,
PZ9,
PZ10,
lx,
Npc,
WPC,
YCMSQK,
ZCMSQK,
Qzyy,
zb,pl,LGBY,cc ztcc,cj,zs,ztyj,zy
select a.jh,
cj
from JSBA a
left join jsaa b on a.jh = b.jh
left join (
......@@ -755,7 +735,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
) d on a.JH=d.jh and d.zzjs>ksjs and d.zzjs &lt;=js
where 1=1
and a.jh=#{jh} and kc =#{kc} and c.jd=#{jd} and JXZS=#{jxzs}
<if test="jh!=null and jh!=''">
and a. jh =#{jh}
</if>
<if test="kc!=null and kc!=''">
and kc =#{kc}
</if>
<if test="jd!=null and jd!=''">
and c.jd= #{jd}
</if>
<if test="jxzs!=null and jxzs!=''">
and jxzs= #{jxzs}
</if>
</select>
<select id="getGzbjList" resultType="com.zjsgfa.project.zt.domain.LjGzbj">
......
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