Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
H
huazheng-project-flink
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
huazheng
huazheng-project-flink
Commits
22ba67c9
提交
22ba67c9
authored
11月 12, 2020
作者:
think
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
vbep表增加aufnr字段
上级
b92f34d6
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
7 行增加
和
5 行删除
+7
-5
Vbep.java
src/main/java/com/huazheng/project/hana/model/Vbep.java
+1
-0
华正项目-数据库表设计20201107.xlsx
src/main/resources/devtools/doc/华正项目-数据库表设计20201107.xlsx
+0
-0
t_vbep.sql
src/main/resources/devtools/table/hana/t_vbep.sql
+1
-0
GPMapper_greenplum.xml
src/main/resources/mapper/greenplum/GPMapper_greenplum.xml
+3
-3
SapMapper_hana.xml
src/main/resources/mapper/hana/SapMapper_hana.xml
+2
-2
没有找到文件。
src/main/java/com/huazheng/project/hana/model/Vbep.java
浏览文件 @
22ba67c9
...
...
@@ -33,6 +33,7 @@ public class Vbep implements Serializable {
private
String
mandt
;
// 集团
private
String
etenr
;
// 交货计划行号
private
String
aufnr
;
// 生产订单号
private
Vbap
vbap
;
private
VbapAdv
vbapAdv
;
...
...
src/main/resources/devtools/doc/华正项目-数据库表设计20201107.xlsx
浏览文件 @
22ba67c9
No preview for this file type
src/main/resources/devtools/table/hana/t_vbep.sql
浏览文件 @
22ba67c9
...
...
@@ -13,5 +13,6 @@ PRIMARY KEY (mandt, vbeln, posnr, etenr)
)
Distributed
by
(
mandt
,
vbeln
,
posnr
,
etenr
);
alter
table
vbep
add
column
aufnr
text
;
alter
table
vbep
add
column
hashResult
text
;
alter
table
vbep
add
column
rowNum
serial
;
src/main/resources/mapper/greenplum/GPMapper_greenplum.xml
浏览文件 @
22ba67c9
...
...
@@ -1044,8 +1044,8 @@
where vbeln = #{vbeln} and posnr = #{posnr} and etenr = #{etenr} and mandt = #{mandt}
</select>
<insert
id=
"insertVbep"
parameterType=
"com.huazheng.project.hana.model.Vbep"
>
insert into vbep (vbeln, posnr, edatu, ettyp, wmeng, bmeng, edatu1, mandt, etenr, hashResult)
values(#{vbeln}, #{posnr}, #{edatu}, #{ettyp}, #{wmeng}, #{bmeng}, #{edatu1}, #{mandt}, #{etenr}, #{hashResult})
insert into vbep (vbeln, posnr, edatu, ettyp, wmeng, bmeng, edatu1, mandt, etenr,
aufnr,
hashResult)
values(#{vbeln}, #{posnr}, #{edatu}, #{ettyp}, #{wmeng}, #{bmeng}, #{edatu1}, #{mandt}, #{etenr}, #{
aufnr}, #{
hashResult})
</insert>
<delete
id=
"deleteVbep"
parameterType=
"com.huazheng.project.hana.model.Vbep"
>
delete from vbep
...
...
@@ -1054,7 +1054,7 @@
<update
id=
"updateVbep"
parameterType=
"com.huazheng.project.hana.model.Vbep"
>
update Vbep set
vbeln = #{vbeln}, posnr = #{posnr}, edatu = #{edatu}, ettyp = #{ettyp}, wmeng = #{wmeng},
bmeng = #{bmeng}, edatu1 = #{edatu1}, mandt = #{mandt}, etenr = #{etenr}, hashResult = #{hashResult}
bmeng = #{bmeng}, edatu1 = #{edatu1}, mandt = #{mandt}, etenr = #{etenr},
aufnr = #{aufnr},
hashResult = #{hashResult}
where vbeln = #{vbeln} and posnr = #{posnr} and etenr = #{etenr} and mandt = #{mandt}
</update>
<select
id=
"selectVbepCheck"
parameterType=
"com.huazheng.project.hana.model.Vbep"
resultType=
"com.huazheng.project.hana.model.Vbep"
>
...
...
src/main/resources/mapper/hana/SapMapper_hana.xml
浏览文件 @
22ba67c9
...
...
@@ -166,7 +166,7 @@
</select>
<select
id=
"selectVbepNew"
parameterType=
"Vbep"
resultType=
"Vbep"
>
select top 20 "$rowid$" as rowids,
vbeln, posnr, edatu, ettyp, wmeng, bmeng, mandt, etenr
vbeln, posnr, edatu, ettyp, wmeng, bmeng, mandt, etenr
, aufnr
from ${hana_user}.vbep
where "$rowid$"
>
#{rowids} ${hana_mandt}
order by "$rowid$"
...
...
@@ -502,7 +502,7 @@
where a.vbeln = #{vbeln} and a.mandt = #{mandt}
</select>
<select
id=
"selectVbepById"
parameterType=
"Vbep"
resultType=
"Vbep"
>
select vbeln, posnr, edatu, ettyp, wmeng, bmeng, mandt, etenr
select vbeln, posnr, edatu, ettyp, wmeng, bmeng, mandt, etenr
, aufnr
from ${hana_user}.vbep
where vbeln = #{vbeln} and posnr = #{posnr} and etenr = #{etenr} and mandt = #{mandt}
</select>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论