Browse Source

防止升级后不能及时配置上相关地址。

master
yibo 7 years ago
parent
commit
d88db71e78
2 changed files with 9 additions and 2 deletions
  1. +4
    -1
      B3QingDaoWanFu/Tasks/SyncSaleOutStoreInfoToMES.cs
  2. +5
    -1
      B3QingDaoWanFu/TypeIOCs/SaleOutStoreBLTypeIoc.cs

+ 4
- 1
B3QingDaoWanFu/Tasks/SyncSaleOutStoreInfoToMES.cs View File

@ -75,7 +75,10 @@ namespace BWP.B3QingDaoWanFu.Tasks
{
// http://172.28.1.194:7799/B2/Rest.aspx
if (!InitRpcFacade())
return;
{
if (!ClientServerFacedRpcFacadeUtil.InitRpcFacade())
return;
}
var main = new JoinAlias(typeof(SaleOutStore));
var relate = new JoinAlias(typeof(SaleOutStoreBarCodeToMESLog));
var detail = new JoinAlias(typeof(SaleOutStore_Detail));


+ 5
- 1
B3QingDaoWanFu/TypeIOCs/SaleOutStoreBLTypeIoc.cs View File

@ -139,7 +139,11 @@ namespace BWP.B3QingDaoWanFu.TypeIOCs
{
var traceBackUrl = GetTraceBackUrl();
if (string.IsNullOrEmpty(traceBackUrl))
return;
{
traceBackUrl = new B3ButcherManageOnlineConfiguration().TraceBackServerUrl;
if (string.IsNullOrEmpty(traceBackUrl))
return;
}
//http://172.28.1.99:7766/api/TraceBackInfo/
//InsertSaleOutStore
//SegmentInsertSaleOutStore


Loading…
Cancel
Save