Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
K
kingdee-adapter
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
inroi
kingdee-adapter
Commits
ced0e704
提交
ced0e704
authored
1月 12, 2023
作者:
inroi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
完成代码
上级
94c7f9be
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
10 行增加
和
7 行删除
+10
-7
KingDeeCommonPushApi.java
src/main/java/com/system/kingdee/KingDeeCommonPushApi.java
+2
-2
KingDeeCommonPushServiceImpl.java
...com/system/service/impl/KingDeeCommonPushServiceImpl.java
+8
-5
没有找到文件。
src/main/java/com/system/kingdee/KingDeeCommonPushApi.java
浏览文件 @
ced0e704
...
...
@@ -137,7 +137,7 @@ public class KingDeeCommonPushApi {
String
defaultValue
=
field
.
get
(
"defaultValue"
);
if
(
StringUtil
.
is
Not
Blank
(
thirdPartyField
))
if
(
StringUtil
.
isBlank
(
thirdPartyField
))
{
SetDefaultValue
(
temp
,
defaultValue
,
retrievalField
,
kingDeeField
);
return
;
...
...
@@ -146,7 +146,7 @@ public class KingDeeCommonPushApi {
Object
curValue
=
ExcuteScript
(
thirdPartyField
,
map
);
if
(
curValue
==
null
)
if
(
Constants
.
NULL
.
equals
(
curValue
)
)
{
SetDefaultValue
(
temp
,
defaultValue
,
retrievalField
,
kingDeeField
);
return
;
...
...
src/main/java/com/system/service/impl/KingDeeCommonPushServiceImpl.java
浏览文件 @
ced0e704
...
...
@@ -148,11 +148,14 @@ public class KingDeeCommonPushServiceImpl implements IKingDeeCommonPushService {
{
for
(
Map
<
String
,
Object
>
resultData:
(
List
<
Map
<
String
,
Object
>>)
temp
.
get
(
"resultData"
))
{
int
curId
=
Integer
.
parseInt
(
resultData
.
get
(
"id"
).
toString
());
for
(
String
attachment:
attachments
)
{
kingDeeCommonPushApi
.
uploadAttachment
(
attachment
,
curId
);
}
if
(
attachments
.
size
()
>
0
)
{
int
curId
=
Integer
.
parseInt
(
resultData
.
get
(
"id"
).
toString
());
for
(
String
attachment:
attachments
)
{
kingDeeCommonPushApi
.
uploadAttachment
(
attachment
,
curId
);
}
}
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论