提交 2eaa4d3f 作者: think

sql更改

上级 3aa336af
......@@ -1849,7 +1849,7 @@
where p.vbeln = #{vbeln} and p.posnr = #{posnr} and p.mandt = #{mandt} and p.erdat1 = #{erdat1}
</select>
<select id="caVbep4jhsj" parameterType="com.huazheng.project.hana.model.Vbap" resultType="java.util.Date">
select max(edatu1) as Jhsj from vbep where vbeln = #{vbeln} and posnr = #{posnr} and mandt = #{mandt}
select max(to_date(crt_datum,'yyyymmdd')) as Jhsj from zsd06 where vbeln = #{vbeln} and posnr = #{posnr} and mandt = #{mandt}
</select>
<select id="caVbrk4kpsj" parameterType="com.huazheng.project.hana.model.Vbap" resultType="java.util.Date">
select max(r.kpsj) as kpsj from (
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论