Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
H
huazheng-project-flink
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
huazheng
huazheng-project-flink
Commits
733441cb
提交
733441cb
authored
11月 19, 2020
作者:
guofeng
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
处理Sys_SAPreturnNo、HROCPeople、HROCJob数据量不一致的问题
上级
d7f3fc3c
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
16 行增加
和
4 行删除
+16
-4
OtherJobServiceImpl.java
...g/project/greenplum/service/impl/OtherJobServiceImpl.java
+6
-0
CrmMapper_mssql.xml
src/main/resources/mapper/mssql/CrmMapper_mssql.xml
+1
-1
HzcrmMapper_mssql2.xml
src/main/resources/mapper/mssql2/HzcrmMapper_mssql2.xml
+1
-1
Cinderellaw2Mapper_mssql3.xml
...ain/resources/mapper/mssql3/Cinderellaw2Mapper_mssql3.xml
+8
-2
没有找到文件。
src/main/java/com/huazheng/project/greenplum/service/impl/OtherJobServiceImpl.java
浏览文件 @
733441cb
...
...
@@ -73,6 +73,12 @@ public class OtherJobServiceImpl {
String
execute
=
redis1Template
.
execute
(
script
,
keys
,
item
.
getRowids
().
toString
(),
json
.
toString
());
log
.
info
(
"标记时间回写 --> "
+
execute
);
});
}
else
{
// 如果是空的,说明再源库中没有找到最新的数据
// 由于此表没有没有自增列,同时数据量不多,所以把新增流程重置
opsForValue
.
set
(
"huazheng:PersonComp:sendcount"
,
"0"
);
// 重置
opsForValue
.
set
(
"huazheng:PersonComp:receivecount"
,
"0"
);
// 重置
opsForValue
.
set
(
"huazheng:PersonComp:rowids"
,
"0"
);
// 重置
}
}
}
...
...
src/main/resources/mapper/mssql/CrmMapper_mssql.xml
浏览文件 @
733441cb
...
...
@@ -22,7 +22,7 @@
from "Biz_销售预测流程" a
left join "Biz_销售预测流程_MX" b on a.SYS_INCIDENT = b.SYS_INCIDENT
where a.id
>
#{id} and b.id is not null
GROUP BY a.id, a.shenQingR, a.sys_Incstatus, a.sys_Processname, a.sys_Incident, a.shenQingRBM, a.yuCeLXt, a.kaiShiSJ, a.jieShuSJ, a.shenQingRLN
GROUP BY a.id, a.shenQingR, a.sys_Incstatus, a.sys_Processname, a.sys_Incident, a.shenQingRBM, a.yuCeLXt, a.kaiShiSJ, a.jieShuSJ, a.shenQingRLN
, a.sys_updatetime
</select>
<select
id=
"selectSampleApplicationProcessNew"
parameterType=
"SampleApplicationProcess"
resultType=
"SampleApplicationProcess"
>
select top 20
...
...
src/main/resources/mapper/mssql2/HzcrmMapper_mssql2.xml
浏览文件 @
733441cb
...
...
@@ -18,7 +18,7 @@
</select>
<select
id=
"selectSysSAPreturnNoNew"
parameterType=
"SysSAPreturnNo"
resultType=
"SysSAPreturnNo"
>
select top 20 a.* from (
select
ROW_NUMBER() OVER(ORDER BY id)
as rowids,
select
id
as rowids,
id,processName,shiLiH,sapNo,chuangJianSJ
from Sys_SAPreturnNo
) a where a.rowids
>
#{rowids}
...
...
src/main/resources/mapper/mssql3/Cinderellaw2Mapper_mssql3.xml
浏览文件 @
733441cb
...
...
@@ -46,8 +46,14 @@
where a.orgstatus = '0'
) r1 on r.ParentID = r1.bid
<where>
<if
test=
"uposnr != null and uposnr != ''"
>
r1.posnr = #{uposnr}
</if>
<if
test=
"dposnr != null and dposnr != ''"
>
and r.posnr = #{dposnr}
</if>
<if
test=
"uname != null and uname != ''"
>
and r1.aname = #{uname}
</if>
<if
test=
"uposnr != null and uposnr != ''"
>
and r1.posnr = #{uposnr}
</if>
<if
test=
"dname != null and dname != ''"
>
and r.aname = #{dname}
</if>
<if
test=
"dposnr != null and dposnr != ''"
>
and r.posnr = #{dposnr}
</if>
<if
test=
"uname == null"
>
and r1.aname is null
</if>
<if
test=
"uposnr == null"
>
and r1.posnr is null
</if>
<if
test=
"dname == null"
>
and r.aname is null
</if>
<if
test=
"dposnr == null"
>
and r.posnr is null
</if>
</where>
</select>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论