From 4d2ce94298aad5f307907cab79d70944bdec3ff0 Mon Sep 17 00:00:00 2001 From: zhengyf Date: Fri, 8 Nov 2024 15:07:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BD=E7=9F=A5=EF=BC=9A=E9=92=89=E9=92=89?= =?UTF-8?q?=E5=9B=9E=E8=B0=83=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../callback/service/impl/CallBackServiceImpl.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/buildpackage/src/main/java/com/hzya/frame/plugin/lets/dingtalk/callback/service/impl/CallBackServiceImpl.java b/buildpackage/src/main/java/com/hzya/frame/plugin/lets/dingtalk/callback/service/impl/CallBackServiceImpl.java index 29154def..325adbbe 100644 --- a/buildpackage/src/main/java/com/hzya/frame/plugin/lets/dingtalk/callback/service/impl/CallBackServiceImpl.java +++ b/buildpackage/src/main/java/com/hzya/frame/plugin/lets/dingtalk/callback/service/impl/CallBackServiceImpl.java @@ -344,7 +344,7 @@ public class CallBackServiceImpl implements CallBackService { bills.put("dwbm", dingU8cBillEntity.getU8cCodeCorp()); bills.put("opinion", remark); bills.put("operatorid", OverallConstant.getOverAllValue("u8cApiZdrCode")); - bills.put("operatedate", now); + bills.put("operatedate", now.toString()); String jsonStr = JSONUtil.toJsonStr(bills); jsonStr = "{\"bills\":[" + jsonStr + "]}"; System.out.println(jsonStr); @@ -469,7 +469,7 @@ public class CallBackServiceImpl implements CallBackService { //lrr 录入人 parentvo.setLrr(OverallConstant.getOverAllValue("u8cApiZdrCode")); //shr 审核人 - parentvo.setLrr(OverallConstant.getOverAllValue("u8cApiZdrCode")); + parentvo.setShr(OverallConstant.getOverAllValue("u8cApiZdrCode")); //shrq 审核日期 parentvo.setShrq(now.toString()); @@ -480,10 +480,9 @@ public class CallBackServiceImpl implements CallBackService { children.add(childrenvo); billvo.setParentvo(parentvo); billvo.setChildren(children); - mapStr = JSONUtil.toJsonStr(billvo); - mapStr="{\"billvo\":["+mapStr+"]}"; + mapStr="{\"billvo\":["+JSONUtil.toJsonStr(billvo)+"]}"; //推送u8c - ZTResult ztResult = pushU8CByApiCode.pushByCode(OverallConstant.getOverAllValue("otheroutqzCode"), mapStr); + ZTResult ztResult = pushU8CByApiCode.pushByCode(OverallConstant.getOverAllValue("arapFkApproveCode"), mapStr); if ("false".equals(ztResult.getFlag())) { //转发失败 response = JSONUtil.toJsonStr(ztResult.getAttribute());