소스 검색

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