增加查询条件
parent
6f75fc0cf0
commit
910b90056d
|
|
@ -32,8 +32,8 @@ public class CorpDepartmentQry extends PageQuery {
|
||||||
@ApiModelProperty(value = "分公司名称", name = "likeCorpName")
|
@ApiModelProperty(value = "分公司名称", name = "likeCorpName")
|
||||||
private String likeCorpName;
|
private String likeCorpName;
|
||||||
|
|
||||||
@ApiModelProperty(value = "分公司状态编码", name = "eqCorpStateCode")
|
@ApiModelProperty(value = "分公司状态编码", name = "eqCorpState")
|
||||||
private String eqCorpStateCode;
|
private String eqCorpState;
|
||||||
|
|
||||||
@ApiModelProperty(value = "是否启用,1:启用,0:关闭", name = "eqUseFlag")
|
@ApiModelProperty(value = "是否启用,1:启用,0:关闭", name = "eqUseFlag")
|
||||||
private String eqUseFlag;
|
private String eqUseFlag;
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,12 @@
|
||||||
<if test="params.eqVillage != null and params.eqVillage.trim() != ''">
|
<if test="params.eqVillage != null and params.eqVillage.trim() != ''">
|
||||||
AND c.village = #{params.eqVillage}
|
AND c.village = #{params.eqVillage}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="params.eqUseFlag != null and params.eqUseFlag.trim() != ''">
|
||||||
|
AND c.use_flag = #{params.eqUseFlag}
|
||||||
|
</if>
|
||||||
|
<if test="params.eqCorpState != null and params.eqCorpState.trim() != ''">
|
||||||
|
AND c.corp_state = #{params.eqCorpState}
|
||||||
|
</if>
|
||||||
group by c.id
|
group by c.id
|
||||||
ORDER BY
|
ORDER BY
|
||||||
c.corp_order ASC,
|
c.corp_order ASC,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue