资质申请, 基本信息

dev-tmp1
zhanglei 2026-08-08 15:08:39 +08:00
parent 6be9868207
commit 628aa5d24f
23 changed files with 189 additions and 39 deletions

View File

@ -114,8 +114,11 @@ public class QualFilingChangeExecutor implements QualFilingChangeApi {
entity.setOfficeAddress(cmd.getOfficeAddress()); entity.setOfficeAddress(cmd.getOfficeAddress());
entity.setCreditCode(cmd.getCreditCode()); entity.setCreditCode(cmd.getCreditCode());
entity.setQualCertNo(cmd.getQualCertNo()); entity.setQualCertNo(cmd.getQualCertNo());
entity.setLegalRepresentative(cmd.getLegalRepresentative());
entity.setLegalPersonPhone(cmd.getLegalPersonPhone()); entity.setLegalPersonPhone(cmd.getLegalPersonPhone());
entity.setContactName(cmd.getContactName());
entity.setContactPhone(cmd.getContactPhone()); entity.setContactPhone(cmd.getContactPhone());
entity.setFax(cmd.getFax());
entity.setInfoDisclosureUrl(cmd.getInfoDisclosureUrl()); entity.setInfoDisclosureUrl(cmd.getInfoDisclosureUrl());
entity.setFixedAssetAmount(cmd.getFixedAssetAmount()); entity.setFixedAssetAmount(cmd.getFixedAssetAmount());
entity.setArchiveRoomArea(cmd.getArchiveRoomArea()); entity.setArchiveRoomArea(cmd.getArchiveRoomArea());
@ -152,8 +155,11 @@ public class QualFilingChangeExecutor implements QualFilingChangeApi {
entity.setOfficeAddress(cmd.getOfficeAddress()); entity.setOfficeAddress(cmd.getOfficeAddress());
entity.setCreditCode(cmd.getCreditCode()); entity.setCreditCode(cmd.getCreditCode());
entity.setQualCertNo(cmd.getQualCertNo()); entity.setQualCertNo(cmd.getQualCertNo());
entity.setLegalRepresentative(cmd.getLegalRepresentative());
entity.setLegalPersonPhone(cmd.getLegalPersonPhone()); entity.setLegalPersonPhone(cmd.getLegalPersonPhone());
entity.setContactName(cmd.getContactName());
entity.setContactPhone(cmd.getContactPhone()); entity.setContactPhone(cmd.getContactPhone());
entity.setFax(cmd.getFax());
entity.setInfoDisclosureUrl(cmd.getInfoDisclosureUrl()); entity.setInfoDisclosureUrl(cmd.getInfoDisclosureUrl());
entity.setFixedAssetAmount(cmd.getFixedAssetAmount()); entity.setFixedAssetAmount(cmd.getFixedAssetAmount());
entity.setArchiveRoomArea(cmd.getArchiveRoomArea()); entity.setArchiveRoomArea(cmd.getArchiveRoomArea());
@ -220,7 +226,6 @@ public class QualFilingChangeExecutor implements QualFilingChangeApi {
QualFilingChangeCountDO::getChangeCount)); QualFilingChangeCountDO::getChangeCount));
records.forEach(co -> { records.forEach(co -> {
co.setChangeCount(countMap.getOrDefault(co.getFilingId(), 1L) - 1); co.setChangeCount(countMap.getOrDefault(co.getFilingId(), 1L) - 1);
co.setFilingNo(String.valueOf(co.getId()));
}); });
} }
@ -619,9 +624,13 @@ public class QualFilingChangeExecutor implements QualFilingChangeApi {
|| !Objects.equals(exist.getRegisterAddress(), newEntity.getRegisterAddress()) || !Objects.equals(exist.getRegisterAddress(), newEntity.getRegisterAddress())
|| !Objects.equals(exist.getOfficeAddress(), newEntity.getOfficeAddress()) || !Objects.equals(exist.getOfficeAddress(), newEntity.getOfficeAddress())
|| !Objects.equals(exist.getCreditCode(), newEntity.getCreditCode()) || !Objects.equals(exist.getCreditCode(), newEntity.getCreditCode())
|| !Objects.equals(exist.getFilingNo(), newEntity.getFilingNo())
|| !Objects.equals(exist.getQualCertNo(), newEntity.getQualCertNo()) || !Objects.equals(exist.getQualCertNo(), newEntity.getQualCertNo())
|| !Objects.equals(exist.getLegalRepresentative(), newEntity.getLegalRepresentative())
|| !Objects.equals(exist.getLegalPersonPhone(), newEntity.getLegalPersonPhone()) || !Objects.equals(exist.getLegalPersonPhone(), newEntity.getLegalPersonPhone())
|| !Objects.equals(exist.getContactName(), newEntity.getContactName())
|| !Objects.equals(exist.getContactPhone(), newEntity.getContactPhone()) || !Objects.equals(exist.getContactPhone(), newEntity.getContactPhone())
|| !Objects.equals(exist.getFax(), newEntity.getFax())
|| !Objects.equals(exist.getInfoDisclosureUrl(), newEntity.getInfoDisclosureUrl()) || !Objects.equals(exist.getInfoDisclosureUrl(), newEntity.getInfoDisclosureUrl())
|| !Objects.equals(exist.getFixedAssetAmount(), newEntity.getFixedAssetAmount()) || !Objects.equals(exist.getFixedAssetAmount(), newEntity.getFixedAssetAmount())
|| !Objects.equals(exist.getArchiveRoomArea(), newEntity.getArchiveRoomArea()) || !Objects.equals(exist.getArchiveRoomArea(), newEntity.getArchiveRoomArea())
@ -726,8 +735,11 @@ public class QualFilingChangeExecutor implements QualFilingChangeApi {
co.setOfficeAddress(entity.getOfficeAddress()); co.setOfficeAddress(entity.getOfficeAddress());
co.setCreditCode(entity.getCreditCode()); co.setCreditCode(entity.getCreditCode());
co.setQualCertNo(entity.getQualCertNo()); co.setQualCertNo(entity.getQualCertNo());
co.setLegalRepresentative(entity.getLegalRepresentative());
co.setLegalPersonPhone(entity.getLegalPersonPhone()); co.setLegalPersonPhone(entity.getLegalPersonPhone());
co.setContactName(entity.getContactName());
co.setContactPhone(entity.getContactPhone()); co.setContactPhone(entity.getContactPhone());
co.setFax(entity.getFax());
co.setInfoDisclosureUrl(entity.getInfoDisclosureUrl()); co.setInfoDisclosureUrl(entity.getInfoDisclosureUrl());
co.setFixedAssetAmount(entity.getFixedAssetAmount()); co.setFixedAssetAmount(entity.getFixedAssetAmount());
co.setArchiveRoomArea(entity.getArchiveRoomArea()); co.setArchiveRoomArea(entity.getArchiveRoomArea());

View File

@ -92,8 +92,11 @@ public class QualFilingExecutor implements QualFilingApi {
entity.setOfficeAddress(cmd.getOfficeAddress()); entity.setOfficeAddress(cmd.getOfficeAddress());
entity.setCreditCode(cmd.getCreditCode()); entity.setCreditCode(cmd.getCreditCode());
entity.setQualCertNo(cmd.getQualCertNo()); entity.setQualCertNo(cmd.getQualCertNo());
entity.setLegalRepresentative(cmd.getLegalRepresentative());
entity.setLegalPersonPhone(cmd.getLegalPersonPhone()); entity.setLegalPersonPhone(cmd.getLegalPersonPhone());
entity.setContactName(cmd.getContactName());
entity.setContactPhone(cmd.getContactPhone()); entity.setContactPhone(cmd.getContactPhone());
entity.setFax(cmd.getFax());
entity.setInfoDisclosureUrl(cmd.getInfoDisclosureUrl()); entity.setInfoDisclosureUrl(cmd.getInfoDisclosureUrl());
entity.setFixedAssetAmount(cmd.getFixedAssetAmount()); entity.setFixedAssetAmount(cmd.getFixedAssetAmount());
entity.setArchiveRoomArea(cmd.getArchiveRoomArea()); entity.setArchiveRoomArea(cmd.getArchiveRoomArea());
@ -318,8 +321,11 @@ public class QualFilingExecutor implements QualFilingApi {
co.setOfficeAddress(entity.getOfficeAddress()); co.setOfficeAddress(entity.getOfficeAddress());
co.setCreditCode(entity.getCreditCode()); co.setCreditCode(entity.getCreditCode());
co.setQualCertNo(entity.getQualCertNo()); co.setQualCertNo(entity.getQualCertNo());
co.setLegalRepresentative(entity.getLegalRepresentative());
co.setLegalPersonPhone(entity.getLegalPersonPhone()); co.setLegalPersonPhone(entity.getLegalPersonPhone());
co.setContactName(entity.getContactName());
co.setContactPhone(entity.getContactPhone()); co.setContactPhone(entity.getContactPhone());
co.setFax(entity.getFax());
co.setInfoDisclosureUrl(entity.getInfoDisclosureUrl()); co.setInfoDisclosureUrl(entity.getInfoDisclosureUrl());
co.setFixedAssetAmount(entity.getFixedAssetAmount()); co.setFixedAssetAmount(entity.getFixedAssetAmount());
co.setArchiveRoomArea(entity.getArchiveRoomArea()); co.setArchiveRoomArea(entity.getArchiveRoomArea());

View File

@ -291,13 +291,7 @@ public class QualFilingOrchestrator {
PageResult<QualFilingEntity> pageResult = qualFilingGateway.page(domainQuery); PageResult<QualFilingEntity> pageResult = qualFilingGateway.page(domainQuery);
Map<Long, QualFilingReviewEntity> reviewMap = loadReviewMap(pageResult.getRecords()); Map<Long, QualFilingReviewEntity> reviewMap = loadReviewMap(pageResult.getRecords());
List<QualFilingCO> records = pageResult.getRecords().stream() List<QualFilingCO> records = pageResult.getRecords().stream()
.map(entity -> { .map(entity -> toListCO(entity, reviewMap))
QualFilingCO listCO = toListCO(entity, reviewMap);
if (listCO != null) {
listCO.setFilingNo(String.valueOf(entity.getId()));
}
return listCO;
})
.collect(Collectors.toList()); .collect(Collectors.toList());
return PageResult.of(records, pageResult.getTotal(), pageResult.getPageNum(), pageResult.getPageSize()); return PageResult.of(records, pageResult.getTotal(), pageResult.getPageNum(), pageResult.getPageSize());
} }
@ -611,9 +605,13 @@ public class QualFilingOrchestrator {
origin.setRegisterAddress(draft.getRegisterAddress()); origin.setRegisterAddress(draft.getRegisterAddress());
origin.setOfficeAddress(draft.getOfficeAddress()); origin.setOfficeAddress(draft.getOfficeAddress());
origin.setCreditCode(draft.getCreditCode()); origin.setCreditCode(draft.getCreditCode());
origin.setFilingNo(draft.getFilingNo());
origin.setQualCertNo(draft.getQualCertNo()); origin.setQualCertNo(draft.getQualCertNo());
origin.setLegalRepresentative(draft.getLegalRepresentative());
origin.setLegalPersonPhone(draft.getLegalPersonPhone()); origin.setLegalPersonPhone(draft.getLegalPersonPhone());
origin.setContactName(draft.getContactName());
origin.setContactPhone(draft.getContactPhone()); origin.setContactPhone(draft.getContactPhone());
origin.setFax(draft.getFax());
origin.setInfoDisclosureUrl(draft.getInfoDisclosureUrl()); origin.setInfoDisclosureUrl(draft.getInfoDisclosureUrl());
origin.setFixedAssetAmount(draft.getFixedAssetAmount()); origin.setFixedAssetAmount(draft.getFixedAssetAmount());
origin.setArchiveRoomArea(draft.getArchiveRoomArea()); origin.setArchiveRoomArea(draft.getArchiveRoomArea());
@ -640,8 +638,11 @@ public class QualFilingOrchestrator {
change.setOfficeAddress(draft.getOfficeAddress()); change.setOfficeAddress(draft.getOfficeAddress());
change.setCreditCode(draft.getCreditCode()); change.setCreditCode(draft.getCreditCode());
change.setQualCertNo(draft.getQualCertNo()); change.setQualCertNo(draft.getQualCertNo());
change.setLegalRepresentative(draft.getLegalRepresentative());
change.setLegalPersonPhone(draft.getLegalPersonPhone()); change.setLegalPersonPhone(draft.getLegalPersonPhone());
change.setContactName(draft.getContactName());
change.setContactPhone(draft.getContactPhone()); change.setContactPhone(draft.getContactPhone());
change.setFax(draft.getFax());
change.setInfoDisclosureUrl(draft.getInfoDisclosureUrl()); change.setInfoDisclosureUrl(draft.getInfoDisclosureUrl());
change.setFixedAssetAmount(draft.getFixedAssetAmount()); change.setFixedAssetAmount(draft.getFixedAssetAmount());
change.setArchiveRoomArea(draft.getArchiveRoomArea()); change.setArchiveRoomArea(draft.getArchiveRoomArea());
@ -695,12 +696,21 @@ public class QualFilingOrchestrator {
if (cmd.getQualCertNo() != null) { if (cmd.getQualCertNo() != null) {
entity.setQualCertNo(cmd.getQualCertNo()); entity.setQualCertNo(cmd.getQualCertNo());
} }
if (cmd.getLegalRepresentative() != null) {
entity.setLegalRepresentative(cmd.getLegalRepresentative());
}
if (cmd.getLegalPersonPhone() != null) { if (cmd.getLegalPersonPhone() != null) {
entity.setLegalPersonPhone(cmd.getLegalPersonPhone()); entity.setLegalPersonPhone(cmd.getLegalPersonPhone());
} }
if (cmd.getContactName() != null) {
entity.setContactName(cmd.getContactName());
}
if (cmd.getContactPhone() != null) { if (cmd.getContactPhone() != null) {
entity.setContactPhone(cmd.getContactPhone()); entity.setContactPhone(cmd.getContactPhone());
} }
if (cmd.getFax() != null) {
entity.setFax(cmd.getFax());
}
if (cmd.getInfoDisclosureUrl() != null) { if (cmd.getInfoDisclosureUrl() != null) {
entity.setInfoDisclosureUrl(cmd.getInfoDisclosureUrl()); entity.setInfoDisclosureUrl(cmd.getInfoDisclosureUrl());
} }
@ -762,8 +772,11 @@ public class QualFilingOrchestrator {
co.setOfficeAddress(entity.getOfficeAddress()); co.setOfficeAddress(entity.getOfficeAddress());
co.setCreditCode(entity.getCreditCode()); co.setCreditCode(entity.getCreditCode());
co.setQualCertNo(entity.getQualCertNo()); co.setQualCertNo(entity.getQualCertNo());
co.setLegalRepresentative(entity.getLegalRepresentative());
co.setLegalPersonPhone(entity.getLegalPersonPhone()); co.setLegalPersonPhone(entity.getLegalPersonPhone());
co.setContactName(entity.getContactName());
co.setContactPhone(entity.getContactPhone()); co.setContactPhone(entity.getContactPhone());
co.setFax(entity.getFax());
co.setInfoDisclosureUrl(entity.getInfoDisclosureUrl()); co.setInfoDisclosureUrl(entity.getInfoDisclosureUrl());
co.setFixedAssetAmount(entity.getFixedAssetAmount()); co.setFixedAssetAmount(entity.getFixedAssetAmount());
co.setArchiveRoomArea(entity.getArchiveRoomArea()); co.setArchiveRoomArea(entity.getArchiveRoomArea());

View File

@ -63,9 +63,13 @@ public class QualFilingChangeDiffer {
|| !Objects.equals(origin.getRegisterAddress(), draft.getRegisterAddress()) || !Objects.equals(origin.getRegisterAddress(), draft.getRegisterAddress())
|| !Objects.equals(origin.getOfficeAddress(), draft.getOfficeAddress()) || !Objects.equals(origin.getOfficeAddress(), draft.getOfficeAddress())
|| !Objects.equals(origin.getCreditCode(), draft.getCreditCode()) || !Objects.equals(origin.getCreditCode(), draft.getCreditCode())
|| !Objects.equals(origin.getFilingNo(), draft.getFilingNo())
|| !Objects.equals(origin.getQualCertNo(), draft.getQualCertNo()) || !Objects.equals(origin.getQualCertNo(), draft.getQualCertNo())
|| !Objects.equals(origin.getLegalRepresentative(), draft.getLegalRepresentative())
|| !Objects.equals(origin.getLegalPersonPhone(), draft.getLegalPersonPhone()) || !Objects.equals(origin.getLegalPersonPhone(), draft.getLegalPersonPhone())
|| !Objects.equals(origin.getContactName(), draft.getContactName())
|| !Objects.equals(origin.getContactPhone(), draft.getContactPhone()) || !Objects.equals(origin.getContactPhone(), draft.getContactPhone())
|| !Objects.equals(origin.getFax(), draft.getFax())
|| !Objects.equals(origin.getInfoDisclosureUrl(), draft.getInfoDisclosureUrl()) || !Objects.equals(origin.getInfoDisclosureUrl(), draft.getInfoDisclosureUrl())
|| !Objects.equals(origin.getFixedAssetAmount(), draft.getFixedAssetAmount()) || !Objects.equals(origin.getFixedAssetAmount(), draft.getFixedAssetAmount())
|| !Objects.equals(origin.getArchiveRoomArea(), draft.getArchiveRoomArea()) || !Objects.equals(origin.getArchiveRoomArea(), draft.getArchiveRoomArea())

View File

@ -34,7 +34,7 @@ public class QualFilingCO {
@ApiModelProperty(value = "备案单位类型名称") @ApiModelProperty(value = "备案单位类型名称")
private String filingUnitTypeName; private String filingUnitTypeName;
@ApiModelProperty(value = "备案编号") @ApiModelProperty(value = "资质证书编号")
private String filingNo; private String filingNo;
@ApiModelProperty(value = "经营范围") @ApiModelProperty(value = "经营范围")
@ -49,15 +49,24 @@ public class QualFilingCO {
@ApiModelProperty(value = "统一社会信用代码") @ApiModelProperty(value = "统一社会信用代码")
private String creditCode; private String creditCode;
@ApiModelProperty(value = "资质证书编号") @ApiModelProperty(value = "资质证书编号(旧字段,保留)")
private String qualCertNo; private String qualCertNo;
@ApiModelProperty(value = "法定代表人")
private String legalRepresentative;
@ApiModelProperty(value = "法定代表人电话") @ApiModelProperty(value = "法定代表人电话")
private String legalPersonPhone; private String legalPersonPhone;
@ApiModelProperty(value = "联系人")
private String contactName;
@ApiModelProperty(value = "联系电话") @ApiModelProperty(value = "联系电话")
private String contactPhone; private String contactPhone;
@ApiModelProperty(value = "传真")
private String fax;
@ApiModelProperty(value = "信息公开网址") @ApiModelProperty(value = "信息公开网址")
private String infoDisclosureUrl; private String infoDisclosureUrl;

View File

@ -41,7 +41,7 @@ public class QualFilingChangeCO {
@ApiModelProperty(value = "备案单位类型名称") @ApiModelProperty(value = "备案单位类型名称")
private String filingUnitTypeName; private String filingUnitTypeName;
@ApiModelProperty(value = "备案编号") @ApiModelProperty(value = "资质证书编号")
private String filingNo; private String filingNo;
@ApiModelProperty(value = "经营范围") @ApiModelProperty(value = "经营范围")
@ -56,15 +56,24 @@ public class QualFilingChangeCO {
@ApiModelProperty(value = "统一社会信用代码") @ApiModelProperty(value = "统一社会信用代码")
private String creditCode; private String creditCode;
@ApiModelProperty(value = "资质证书编号") @ApiModelProperty(value = "资质证书编号(旧字段,保留)")
private String qualCertNo; private String qualCertNo;
@ApiModelProperty(value = "法定代表人")
private String legalRepresentative;
@ApiModelProperty(value = "法定代表人电话") @ApiModelProperty(value = "法定代表人电话")
private String legalPersonPhone; private String legalPersonPhone;
@ApiModelProperty(value = "联系人")
private String contactName;
@ApiModelProperty(value = "联系电话") @ApiModelProperty(value = "联系电话")
private String contactPhone; private String contactPhone;
@ApiModelProperty(value = "传真")
private String fax;
@ApiModelProperty(value = "信息公开网址") @ApiModelProperty(value = "信息公开网址")
private String infoDisclosureUrl; private String infoDisclosureUrl;

View File

@ -58,7 +58,7 @@ public class QualFilingChangeOrgCO {
@ApiModelProperty(value = "备案单位类型名称") @ApiModelProperty(value = "备案单位类型名称")
private String filingUnitTypeName; private String filingUnitTypeName;
@ApiModelProperty(value = "备案编号") @ApiModelProperty(value = "资质证书编号")
private String filingNo; private String filingNo;
@ApiModelProperty(value = "经营范围") @ApiModelProperty(value = "经营范围")
@ -73,15 +73,24 @@ public class QualFilingChangeOrgCO {
@ApiModelProperty(value = "统一社会信用代码") @ApiModelProperty(value = "统一社会信用代码")
private String creditCode; private String creditCode;
@ApiModelProperty(value = "资质证书编号") @ApiModelProperty(value = "资质证书编号(旧字段,保留)")
private String qualCertNo; private String qualCertNo;
@ApiModelProperty(value = "法定代表人")
private String legalRepresentative;
@ApiModelProperty(value = "法定代表人电话") @ApiModelProperty(value = "法定代表人电话")
private String legalPersonPhone; private String legalPersonPhone;
@ApiModelProperty(value = "联系人")
private String contactName;
@ApiModelProperty(value = "联系电话") @ApiModelProperty(value = "联系电话")
private String contactPhone; private String contactPhone;
@ApiModelProperty(value = "传真")
private String fax;
@ApiModelProperty(value = "信息公开网址") @ApiModelProperty(value = "信息公开网址")
private String infoDisclosureUrl; private String infoDisclosureUrl;

View File

@ -32,7 +32,7 @@ public class QualFilingAddCmd {
@ApiModelProperty(value = "备案单位类型名称") @ApiModelProperty(value = "备案单位类型名称")
private String filingUnitTypeName; private String filingUnitTypeName;
@ApiModelProperty(value = "备案编号-暂时使用id") @ApiModelProperty(value = "资质证书编号")
private String filingNo; private String filingNo;
@ApiModelProperty(value = "备案安全评价业务范围") @ApiModelProperty(value = "备案安全评价业务范围")
@ -47,15 +47,24 @@ public class QualFilingAddCmd {
@ApiModelProperty(value = "统一社会信用代码") @ApiModelProperty(value = "统一社会信用代码")
private String creditCode; private String creditCode;
@ApiModelProperty(value = "资质证书编号") @ApiModelProperty(value = "资质证书编号(旧字段,保留)")
private String qualCertNo; private String qualCertNo;
@ApiModelProperty(value = "法定代表人")
private String legalRepresentative;
@ApiModelProperty(value = "法人代表及电话") @ApiModelProperty(value = "法人代表及电话")
private String legalPersonPhone; private String legalPersonPhone;
@ApiModelProperty(value = "联系人")
private String contactName;
@ApiModelProperty(value = "联系人及电话") @ApiModelProperty(value = "联系人及电话")
private String contactPhone; private String contactPhone;
@ApiModelProperty(value = "传真")
private String fax;
@ApiModelProperty(value = "信息公开网址") @ApiModelProperty(value = "信息公开网址")
private String infoDisclosureUrl; private String infoDisclosureUrl;

View File

@ -50,8 +50,8 @@ public class QualFilingChangeAddCmd {
@Size(max = 128, message = "备案单位类型名称不能超过128个字符") @Size(max = 128, message = "备案单位类型名称不能超过128个字符")
private String filingUnitTypeName; private String filingUnitTypeName;
@ApiModelProperty(value = "备案编号") @ApiModelProperty(value = "资质证书编号")
@Size(max = 64, message = "备案编号不能超过64个字符") @Size(max = 64, message = "资质证书编号不能超过64个字符")
private String filingNo; private String filingNo;
@ApiModelProperty(value = "备案安全评价业务范围") @ApiModelProperty(value = "备案安全评价业务范围")
@ -69,18 +69,30 @@ public class QualFilingChangeAddCmd {
@Size(max = 64, message = "统一社会信用代码不能超过64个字符") @Size(max = 64, message = "统一社会信用代码不能超过64个字符")
private String creditCode; private String creditCode;
@ApiModelProperty(value = "资质证书编号") @ApiModelProperty(value = "资质证书编号(旧字段,保留)")
@Size(max = 64, message = "资质证书编号不能超过64个字符") @Size(max = 64, message = "资质证书编号不能超过64个字符")
private String qualCertNo; private String qualCertNo;
@ApiModelProperty(value = "法定代表人")
@Size(max = 50, message = "法定代表人不能超过50个字符")
private String legalRepresentative;
@ApiModelProperty(value = "法人代表及电话") @ApiModelProperty(value = "法人代表及电话")
@Size(max = 12, message = "法人代表及电话不能超过12个字符") @Size(max = 12, message = "法人代表及电话不能超过12个字符")
private String legalPersonPhone; private String legalPersonPhone;
@ApiModelProperty(value = "联系人")
@Size(max = 50, message = "联系人不能超过50个字符")
private String contactName;
@ApiModelProperty(value = "联系人及电话") @ApiModelProperty(value = "联系人及电话")
@Size(max = 12, message = "联系人及电话不能超过12个字符") @Size(max = 12, message = "联系人及电话不能超过12个字符")
private String contactPhone; private String contactPhone;
@ApiModelProperty(value = "传真")
@Size(max = 20, message = "传真不能超过20个字符")
private String fax;
@ApiModelProperty(value = "信息公开网址") @ApiModelProperty(value = "信息公开网址")
@Size(max = 512, message = "信息公开网址不能超过512个字符") @Size(max = 512, message = "信息公开网址不能超过512个字符")
private String infoDisclosureUrl; private String infoDisclosureUrl;

View File

@ -35,7 +35,7 @@ public class QualFilingChangeModifyCmd {
@ApiModelProperty(value = "备案单位类型名称") @ApiModelProperty(value = "备案单位类型名称")
private String filingUnitTypeName; private String filingUnitTypeName;
@ApiModelProperty(value = "备案编号") @ApiModelProperty(value = "资质证书编号")
private String filingNo; private String filingNo;
@ApiModelProperty(value = "备案安全评价业务范围") @ApiModelProperty(value = "备案安全评价业务范围")
@ -50,15 +50,24 @@ public class QualFilingChangeModifyCmd {
@ApiModelProperty(value = "统一社会信用代码") @ApiModelProperty(value = "统一社会信用代码")
private String creditCode; private String creditCode;
@ApiModelProperty(value = "资质证书编号") @ApiModelProperty(value = "资质证书编号(旧字段,保留)")
private String qualCertNo; private String qualCertNo;
@ApiModelProperty(value = "法定代表人")
private String legalRepresentative;
@ApiModelProperty(value = "法人代表及电话") @ApiModelProperty(value = "法人代表及电话")
private String legalPersonPhone; private String legalPersonPhone;
@ApiModelProperty(value = "联系人")
private String contactName;
@ApiModelProperty(value = "联系人及电话") @ApiModelProperty(value = "联系人及电话")
private String contactPhone; private String contactPhone;
@ApiModelProperty(value = "传真")
private String fax;
@ApiModelProperty(value = "信息公开网址") @ApiModelProperty(value = "信息公开网址")
private String infoDisclosureUrl; private String infoDisclosureUrl;

View File

@ -16,7 +16,7 @@ public class QualFilingChangePageQuery extends BasePageQuery {
@ApiModelProperty(value = "单位id") @ApiModelProperty(value = "单位id")
private Long orgId; private Long orgId;
@ApiModelProperty(value = "备案编号") @ApiModelProperty(value = "资质证书编号")
private String filingNo; private String filingNo;
@ApiModelProperty(value = "备案单位") @ApiModelProperty(value = "备案单位")

View File

@ -31,7 +31,7 @@ public class QualFilingModifyCmd {
@ApiModelProperty(value = "备案单位类型名称") @ApiModelProperty(value = "备案单位类型名称")
private String filingUnitTypeName; private String filingUnitTypeName;
@ApiModelProperty(value = "备案编号") @ApiModelProperty(value = "资质证书编号")
private String filingNo; private String filingNo;
@ApiModelProperty(value = "备案安全评价业务范围") @ApiModelProperty(value = "备案安全评价业务范围")
@ -46,15 +46,24 @@ public class QualFilingModifyCmd {
@ApiModelProperty(value = "统一社会信用代码") @ApiModelProperty(value = "统一社会信用代码")
private String creditCode; private String creditCode;
@ApiModelProperty(value = "资质证书编号") @ApiModelProperty(value = "资质证书编号(旧字段,保留)")
private String qualCertNo; private String qualCertNo;
@ApiModelProperty(value = "法定代表人")
private String legalRepresentative;
@ApiModelProperty(value = "法人代表及电话") @ApiModelProperty(value = "法人代表及电话")
private String legalPersonPhone; private String legalPersonPhone;
@ApiModelProperty(value = "联系人")
private String contactName;
@ApiModelProperty(value = "联系人及电话") @ApiModelProperty(value = "联系人及电话")
private String contactPhone; private String contactPhone;
@ApiModelProperty(value = "传真")
private String fax;
@ApiModelProperty(value = "信息公开网址") @ApiModelProperty(value = "信息公开网址")
private String infoDisclosureUrl; private String infoDisclosureUrl;

View File

@ -16,7 +16,7 @@ public class QualFilingPageQuery extends BasePageQuery {
@ApiModelProperty(value = "单位id") @ApiModelProperty(value = "单位id")
private Long orgId; private Long orgId;
@ApiModelProperty(value = "备案编号") @ApiModelProperty(value = "资质证书编号")
private String filingNo; private String filingNo;
@ApiModelProperty(value = "备案单位") @ApiModelProperty(value = "备案单位")

View File

@ -74,7 +74,7 @@ public class QualFilingChangeEntity {
private String filingUnitTypeName; private String filingUnitTypeName;
/** /**
* *
*/ */
private String filingNo; private String filingNo;
@ -99,20 +99,35 @@ public class QualFilingChangeEntity {
private String creditCode; private String creditCode;
/** /**
* * ()
*/ */
private String qualCertNo; private String qualCertNo;
/**
*
*/
private String legalRepresentative;
/** /**
* *
*/ */
private String legalPersonPhone; private String legalPersonPhone;
/**
*
*/
private String contactName;
/** /**
* *
*/ */
private String contactPhone; private String contactPhone;
/**
*
*/
private String fax;
/** /**
* *
*/ */

View File

@ -34,7 +34,7 @@ public class QualFilingEntity {
/** 备案单位类型名称 */ /** 备案单位类型名称 */
private String filingUnitTypeName; private String filingUnitTypeName;
/** 备案编号 */ /** 资质证书编号 */
private String filingNo; private String filingNo;
/** 备案安全评价业务范围 */ /** 备案安全评价业务范围 */
@ -49,15 +49,24 @@ public class QualFilingEntity {
/** 统一社会信用代码 */ /** 统一社会信用代码 */
private String creditCode; private String creditCode;
/** 资质证书编号 */ /** 资质证书编号(旧字段,保留) */
private String qualCertNo; private String qualCertNo;
/** 法定代表人 */
private String legalRepresentative;
/** 法人代表及电话 */ /** 法人代表及电话 */
private String legalPersonPhone; private String legalPersonPhone;
/** 联系人 */
private String contactName;
/** 联系人及电话 */ /** 联系人及电话 */
private String contactPhone; private String contactPhone;
/** 传真 */
private String fax;
/** 信息公开网址 */ /** 信息公开网址 */
private String infoDisclosureUrl; private String infoDisclosureUrl;

View File

@ -25,7 +25,7 @@ public class QualFilingChangeQuery {
/** 备案申请ID */ /** 备案申请ID */
private Long filingId; private Long filingId;
/** 备案编号 */ /** 资质证书编号 */
private String filingNo; private String filingNo;
private Long id; private Long id;

View File

@ -25,7 +25,7 @@ public class QualFilingQuery {
/** 机构ID */ /** 机构ID */
private Long orgId; private Long orgId;
/** 备案编号 */ /** 资质证书编号 */
private String filingNo; private String filingNo;
/** 备案单位 */ /** 备案单位 */

View File

@ -33,8 +33,11 @@ public class QualFilingChangeDO {
private String officeAddress; private String officeAddress;
private String creditCode; private String creditCode;
private String qualCertNo; private String qualCertNo;
private String legalRepresentative;
private String legalPersonPhone; private String legalPersonPhone;
private String contactName;
private String contactPhone; private String contactPhone;
private String fax;
private String infoDisclosureUrl; private String infoDisclosureUrl;
private Long fixedAssetAmount; private Long fixedAssetAmount;
private BigDecimal archiveRoomArea; private BigDecimal archiveRoomArea;

View File

@ -29,8 +29,11 @@ public class QualFilingDO extends BaseDO {
private String officeAddress; private String officeAddress;
private String creditCode; private String creditCode;
private String qualCertNo; private String qualCertNo;
private String legalRepresentative;
private String legalPersonPhone; private String legalPersonPhone;
private String contactName;
private String contactPhone; private String contactPhone;
private String fax;
private String infoDisclosureUrl; private String infoDisclosureUrl;
private Long fixedAssetAmount; private Long fixedAssetAmount;
private BigDecimal archiveRoomArea; private BigDecimal archiveRoomArea;

View File

@ -122,7 +122,7 @@ public class QualFilingChangeGatewayImpl implements QualFilingChangeGateway {
wrapper.eq(QualFilingChangeDO::getFilingId, query.getFilingId()); wrapper.eq(QualFilingChangeDO::getFilingId, query.getFilingId());
} }
if (StringUtils.hasText(query.getFilingNo())) { if (StringUtils.hasText(query.getFilingNo())) {
wrapper.eq(QualFilingChangeDO::getId, query.getFilingNo()); wrapper.eq(QualFilingChangeDO::getFilingNo, query.getFilingNo());
} }
if (StringUtils.hasText(query.getFilingUnitName())) { if (StringUtils.hasText(query.getFilingUnitName())) {
@ -263,8 +263,11 @@ public class QualFilingChangeGatewayImpl implements QualFilingChangeGateway {
dataObject.setOfficeAddress(entity.getOfficeAddress()); dataObject.setOfficeAddress(entity.getOfficeAddress());
dataObject.setCreditCode(entity.getCreditCode()); dataObject.setCreditCode(entity.getCreditCode());
dataObject.setQualCertNo(entity.getQualCertNo()); dataObject.setQualCertNo(entity.getQualCertNo());
dataObject.setLegalRepresentative(entity.getLegalRepresentative());
dataObject.setLegalPersonPhone(entity.getLegalPersonPhone()); dataObject.setLegalPersonPhone(entity.getLegalPersonPhone());
dataObject.setContactName(entity.getContactName());
dataObject.setContactPhone(entity.getContactPhone()); dataObject.setContactPhone(entity.getContactPhone());
dataObject.setFax(entity.getFax());
dataObject.setInfoDisclosureUrl(entity.getInfoDisclosureUrl()); dataObject.setInfoDisclosureUrl(entity.getInfoDisclosureUrl());
dataObject.setFixedAssetAmount(entity.getFixedAssetAmount()); dataObject.setFixedAssetAmount(entity.getFixedAssetAmount());
dataObject.setArchiveRoomArea(entity.getArchiveRoomArea()); dataObject.setArchiveRoomArea(entity.getArchiveRoomArea());
@ -295,14 +298,17 @@ public class QualFilingChangeGatewayImpl implements QualFilingChangeGateway {
entity.setFilingUnitName(dataObject.getFilingUnitName()); entity.setFilingUnitName(dataObject.getFilingUnitName());
entity.setFilingUnitTypeCode(dataObject.getFilingUnitTypeCode()); entity.setFilingUnitTypeCode(dataObject.getFilingUnitTypeCode());
entity.setFilingUnitTypeName(dataObject.getFilingUnitTypeName()); entity.setFilingUnitTypeName(dataObject.getFilingUnitTypeName());
entity.setFilingNo(String.valueOf(dataObject.getId())); entity.setFilingNo(dataObject.getFilingNo());
entity.setBusinessScope(JSONUtil.toList(dataObject.getBusinessScope(), String.class)); entity.setBusinessScope(JSONUtil.toList(dataObject.getBusinessScope(), String.class));
entity.setRegisterAddress(dataObject.getRegisterAddress()); entity.setRegisterAddress(dataObject.getRegisterAddress());
entity.setOfficeAddress(dataObject.getOfficeAddress()); entity.setOfficeAddress(dataObject.getOfficeAddress());
entity.setCreditCode(dataObject.getCreditCode()); entity.setCreditCode(dataObject.getCreditCode());
entity.setQualCertNo(dataObject.getQualCertNo()); entity.setQualCertNo(dataObject.getQualCertNo());
entity.setLegalRepresentative(dataObject.getLegalRepresentative());
entity.setLegalPersonPhone(dataObject.getLegalPersonPhone()); entity.setLegalPersonPhone(dataObject.getLegalPersonPhone());
entity.setContactName(dataObject.getContactName());
entity.setContactPhone(dataObject.getContactPhone()); entity.setContactPhone(dataObject.getContactPhone());
entity.setFax(dataObject.getFax());
entity.setInfoDisclosureUrl(dataObject.getInfoDisclosureUrl()); entity.setInfoDisclosureUrl(dataObject.getInfoDisclosureUrl());
entity.setFixedAssetAmount(dataObject.getFixedAssetAmount()); entity.setFixedAssetAmount(dataObject.getFixedAssetAmount());
entity.setArchiveRoomArea(dataObject.getArchiveRoomArea()); entity.setArchiveRoomArea(dataObject.getArchiveRoomArea());

View File

@ -110,9 +110,7 @@ public class QualFilingGatewayImpl implements QualFilingGateway {
wrapper.eq(QualFilingDO::getOrgId, query.getOrgId()); wrapper.eq(QualFilingDO::getOrgId, query.getOrgId());
} }
if (StringUtils.hasText(query.getFilingNo())) { if (StringUtils.hasText(query.getFilingNo())) {
// 暂无编号数据, 使用id查询 wrapper.eq(QualFilingDO::getFilingNo, query.getFilingNo());
wrapper.eq(QualFilingDO::getId, query.getFilingNo());
// wrapper.eq(QualFilingDO::getFilingNo, query.getFilingNo());
} }
if (StringUtils.hasText(query.getFilingUnitName())) { if (StringUtils.hasText(query.getFilingUnitName())) {
wrapper.like(QualFilingDO::getFilingUnitName, query.getFilingUnitName()); wrapper.like(QualFilingDO::getFilingUnitName, query.getFilingUnitName());
@ -354,8 +352,11 @@ public class QualFilingGatewayImpl implements QualFilingGateway {
dataObject.setOfficeAddress(entity.getOfficeAddress()); dataObject.setOfficeAddress(entity.getOfficeAddress());
dataObject.setCreditCode(entity.getCreditCode()); dataObject.setCreditCode(entity.getCreditCode());
dataObject.setQualCertNo(entity.getQualCertNo()); dataObject.setQualCertNo(entity.getQualCertNo());
dataObject.setLegalRepresentative(entity.getLegalRepresentative());
dataObject.setLegalPersonPhone(entity.getLegalPersonPhone()); dataObject.setLegalPersonPhone(entity.getLegalPersonPhone());
dataObject.setContactName(entity.getContactName());
dataObject.setContactPhone(entity.getContactPhone()); dataObject.setContactPhone(entity.getContactPhone());
dataObject.setFax(entity.getFax());
dataObject.setInfoDisclosureUrl(entity.getInfoDisclosureUrl()); dataObject.setInfoDisclosureUrl(entity.getInfoDisclosureUrl());
dataObject.setFixedAssetAmount(entity.getFixedAssetAmount()); dataObject.setFixedAssetAmount(entity.getFixedAssetAmount());
dataObject.setArchiveRoomArea(entity.getArchiveRoomArea()); dataObject.setArchiveRoomArea(entity.getArchiveRoomArea());
@ -396,8 +397,11 @@ public class QualFilingGatewayImpl implements QualFilingGateway {
entity.setOfficeAddress(dataObject.getOfficeAddress()); entity.setOfficeAddress(dataObject.getOfficeAddress());
entity.setCreditCode(dataObject.getCreditCode()); entity.setCreditCode(dataObject.getCreditCode());
entity.setQualCertNo(dataObject.getQualCertNo()); entity.setQualCertNo(dataObject.getQualCertNo());
entity.setLegalRepresentative(dataObject.getLegalRepresentative());
entity.setLegalPersonPhone(dataObject.getLegalPersonPhone()); entity.setLegalPersonPhone(dataObject.getLegalPersonPhone());
entity.setContactName(dataObject.getContactName());
entity.setContactPhone(dataObject.getContactPhone()); entity.setContactPhone(dataObject.getContactPhone());
entity.setFax(dataObject.getFax());
entity.setInfoDisclosureUrl(dataObject.getInfoDisclosureUrl()); entity.setInfoDisclosureUrl(dataObject.getInfoDisclosureUrl());
entity.setFixedAssetAmount(dataObject.getFixedAssetAmount()); entity.setFixedAssetAmount(dataObject.getFixedAssetAmount());
entity.setArchiveRoomArea(dataObject.getArchiveRoomArea()); entity.setArchiveRoomArea(dataObject.getArchiveRoomArea());

View File

@ -22,8 +22,11 @@
<result column="office_address" property="officeAddress"/> <result column="office_address" property="officeAddress"/>
<result column="credit_code" property="creditCode"/> <result column="credit_code" property="creditCode"/>
<result column="qual_cert_no" property="qualCertNo"/> <result column="qual_cert_no" property="qualCertNo"/>
<result column="legal_representative" property="legalRepresentative"/>
<result column="legal_person_phone" property="legalPersonPhone"/> <result column="legal_person_phone" property="legalPersonPhone"/>
<result column="contact_name" property="contactName"/>
<result column="contact_phone" property="contactPhone"/> <result column="contact_phone" property="contactPhone"/>
<result column="fax" property="fax"/>
<result column="info_disclosure_url" property="infoDisclosureUrl"/> <result column="info_disclosure_url" property="infoDisclosureUrl"/>
<result column="fixed_asset_amount" property="fixedAssetAmount"/> <result column="fixed_asset_amount" property="fixedAssetAmount"/>
<result column="archive_room_area" property="archiveRoomArea"/> <result column="archive_room_area" property="archiveRoomArea"/>
@ -50,7 +53,7 @@
<!-- 通用查询结果列 --> <!-- 通用查询结果列 -->
<sql id="Base_Column_List"> <sql id="Base_Column_List">
`id` `id`
, `org_id`, `filing_id`, `change_filing_id`, `filing_review_id`, `reject_reason`, `submit_time`, `filing_territory_code`, `filing_territory_name`, `filing_unit_name`, `filing_unit_type_code`, `filing_unit_type_name`, `filing_no`, `business_scope`, `register_address`, `office_address`, `credit_code`, `qual_cert_no`, `legal_person_phone`, `contact_phone`, `info_disclosure_url`, `fixed_asset_amount`, `archive_room_area`, `fulltime_evaluator_count`, `registered_engineer_count`, `workplace_area`, `unit_intro`, `attachment_url`, `filing_status_code`, `filing_status_name`, `delete_enum`, `remarks`, `create_name`, `update_name`, `tenant_id`, `version`, `create_time`, `update_time`, `create_id`, `update_id`, `env` , `org_id`, `filing_id`, `change_filing_id`, `filing_review_id`, `reject_reason`, `submit_time`, `filing_territory_code`, `filing_territory_name`, `filing_unit_name`, `filing_unit_type_code`, `filing_unit_type_name`, `filing_no`, `business_scope`, `register_address`, `office_address`, `credit_code`, `qual_cert_no`, `legal_representative`, `legal_person_phone`, `contact_name`, `contact_phone`, `fax`, `info_disclosure_url`, `fixed_asset_amount`, `archive_room_area`, `fulltime_evaluator_count`, `registered_engineer_count`, `workplace_area`, `unit_intro`, `attachment_url`, `filing_status_code`, `filing_status_name`, `delete_enum`, `remarks`, `create_name`, `update_name`, `tenant_id`, `version`, `create_time`, `update_time`, `create_id`, `update_id`, `env`
</sql> </sql>
<!-- 机构端分页查询结果映射直接映射为CO无需Entity中转 --> <!-- 机构端分页查询结果映射直接映射为CO无需Entity中转 -->
@ -74,8 +77,11 @@
<result column="office_address" property="officeAddress"/> <result column="office_address" property="officeAddress"/>
<result column="credit_code" property="creditCode"/> <result column="credit_code" property="creditCode"/>
<result column="qual_cert_no" property="qualCertNo"/> <result column="qual_cert_no" property="qualCertNo"/>
<result column="legal_representative" property="legalRepresentative"/>
<result column="legal_person_phone" property="legalPersonPhone"/> <result column="legal_person_phone" property="legalPersonPhone"/>
<result column="contact_name" property="contactName"/>
<result column="contact_phone" property="contactPhone"/> <result column="contact_phone" property="contactPhone"/>
<result column="fax" property="fax"/>
<result column="info_disclosure_url" property="infoDisclosureUrl"/> <result column="info_disclosure_url" property="infoDisclosureUrl"/>
<result column="fixed_asset_amount" property="fixedAssetAmount"/> <result column="fixed_asset_amount" property="fixedAssetAmount"/>
<result column="archive_room_area" property="archiveRoomArea"/> <result column="archive_room_area" property="archiveRoomArea"/>
@ -104,7 +110,7 @@
<where> <where>
temp.rn = 1 temp.rn = 1
<if test="query.filingNo != null and query.filingNo != ''"> <if test="query.filingNo != null and query.filingNo != ''">
AND temp.id = #{query.filingNo} AND temp.filing_no = #{query.filingNo}
</if> </if>
<if test="query.filingUnitName != null and query.filingUnitName != ''"> <if test="query.filingUnitName != null and query.filingUnitName != ''">
AND temp.filing_unit_name LIKE CONCAT('%', #{query.filingUnitName}, '%') AND temp.filing_unit_name LIKE CONCAT('%', #{query.filingUnitName}, '%')

View File

@ -17,8 +17,11 @@
<result column="office_address" property="officeAddress"/> <result column="office_address" property="officeAddress"/>
<result column="credit_code" property="creditCode"/> <result column="credit_code" property="creditCode"/>
<result column="qual_cert_no" property="qualCertNo"/> <result column="qual_cert_no" property="qualCertNo"/>
<result column="legal_representative" property="legalRepresentative"/>
<result column="legal_person_phone" property="legalPersonPhone"/> <result column="legal_person_phone" property="legalPersonPhone"/>
<result column="contact_name" property="contactName"/>
<result column="contact_phone" property="contactPhone"/> <result column="contact_phone" property="contactPhone"/>
<result column="fax" property="fax"/>
<result column="info_disclosure_url" property="infoDisclosureUrl"/> <result column="info_disclosure_url" property="infoDisclosureUrl"/>
<result column="fixed_asset_amount" property="fixedAssetAmount"/> <result column="fixed_asset_amount" property="fixedAssetAmount"/>
<result column="archive_room_area" property="archiveRoomArea"/> <result column="archive_room_area" property="archiveRoomArea"/>
@ -50,7 +53,7 @@
<!-- 通用查询结果列 --> <!-- 通用查询结果列 -->
<sql id="Base_Column_List"> <sql id="Base_Column_List">
`id`, `org_id`, `filing_territory_code`, `filing_territory_name`, `filing_unit_name`, `filing_unit_type_code`, `filing_unit_type_name`, `filing_no`, `business_scope`, `register_address`, `office_address`, `credit_code`, `qual_cert_no`, `legal_person_phone`, `contact_phone`, `info_disclosure_url`, `fixed_asset_amount`, `archive_room_area`, `fulltime_evaluator_count`, `registered_engineer_count`, `workplace_area`, `unit_intro`, `attachment_url`, `origin_filing_id`, `reject_reason`, `submit_time`, `approve_time`, `filing_status_code`, `filing_status_name`, `apply_type_code`, `apply_type_name`, `delete_enum`, `remarks`, `create_name`, `update_name`, `tenant_id`, `version`, `create_time`, `update_time`, `create_id`, `update_id`, `env` `id`, `org_id`, `filing_territory_code`, `filing_territory_name`, `filing_unit_name`, `filing_unit_type_code`, `filing_unit_type_name`, `filing_no`, `business_scope`, `register_address`, `office_address`, `credit_code`, `qual_cert_no`, `legal_representative`, `legal_person_phone`, `contact_name`, `contact_phone`, `fax`, `info_disclosure_url`, `fixed_asset_amount`, `archive_room_area`, `fulltime_evaluator_count`, `registered_engineer_count`, `workplace_area`, `unit_intro`, `attachment_url`, `origin_filing_id`, `reject_reason`, `submit_time`, `approve_time`, `filing_status_code`, `filing_status_name`, `apply_type_code`, `apply_type_name`, `delete_enum`, `remarks`, `create_name`, `update_name`, `tenant_id`, `version`, `create_time`, `update_time`, `create_id`, `update_id`, `env`
</sql> </sql>
<!-- CO查询映射结果business_scope 以 JSON 数组字符串存储,出库时转换为 List<String> --> <!-- CO查询映射结果business_scope 以 JSON 数组字符串存储,出库时转换为 List<String> -->