Commit 35a1dd2a by rongkailun

【修改】法律法规

parent 20f97f00
...@@ -18,7 +18,7 @@ public class PolicyParams extends PageParams { ...@@ -18,7 +18,7 @@ public class PolicyParams extends PageParams {
private String keyword; private String keyword;
private String status; private String status;
private String class1; private String class1;
private String level; private String levels;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date updateTimeStart; private Date updateTimeStart;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
......
...@@ -38,12 +38,13 @@ ...@@ -38,12 +38,13 @@
<if test="newsParams.title !=null and newsParams.title !=''"> <if test="newsParams.title !=null and newsParams.title !=''">
and title like concat('%',#{newsParams.title},'%') and title like concat('%',#{newsParams.title},'%')
</if> </if>
<if test="newsParams.status !=null"> <if test="newsParams.status !=null and newsParams.status !=''">
and status =#{newsParams.status} and status =#{newsParams.status}
</if> </if>
<if test="newsParams.editor !=null and newsParams.editor !=''"> <if test="newsParams.editor !=null and newsParams.editor !=''">
and editor =#{newsParams.editor} and editor =#{newsParams.editor}
</if> </if>
and levels = #{newsParams.levels}
ORDER BY ORDER BY
id DESC id DESC
</select> </select>
......
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