Commit 026b3250 by 王昆

gsb

parent 4e322908
......@@ -97,9 +97,10 @@ class TaxinfoDao extends Dao {
async pageByUser(params) {
var sql = [];
sql.push("SELECT");
sql.push("`id`, `company_name`, `usc_code`, `name`, `id_no`, `actual_amount`, `income_tax`,");
sql.push("`tax_time`, `sign_body`, `tax_url`, `created_at`, `updated_at`, `deleted_at`,");
sql.push("`version`, `redundance_1`, `redundance_2`, `redundance_3`, `redundance_4`,");
sql.push("*,");
// sql.push("`id`, `company_name`, `usc_code`, `name`, `id_no`, `actual_amount`, `income_tax`,");
// sql.push("`tax_time`, `sign_body`, `tax_url`, `created_at`, `updated_at`, `deleted_at`,");
// sql.push("`version`, `redundance_1`, `redundance_2`, `redundance_3`, `redundance_4`,");
sql.push("count(1) AS times");
sql.push("FROM `tax_info`");
sql.push("WHERE 1 = 1");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment