Commit 03b52d18 by rongkailun

【修改】文档管理bug修复

parent ac10cc6a
package io.office.modules.manage.entity; package io.office.modules.manage.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
...@@ -57,4 +58,7 @@ public class DocEntity implements Serializable { ...@@ -57,4 +58,7 @@ public class DocEntity implements Serializable {
*/ */
private String auditor; private String auditor;
@TableField(exist = false)
private String categoryname;
} }
...@@ -35,6 +35,14 @@ ...@@ -35,6 +35,14 @@
<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>
<choose>
<when test="newsParams.levels !=null">
AND levels = #{newsParams.levels}
</when>
<otherwise>
AND levels > 0
</otherwise>
</choose>
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