Commit 9e4dacf8 by 阳浪

查看我的投稿接口

parent da8bbd1c
...@@ -38,6 +38,9 @@ public class PublicationParamVO extends ContextVO { ...@@ -38,6 +38,9 @@ public class PublicationParamVO extends ContextVO {
@ApiModelProperty(value="类型级别") @ApiModelProperty(value="类型级别")
private Long level; private Long level;
@ApiModelProperty(value = "创建人")
private Long createById;
@ApiModelProperty(value="发布时间的起点") @ApiModelProperty(value="发布时间的起点")
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date start; private Date start;
......
...@@ -58,6 +58,9 @@ ...@@ -58,6 +58,9 @@
<if test="author != null"> <if test="author != null">
and a.author like CONCAT('%', '${author}', '%' ) and a.author like CONCAT('%', '${author}', '%' )
</if> </if>
<if test="createById != null">
and a.create_by_id = #{createById}
</if>
<if test="level != null and level == 1"> <if test="level != null and level == 1">
and a.type_one=#{typeId} and a.type_one=#{typeId}
</if> </if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment