浏览代码

fix:修改功率图表服务

开发 1 月之前
父节点
当前提交
e9b850c504
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/server/jiance-echartServer/util/sqlUtil.js

+ 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;
 }