Merge remote-tracking branch 'origin/dev-tmp1' into dev-tmp1
commit
e6781ffdfd
|
|
@ -114,8 +114,11 @@ public class QualFilingChangeExecutor implements QualFilingChangeApi {
|
|||
entity.setOfficeAddress(cmd.getOfficeAddress());
|
||||
entity.setCreditCode(cmd.getCreditCode());
|
||||
entity.setQualCertNo(cmd.getQualCertNo());
|
||||
entity.setLegalRepresentative(cmd.getLegalRepresentative());
|
||||
entity.setLegalPersonPhone(cmd.getLegalPersonPhone());
|
||||
entity.setContactName(cmd.getContactName());
|
||||
entity.setContactPhone(cmd.getContactPhone());
|
||||
entity.setFax(cmd.getFax());
|
||||
entity.setInfoDisclosureUrl(cmd.getInfoDisclosureUrl());
|
||||
entity.setFixedAssetAmount(cmd.getFixedAssetAmount());
|
||||
entity.setArchiveRoomArea(cmd.getArchiveRoomArea());
|
||||
|
|
@ -152,8 +155,11 @@ public class QualFilingChangeExecutor implements QualFilingChangeApi {
|
|||
entity.setOfficeAddress(cmd.getOfficeAddress());
|
||||
entity.setCreditCode(cmd.getCreditCode());
|
||||
entity.setQualCertNo(cmd.getQualCertNo());
|
||||
entity.setLegalRepresentative(cmd.getLegalRepresentative());
|
||||
entity.setLegalPersonPhone(cmd.getLegalPersonPhone());
|
||||
entity.setContactName(cmd.getContactName());
|
||||
entity.setContactPhone(cmd.getContactPhone());
|
||||
entity.setFax(cmd.getFax());
|
||||
entity.setInfoDisclosureUrl(cmd.getInfoDisclosureUrl());
|
||||
entity.setFixedAssetAmount(cmd.getFixedAssetAmount());
|
||||
entity.setArchiveRoomArea(cmd.getArchiveRoomArea());
|
||||
|
|
@ -220,7 +226,6 @@ public class QualFilingChangeExecutor implements QualFilingChangeApi {
|
|||
QualFilingChangeCountDO::getChangeCount));
|
||||
records.forEach(co -> {
|
||||
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.getOfficeAddress(), newEntity.getOfficeAddress())
|
||||
|| !Objects.equals(exist.getCreditCode(), newEntity.getCreditCode())
|
||||
|| !Objects.equals(exist.getFilingNo(), newEntity.getFilingNo())
|
||||
|| !Objects.equals(exist.getQualCertNo(), newEntity.getQualCertNo())
|
||||
|| !Objects.equals(exist.getLegalRepresentative(), newEntity.getLegalRepresentative())
|
||||
|| !Objects.equals(exist.getLegalPersonPhone(), newEntity.getLegalPersonPhone())
|
||||
|| !Objects.equals(exist.getContactName(), newEntity.getContactName())
|
||||
|| !Objects.equals(exist.getContactPhone(), newEntity.getContactPhone())
|
||||
|| !Objects.equals(exist.getFax(), newEntity.getFax())
|
||||
|| !Objects.equals(exist.getInfoDisclosureUrl(), newEntity.getInfoDisclosureUrl())
|
||||
|| !Objects.equals(exist.getFixedAssetAmount(), newEntity.getFixedAssetAmount())
|
||||
|| !Objects.equals(exist.getArchiveRoomArea(), newEntity.getArchiveRoomArea())
|
||||
|
|
@ -726,8 +735,11 @@ public class QualFilingChangeExecutor implements QualFilingChangeApi {
|
|||
co.setOfficeAddress(entity.getOfficeAddress());
|
||||
co.setCreditCode(entity.getCreditCode());
|
||||
co.setQualCertNo(entity.getQualCertNo());
|
||||
co.setLegalRepresentative(entity.getLegalRepresentative());
|
||||
co.setLegalPersonPhone(entity.getLegalPersonPhone());
|
||||
co.setContactName(entity.getContactName());
|
||||
co.setContactPhone(entity.getContactPhone());
|
||||
co.setFax(entity.getFax());
|
||||
co.setInfoDisclosureUrl(entity.getInfoDisclosureUrl());
|
||||
co.setFixedAssetAmount(entity.getFixedAssetAmount());
|
||||
co.setArchiveRoomArea(entity.getArchiveRoomArea());
|
||||
|
|
|
|||
|
|
@ -92,8 +92,11 @@ public class QualFilingExecutor implements QualFilingApi {
|
|||
entity.setOfficeAddress(cmd.getOfficeAddress());
|
||||
entity.setCreditCode(cmd.getCreditCode());
|
||||
entity.setQualCertNo(cmd.getQualCertNo());
|
||||
entity.setLegalRepresentative(cmd.getLegalRepresentative());
|
||||
entity.setLegalPersonPhone(cmd.getLegalPersonPhone());
|
||||
entity.setContactName(cmd.getContactName());
|
||||
entity.setContactPhone(cmd.getContactPhone());
|
||||
entity.setFax(cmd.getFax());
|
||||
entity.setInfoDisclosureUrl(cmd.getInfoDisclosureUrl());
|
||||
entity.setFixedAssetAmount(cmd.getFixedAssetAmount());
|
||||
entity.setArchiveRoomArea(cmd.getArchiveRoomArea());
|
||||
|
|
@ -318,8 +321,11 @@ public class QualFilingExecutor implements QualFilingApi {
|
|||
co.setOfficeAddress(entity.getOfficeAddress());
|
||||
co.setCreditCode(entity.getCreditCode());
|
||||
co.setQualCertNo(entity.getQualCertNo());
|
||||
co.setLegalRepresentative(entity.getLegalRepresentative());
|
||||
co.setLegalPersonPhone(entity.getLegalPersonPhone());
|
||||
co.setContactName(entity.getContactName());
|
||||
co.setContactPhone(entity.getContactPhone());
|
||||
co.setFax(entity.getFax());
|
||||
co.setInfoDisclosureUrl(entity.getInfoDisclosureUrl());
|
||||
co.setFixedAssetAmount(entity.getFixedAssetAmount());
|
||||
co.setArchiveRoomArea(entity.getArchiveRoomArea());
|
||||
|
|
|
|||
|
|
@ -290,13 +290,7 @@ public class QualFilingOrchestrator {
|
|||
PageResult<QualFilingEntity> pageResult = qualFilingGateway.page(domainQuery);
|
||||
Map<Long, QualFilingReviewEntity> reviewMap = loadReviewMap(pageResult.getRecords());
|
||||
List<QualFilingCO> records = pageResult.getRecords().stream()
|
||||
.map(entity -> {
|
||||
QualFilingCO listCO = toListCO(entity, reviewMap);
|
||||
if (listCO != null) {
|
||||
listCO.setFilingNo(String.valueOf(entity.getId()));
|
||||
}
|
||||
return listCO;
|
||||
})
|
||||
.map(entity -> toListCO(entity, reviewMap))
|
||||
.collect(Collectors.toList());
|
||||
return PageResult.of(records, pageResult.getTotal(), pageResult.getPageNum(), pageResult.getPageSize());
|
||||
}
|
||||
|
|
@ -610,9 +604,13 @@ public class QualFilingOrchestrator {
|
|||
origin.setRegisterAddress(draft.getRegisterAddress());
|
||||
origin.setOfficeAddress(draft.getOfficeAddress());
|
||||
origin.setCreditCode(draft.getCreditCode());
|
||||
origin.setFilingNo(draft.getFilingNo());
|
||||
origin.setQualCertNo(draft.getQualCertNo());
|
||||
origin.setLegalRepresentative(draft.getLegalRepresentative());
|
||||
origin.setLegalPersonPhone(draft.getLegalPersonPhone());
|
||||
origin.setContactName(draft.getContactName());
|
||||
origin.setContactPhone(draft.getContactPhone());
|
||||
origin.setFax(draft.getFax());
|
||||
origin.setInfoDisclosureUrl(draft.getInfoDisclosureUrl());
|
||||
origin.setFixedAssetAmount(draft.getFixedAssetAmount());
|
||||
origin.setArchiveRoomArea(draft.getArchiveRoomArea());
|
||||
|
|
@ -639,8 +637,11 @@ public class QualFilingOrchestrator {
|
|||
change.setOfficeAddress(draft.getOfficeAddress());
|
||||
change.setCreditCode(draft.getCreditCode());
|
||||
change.setQualCertNo(draft.getQualCertNo());
|
||||
change.setLegalRepresentative(draft.getLegalRepresentative());
|
||||
change.setLegalPersonPhone(draft.getLegalPersonPhone());
|
||||
change.setContactName(draft.getContactName());
|
||||
change.setContactPhone(draft.getContactPhone());
|
||||
change.setFax(draft.getFax());
|
||||
change.setInfoDisclosureUrl(draft.getInfoDisclosureUrl());
|
||||
change.setFixedAssetAmount(draft.getFixedAssetAmount());
|
||||
change.setArchiveRoomArea(draft.getArchiveRoomArea());
|
||||
|
|
@ -694,12 +695,21 @@ public class QualFilingOrchestrator {
|
|||
if (cmd.getQualCertNo() != null) {
|
||||
entity.setQualCertNo(cmd.getQualCertNo());
|
||||
}
|
||||
if (cmd.getLegalRepresentative() != null) {
|
||||
entity.setLegalRepresentative(cmd.getLegalRepresentative());
|
||||
}
|
||||
if (cmd.getLegalPersonPhone() != null) {
|
||||
entity.setLegalPersonPhone(cmd.getLegalPersonPhone());
|
||||
}
|
||||
if (cmd.getContactName() != null) {
|
||||
entity.setContactName(cmd.getContactName());
|
||||
}
|
||||
if (cmd.getContactPhone() != null) {
|
||||
entity.setContactPhone(cmd.getContactPhone());
|
||||
}
|
||||
if (cmd.getFax() != null) {
|
||||
entity.setFax(cmd.getFax());
|
||||
}
|
||||
if (cmd.getInfoDisclosureUrl() != null) {
|
||||
entity.setInfoDisclosureUrl(cmd.getInfoDisclosureUrl());
|
||||
}
|
||||
|
|
@ -761,8 +771,11 @@ public class QualFilingOrchestrator {
|
|||
co.setOfficeAddress(entity.getOfficeAddress());
|
||||
co.setCreditCode(entity.getCreditCode());
|
||||
co.setQualCertNo(entity.getQualCertNo());
|
||||
co.setLegalRepresentative(entity.getLegalRepresentative());
|
||||
co.setLegalPersonPhone(entity.getLegalPersonPhone());
|
||||
co.setContactName(entity.getContactName());
|
||||
co.setContactPhone(entity.getContactPhone());
|
||||
co.setFax(entity.getFax());
|
||||
co.setInfoDisclosureUrl(entity.getInfoDisclosureUrl());
|
||||
co.setFixedAssetAmount(entity.getFixedAssetAmount());
|
||||
co.setArchiveRoomArea(entity.getArchiveRoomArea());
|
||||
|
|
|
|||
|
|
@ -63,9 +63,13 @@ public class QualFilingChangeDiffer {
|
|||
|| !Objects.equals(origin.getRegisterAddress(), draft.getRegisterAddress())
|
||||
|| !Objects.equals(origin.getOfficeAddress(), draft.getOfficeAddress())
|
||||
|| !Objects.equals(origin.getCreditCode(), draft.getCreditCode())
|
||||
|| !Objects.equals(origin.getFilingNo(), draft.getFilingNo())
|
||||
|| !Objects.equals(origin.getQualCertNo(), draft.getQualCertNo())
|
||||
|| !Objects.equals(origin.getLegalRepresentative(), draft.getLegalRepresentative())
|
||||
|| !Objects.equals(origin.getLegalPersonPhone(), draft.getLegalPersonPhone())
|
||||
|| !Objects.equals(origin.getContactName(), draft.getContactName())
|
||||
|| !Objects.equals(origin.getContactPhone(), draft.getContactPhone())
|
||||
|| !Objects.equals(origin.getFax(), draft.getFax())
|
||||
|| !Objects.equals(origin.getInfoDisclosureUrl(), draft.getInfoDisclosureUrl())
|
||||
|| !Objects.equals(origin.getFixedAssetAmount(), draft.getFixedAssetAmount())
|
||||
|| !Objects.equals(origin.getArchiveRoomArea(), draft.getArchiveRoomArea())
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ public class QualFilingCO {
|
|||
@ApiModelProperty(value = "备案单位类型名称")
|
||||
private String filingUnitTypeName;
|
||||
|
||||
@ApiModelProperty(value = "备案编号")
|
||||
@ApiModelProperty(value = "资质证书编号")
|
||||
private String filingNo;
|
||||
|
||||
@ApiModelProperty(value = "经营范围")
|
||||
|
|
@ -49,15 +49,24 @@ public class QualFilingCO {
|
|||
@ApiModelProperty(value = "统一社会信用代码")
|
||||
private String creditCode;
|
||||
|
||||
@ApiModelProperty(value = "资质证书编号")
|
||||
@ApiModelProperty(value = "资质证书编号(旧字段,保留)")
|
||||
private String qualCertNo;
|
||||
|
||||
@ApiModelProperty(value = "法定代表人")
|
||||
private String legalRepresentative;
|
||||
|
||||
@ApiModelProperty(value = "法定代表人电话")
|
||||
private String legalPersonPhone;
|
||||
|
||||
@ApiModelProperty(value = "联系人")
|
||||
private String contactName;
|
||||
|
||||
@ApiModelProperty(value = "联系电话")
|
||||
private String contactPhone;
|
||||
|
||||
@ApiModelProperty(value = "传真")
|
||||
private String fax;
|
||||
|
||||
@ApiModelProperty(value = "信息公开网址")
|
||||
private String infoDisclosureUrl;
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ public class QualFilingChangeCO {
|
|||
@ApiModelProperty(value = "备案单位类型名称")
|
||||
private String filingUnitTypeName;
|
||||
|
||||
@ApiModelProperty(value = "备案编号")
|
||||
@ApiModelProperty(value = "资质证书编号")
|
||||
private String filingNo;
|
||||
|
||||
@ApiModelProperty(value = "经营范围")
|
||||
|
|
@ -56,15 +56,24 @@ public class QualFilingChangeCO {
|
|||
@ApiModelProperty(value = "统一社会信用代码")
|
||||
private String creditCode;
|
||||
|
||||
@ApiModelProperty(value = "资质证书编号")
|
||||
@ApiModelProperty(value = "资质证书编号(旧字段,保留)")
|
||||
private String qualCertNo;
|
||||
|
||||
@ApiModelProperty(value = "法定代表人")
|
||||
private String legalRepresentative;
|
||||
|
||||
@ApiModelProperty(value = "法定代表人电话")
|
||||
private String legalPersonPhone;
|
||||
|
||||
@ApiModelProperty(value = "联系人")
|
||||
private String contactName;
|
||||
|
||||
@ApiModelProperty(value = "联系电话")
|
||||
private String contactPhone;
|
||||
|
||||
@ApiModelProperty(value = "传真")
|
||||
private String fax;
|
||||
|
||||
@ApiModelProperty(value = "信息公开网址")
|
||||
private String infoDisclosureUrl;
|
||||
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ public class QualFilingChangeOrgCO {
|
|||
@ApiModelProperty(value = "备案单位类型名称")
|
||||
private String filingUnitTypeName;
|
||||
|
||||
@ApiModelProperty(value = "备案编号")
|
||||
@ApiModelProperty(value = "资质证书编号")
|
||||
private String filingNo;
|
||||
|
||||
@ApiModelProperty(value = "经营范围")
|
||||
|
|
@ -73,15 +73,24 @@ public class QualFilingChangeOrgCO {
|
|||
@ApiModelProperty(value = "统一社会信用代码")
|
||||
private String creditCode;
|
||||
|
||||
@ApiModelProperty(value = "资质证书编号")
|
||||
@ApiModelProperty(value = "资质证书编号(旧字段,保留)")
|
||||
private String qualCertNo;
|
||||
|
||||
@ApiModelProperty(value = "法定代表人")
|
||||
private String legalRepresentative;
|
||||
|
||||
@ApiModelProperty(value = "法定代表人电话")
|
||||
private String legalPersonPhone;
|
||||
|
||||
@ApiModelProperty(value = "联系人")
|
||||
private String contactName;
|
||||
|
||||
@ApiModelProperty(value = "联系电话")
|
||||
private String contactPhone;
|
||||
|
||||
@ApiModelProperty(value = "传真")
|
||||
private String fax;
|
||||
|
||||
@ApiModelProperty(value = "信息公开网址")
|
||||
private String infoDisclosureUrl;
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ public class QualFilingAddCmd {
|
|||
@ApiModelProperty(value = "备案单位类型名称")
|
||||
private String filingUnitTypeName;
|
||||
|
||||
@ApiModelProperty(value = "备案编号-暂时使用id")
|
||||
@ApiModelProperty(value = "资质证书编号")
|
||||
private String filingNo;
|
||||
|
||||
@ApiModelProperty(value = "备案安全评价业务范围")
|
||||
|
|
@ -47,15 +47,24 @@ public class QualFilingAddCmd {
|
|||
@ApiModelProperty(value = "统一社会信用代码")
|
||||
private String creditCode;
|
||||
|
||||
@ApiModelProperty(value = "资质证书编号")
|
||||
@ApiModelProperty(value = "资质证书编号(旧字段,保留)")
|
||||
private String qualCertNo;
|
||||
|
||||
@ApiModelProperty(value = "法定代表人")
|
||||
private String legalRepresentative;
|
||||
|
||||
@ApiModelProperty(value = "法人代表及电话")
|
||||
private String legalPersonPhone;
|
||||
|
||||
@ApiModelProperty(value = "联系人")
|
||||
private String contactName;
|
||||
|
||||
@ApiModelProperty(value = "联系人及电话")
|
||||
private String contactPhone;
|
||||
|
||||
@ApiModelProperty(value = "传真")
|
||||
private String fax;
|
||||
|
||||
@ApiModelProperty(value = "信息公开网址")
|
||||
private String infoDisclosureUrl;
|
||||
|
||||
|
|
|
|||
|
|
@ -50,8 +50,8 @@ public class QualFilingChangeAddCmd {
|
|||
@Size(max = 128, message = "备案单位类型名称不能超过128个字符")
|
||||
private String filingUnitTypeName;
|
||||
|
||||
@ApiModelProperty(value = "备案编号")
|
||||
@Size(max = 64, message = "备案编号不能超过64个字符")
|
||||
@ApiModelProperty(value = "资质证书编号")
|
||||
@Size(max = 64, message = "资质证书编号不能超过64个字符")
|
||||
private String filingNo;
|
||||
|
||||
@ApiModelProperty(value = "备案安全评价业务范围")
|
||||
|
|
@ -69,18 +69,30 @@ public class QualFilingChangeAddCmd {
|
|||
@Size(max = 64, message = "统一社会信用代码不能超过64个字符")
|
||||
private String creditCode;
|
||||
|
||||
@ApiModelProperty(value = "资质证书编号")
|
||||
@ApiModelProperty(value = "资质证书编号(旧字段,保留)")
|
||||
@Size(max = 64, message = "资质证书编号不能超过64个字符")
|
||||
private String qualCertNo;
|
||||
|
||||
@ApiModelProperty(value = "法定代表人")
|
||||
@Size(max = 50, message = "法定代表人不能超过50个字符")
|
||||
private String legalRepresentative;
|
||||
|
||||
@ApiModelProperty(value = "法人代表及电话")
|
||||
@Size(max = 12, message = "法人代表及电话不能超过12个字符")
|
||||
private String legalPersonPhone;
|
||||
|
||||
@ApiModelProperty(value = "联系人")
|
||||
@Size(max = 50, message = "联系人不能超过50个字符")
|
||||
private String contactName;
|
||||
|
||||
@ApiModelProperty(value = "联系人及电话")
|
||||
@Size(max = 12, message = "联系人及电话不能超过12个字符")
|
||||
private String contactPhone;
|
||||
|
||||
@ApiModelProperty(value = "传真")
|
||||
@Size(max = 20, message = "传真不能超过20个字符")
|
||||
private String fax;
|
||||
|
||||
@ApiModelProperty(value = "信息公开网址")
|
||||
@Size(max = 512, message = "信息公开网址不能超过512个字符")
|
||||
private String infoDisclosureUrl;
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ public class QualFilingChangeModifyCmd {
|
|||
@ApiModelProperty(value = "备案单位类型名称")
|
||||
private String filingUnitTypeName;
|
||||
|
||||
@ApiModelProperty(value = "备案编号")
|
||||
@ApiModelProperty(value = "资质证书编号")
|
||||
private String filingNo;
|
||||
|
||||
@ApiModelProperty(value = "备案安全评价业务范围")
|
||||
|
|
@ -50,15 +50,24 @@ public class QualFilingChangeModifyCmd {
|
|||
@ApiModelProperty(value = "统一社会信用代码")
|
||||
private String creditCode;
|
||||
|
||||
@ApiModelProperty(value = "资质证书编号")
|
||||
@ApiModelProperty(value = "资质证书编号(旧字段,保留)")
|
||||
private String qualCertNo;
|
||||
|
||||
@ApiModelProperty(value = "法定代表人")
|
||||
private String legalRepresentative;
|
||||
|
||||
@ApiModelProperty(value = "法人代表及电话")
|
||||
private String legalPersonPhone;
|
||||
|
||||
@ApiModelProperty(value = "联系人")
|
||||
private String contactName;
|
||||
|
||||
@ApiModelProperty(value = "联系人及电话")
|
||||
private String contactPhone;
|
||||
|
||||
@ApiModelProperty(value = "传真")
|
||||
private String fax;
|
||||
|
||||
@ApiModelProperty(value = "信息公开网址")
|
||||
private String infoDisclosureUrl;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ public class QualFilingChangePageQuery extends BasePageQuery {
|
|||
@ApiModelProperty(value = "单位id")
|
||||
private Long orgId;
|
||||
|
||||
@ApiModelProperty(value = "备案编号")
|
||||
@ApiModelProperty(value = "资质证书编号")
|
||||
private String filingNo;
|
||||
|
||||
@ApiModelProperty(value = "备案单位")
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ public class QualFilingModifyCmd {
|
|||
@ApiModelProperty(value = "备案单位类型名称")
|
||||
private String filingUnitTypeName;
|
||||
|
||||
@ApiModelProperty(value = "备案编号")
|
||||
@ApiModelProperty(value = "资质证书编号")
|
||||
private String filingNo;
|
||||
|
||||
@ApiModelProperty(value = "备案安全评价业务范围")
|
||||
|
|
@ -46,15 +46,24 @@ public class QualFilingModifyCmd {
|
|||
@ApiModelProperty(value = "统一社会信用代码")
|
||||
private String creditCode;
|
||||
|
||||
@ApiModelProperty(value = "资质证书编号")
|
||||
@ApiModelProperty(value = "资质证书编号(旧字段,保留)")
|
||||
private String qualCertNo;
|
||||
|
||||
@ApiModelProperty(value = "法定代表人")
|
||||
private String legalRepresentative;
|
||||
|
||||
@ApiModelProperty(value = "法人代表及电话")
|
||||
private String legalPersonPhone;
|
||||
|
||||
@ApiModelProperty(value = "联系人")
|
||||
private String contactName;
|
||||
|
||||
@ApiModelProperty(value = "联系人及电话")
|
||||
private String contactPhone;
|
||||
|
||||
@ApiModelProperty(value = "传真")
|
||||
private String fax;
|
||||
|
||||
@ApiModelProperty(value = "信息公开网址")
|
||||
private String infoDisclosureUrl;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ public class QualFilingPageQuery extends BasePageQuery {
|
|||
@ApiModelProperty(value = "单位id")
|
||||
private Long orgId;
|
||||
|
||||
@ApiModelProperty(value = "备案编号")
|
||||
@ApiModelProperty(value = "资质证书编号")
|
||||
private String filingNo;
|
||||
|
||||
@ApiModelProperty(value = "备案单位")
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ public class QualFilingChangeEntity {
|
|||
private String filingUnitTypeName;
|
||||
|
||||
/**
|
||||
* 备案编号
|
||||
* 资质证书编号
|
||||
*/
|
||||
private String filingNo;
|
||||
|
||||
|
|
@ -99,20 +99,35 @@ public class QualFilingChangeEntity {
|
|||
private String creditCode;
|
||||
|
||||
/**
|
||||
* 资质证书编号
|
||||
* 资质证书编号(旧字段,保留)
|
||||
*/
|
||||
private String qualCertNo;
|
||||
|
||||
/**
|
||||
* 法定代表人
|
||||
*/
|
||||
private String legalRepresentative;
|
||||
|
||||
/**
|
||||
* 法人代表及电话
|
||||
*/
|
||||
private String legalPersonPhone;
|
||||
|
||||
/**
|
||||
* 联系人
|
||||
*/
|
||||
private String contactName;
|
||||
|
||||
/**
|
||||
* 联系人及电话
|
||||
*/
|
||||
private String contactPhone;
|
||||
|
||||
/**
|
||||
* 传真
|
||||
*/
|
||||
private String fax;
|
||||
|
||||
/**
|
||||
* 信息公开网址
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ public class QualFilingEntity {
|
|||
/** 备案单位类型名称 */
|
||||
private String filingUnitTypeName;
|
||||
|
||||
/** 备案编号 */
|
||||
/** 资质证书编号 */
|
||||
private String filingNo;
|
||||
|
||||
/** 备案安全评价业务范围 */
|
||||
|
|
@ -49,15 +49,24 @@ public class QualFilingEntity {
|
|||
/** 统一社会信用代码 */
|
||||
private String creditCode;
|
||||
|
||||
/** 资质证书编号 */
|
||||
/** 资质证书编号(旧字段,保留) */
|
||||
private String qualCertNo;
|
||||
|
||||
/** 法定代表人 */
|
||||
private String legalRepresentative;
|
||||
|
||||
/** 法人代表及电话 */
|
||||
private String legalPersonPhone;
|
||||
|
||||
/** 联系人 */
|
||||
private String contactName;
|
||||
|
||||
/** 联系人及电话 */
|
||||
private String contactPhone;
|
||||
|
||||
/** 传真 */
|
||||
private String fax;
|
||||
|
||||
/** 信息公开网址 */
|
||||
private String infoDisclosureUrl;
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ public class QualFilingChangeQuery {
|
|||
/** 备案申请ID */
|
||||
private Long filingId;
|
||||
|
||||
/** 备案编号 */
|
||||
/** 资质证书编号 */
|
||||
private String filingNo;
|
||||
|
||||
private Long id;
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ public class QualFilingQuery {
|
|||
/** 机构ID */
|
||||
private Long orgId;
|
||||
|
||||
/** 备案编号 */
|
||||
/** 资质证书编号 */
|
||||
private String filingNo;
|
||||
|
||||
/** 备案单位 */
|
||||
|
|
|
|||
|
|
@ -33,8 +33,11 @@ public class QualFilingChangeDO {
|
|||
private String officeAddress;
|
||||
private String creditCode;
|
||||
private String qualCertNo;
|
||||
private String legalRepresentative;
|
||||
private String legalPersonPhone;
|
||||
private String contactName;
|
||||
private String contactPhone;
|
||||
private String fax;
|
||||
private String infoDisclosureUrl;
|
||||
private Long fixedAssetAmount;
|
||||
private BigDecimal archiveRoomArea;
|
||||
|
|
|
|||
|
|
@ -29,8 +29,11 @@ public class QualFilingDO extends BaseDO {
|
|||
private String officeAddress;
|
||||
private String creditCode;
|
||||
private String qualCertNo;
|
||||
private String legalRepresentative;
|
||||
private String legalPersonPhone;
|
||||
private String contactName;
|
||||
private String contactPhone;
|
||||
private String fax;
|
||||
private String infoDisclosureUrl;
|
||||
private Long fixedAssetAmount;
|
||||
private BigDecimal archiveRoomArea;
|
||||
|
|
|
|||
|
|
@ -122,7 +122,7 @@ public class QualFilingChangeGatewayImpl implements QualFilingChangeGateway {
|
|||
wrapper.eq(QualFilingChangeDO::getFilingId, query.getFilingId());
|
||||
}
|
||||
if (StringUtils.hasText(query.getFilingNo())) {
|
||||
wrapper.eq(QualFilingChangeDO::getId, query.getFilingNo());
|
||||
wrapper.eq(QualFilingChangeDO::getFilingNo, query.getFilingNo());
|
||||
}
|
||||
|
||||
if (StringUtils.hasText(query.getFilingUnitName())) {
|
||||
|
|
@ -263,8 +263,11 @@ public class QualFilingChangeGatewayImpl implements QualFilingChangeGateway {
|
|||
dataObject.setOfficeAddress(entity.getOfficeAddress());
|
||||
dataObject.setCreditCode(entity.getCreditCode());
|
||||
dataObject.setQualCertNo(entity.getQualCertNo());
|
||||
dataObject.setLegalRepresentative(entity.getLegalRepresentative());
|
||||
dataObject.setLegalPersonPhone(entity.getLegalPersonPhone());
|
||||
dataObject.setContactName(entity.getContactName());
|
||||
dataObject.setContactPhone(entity.getContactPhone());
|
||||
dataObject.setFax(entity.getFax());
|
||||
dataObject.setInfoDisclosureUrl(entity.getInfoDisclosureUrl());
|
||||
dataObject.setFixedAssetAmount(entity.getFixedAssetAmount());
|
||||
dataObject.setArchiveRoomArea(entity.getArchiveRoomArea());
|
||||
|
|
@ -295,14 +298,17 @@ public class QualFilingChangeGatewayImpl implements QualFilingChangeGateway {
|
|||
entity.setFilingUnitName(dataObject.getFilingUnitName());
|
||||
entity.setFilingUnitTypeCode(dataObject.getFilingUnitTypeCode());
|
||||
entity.setFilingUnitTypeName(dataObject.getFilingUnitTypeName());
|
||||
entity.setFilingNo(String.valueOf(dataObject.getId()));
|
||||
entity.setFilingNo(dataObject.getFilingNo());
|
||||
entity.setBusinessScope(JSONUtil.toList(dataObject.getBusinessScope(), String.class));
|
||||
entity.setRegisterAddress(dataObject.getRegisterAddress());
|
||||
entity.setOfficeAddress(dataObject.getOfficeAddress());
|
||||
entity.setCreditCode(dataObject.getCreditCode());
|
||||
entity.setQualCertNo(dataObject.getQualCertNo());
|
||||
entity.setLegalRepresentative(dataObject.getLegalRepresentative());
|
||||
entity.setLegalPersonPhone(dataObject.getLegalPersonPhone());
|
||||
entity.setContactName(dataObject.getContactName());
|
||||
entity.setContactPhone(dataObject.getContactPhone());
|
||||
entity.setFax(dataObject.getFax());
|
||||
entity.setInfoDisclosureUrl(dataObject.getInfoDisclosureUrl());
|
||||
entity.setFixedAssetAmount(dataObject.getFixedAssetAmount());
|
||||
entity.setArchiveRoomArea(dataObject.getArchiveRoomArea());
|
||||
|
|
|
|||
|
|
@ -110,9 +110,7 @@ public class QualFilingGatewayImpl implements QualFilingGateway {
|
|||
wrapper.eq(QualFilingDO::getOrgId, query.getOrgId());
|
||||
}
|
||||
if (StringUtils.hasText(query.getFilingNo())) {
|
||||
// 暂无编号数据, 使用id查询
|
||||
wrapper.eq(QualFilingDO::getId, query.getFilingNo());
|
||||
// wrapper.eq(QualFilingDO::getFilingNo, query.getFilingNo());
|
||||
wrapper.eq(QualFilingDO::getFilingNo, query.getFilingNo());
|
||||
}
|
||||
if (StringUtils.hasText(query.getFilingUnitName())) {
|
||||
wrapper.like(QualFilingDO::getFilingUnitName, query.getFilingUnitName());
|
||||
|
|
@ -354,8 +352,11 @@ public class QualFilingGatewayImpl implements QualFilingGateway {
|
|||
dataObject.setOfficeAddress(entity.getOfficeAddress());
|
||||
dataObject.setCreditCode(entity.getCreditCode());
|
||||
dataObject.setQualCertNo(entity.getQualCertNo());
|
||||
dataObject.setLegalRepresentative(entity.getLegalRepresentative());
|
||||
dataObject.setLegalPersonPhone(entity.getLegalPersonPhone());
|
||||
dataObject.setContactName(entity.getContactName());
|
||||
dataObject.setContactPhone(entity.getContactPhone());
|
||||
dataObject.setFax(entity.getFax());
|
||||
dataObject.setInfoDisclosureUrl(entity.getInfoDisclosureUrl());
|
||||
dataObject.setFixedAssetAmount(entity.getFixedAssetAmount());
|
||||
dataObject.setArchiveRoomArea(entity.getArchiveRoomArea());
|
||||
|
|
@ -396,8 +397,11 @@ public class QualFilingGatewayImpl implements QualFilingGateway {
|
|||
entity.setOfficeAddress(dataObject.getOfficeAddress());
|
||||
entity.setCreditCode(dataObject.getCreditCode());
|
||||
entity.setQualCertNo(dataObject.getQualCertNo());
|
||||
entity.setLegalRepresentative(dataObject.getLegalRepresentative());
|
||||
entity.setLegalPersonPhone(dataObject.getLegalPersonPhone());
|
||||
entity.setContactName(dataObject.getContactName());
|
||||
entity.setContactPhone(dataObject.getContactPhone());
|
||||
entity.setFax(dataObject.getFax());
|
||||
entity.setInfoDisclosureUrl(dataObject.getInfoDisclosureUrl());
|
||||
entity.setFixedAssetAmount(dataObject.getFixedAssetAmount());
|
||||
entity.setArchiveRoomArea(dataObject.getArchiveRoomArea());
|
||||
|
|
|
|||
|
|
@ -22,8 +22,11 @@
|
|||
<result column="office_address" property="officeAddress"/>
|
||||
<result column="credit_code" property="creditCode"/>
|
||||
<result column="qual_cert_no" property="qualCertNo"/>
|
||||
<result column="legal_representative" property="legalRepresentative"/>
|
||||
<result column="legal_person_phone" property="legalPersonPhone"/>
|
||||
<result column="contact_name" property="contactName"/>
|
||||
<result column="contact_phone" property="contactPhone"/>
|
||||
<result column="fax" property="fax"/>
|
||||
<result column="info_disclosure_url" property="infoDisclosureUrl"/>
|
||||
<result column="fixed_asset_amount" property="fixedAssetAmount"/>
|
||||
<result column="archive_room_area" property="archiveRoomArea"/>
|
||||
|
|
@ -50,7 +53,7 @@
|
|||
<!-- 通用查询结果列 -->
|
||||
<sql id="Base_Column_List">
|
||||
`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>
|
||||
|
||||
<!-- 机构端分页查询结果映射(直接映射为CO,无需Entity中转) -->
|
||||
|
|
@ -74,8 +77,11 @@
|
|||
<result column="office_address" property="officeAddress"/>
|
||||
<result column="credit_code" property="creditCode"/>
|
||||
<result column="qual_cert_no" property="qualCertNo"/>
|
||||
<result column="legal_representative" property="legalRepresentative"/>
|
||||
<result column="legal_person_phone" property="legalPersonPhone"/>
|
||||
<result column="contact_name" property="contactName"/>
|
||||
<result column="contact_phone" property="contactPhone"/>
|
||||
<result column="fax" property="fax"/>
|
||||
<result column="info_disclosure_url" property="infoDisclosureUrl"/>
|
||||
<result column="fixed_asset_amount" property="fixedAssetAmount"/>
|
||||
<result column="archive_room_area" property="archiveRoomArea"/>
|
||||
|
|
@ -104,7 +110,7 @@
|
|||
<where>
|
||||
temp.rn = 1
|
||||
<if test="query.filingNo != null and query.filingNo != ''">
|
||||
AND temp.id = #{query.filingNo}
|
||||
AND temp.filing_no = #{query.filingNo}
|
||||
</if>
|
||||
<if test="query.filingUnitName != null and query.filingUnitName != ''">
|
||||
AND temp.filing_unit_name LIKE CONCAT('%', #{query.filingUnitName}, '%')
|
||||
|
|
|
|||
|
|
@ -17,8 +17,11 @@
|
|||
<result column="office_address" property="officeAddress"/>
|
||||
<result column="credit_code" property="creditCode"/>
|
||||
<result column="qual_cert_no" property="qualCertNo"/>
|
||||
<result column="legal_representative" property="legalRepresentative"/>
|
||||
<result column="legal_person_phone" property="legalPersonPhone"/>
|
||||
<result column="contact_name" property="contactName"/>
|
||||
<result column="contact_phone" property="contactPhone"/>
|
||||
<result column="fax" property="fax"/>
|
||||
<result column="info_disclosure_url" property="infoDisclosureUrl"/>
|
||||
<result column="fixed_asset_amount" property="fixedAssetAmount"/>
|
||||
<result column="archive_room_area" property="archiveRoomArea"/>
|
||||
|
|
@ -50,7 +53,7 @@
|
|||
|
||||
<!-- 通用查询结果列 -->
|
||||
<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>
|
||||
|
||||
<!-- CO查询映射结果(business_scope 以 JSON 数组字符串存储,出库时转换为 List<String>) -->
|
||||
|
|
|
|||
Loading…
Reference in New Issue