瀏覽代碼

轮播,景点,文章,栏目

lchao 7 月之前
父節點
當前提交
0d51317c4b

+ 0 - 3
zhjq-business/src/main/resources/mapper/ZhjqArticleMapper.xml

@@ -38,9 +38,6 @@
             <if test="journalismName != null  and journalismName != ''">and a.Journalism_name like concat('%',
                 #{journalismName}, '%')
             </if>
-            <if test="columnName != null  and columnName != ''">and b.column_name like concat('%',
-                #{columnName}, '%')
-            </if>
             <if test="columnId != null and columnId != 0">
                 AND (a.column_id = #{columnId} OR a.column_id IN ( SELECT b.column_id FROM zhjq_column b WHERE
                 find_in_set(#{columnId},parent_id) ))

+ 1 - 0
zhjq-ui/src/views/system/article/index.vue

@@ -426,6 +426,7 @@ export default {
         return delArticle(ids);
       }).then(() => {
         this.getList();
+        this.getColumnTree();
         // this.getColumnList();
         this.$modal.msgSuccess("删除成功");
       }).catch(() => {

+ 1 - 0
zhjq-ui/src/views/system/column/index.vue

@@ -351,6 +351,7 @@ export default {
         return delColumn(row.columnId);
       }).then(() => {
         this.getList();
+        this.getColumnTree();
         this.$modal.msgSuccess("删除成功");
       }).catch(() => {
       });