提交 3aa336af 作者: think

sql错误修改

上级 2f8abd87
......@@ -183,7 +183,7 @@
<select id="selectBkpfNew" parameterType="Bkpf" resultType="Bkpf">
select top 20 "$rowid$" as rowids,
mandt, bukrs, belnr, gjahr, blart, bldat, budat, monat, cpudt, cputm, aedat, upddt,
(to_date(cpudt)||' '||to_time(cputm)) as wadat_ist2lfuhr
(to_date(cpudt)||' '||to_time(cputm)) as cpudt_cputm
from ${hana_user}.Bkpf
where "$rowid$" &gt; #{rowids} ${hana_mandt}
order by "$rowid$"
......@@ -499,7 +499,7 @@
<select id="selectBkpfById" parameterType="Bkpf" resultType="Bkpf">
select
mandt, bukrs, belnr, gjahr, blart, bldat, budat,monat,cpudt, cputm, aedat,upddt,
(to_date(cpudt)||' '||to_time(cputm)) as wadat_ist2lfuhr
(to_date(cpudt)||' '||to_time(cputm)) as cpudt_cputm
from ${hana_user}.Bkpf
where mandt = #{mandt} and bukrs = #{bukrs} and belnr = #{belnr} and gjahr = #{gjahr}
</select>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论