Просмотр исходного кода

fix:更改文件权限表发放日期排序查询

liujiayin 3 лет назад
Родитель
Сommit
7bc0a0484a

+ 1 - 1
src/views/infosManage/externalFiles/externalFiles.vue

@@ -239,7 +239,7 @@ export default {
                             SELECT 1
                             FROM t_wjcysqb 
                             WHERE yong_hu_id_ = t.yong_hu_id_ AND wen_jian_id_ = t.wen_jian_id_
-                            AND create_time_ > t.create_time_
+                            AND fa_bu_ri_qi_ > t.fa_bu_ri_qi_
                         )
                  ) qx LEFT JOIN t_wjgl wj ON qx.wen_jian_id_=wj.wen_jian_id_ WHERE qx.shou_quan_='1' and qx.yong_hu_id_='${sorts.userId}' ${wheres}`
 

+ 1 - 1
src/views/infosManage/internalFiles/internalFiles.vue

@@ -193,7 +193,7 @@ export default {
                         SELECT 1
                         FROM t_wjcysqb 
                         WHERE yong_hu_id_ = t.yong_hu_id_ AND wen_jian_id_ = t.wen_jian_id_
-                        AND create_time_ > t.create_time_
+                        AND fa_bu_ri_qi_ > t.fa_bu_ri_qi_
                     )
                 ) qx LEFT JOIN t_wjgl wj ON qx.wen_jian_id_=wj.wen_jian_id_ WHERE qx.shou_quan_='1' and qx.yong_hu_id_='${sorts.userId}' ${wheres}`
 

+ 1 - 1
src/views/permissions/details/fileEchart.vue

@@ -110,7 +110,7 @@ export default {
                 SELECT 1
                 FROM t_wjcysqb 
                 WHERE yong_hu_id_ = t.yong_hu_id_ AND wen_jian_id_ = t.wen_jian_id_
-                AND create_time_ > t.create_time_
+                AND fa_bu_ri_qi_ > t.fa_bu_ri_qi_
             )) qx LEFT JOIN t_wjgl wj ON qx.wen_jian_id_=wj.wen_jian_id_ where qx.yong_hu_id_='${id}' order by wj.wen_jian_lie_xing desc`
       curdPost('sql', sql).then(res => {
         for (let i of res.variables.data) {