letsql=`select count(1) as total from invoice_apply a inner join invoice b on a.id=b.id where 1=1 ${where}`;
lettotal=awaitthis.customQuery(sql);
// let sqlData=`select a.apply_no,a.type,a.invoice_amount,a.invoice_time,b.status,a.merchant_name,a.businessmen_name,a.id from invoice_apply a, invoice b where 1=1 ` ;