ic_uapbd_销售出库签字推送锐制_含http工具类_V1
This commit is contained in:
parent
d464b1adca
commit
71aaa1d2dc
|
@ -54,7 +54,7 @@ public class SignBP implements ISignBP<SaleOutVO>, ISignRuleProvider<SaleOutVO>
|
||||||
processor.addAfterRule(new AfterSigningSynchronizeRuleMES());
|
processor.addAfterRule(new AfterSigningSynchronizeRuleMES());
|
||||||
// 盘点(审批后传MES)
|
// 盘点(审批后传MES)
|
||||||
|
|
||||||
// 销售出库 签字后 同步到锐制
|
// 销售出库签字后 同步到锐制
|
||||||
processor.addAfterRule(new AfterSigningSynchronizeRuleRZ());
|
processor.addAfterRule(new AfterSigningSynchronizeRuleRZ());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -50,6 +50,7 @@ public class AfterSigningSynchronizeRuleRZ implements IRule<SaleOutVO> {
|
||||||
}
|
}
|
||||||
pushToRZMOM(newSaleOutVOS.toArray(new SaleOutVO[0]));
|
pushToRZMOM(newSaleOutVOS.toArray(new SaleOutVO[0]));
|
||||||
}catch (Exception e){
|
}catch (Exception e){
|
||||||
|
log.error("同步销售出库到锐制系统失败: " + e.getMessage(), e);
|
||||||
ExceptionUtils.wrappException(e);
|
ExceptionUtils.wrappException(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,8 +17,8 @@ import java.net.URL;
|
||||||
*/
|
*/
|
||||||
public class ThirdPartyPostRequestUtil {
|
public class ThirdPartyPostRequestUtil {
|
||||||
|
|
||||||
private static final int DEFAULT_CONNECT_TIMEOUT = 10000;
|
private static final int DEFAULT_CONNECT_TIMEOUT = 20000;
|
||||||
private static final int DEFAULT_READ_TIMEOUT = 10000;
|
private static final int DEFAULT_READ_TIMEOUT = 20000;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 向第三方系统发送 POST 请求,并根据 HTTP 状态码返回数据
|
* 向第三方系统发送 POST 请求,并根据 HTTP 状态码返回数据
|
||||||
|
|
Loading…
Reference in New Issue