物料对称修改
This commit is contained in:
parent
182994104d
commit
56008918fa
|
@ -694,10 +694,22 @@ public class IncomeInvoiceServiceImpl extends BaseService<IncomeInvoiceEntity, S
|
||||||
String eventType = jsonStr.getString("eventType");
|
String eventType = jsonStr.getString("eventType");
|
||||||
switch (eventType) {
|
switch (eventType) {
|
||||||
case "onProcessFinished"://流程结束事件,同步物料到U8C
|
case "onProcessFinished"://流程结束事件,同步物料到U8C
|
||||||
JSONObject businessData = businessDataStr.getJSONObject("formson_0275");
|
JSONObject businessData = businessDataStr.getJSONObject("formmain_0708");
|
||||||
|
if(businessData.getString("field0007") == null){//数据类型
|
||||||
|
return BaseResult.getFailureMessageEntity("数据类型为空");
|
||||||
|
}
|
||||||
|
if(businessData.getString("field0007").equals("1")){//科目余额
|
||||||
|
|
||||||
|
}
|
||||||
|
if(businessData.getString("field0007").equals("2")){//财报
|
||||||
|
|
||||||
|
}
|
||||||
|
if(businessData.getString("field0007").equals("3")){//进项发票
|
||||||
|
|
||||||
|
}
|
||||||
|
if(businessData.getString("field0007").equals("4")){//销项发票
|
||||||
|
|
||||||
|
}
|
||||||
return BaseResult.getSuccessMessageEntity("推送数据成功");
|
return BaseResult.getSuccessMessageEntity("推送数据成功");
|
||||||
default:
|
default:
|
||||||
return BaseResult.getFailureMessageEntity("未匹配到流程监听事件!当前传入的eventType:" + eventType);
|
return BaseResult.getFailureMessageEntity("未匹配到流程监听事件!当前传入的eventType:" + eventType);
|
||||||
|
|
Loading…
Reference in New Issue