diff --git a/policeSecurityServer/src/main/java/com/changhu/pojo/dto/ServiceProjectDTO.java b/policeSecurityServer/src/main/java/com/changhu/pojo/dto/ServiceProjectDTO.java index 504fd30..78e6bf6 100644 --- a/policeSecurityServer/src/main/java/com/changhu/pojo/dto/ServiceProjectDTO.java +++ b/policeSecurityServer/src/main/java/com/changhu/pojo/dto/ServiceProjectDTO.java @@ -1,6 +1,7 @@ package com.changhu.pojo.dto; import com.alibaba.fastjson2.annotation.JSONField; +import com.changhu.common.db.enums.EducationLevel; import com.changhu.common.db.enums.ServiceProjectType; import com.changhu.common.db.enums.Sex; import com.changhu.pojo.model.LegalPersonInfo; @@ -81,6 +82,9 @@ public class ServiceProjectDTO { static class SecurityUserInfo { @Schema(description = "id") private Long snowFlakeId; + @JSONField(serializeUsing = MinioPrefixSerializer.class) + @Schema(description = "照片") + private String photo; @Schema(description = "名字") private String name; @Schema(description = "手机号") @@ -103,5 +107,7 @@ public class ServiceProjectDTO { private String remark; @Schema(description = "创建时间") private String createTime; + @Schema(description = "文化程度") + private EducationLevel educationLevel; } } diff --git a/policeSecurityServer/src/main/resources/mapper/OpenApiMapper.xml b/policeSecurityServer/src/main/resources/mapper/OpenApiMapper.xml index 450b185..6d49de7 100644 --- a/policeSecurityServer/src/main/resources/mapper/OpenApiMapper.xml +++ b/policeSecurityServer/src/main/resources/mapper/OpenApiMapper.xml @@ -43,42 +43,43 @@ property="securityUserList" />