【泛微流程接口】补全供应商接口字段

This commit is contained in:
tanfengling@x-ri.com 2025-10-30 16:52:06 +08:00
parent 3f53315824
commit 9c4b585373
1 changed files with 22 additions and 3 deletions

View File

@ -4225,6 +4225,21 @@ public class FWImpl {
String sqqy = bill.getString("tqq9_textfield41"); String sqqy = bill.getString("tqq9_textfield41");
String lxdh = bill.getString("tqq9_textfield42"); String lxdh = bill.getString("tqq9_textfield42");
int syyxts6 = bill.getInt("tqq9_validdays_frsq"); int syyxts6 = bill.getInt("tqq9_validdays_frsq");
String qylx = null;
String tqq9_combofield31 = bill.getString("tqq9_combofield31");
if("A".equals(tqq9_combofield31)){
qylx = "0";
}else if("B".equals(tqq9_combofield31)){
qylx = "1";
}else if("C".equals(tqq9_combofield31)){
qylx = "2";
}else if("D".equals(tqq9_combofield31)){
qylx = "3";
}else if("E".equals(tqq9_combofield31)){
qylx = "4";
}else if("F".equals(tqq9_combofield31)){
qylx = "5";
}
//联系人明细 //联系人明细
JSONObject detail1 = new JSONObject(); JSONObject detail1 = new JSONObject();
@ -4405,7 +4420,6 @@ public class FWImpl {
JSONObject m30 = new JSONObject(); JSONObject m30 = new JSONObject();
m30.put("fieldName", "yyzzbh"); m30.put("fieldName", "yyzzbh");
m30.put("fieldValue", yyzzbh); m30.put("fieldValue", yyzzbh);
JSONObject m40 = new JSONObject(); JSONObject m40 = new JSONObject();
m40.put("fieldName", "fddbr"); m40.put("fieldName", "fddbr");
m40.put("fieldValue", fddbr); m40.put("fieldValue", fddbr);
@ -4589,12 +4603,18 @@ public class FWImpl {
JSONObject m103 = new JSONObject(); JSONObject m103 = new JSONObject();
m103.put("fieldName", "syyxts6"); m103.put("fieldName", "syyxts6");
m103.put("fieldValue", syyxts6); m103.put("fieldValue", syyxts6);
JSONObject m104 = new JSONObject();
m104.put("fieldName", "qymc");
m104.put("fieldValue", gysmc);
JSONObject m105 = new JSONObject();
m105.put("fieldName", "qylx");
m105.put("fieldValue", qylx);
List<JSONObject> mlist = new ArrayList<>(Arrays.asList(m1,m2,m3,m4,m5,m6,m7,m8,m9,m10,m11,m12,m13,m14,m15,m16, List<JSONObject> mlist = new ArrayList<>(Arrays.asList(m1,m2,m3,m4,m5,m6,m7,m8,m9,m10,m11,m12,m13,m14,m15,m16,
m17,m18,m19,m20,m21,m22,m23,m24,m25,m27,m29,m30,m40,m41,m42,m43,m44,m45,m46,m47,m48,m49,m50,m51,m52, m17,m18,m19,m20,m21,m22,m23,m24,m25,m27,m29,m30,m40,m41,m42,m43,m44,m45,m46,m47,m48,m49,m50,m51,m52,
m53,m54,m55,m56,m57,m58,m59,m60,m61,m62,m63,m64,m65,m66,m67,m68,m69,m70,m71,m72,m73,m74,m75,m76,m77, m53,m54,m55,m56,m57,m58,m59,m60,m61,m62,m63,m64,m65,m66,m67,m68,m69,m70,m71,m72,m73,m74,m75,m76,m77,
m78,m79,m80,m81,m82,m83,m84,m85,m89,m90, m78,m79,m80,m81,m82,m83,m84,m85,m89,m90,
m91,m92,m93,m94,m95,m96,m97,m98,m99,m100,m101,m102,m103)); m91,m92,m93,m94,m95,m96,m97,m98,m99,m100,m101,m102,m103,m104,m105));
// 附件 // 附件
List<JSONObject> fjList = new ArrayList<>(); List<JSONObject> fjList = new ArrayList<>();
List<Map<String, Object>> attachments = AttachmentServiceHelper.getAttachments("bd_supplier", bill.getPkValue(), "tqq9_attachmentpanelap"); List<Map<String, Object>> attachments = AttachmentServiceHelper.getAttachments("bd_supplier", bill.getPkValue(), "tqq9_attachmentpanelap");
@ -4615,7 +4635,6 @@ public class FWImpl {
fjObj.put("fieldValue", fjList); fjObj.put("fieldValue", fjList);
mlist.add(fjObj); mlist.add(fjObj);
} }
// TODO 企业名称企业类型
JSONArray mainArr = new JSONArray(); JSONArray mainArr = new JSONArray();
mainArr.addAll(mlist); mainArr.addAll(mlist);