丽知:钉钉回调修改
This commit is contained in:
parent
82e17eb7ac
commit
4d2ce94298
|
@ -344,7 +344,7 @@ public class CallBackServiceImpl implements CallBackService {
|
||||||
bills.put("dwbm", dingU8cBillEntity.getU8cCodeCorp());
|
bills.put("dwbm", dingU8cBillEntity.getU8cCodeCorp());
|
||||||
bills.put("opinion", remark);
|
bills.put("opinion", remark);
|
||||||
bills.put("operatorid", OverallConstant.getOverAllValue("u8cApiZdrCode"));
|
bills.put("operatorid", OverallConstant.getOverAllValue("u8cApiZdrCode"));
|
||||||
bills.put("operatedate", now);
|
bills.put("operatedate", now.toString());
|
||||||
String jsonStr = JSONUtil.toJsonStr(bills);
|
String jsonStr = JSONUtil.toJsonStr(bills);
|
||||||
jsonStr = "{\"bills\":[" + jsonStr + "]}";
|
jsonStr = "{\"bills\":[" + jsonStr + "]}";
|
||||||
System.out.println(jsonStr);
|
System.out.println(jsonStr);
|
||||||
|
@ -469,7 +469,7 @@ public class CallBackServiceImpl implements CallBackService {
|
||||||
//lrr 录入人
|
//lrr 录入人
|
||||||
parentvo.setLrr(OverallConstant.getOverAllValue("u8cApiZdrCode"));
|
parentvo.setLrr(OverallConstant.getOverAllValue("u8cApiZdrCode"));
|
||||||
//shr 审核人
|
//shr 审核人
|
||||||
parentvo.setLrr(OverallConstant.getOverAllValue("u8cApiZdrCode"));
|
parentvo.setShr(OverallConstant.getOverAllValue("u8cApiZdrCode"));
|
||||||
//shrq 审核日期
|
//shrq 审核日期
|
||||||
parentvo.setShrq(now.toString());
|
parentvo.setShrq(now.toString());
|
||||||
|
|
||||||
|
@ -480,10 +480,9 @@ public class CallBackServiceImpl implements CallBackService {
|
||||||
children.add(childrenvo);
|
children.add(childrenvo);
|
||||||
billvo.setParentvo(parentvo);
|
billvo.setParentvo(parentvo);
|
||||||
billvo.setChildren(children);
|
billvo.setChildren(children);
|
||||||
mapStr = JSONUtil.toJsonStr(billvo);
|
mapStr="{\"billvo\":["+JSONUtil.toJsonStr(billvo)+"]}";
|
||||||
mapStr="{\"billvo\":["+mapStr+"]}";
|
|
||||||
//推送u8c
|
//推送u8c
|
||||||
ZTResult ztResult = pushU8CByApiCode.pushByCode(OverallConstant.getOverAllValue("otheroutqzCode"), mapStr);
|
ZTResult ztResult = pushU8CByApiCode.pushByCode(OverallConstant.getOverAllValue("arapFkApproveCode"), mapStr);
|
||||||
if ("false".equals(ztResult.getFlag())) {
|
if ("false".equals(ztResult.getFlag())) {
|
||||||
//转发失败
|
//转发失败
|
||||||
response = JSONUtil.toJsonStr(ztResult.getAttribute());
|
response = JSONUtil.toJsonStr(ztResult.getAttribute());
|
||||||
|
|
Loading…
Reference in New Issue