ic_uapbd_销售出库签字推送锐制_含http工具类_V1

This commit is contained in:
李正@用友 2025-05-21 10:30:46 +08:00
parent d464b1adca
commit 71aaa1d2dc
3 changed files with 4 additions and 3 deletions

View File

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

View File

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

View File

@ -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 状态码返回数据