lisai17@sina.com 2020-11-17 16:06:26 +08:00
parent 1aae66c5e1
commit 7f13f2cc11
1 changed files with 14 additions and 10 deletions

View File

@ -129,6 +129,9 @@ public class InvoiceUseService {
List<Record> list = new ArrayList<>();
if (invoice_state != null) {
list = Db.find(logsql + " order by t.create_time", paramlog.toArray());
} else {
if (invoice_type != null && invoice_type == 1) {
list = Db.find(logsql + " order by t.create_time", paramlog.toArray());
} else {
@ -144,6 +147,7 @@ public class InvoiceUseService {
list = Db.find("select * from (" + logsql + "\n union \n " + ordsql + ") a order by a.create_time ", paramlog.toArray());
}
}
Record out = new Record();
out.set("list", list);