dev
parent
1aae66c5e1
commit
7f13f2cc11
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue