From c2b754e911dbb2f22237f215e31d19c06746372b Mon Sep 17 00:00:00 2001 From: erdanergou Date: Fri, 9 Jun 2023 16:50:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BB=99=E4=BB=93=E5=BA=93?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=91=98=E5=8F=91=E9=80=81=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E5=90=8E=E6=97=A0=E6=B3=95=E5=AD=98=E5=82=A8=E5=88=B0redis?= =?UTF-8?q?=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../depository_manage/SomeTest.java | 25 +++++++------------ 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/src/test/java/com/dreamchaser/depository_manage/SomeTest.java b/src/test/java/com/dreamchaser/depository_manage/SomeTest.java index 094bce63..c31d4046 100644 --- a/src/test/java/com/dreamchaser/depository_manage/SomeTest.java +++ b/src/test/java/com/dreamchaser/depository_manage/SomeTest.java @@ -244,7 +244,7 @@ public class SomeTest { ApprovalInfo approvalInfo = new ApprovalInfo(); approvalInfo.setTemplateId("3WKiKVCzyLv3Y1LaHZxp4DimQEpCdvYP52HsAUtF"); - approvalInfo.setSpNo("202306090017"); + approvalInfo.setSpNo("202306090040"); // 模拟第一个节点(部门负责人) @@ -254,7 +254,7 @@ public class SomeTest { List approvalInfo_Details1 = new ArrayList<>(); ApprovalInfo_Details ad1 = new ApprovalInfo_Details(); ad1.setSpStatus("2"); - ad1.setSpTime("1686285527000"); + ad1.setSpTime("1686300314000"); ApprovalInfo_Details_Approver approver1 = new ApprovalInfo_Details_Approver(); approver1.setUserId("PangFuZhen"); ad1.setApprover(approver1); @@ -263,11 +263,11 @@ public class SomeTest { // 模拟第二个节点(宋倩倩,平衡岗) ApprovalInfo_SpRecord asr2 = new ApprovalInfo_SpRecord(); - asr2.setSpStatus("2"); + asr2.setSpStatus("1"); List approvalInfo_Details2 = new ArrayList<>(); ApprovalInfo_Details ad2 = new ApprovalInfo_Details(); - ad2.setSpStatus("2"); - ad2.setSpTime("1686186957000"); + ad2.setSpStatus("1"); + ad2.setSpTime("0"); ApprovalInfo_Details_Approver approver2 = new ApprovalInfo_Details_Approver(); approver2.setUserId("YangYangBaoBei"); ad2.setApprover(approver2); @@ -276,13 +276,13 @@ public class SomeTest { // 模拟第三个节点(综合办负责人)(仓储负责人) ApprovalInfo_SpRecord asr3 = new ApprovalInfo_SpRecord(); - asr3.setSpStatus("2"); + asr3.setSpStatus("1"); List approvalInfo_Details3 = new ArrayList<>(); ApprovalInfo_Details ad3 = new ApprovalInfo_Details(); - ad3.setSpStatus("2"); - ad3.setSpTime("1686285537000"); + ad3.setSpStatus("1"); + ad3.setSpTime("0"); ApprovalInfo_Details_Approver approver3 = new ApprovalInfo_Details_Approver(); - approver3.setUserId("XinPing"); + approver3.setUserId("KaiXinGuo"); ad3.setApprover(approver3); approvalInfo_Details3.add(ad3); asr3.setDetails(approvalInfo_Details3); @@ -312,12 +312,5 @@ public class SomeTest { callback(approvalInfo); - - } - - @Test - public void tes(){ - Integer a = 1; - System.out.println(String.valueOf(a)); } }