add:增加出库原数据存储
This commit is contained in:
@@ -3,6 +3,8 @@ package org.nl.wms.pda_manage.iostorage.sevice;
|
||||
import cn.hutool.core.date.DateUtil;
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.alibaba.fastjson.serializer.SerializeConfig;
|
||||
import com.alibaba.fastjson.serializer.SerializerFeature;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.kingdee.bos.webapi.entity.IdentifyInfo;
|
||||
import com.kingdee.bos.webapi.sdk.K3CloudApi;
|
||||
@@ -139,8 +141,9 @@ public class PdaIOService {
|
||||
ivtDtl.setSource_form_id(dtl.getId());
|
||||
ivtDtl.setSource_form_type(dtl.getForm_type());
|
||||
合并主表明细数据:{
|
||||
JSONObject sourceFormData = (JSONObject) JSONObject.toJSON(mstString);
|
||||
JSONObject dtlJ = (JSONObject) JSONObject.toJSON(dtl);
|
||||
JSONObject sourceFormData = JSONObject.parseObject(mstString);
|
||||
String dtlStr = JSON.toJSONString(dtl);
|
||||
JSONObject dtlJ = JSONObject.parseObject(dtlStr);
|
||||
dtlJ.putAll((Map) dtlJ.remove("form_data"));
|
||||
sourceFormData.putAll(dtlJ);
|
||||
ivtDtl.setSource_form_data(sourceFormData);
|
||||
|
||||
Reference in New Issue
Block a user