新增是否合作单位字段
This commit is contained in:
@@ -45,30 +45,33 @@
|
|||||||
AND a.organization_type = #{param.organizationType}
|
AND a.organization_type = #{param.organizationType}
|
||||||
</if>
|
</if>
|
||||||
<if test="param.province != null">
|
<if test="param.province != null">
|
||||||
AND a.province = #{param.province}
|
AND a.province = #{param.province}
|
||||||
</if>
|
</if>
|
||||||
<if test="param.city != null">
|
<if test="param.city != null">
|
||||||
AND a.city = #{param.city}
|
AND a.city = #{param.city}
|
||||||
</if>
|
</if>
|
||||||
<if test="param.province != null">
|
<if test="param.province != null">
|
||||||
AND a.region = #{param.province}
|
AND a.region = #{param.province}
|
||||||
</if>
|
</if>
|
||||||
<if test="param.zipCode != null">
|
<if test="param.zipCode != null">
|
||||||
AND a.zip_code = #{param.zipCode}
|
AND a.zip_code = #{param.zipCode}
|
||||||
</if>
|
</if>
|
||||||
<if test="param.park != null">
|
<if test="param.park != null">
|
||||||
AND a.park LIKE CONCAT('%', #{param.park}, '%')
|
AND a.park LIKE CONCAT('%', #{param.park}, '%')
|
||||||
</if>
|
</if>
|
||||||
<if test="param.image != null">
|
<if test="param.image != null">
|
||||||
AND a.image LIKE CONCAT('%', #{param.image}, '%')
|
AND a.image LIKE CONCAT('%', #{param.image}, '%')
|
||||||
</if>
|
</if>
|
||||||
<if test="param.about != null">
|
<if test="param.about != null">
|
||||||
AND a.about LIKE CONCAT('%', #{param.about}, '%')
|
AND a.about LIKE CONCAT('%', #{param.about}, '%')
|
||||||
</if>
|
</if>
|
||||||
<if test="param.leaderId != null">
|
<if test="param.leaderId != null">
|
||||||
AND a.leader_id = #{param.leaderId}
|
AND a.leader_id = #{param.leaderId}
|
||||||
</if>
|
</if>
|
||||||
<if test="param.estateOnly != null">
|
<if test="param.isCoop != null">
|
||||||
|
AND a.is_coop = #{param.isCoop}
|
||||||
|
</if>
|
||||||
|
<if test="param.estateOnly != null">
|
||||||
AND a.estate IS NOT null
|
AND a.estate IS NOT null
|
||||||
</if>
|
</if>
|
||||||
<if test="param.comments != null">
|
<if test="param.comments != null">
|
||||||
@@ -90,9 +93,9 @@
|
|||||||
AND c.username LIKE CONCAT('%', #{param.leaderUsername}, '%')
|
AND c.username LIKE CONCAT('%', #{param.leaderUsername}, '%')
|
||||||
</if>
|
</if>
|
||||||
<if test="param.keywords != null">
|
<if test="param.keywords != null">
|
||||||
AND (
|
AND (
|
||||||
a.organization_name LIKE CONCAT('%', #{param.keywords}, '%')
|
a.organization_name LIKE CONCAT('%', #{param.keywords}, '%')
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
</sql>
|
</sql>
|
||||||
|
|||||||
@@ -114,6 +114,10 @@ public class OrganizationParam extends BaseParam {
|
|||||||
@QueryField(type = QueryType.EQ)
|
@QueryField(type = QueryType.EQ)
|
||||||
private Integer leaderId;
|
private Integer leaderId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否合作单位")
|
||||||
|
@QueryField(type = QueryType.EQ)
|
||||||
|
private Integer isCoop;
|
||||||
|
|
||||||
@ApiModelProperty(value = "备注")
|
@ApiModelProperty(value = "备注")
|
||||||
private String comments;
|
private String comments;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user