diff --git a/pu/src/private/nc/impl/pu/m21/action/rule/def/AfterApprovePushRule.java b/pu/src/private/nc/impl/pu/m21/action/rule/def/AfterApprovePushRule.java index 1b0eed6..3a9d8c5 100644 --- a/pu/src/private/nc/impl/pu/m21/action/rule/def/AfterApprovePushRule.java +++ b/pu/src/private/nc/impl/pu/m21/action/rule/def/AfterApprovePushRule.java @@ -43,7 +43,7 @@ public class AfterApprovePushRule implements IRule { } HYSuperDMO dmo = new HYSuperDMO(); ObjectMapper objectMapper = new ObjectMapper(); - String token=""; + String token=EGAPParam.EGAPTOKEN; for (int i = 0; i < vos.length; i++) { if(vos[i].getHVO().getForderstatus().intValue()==3) { HashMap h_bill = new HashMap(); @@ -77,6 +77,7 @@ public class AfterApprovePushRule implements IRule { ArrayList l_items = new ArrayList(); + OrderItemVO[] itemVOs= vos[i].getBVO(); for (int j = 0; j < itemVOs.length; j++) { HashMap b_item = new HashMap(); diff --git a/pu/src/private/nc/impl/pu/m21/action/rule/def/AfterUnApprovePushRule.java b/pu/src/private/nc/impl/pu/m21/action/rule/def/AfterUnApprovePushRule.java index 0c1bc10..9a1047f 100644 --- a/pu/src/private/nc/impl/pu/m21/action/rule/def/AfterUnApprovePushRule.java +++ b/pu/src/private/nc/impl/pu/m21/action/rule/def/AfterUnApprovePushRule.java @@ -35,7 +35,7 @@ public INCCForEGAPIntf iNCCForEGAPIntf =null; HYSuperDMO dmo = new HYSuperDMO(); ObjectMapper objectMapper = new ObjectMapper(); - String token=""; + String token=EGAPParam.EGAPTOKEN;; for (int i = 0; i < vos.length; i++) { if(vos[i].getHVO().getForderstatus().intValue()!=3) { HashMap h_bill = new HashMap(); diff --git a/pu/src/private/nc/impl/pu/m21/action/rule/def/EGAPParam.java b/pu/src/private/nc/impl/pu/m21/action/rule/def/EGAPParam.java new file mode 100644 index 0000000..f9a5abf --- /dev/null +++ b/pu/src/private/nc/impl/pu/m21/action/rule/def/EGAPParam.java @@ -0,0 +1,7 @@ +package nc.impl.pu.m21.action.rule.def; + +public class EGAPParam { + + public static String EGAPTOKEN = "D6467205-7A71-4CF6-BD8C-3F9968BF0826"; + +}