Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
H
huazheng-project-flink
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
huazheng
huazheng-project-flink
Commits
bf5ab9e3
提交
bf5ab9e3
authored
11月 21, 2020
作者:
guofeng
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
调整定时任务
上级
6dfab0b2
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
18 行增加
和
8 行删除
+18
-8
JobServiceImpl.java
...azheng/project/greenplum/service/impl/JobServiceImpl.java
+2
-2
hana.sql
src/main/resources/devtools/dev/hana.sql
+4
-4
SapMapper_hana.xml
src/main/resources/mapper/hana/SapMapper_hana.xml
+0
-2
spring-init.xml
src/main/resources/spring-init.xml
+12
-0
没有找到文件。
src/main/java/com/huazheng/project/greenplum/service/impl/JobServiceImpl.java
浏览文件 @
bf5ab9e3
...
@@ -130,7 +130,7 @@ public class JobServiceImpl {
...
@@ -130,7 +130,7 @@ public class JobServiceImpl {
selectAfkoNew
();
selectAfkoNew
();
selectAfpoNew
();
selectAfpoNew
();
selectAfvcNew
();
selectAfvcNew
();
selectBkpfNew
();
selectAuspNew
();
selectAuspNew
();
selectAfruNew
();
selectAfruNew
();
selectTspatNew
();
selectTspatNew
();
...
@@ -579,7 +579,7 @@ public class JobServiceImpl {
...
@@ -579,7 +579,7 @@ public class JobServiceImpl {
}
}
}
}
p
rivate
void
selectBkpfNew
()
{
p
ublic
void
selectBkpfNew
()
{
DefaultRedisScript
<
String
>
script
=
new
DefaultRedisScript
<
String
>();
DefaultRedisScript
<
String
>
script
=
new
DefaultRedisScript
<
String
>();
script
.
setResultType
(
String
.
class
);
script
.
setResultType
(
String
.
class
);
script
.
setScriptSource
(
new
ResourceScriptSource
(
new
ClassPathResource
(
"luascript/vbap4send.lua"
)));
script
.
setScriptSource
(
new
ResourceScriptSource
(
new
ClassPathResource
(
"luascript/vbap4send.lua"
)));
...
...
src/main/resources/devtools/dev/hana.sql
浏览文件 @
bf5ab9e3
...
@@ -2,6 +2,7 @@ select count(1) from sapabap1.bkpf where aedat = '00000000' union all
...
@@ -2,6 +2,7 @@ select count(1) from sapabap1.bkpf where aedat = '00000000' union all
select
count
(
1
)
from
sapabap1
.
bkpf
where
aedat
!=
'00000000'
union
all
select
count
(
1
)
from
sapabap1
.
bkpf
where
aedat
!=
'00000000'
union
all
select
count
(
1
)
from
sapabap1
.
bkpf
where
aedat
is
null
;
select
count
(
1
)
from
sapabap1
.
bkpf
where
aedat
is
null
;
select
count
(
1
)
from
sapabap1
.
bkpf
where
aedat
=
'20201121'
;
select
top
20
"$rowid$"
as
rowids
,
select
top
20
"$rowid$"
as
rowids
,
...
@@ -9,6 +10,5 @@ select top 20 "$rowid$" as rowids,
...
@@ -9,6 +10,5 @@ select top 20 "$rowid$" as rowids,
case
aedat
when
'00000000'
then
null
else
to_date
(
aedat
)
end
as
aedat
,
upddt
,
case
aedat
when
'00000000'
then
null
else
to_date
(
aedat
)
end
as
aedat
,
upddt
,
(
to_date
(
cpudt
)
||
' '
||
to_time
(
cputm
))
as
cpudt_cputm
(
to_date
(
cpudt
)
||
' '
||
to_time
(
cputm
))
as
cpudt_cputm
from
sapabap1
.
Bkpf
from
sapabap1
.
Bkpf
where
mandt
=
'800'
and
bukrs
=
'1100'
and
belnr
=
'5100000028'
and
gjahr
=
'2020'
where
"$rowid$"
>
'4526721'
and
mandt
=
'800'
order
by
"$rowid$"
\ No newline at end of file
\ No newline at end of file
src/main/resources/mapper/hana/SapMapper_hana.xml
浏览文件 @
bf5ab9e3
...
@@ -435,8 +435,6 @@
...
@@ -435,8 +435,6 @@
<select
id=
"selectAfkoById"
parameterType=
"Afko"
resultType=
"Afko"
>
<select
id=
"selectAfkoById"
parameterType=
"Afko"
resultType=
"Afko"
>
select
select
aufnr, mandt, gltrp, gamng, plnbez, gmein, plnnr, plnal,
aufnr, mandt, gltrp, gamng, plnbez, gmein, plnnr, plnal,
...
...
src/main/resources/spring-init.xml
浏览文件 @
bf5ab9e3
...
@@ -769,6 +769,18 @@
...
@@ -769,6 +769,18 @@
<property
name=
"cronExpression"
value=
"* * * * * ?"
/>
<property
name=
"cronExpression"
value=
"* * * * * ?"
/>
</bean>
</bean>
<!-- 新增流程 -->
<bean
class=
"org.springframework.scheduling.quartz.CronTriggerFactoryBean"
>
<property
name=
"jobDetail"
>
<bean
parent=
"methodJobDetail"
>
<property
name=
"targetObject"
ref=
"jobServiceImpl"
/>
<property
name=
"targetMethod"
value=
"selectBkpfNew"
/>
</bean>
</property>
<property
name=
"cronExpression"
value=
"* * * * * ?"
/>
</bean>
<!-- 更新流程 -->
<!-- 更新流程 -->
<bean
class=
"org.springframework.scheduling.quartz.CronTriggerFactoryBean"
>
<bean
class=
"org.springframework.scheduling.quartz.CronTriggerFactoryBean"
>
<property
name=
"jobDetail"
>
<property
name=
"jobDetail"
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论