upd
This commit is contained in:
@ -842,7 +842,7 @@ class ProcJustificationAdapter extends Adapter {
|
||||
try {
|
||||
let _idx = req.query.id;
|
||||
|
||||
let qry = "select * from vw_procjustification where id='" + _idx + "'";
|
||||
let qry = "select v.*, p.remark from vw_procjustification v LEFT JOIN tbl_procjustification p ON p._idx = v.id where v.id='" + _idx + "'";
|
||||
|
||||
console.log(qry);
|
||||
db.query(qry, [], function (err, result, fields) {
|
||||
|
||||
Reference in New Issue
Block a user