Commit 35a1dd2a by rongkailun

【修改】法律法规

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