|
|
|
@ -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_Details> 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_Details> 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_Details> 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)); |
|
|
|
} |
|
|
|
} |
|
|
|
|