feat: jdk编译版本调整

dev-deployment
岑溪 2026-06-29 14:22:59 +08:00
parent 49ea218562
commit abeba51042
2 changed files with 3 additions and 6 deletions

View File

@ -46,10 +46,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>11</source>
<target>11</target>
</configuration>
</plugin>
</plugins>
</build>

View File

@ -1,5 +1,6 @@
package org.qinan.safetyeval.app.executor;
import org.apache.commons.lang3.StringUtils;
import org.qinan.safetyeval.client.api.OrgQualificationApi;
import org.qinan.safetyeval.client.dto.PageResponse;
import org.qinan.safetyeval.client.dto.SingleResponse;
@ -113,10 +114,10 @@ public class OrgQualificationExecutor implements OrgQualificationApi {
/** licenseTypeCode 可能为空(如营业执照),分组键回退到 licenseTypeName */
private String resolveLicenseGroupKey(OrgQualificationCO co) {
if (co.getLicenseTypeCode() != null && !co.getLicenseTypeCode().isBlank()) {
if (StringUtils.isNotBlank(co.getLicenseTypeCode())) {
return co.getLicenseTypeCode();
}
if (co.getLicenseTypeName() != null && !co.getLicenseTypeName().isBlank()) {
if (StringUtils.isNotBlank(co.getLicenseTypeName())) {
return co.getLicenseTypeName();
}
return "default";