新增:机构表字段about、image
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user