Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
I
IMS
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
刘涛
IMS
Commits
ac5c34fd
提交
ac5c34fd
authored
1月 14, 2022
作者:
许俊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
微调
上级
c9c4201f
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
101 行增加
和
29 行删除
+101
-29
ImsOtherOutstockPushApi.java
.../modules/iost/ims/kingdeeapi/ImsOtherOutstockPushApi.java
+95
-22
ImsOtherOutstockServiceImpl.java
...es/iost/ims/service/impl/ImsOtherOutstockServiceImpl.java
+6
-7
没有找到文件。
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/ims/kingdeeapi/ImsOtherOutstockPushApi.java
浏览文件 @
ac5c34fd
差异被折叠。
点击展开。
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/ims/service/impl/ImsOtherOutstockServiceImpl.java
浏览文件 @
ac5c34fd
...
@@ -133,12 +133,11 @@ public class ImsOtherOutstockServiceImpl extends ServiceImpl<ImsOtherOutstockMap
...
@@ -133,12 +133,11 @@ public class ImsOtherOutstockServiceImpl extends ServiceImpl<ImsOtherOutstockMap
}
}
/*======================================================================================================*/
/*======================================================================================================*/
public
String
synchronizationPush
(
List
<
Map
<
String
,
Object
>>
needLists
,
String
code
)
{
public
String
synchronizationPush
(
List
<
Map
<
String
,
Object
>>
needLists
,
String
code
)
{
this
.
imsLogName
=
"其
它
出库"
;
//ims日志-name
this
.
imsLogName
=
"其
他
出库"
;
//ims日志-name
this
.
DocType
=
"R100"
;
//调用者传入的标识
this
.
DocType
=
"R100"
;
//调用者传入的标识
this
.
SEQ
=
"MTRL_SEQ"
;
//父单据行号,一般默认是这个字符串(有些单据是AUDIT_SEQ)
this
.
SEQ
=
"MTRL_SEQ"
;
//父单据行号,一般默认是这个字符串(有些单据是AUDIT_SEQ)
this
.
wipOrde
=
"AUDIT_ID"
;
//父亲单据工单编号或者行内码
this
.
wipOrde
=
"AUDIT_ID"
;
//父亲单据工单编号或者行内码
List
<
ImsOtherOutstock
>
ImsOtherOutstocks
=
new
ArrayList
<>();
List
<
ImsOtherOutstock
>
ImsOtherOutstocks
=
new
ArrayList
<>();
//查询父单据失败的lists
//查询父单据失败的lists
List
<
Map
<
String
,
Object
>>
SelectFatherFentryIdFailLists
=
new
ArrayList
();
List
<
Map
<
String
,
Object
>>
SelectFatherFentryIdFailLists
=
new
ArrayList
();
...
@@ -194,11 +193,12 @@ public class ImsOtherOutstockServiceImpl extends ServiceImpl<ImsOtherOutstockMap
...
@@ -194,11 +193,12 @@ public class ImsOtherOutstockServiceImpl extends ServiceImpl<ImsOtherOutstockMap
if
(!
CollectionUtils
.
isEmpty
(
pushResultLists
))
{
if
(!
CollectionUtils
.
isEmpty
(
pushResultLists
))
{
throw
new
kingdeeException
(
"操作失败!下推失败!"
,
pushResultLists
,
code
);
throw
new
kingdeeException
(
"操作失败!下推失败!"
,
pushResultLists
,
code
);
}
}
//查询子单据行内码
//查询子单据行内码
maps.get("AUDIT_ID").toString()+maps.get("AUDIT_SEQ").toString()
for
(
Map
<
String
,
Object
>
needmap
:
needLists
)
{
for
(
Map
<
String
,
Object
>
needmap
:
needLists
)
{
String
Son_FEntry_ID
=
imsOtherOutstockPushApi
.
querySonFEntryID
(
needmap
.
get
(
SEQ
).
toString
(),
result
.
getResponseStatus
().
getSuccessEntitys
().
get
(
0
).
getId
(),
needmap
.
get
(
wipOrde
).
toString
());
String
Son_FEntry_ID
=
imsOtherOutstockPushApi
.
querySonFEntryID
(
needmap
.
get
(
needmap
.
get
(
"AUDIT_ID"
).
toString
()+
needmap
.
get
(
"AUDIT_SEQ"
).
toString
()).
toString
(),
needmap
.
get
(
SEQ
).
toString
(),
result
.
getResponseStatus
().
getSuccessEntitys
().
get
(
0
).
getId
());
needmap
.
put
(
"FID"
,
result
.
getResponseStatus
().
getSuccessEntitys
().
get
(
0
).
getId
());
needmap
.
put
(
"FID"
,
result
.
getResponseStatus
().
getSuccessEntitys
().
get
(
0
).
getId
());
needmap
.
put
(
"FEntry_ID"
,
Son_FEntry_ID
);
needmap
.
put
(
"FEntry_ID"
,
Son_FEntry_ID
);
}
}
//修改成功下推后needPushLists的数据
//修改成功下推后needPushLists的数据
AddResult
=
imsOtherOutstockPushApi
.
addTwo
(
needLists
);
AddResult
=
imsOtherOutstockPushApi
.
addTwo
(
needLists
);
...
@@ -218,7 +218,7 @@ public class ImsOtherOutstockServiceImpl extends ServiceImpl<ImsOtherOutstockMap
...
@@ -218,7 +218,7 @@ public class ImsOtherOutstockServiceImpl extends ServiceImpl<ImsOtherOutstockMap
}
}
//保存实体类
//保存实体类
this
.
saveBatch
(
ImsOtherOutstocks
);
this
.
saveBatch
(
ImsOtherOutstocks
);
return
ImsOtherOutstocks
.
get
(
0
).
getFbillNo
();
return
ImsOtherOutstocks
.
get
(
0
).
getFbillNo
();
}
}
public
List
<
String
>
ResultSplitFourPush
(
org
.
jeecg
.
modules
.
iost
.
ims
.
entity
.
KingdeeResultObject
.
AddResultObject
.
Result
AddResult
)
public
List
<
String
>
ResultSplitFourPush
(
org
.
jeecg
.
modules
.
iost
.
ims
.
entity
.
KingdeeResultObject
.
AddResultObject
.
Result
AddResult
)
...
@@ -260,7 +260,7 @@ public class ImsOtherOutstockServiceImpl extends ServiceImpl<ImsOtherOutstockMap
...
@@ -260,7 +260,7 @@ public class ImsOtherOutstockServiceImpl extends ServiceImpl<ImsOtherOutstockMap
if
(!
ObjectUtils
.
isEmpty
(
queue_idRepeatResultMap
.
get
(
"notExitFbillNo"
))&&
Boolean
.
valueOf
(
queue_idRepeatResultMap
.
get
(
"notExitFbillNo"
).
toString
())==
true
)
if
(!
ObjectUtils
.
isEmpty
(
queue_idRepeatResultMap
.
get
(
"notExitFbillNo"
))&&
Boolean
.
valueOf
(
queue_idRepeatResultMap
.
get
(
"notExitFbillNo"
).
toString
())==
true
)
{
{
String
queue_id
=
queue_idRepeatResultMap
.
get
(
"QUEUE_ID"
).
toString
();
String
queue_id
=
queue_idRepeatResultMap
.
get
(
"QUEUE_ID"
).
toString
();
result
=
"
单据编
号"
+
queue_idRepeatResultMap
.
get
(
wipOrde
)+
"不存在,无法进行下推修改!"
;
result
=
"
发货通知单
号"
+
queue_idRepeatResultMap
.
get
(
wipOrde
)+
"不存在,无法进行下推修改!"
;
rustList
.
add
(
result
);
rustList
.
add
(
result
);
}
}
else
else
...
@@ -296,5 +296,4 @@ public class ImsOtherOutstockServiceImpl extends ServiceImpl<ImsOtherOutstockMap
...
@@ -296,5 +296,4 @@ public class ImsOtherOutstockServiceImpl extends ServiceImpl<ImsOtherOutstockMap
}
}
return
rustList
;
return
rustList
;
}
}
}
}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论