修复bug:45560,根据发运组编码进行配置匹配。

uat-temp-nht-2503100000-45560
jason 2 months ago
parent 7d1d6149fc
commit 4742fb1583

@ -789,8 +789,8 @@ public class MesSortShippingCheckService implements IMesSortShippingCheckService
if (StringUtil.isEmpty(detail.getVin())) {
MesPcnException.throwMesBusiException("发运单【%s】零件号【%s】vin号为空请检查数据", orderManagement.getShippingCode(), detail.getPartNo());
}
MesConfig config = mesConfigService.getCfgValueByCode(orderManagement.getOrganizeCode(), MesPcnExtConstWords.MES_SHIPPING_QUEUE_SAVE_CFG);
if (config == null || StringUtils.isEmpty(config.getCfgValue()) || !config.getCfgValue().equals(CommonEnumUtil.TRUE_OR_FALSE.TRUE.getValueStr())) {
final boolean matchCfgValue = mesConfigService.checkCfgValueIsContainItem(orderManagement.getOrganizeCode(), MesPcnExtConstWords.MES_SHIPPING_QUEUE_SAVE_CFG, null, null, ",", orderManagement.getShippingGroupCode());
if (!matchCfgValue) {
return;
}

Loading…
Cancel
Save