Kaynağa Gözat

fix:修改功率图表服务

开发 1 ay önce
ebeveyn
işleme
e9b850c504

+ 1 - 1
Source/server/jiance-echartServer/util/sqlUtil.js

@@ -261,7 +261,7 @@ function getqkCurrent(req) {
 function getGlCurrent(req) {
   let dcbh = req.body.dcbh;
   let value = req.body.value;
-  let sql = `select a.dcbh, b.time,${value} from t_gonglv_account as a ,t_glanalysispro_account as b where a.qxxh = b.curvenumber`;
+  let sql = `select a.dcbh, b.time,${value} from t_gonglv_account as a ,t_glanalysispro_account as b where a.qxxh = b.curvenumber and a.dcbh = '${dcbh}' `;
   console.log(sql);
   return sql;
 }