提交 67d097a7 authored 作者: 许俊's avatar 许俊

微调

上级 e7b5bbb7
......@@ -154,7 +154,7 @@ public class ImsOtherOutstockPushApi implements web_api {
for (Map<String, Object> maps : needLists) {
ImsOtherOutstock ImsOtherOutstock = JSON.parseObject(JSON.toJSONString(maps), ImsOtherOutstock.class);//map转为实体类对象
//查询是否有FEntryID传入,没有就其他方法查询出
if (ObjectUtils.isEmpty(maps.get("SEQ_ENTRY_CODE"))) {
if (ObjectUtils.isEmpty(maps.get("MTRL_SEQ"))) {
//根据父单据编码和行号(ERP工单行号)在数据库同步表查出父单据的FEntryID
List<List<Object>> FEntryIDlist = categoryDao.select_Father_FentryId(Father_FEnrtyID,maps, Father_sFormId,KingdeeLogName+"父单据行内码查询");
String FEntryID="0";
......@@ -183,7 +183,7 @@ public class ImsOtherOutstockPushApi implements web_api {
}
} else {
String FEntryID = maps.get("SEQ_ENTRY_CODE").toString();
String FEntryID = maps.get("MTRL_SEQ").toString();
Father_FEntryIDs.add(FEntryID);
}
}
......
......@@ -195,7 +195,7 @@ public class ImsOtherOutstockServiceImpl extends ServiceImpl<ImsOtherOutstockMap
}
//查询子单据行内码maps.get("AUDIT_ID").toString()+maps.get("AUDIT_SEQ").toString()
for (Map<String, Object> needmap : needLists) {
String Son_FEntry_ID = imsOtherOutstockPushApi.querySonFEntryID(needmap.get(needmap.get("AUDIT_ID").toString()+needmap.get("MTRL_SEQ").toString()).toString(),needmap.get(SEQ).toString(), result.getResponseStatus().getSuccessEntitys().get(0).getId());
String Son_FEntry_ID = imsOtherOutstockPushApi.querySonFEntryID(needmap.get(SEQ).toString(),needmap.get(SEQ).toString(), result.getResponseStatus().getSuccessEntitys().get(0).getId());
needmap.put("FID", result.getResponseStatus().getSuccessEntitys().get(0).getId());
needmap.put("FEntry_ID",Son_FEntry_ID);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论