feat: jdk编译版本调整
parent
49ea218562
commit
abeba51042
|
|
@ -46,10 +46,6 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<configuration>
|
|
||||||
<source>11</source>
|
|
||||||
<target>11</target>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
package org.qinan.safetyeval.app.executor;
|
package org.qinan.safetyeval.app.executor;
|
||||||
|
|
||||||
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.qinan.safetyeval.client.api.OrgQualificationApi;
|
import org.qinan.safetyeval.client.api.OrgQualificationApi;
|
||||||
import org.qinan.safetyeval.client.dto.PageResponse;
|
import org.qinan.safetyeval.client.dto.PageResponse;
|
||||||
import org.qinan.safetyeval.client.dto.SingleResponse;
|
import org.qinan.safetyeval.client.dto.SingleResponse;
|
||||||
|
|
@ -113,10 +114,10 @@ public class OrgQualificationExecutor implements OrgQualificationApi {
|
||||||
|
|
||||||
/** licenseTypeCode 可能为空(如营业执照),分组键回退到 licenseTypeName */
|
/** licenseTypeCode 可能为空(如营业执照),分组键回退到 licenseTypeName */
|
||||||
private String resolveLicenseGroupKey(OrgQualificationCO co) {
|
private String resolveLicenseGroupKey(OrgQualificationCO co) {
|
||||||
if (co.getLicenseTypeCode() != null && !co.getLicenseTypeCode().isBlank()) {
|
if (StringUtils.isNotBlank(co.getLicenseTypeCode())) {
|
||||||
return co.getLicenseTypeCode();
|
return co.getLicenseTypeCode();
|
||||||
}
|
}
|
||||||
if (co.getLicenseTypeName() != null && !co.getLicenseTypeName().isBlank()) {
|
if (StringUtils.isNotBlank(co.getLicenseTypeName())) {
|
||||||
return co.getLicenseTypeName();
|
return co.getLicenseTypeName();
|
||||||
}
|
}
|
||||||
return "default";
|
return "default";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue