提交代码
This commit is contained in:
parent
a58eeba470
commit
a984bb1ce2
|
@ -27,4 +27,8 @@ public class ProfilesActiveConstant {
|
||||||
public static final String U8C_URL = "http://127.0.0.1:9999/kangarooDataCenterV3/entranceController/externalCallInterface";
|
public static final String U8C_URL = "http://127.0.0.1:9999/kangarooDataCenterV3/entranceController/externalCallInterface";
|
||||||
public static final String OFS_URL_TEST = "http://39.98.58.229/api/edi/ofs/in";
|
public static final String OFS_URL_TEST = "http://39.98.58.229/api/edi/ofs/in";
|
||||||
|
|
||||||
|
public static final String SUPPLIER = "'1','3'";
|
||||||
|
|
||||||
|
public static final String CUSTOMER = "'0','2'";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -569,6 +569,7 @@ public class SoSaleReturnPluginInitializerToB extends PluginBaseEntity {
|
||||||
bdCumandocEntity1.setDr(0L);
|
bdCumandocEntity1.setDr(0L);
|
||||||
bdCumandocEntity1.setPkCorp(bdCorpEntityList.get(0).getPkCorp());
|
bdCumandocEntity1.setPkCorp(bdCorpEntityList.get(0).getPkCorp());
|
||||||
bdCumandocEntity1.setPkCubasdoc(bdCubasdocEntityList.get(0).getPkCubasdoc());
|
bdCumandocEntity1.setPkCubasdoc(bdCubasdocEntityList.get(0).getPkCubasdoc());
|
||||||
|
bdCumandocEntity1.setCustflags(ProfilesActiveConstant.CUSTOMER);
|
||||||
List<BdCumandocEntity> bdCumandocEntityList = iBdCumandocDao.query(bdCumandocEntity1);
|
List<BdCumandocEntity> bdCumandocEntityList = iBdCumandocDao.query(bdCumandocEntity1);
|
||||||
|
|
||||||
//查找平台
|
//查找平台
|
||||||
|
@ -732,7 +733,7 @@ public class SoSaleReturnPluginInitializerToB extends PluginBaseEntity {
|
||||||
} else if (bdInvbasdocEntity2.size() >= 2) {
|
} else if (bdInvbasdocEntity2.size() >= 2) {
|
||||||
Assert.state(false, "根据存货管理档案主键{}和公司档案主键{}没有查询到U8C基础档案", pkInvmandoc, pkCorp);
|
Assert.state(false, "根据存货管理档案主键{}和公司档案主键{}没有查询到U8C基础档案", pkInvmandoc, pkCorp);
|
||||||
}
|
}
|
||||||
return bdInvbasdocEntity;
|
return bdInvbasdocEntity2.get(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -822,7 +823,7 @@ public class SoSaleReturnPluginInitializerToB extends PluginBaseEntity {
|
||||||
if (tocofsReturngoodsDetailedEntity != null && returnGoodSearchHeaderDto != null) {
|
if (tocofsReturngoodsDetailedEntity != null && returnGoodSearchHeaderDto != null) {
|
||||||
tocofsReturngoodsDetailedEntity.setPrimaryKey(returnGoodSearchHeaderDto.getId());//主表主键
|
tocofsReturngoodsDetailedEntity.setPrimaryKey(returnGoodSearchHeaderDto.getId());//主表主键
|
||||||
tocofsReturngoodsDetailedEntity.setBusinessDate(returnGoodSearchHeaderDto.getCheckInFrom());//业务日期
|
tocofsReturngoodsDetailedEntity.setBusinessDate(returnGoodSearchHeaderDto.getCheckInFrom());//业务日期
|
||||||
tocofsReturngoodsDetailedEntity.setBusinessType("TOC_RETURN");//业务类型
|
tocofsReturngoodsDetailedEntity.setBusinessType("TOB_RETURN");//业务类型
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue