丽知:1、修改公司过滤方法。
This commit is contained in:
parent
4ec96609bf
commit
62d50105d0
|
@ -245,7 +245,11 @@ public class AdjustInPluginInitializer extends PluginBaseEntity {
|
|||
for (StockinOrderSearchResponse.StockinOrder stockinOrder : stockinOrders) {
|
||||
StockinOrderSearchResponse.StockinOrder.StockinH header = stockinOrder.getHeader();
|
||||
//过滤"NMNS"\"YNS"\"HJ"
|
||||
if ("NMNS".equals(header.getCompanyCode()) || "YNS".equals(header.getCompanyCode()) || "HJ".equals(header.getCompanyCode())) {
|
||||
// if ("NMNS".equals(header.getCompanyCode()) || "YNS".equals(header.getCompanyCode()) || "HJ".equals(header.getCompanyCode())) {
|
||||
// continue;
|
||||
// }
|
||||
String filterCompanyStr = queryU8CEntityUtil.queryBdDefDocByListPk();
|
||||
if(filterCompanyStr.contains(header.getCompanyCode().trim())){
|
||||
continue;
|
||||
}
|
||||
String rootAppPk = header.getCode();
|
||||
|
|
|
@ -248,7 +248,11 @@ public class AdjustInZZPluginInitializer extends PluginBaseEntity {
|
|||
StockinOrderSearchResponse.StockinOrder.StockinH header = stockinOrder.getHeader();
|
||||
|
||||
//过滤"NMNS"\"YNS"\"HJ"
|
||||
if("NMNS".equals(header.getCompanyCode())||"YNS".equals(header.getCompanyCode())||"HJ".equals(header.getCompanyCode())){
|
||||
// if("NMNS".equals(header.getCompanyCode())||"YNS".equals(header.getCompanyCode())||"HJ".equals(header.getCompanyCode())){
|
||||
// continue;
|
||||
// }
|
||||
String filterCompanyStr = queryU8CEntityUtil.queryBdDefDocByListPk();
|
||||
if(filterCompanyStr.contains(header.getCompanyCode().trim())){
|
||||
continue;
|
||||
}
|
||||
//cdispatcherid--收发类别,U8_RECEIPT_TYPE 0106 组装入库
|
||||
|
|
|
@ -245,7 +245,11 @@ public class AdjustOutPluginInitializer extends PluginBaseEntity {
|
|||
for (StockoutOrderSearchResponse.StockoutOrder stockoutOrder : stockoutOrders) {
|
||||
StockoutOrderSearchResponse.StockoutOrder.StockoutH header = stockoutOrder.getHeader();
|
||||
//过滤"NMNS"\"YNS"\"HJ"
|
||||
if("NMNS".equals(header.getCompanyCode())||"YNS".equals(header.getCompanyCode())||"HJ".equals(header.getCompanyCode())){
|
||||
// if("NMNS".equals(header.getCompanyCode())||"YNS".equals(header.getCompanyCode())||"HJ".equals(header.getCompanyCode())){
|
||||
// continue;
|
||||
// }
|
||||
String filterCompanyStr = queryU8CEntityUtil.queryBdDefDocByListPk();
|
||||
if(filterCompanyStr.contains(header.getCompanyCode().trim())){
|
||||
continue;
|
||||
}
|
||||
String rootAppPk = header.getCode();
|
||||
|
|
|
@ -331,7 +331,11 @@ public class RefundOnlyPluginInitializerToB extends PluginBaseEntity {
|
|||
RerturnGoodsOrderSearchHeader header = returnGoodsOrder.getHeader();
|
||||
|
||||
//过滤"NMNS"\"YNS"\"HJ"
|
||||
if ("NMNS".equals(header.getCompanyCode()) || "YNS".equals(header.getCompanyCode()) || "HJ".equals(header.getCompanyCode())) {
|
||||
// if ("NMNS".equals(header.getCompanyCode()) || "YNS".equals(header.getCompanyCode()) || "HJ".equals(header.getCompanyCode())) {
|
||||
// continue;
|
||||
// }
|
||||
String filterCompanyStr = queryU8CEntityUtil.queryBdDefDocByListPk();
|
||||
if(filterCompanyStr.contains(header.getCompanyCode().trim())){
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -750,7 +754,12 @@ public class RefundOnlyPluginInitializerToB extends PluginBaseEntity {
|
|||
|
||||
//zyx19 ofs单号
|
||||
String ofsOrdersCode = vv.stream().map(RerturnGoodsOrderSearchDetails::getReturnOrderCode).filter(Objects::nonNull).collect(Collectors.joining(","));
|
||||
parentvo.setZyx19(ofsOrdersCode);
|
||||
if(ofsOrdersCode.length()>=1000){
|
||||
parentvo.setZyx19(ofsOrdersCode.substring(0,1000));
|
||||
}else {
|
||||
parentvo.setZyx19(ofsOrdersCode);
|
||||
}
|
||||
// parentvo.setZyx19(ofsOrdersCode);
|
||||
|
||||
//推送
|
||||
arapDjzbVO.setParentvo(parentvo);
|
||||
|
|
|
@ -333,7 +333,11 @@ public class RefundOnlyPluginInitializerToC extends PluginBaseEntity {
|
|||
RerturnGoodsOrderSearchHeader header = returnGoodsOrder.getHeader();
|
||||
|
||||
//过滤"NMNS"\"YNS"\"HJ"
|
||||
if ("NMNS".equals(header.getCompanyCode()) || "YNS".equals(header.getCompanyCode()) || "HJ".equals(header.getCompanyCode())) {
|
||||
// if ("NMNS".equals(header.getCompanyCode()) || "YNS".equals(header.getCompanyCode()) || "HJ".equals(header.getCompanyCode())) {
|
||||
// continue;
|
||||
// }
|
||||
String filterCompanyStr = queryU8CEntityUtil.queryBdDefDocByListPk();
|
||||
if(filterCompanyStr.contains(header.getCompanyCode().trim())){
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -749,7 +753,12 @@ public class RefundOnlyPluginInitializerToC extends PluginBaseEntity {
|
|||
|
||||
//zyx19 ofs单号
|
||||
String ofsOrdersCode = vv.stream().map(RerturnGoodsOrderSearchDetails::getReturnOrderCode).filter(Objects::nonNull).collect(Collectors.joining(","));
|
||||
parentvo.setZyx19(ofsOrdersCode);
|
||||
if(ofsOrdersCode.length()>=1000){
|
||||
parentvo.setZyx19(ofsOrdersCode.substring(0,1000));
|
||||
}else {
|
||||
parentvo.setZyx19(ofsOrdersCode);
|
||||
}
|
||||
// parentvo.setZyx19(ofsOrdersCode);
|
||||
|
||||
//推送
|
||||
arapDjzbVO.setParentvo(parentvo);
|
||||
|
|
|
@ -268,7 +268,11 @@ public class TransferInPluginInitializer extends PluginBaseEntity {
|
|||
for (OFSReceiptConfirmSearchResponse.Order order : orders) {
|
||||
OFSReceiptConfirmSearchResponse.Header header = order.getHeader();
|
||||
//过滤"NMNS"\"YNS"\"HJ"
|
||||
if (FILTER_CORP_LIST.contains(header.getCompanyCode())) {
|
||||
// if (FILTER_CORP_LIST.contains(header.getCompanyCode())) {
|
||||
// continue;
|
||||
// }
|
||||
String filterCompanyStr = queryU8CEntityUtil.queryBdDefDocByListPk();
|
||||
if(filterCompanyStr.contains(header.getCompanyCode().trim())){
|
||||
continue;
|
||||
}
|
||||
String rootAppPk = header.getCode() + "_" + header.getId();
|
||||
|
|
|
@ -252,7 +252,11 @@ public class TransferOutPluginInitializer extends PluginBaseEntity {
|
|||
for (StockoutOrderSearchResponse.StockoutOrder stockoutOrder : transferOutOrder) {
|
||||
StockoutOrderSearchResponse.StockoutOrder.StockoutH header = stockoutOrder.getHeader();
|
||||
//过滤"NMNS"\"YNS"\"HJ"
|
||||
if ("NMNS".equals(header.getCompanyCode()) || "YNS".equals(header.getCompanyCode()) || "HJ".equals(header.getCompanyCode())) {
|
||||
// if ("NMNS".equals(header.getCompanyCode()) || "YNS".equals(header.getCompanyCode()) || "HJ".equals(header.getCompanyCode())) {
|
||||
// continue;
|
||||
// }
|
||||
String filterCompanyStr = queryU8CEntityUtil.queryBdDefDocByListPk();
|
||||
if(filterCompanyStr.contains(header.getCompanyCode().trim())){
|
||||
continue;
|
||||
}
|
||||
String rootAppPk = header.getCode();
|
||||
|
|
Loading…
Reference in New Issue