新增:机构表字段about、image

This commit is contained in:
2024-09-19 21:57:13 +08:00
parent d7d3cf1e13
commit bd2cc7ccfa
3 changed files with 20 additions and 0 deletions

View File

@@ -55,6 +55,12 @@ public class Organization implements Serializable {
@ApiModelProperty(value = "所属园区")
private String park;
@ApiModelProperty(value = "机构图片")
private String image;
@ApiModelProperty(value = "园区介绍")
private String about;
@ApiModelProperty(value = "负责人id")
private Integer leaderId;

View File

@@ -59,6 +59,12 @@
<if test="param.park != null">
AND a.park LIKE CONCAT('%', #{param.park}, '%')
</if>
<if test="param.image != null">
AND a.image LIKE CONCAT('%', #{param.image}, '%')
</if>
<if test="param.about != null">
AND a.about LIKE CONCAT('%', #{param.about}, '%')
</if>
<if test="param.leaderId != null">
AND a.leader_id = #{param.leaderId}
</if>

View File

@@ -63,6 +63,14 @@ public class OrganizationParam extends BaseParam {
@QueryField(type = QueryType.EQ)
private String park;
@ApiModelProperty(value = "机构图片")
@QueryField(type = QueryType.EQ)
private String image;
@ApiModelProperty(value = "园区介绍")
@QueryField(type = QueryType.EQ)
private String about;
@ApiModelProperty(value = "负责人id")
@QueryField(type = QueryType.EQ)
private Integer leaderId;