1.修正几处错误代码引起的前端启动报错问题

2.增加基础数据查询批量范围查询功能
master
董哲奇 1 month ago
parent 4e10e2c740
commit 7bba2ce5dd

@ -120,9 +120,15 @@ and dc_ch=#{dcch} and dc_pl=#{dcpl}
RTRIM(DM_BCHXJBP.dc_zl) AS dc_zl
FROM DM_BCHXMXP,DM_BCHXJBP
WHERE DM_BCHXMXP.HXBH = DM_BCHXJBP.HXBH
<if test=" dcpl!=null and dcpl!=''">
<if test=" dcpl!=null and dcpl!='' and (dcpl1==null or dcpl1=='')">
and DM_BCHXJBP.dc_pl=#{dcpl}
</if>
<if test=" dcpl!=null and dcpl!='' and dcpl1!=null and dcpl1!=''">
and DM_BCHXJBP.dc_pl>=#{dcpl} and DM_BCHXJBP.dc_pl&lt;=#{dcpl1}
</if>
<if test=" (dcpl==null or dcpl=='') and dcpl1!=null and dcpl1!=''">
and DM_BCHXJBP.dc_pl&lt;=#{dcpl1}
</if>
<if test=" dcch!=null and dcch!=''">
and DM_BCHXJBP.DC_CH=#{dcch}
</if>

@ -85,9 +85,15 @@
dm_bchxylp.ylcd,
dm_bchxylp.ylggs
FROM dm_bchxylp where 1=1
<if test=" dcpl!=null and dcpl!=''">
<if test=" dcpl!=null and dcpl!='' and (dcpl1==null or dcpl1=='')">
and dm_bchxylp.dc_pl=#{dcpl}
</if>
<if test=" dcpl!=null and dcpl!='' and dcpl1!=null and dcpl1!=''">
and dm_bchxylp.dc_pl>=#{dcpl} and dm_bchxylp.dc_pl&lt;=#{dcpl1}
</if>
<if test=" (dcpl==null or dcpl=='') and dcpl1!=null and dcpl1!=''">
and dm_bchxylp.dc_pl&lt;=#{dcpl1}
</if>
<if test=" dcch!=null and dcch!=''">
and dm_bchxylp.DC_CH=#{dcch}
</if>

@ -104,9 +104,15 @@
FROM DM_BCLQJBP,DM_BCLQMXP left join DM_WPJBP on DM_BCLQMXP.WPH = DM_WPJBP.WPH
WHERE
DM_BCLQMXP.LQBH = DM_BCLQJBP.LQBH
<if test=" dcpl!=null and dcpl!=''">
<if test=" dcpl!=null and dcpl!='' and (dcpl1==null or dcpl1=='')">
and DM_BCLQJBP.dc_pl=#{dcpl}
</if>
<if test=" dcpl!=null and dcpl!='' and dcpl1!=null and dcpl1!=''">
and DM_BCLQJBP.dc_pl>=#{dcpl} and DM_BCLQJBP.dc_pl&lt;=#{dcpl1}
</if>
<if test=" (dcpl==null or dcpl=='') and dcpl1!=null and dcpl1!=''">
and DM_BCLQJBP.dc_pl&lt;=#{dcpl1}
</if>
<if test=" dcch!=null and dcch!=''">
and DM_BCLQJBP.DC_CH=#{dcch}
</if>

@ -123,9 +123,15 @@
WHERE DM_BCHXMXP.HXBH = DM_BCHXJBP.HXBH AND RTRIM(DM_BCHXJBP.HXFL) = 'B') as tt1
on(tt1.dc_ch = DM_WLQD.DC_CH and tt1.wph = DM_WLQD.wph )
where 1=1
<if test=" dcpl!=null and dcpl!=''">
<if test=" dcpl!=null and dcpl!='' and (dcpl1==null or dcpl1=='')">
and DM_WLQD.dc_pl=#{dcpl}
</if>
<if test=" dcpl!=null and dcpl!='' and dcpl1!=null and dcpl1!=''">
and DM_WLQD.dc_pl>=#{dcpl} and DM_WLQD.dc_pl&lt;#{dcpl1}
</if>
<if test=" (dcpl==null or dcpl=='') and dcpl1!=null and dcpl1!=''">
and DM_WLQD.dc_pl&lt;#{dcpl1}
</if>
<if test=" dcch!=null and dcch!=''">
and DM_WLQD.DC_CH=#{dcch}
</if>

Loading…
Cancel
Save