修改督导选择逻辑&修改证照默认值获取逻辑

This commit is contained in:
guohb
2024-05-27 16:44:04 +08:00
parent b5e124eb70
commit 18dabff82b
8 changed files with 81 additions and 6 deletions

View File

@@ -174,7 +174,7 @@ public class SubmitLicenseResponse {
submitLicenseResponse = new SubmitLicenseResponse();
}
GetStoreInfoByCodeResponse.StoreDocument storeDocument = storeInfoCode.getData().getStoreDocument();
boolean storeBusinessValidPeriod = storeDocument.getStoreBusinessValidPeriod().equals("9");
boolean storeBusinessValidPeriod = "9".equals(storeDocument.getStoreBusinessValidPeriod());
submitLicenseResponse.setLicenseType(LicenseTypeEnum.matchName(storeDocument.getStoreBusinessType()).getCode());
submitLicenseResponse.setLicenseLegalPerson(storeDocument.getStoreDirector());
submitLicenseResponse.setIssueTime(DateUtil.parseDate(storeDocument.getStoreBusinessDate()));