|
@@ -261,7 +261,7 @@ function getqkCurrent(req) {
|
|
function getGlCurrent(req) {
|
|
function getGlCurrent(req) {
|
|
let dcbh = req.body.dcbh;
|
|
let dcbh = req.body.dcbh;
|
|
let value = req.body.value;
|
|
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);
|
|
console.log(sql);
|
|
return sql;
|
|
return sql;
|
|
}
|
|
}
|