oms配置表添加shipperid;
This commit is contained in:
+2
-2
@@ -50,8 +50,8 @@ public class SysTableConfigServiceImpl extends ServiceImpl<SysTableConfigMapper,
|
||||
if (organizationId == null || StringUtils.isBlank(key)) {
|
||||
throw new ServiceException("组织 ID 和键不能为空");
|
||||
}
|
||||
if (warehouseId == null) {
|
||||
throw new ServiceException("仓库 ID 不能为空");
|
||||
if (warehouseId == null && shipperId == null) {
|
||||
throw new ServiceException("仓库或客户 ID 不能为空");
|
||||
}
|
||||
return sysTableConfigMapper.getByOrgIdAndKey(organizationId, key, warehouseId, shipperId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user