提交 4673e566 作者: panda

服务管理上架和下架筛选添加

上级 eb2e3ad1
...@@ -45,6 +45,9 @@ public class ServiceQO implements Serializable { ...@@ -45,6 +45,9 @@ public class ServiceQO implements Serializable {
@ApiModelProperty(value = "省份编码", example = "440000") @ApiModelProperty(value = "省份编码", example = "440000")
private Integer provinceId; private Integer provinceId;
@ApiModelProperty(value = "展示状态")
private Integer displayState;
@ApiModelProperty(value = "页码", required = true) @ApiModelProperty(value = "页码", required = true)
@NotNull( @NotNull(
message = "页码不能为空", message = "页码不能为空",
......
...@@ -74,6 +74,9 @@ ...@@ -74,6 +74,9 @@
<if test="industryId != null"> <if test="industryId != null">
and industry_id = #{industryId} and industry_id = #{industryId}
</if> </if>
<if test="displayState != null">
and display_state = #{displayState}
</if>
</where> </where>
order by create_time desc order by create_time desc
limit #{pageNo}, #{pageSize} limit #{pageNo}, #{pageSize}
...@@ -94,6 +97,9 @@ ...@@ -94,6 +97,9 @@
<if test="industryId != null"> <if test="industryId != null">
and industry_id = #{industryId} and industry_id = #{industryId}
</if> </if>
<if test="displayState != null">
and display_state = #{displayState}
</if>
</where> </where>
</select> </select>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论