Selaa lähdekoodia

fix:减少ibps_party_employee的查询列项

liujiayin 2 vuotta sitten
vanhempi
sitoutus
50126283b0
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/views/platform/org/role/user-list.vue

+ 1 - 1
src/views/platform/org/role/user-list.vue

@@ -252,7 +252,7 @@ export default {
         handleUpemployee (type, ids) {
         handleUpemployee (type, ids) {
             const tableName = 'ibps_party_employee'
             const tableName = 'ibps_party_employee'
             // 更新ibps_party_employee里job_信息
             // 更新ibps_party_employee里job_信息
-            const sql = `select *from ${tableName} where find_in_set(id_,'${ids}')`
+            const sql = `select ID_,JOB_ from ${tableName} where find_in_set(id_,'${ids}')`
             this.$common.request('sql', sql).then((res) => {
             this.$common.request('sql', sql).then((res) => {
                 const resDatas = res.variables.data
                 const resDatas = res.variables.data
                 const updListDatas = []
                 const updListDatas = []