From 0a3c2882f501e3924fdffebf479d9de29d1cb3f2 Mon Sep 17 00:00:00 2001 From: xiang2lin <251481237@qq.com> Date: Sat, 3 Aug 2024 21:59:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E5=91=98=E3=80=81=E9=83=A8?= =?UTF-8?q?=E9=97=A8=E5=A4=84=E7=90=86=202024=E5=B9=B48=E6=9C=883=E6=97=A5?= =?UTF-8?q?=2021:59:06?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../seeyon/service/impl/SeeyonExtServiceImpl.java | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/service/src/main/java/com/hzya/frame/seeyon/service/impl/SeeyonExtServiceImpl.java b/service/src/main/java/com/hzya/frame/seeyon/service/impl/SeeyonExtServiceImpl.java index 4a289d5c..95ef8f00 100644 --- a/service/src/main/java/com/hzya/frame/seeyon/service/impl/SeeyonExtServiceImpl.java +++ b/service/src/main/java/com/hzya/frame/seeyon/service/impl/SeeyonExtServiceImpl.java @@ -333,12 +333,16 @@ public class SeeyonExtServiceImpl implements ISeeyonExtService { String field0018 = DateUtil.format(formmain0225.getDate("field0018"), "yyyy-MM-dd"); oArchives.put("dVenDevDate", field0018); } + oArchives.put("cVenPPerson",formmain0225.getString("field0028")); //专管业务员 09001是张燕 - //oArchives.put("cVenPPerson",formmain0225.getString("field0016")); - oArchives.put("cVenPPerson","09001"); + if (StrUtil.isEmpty(formmain0225.getString("field0028"))){ + oArchives.put("cVenPPerson","09001"); + } + oArchives.put("cVenDepart",formmain0225.getString("field0029")); //分管部门 13是采购部 - //oArchives.put("cVenDepart",formmain0225.getString("field0013")); - oArchives.put("cVenDepart","13"); + if (StrUtil.isEmpty(formmain0225.getString("field0029"))){ + oArchives.put("cVenDepart","13"); + } jsonObject.put("oArchives", oArchives); param.setBodys(JSON.toJSONString(jsonObject)); hzyaExtData.put("billCode", formmain0225.getString("field0001"));