修改limt->limit
This commit is contained in:
parent
38a42641a2
commit
7ac2894ba1
|
|
@ -527,7 +527,7 @@ public class CareOrdersServiceImpl extends ServiceImpl<CareOrdersMapper, CareOrd
|
||||||
qw.likeRight("order_no", todayPrefix);
|
qw.likeRight("order_no", todayPrefix);
|
||||||
qw.select("order_no");
|
qw.select("order_no");
|
||||||
qw.orderByDesc("order_no");
|
qw.orderByDesc("order_no");
|
||||||
qw.last("limt 1");
|
qw.last("limit 1");
|
||||||
CareOrders entity = this.getOne(qw);
|
CareOrders entity = this.getOne(qw);
|
||||||
int todayNo = 0;
|
int todayNo = 0;
|
||||||
int totalNo = 0;
|
int totalNo = 0;
|
||||||
|
|
|
||||||
|
|
@ -436,7 +436,7 @@ public class QlOrdersServiceImpl extends ServiceImpl<InvoicingOrdersMapper, Invo
|
||||||
qw.likeRight("order_no", todayPrefix);
|
qw.likeRight("order_no", todayPrefix);
|
||||||
qw.select("order_no");
|
qw.select("order_no");
|
||||||
qw.orderByDesc("order_no");
|
qw.orderByDesc("order_no");
|
||||||
qw.last("limt 1");
|
qw.last("limit 1");
|
||||||
InvoicingOrders entity = this.getOne(qw);
|
InvoicingOrders entity = this.getOne(qw);
|
||||||
int todayNo = 0;
|
int todayNo = 0;
|
||||||
int totalNo = 0;
|
int totalNo = 0;
|
||||||
|
|
|
||||||
|
|
@ -146,7 +146,7 @@ public class ThOrdersServiceImpl extends ServiceImpl<InvoicingOrdersMapper, Invo
|
||||||
qw.likeRight("order_no", todayPrefix);
|
qw.likeRight("order_no", todayPrefix);
|
||||||
qw.select("order_no");
|
qw.select("order_no");
|
||||||
qw.orderByDesc("order_no");
|
qw.orderByDesc("order_no");
|
||||||
qw.last("limt 1");
|
qw.last("limit 1");
|
||||||
InvoicingOrders entity = this.getOne(qw);
|
InvoicingOrders entity = this.getOne(qw);
|
||||||
int todayNo = 0;
|
int todayNo = 0;
|
||||||
int totalNo = 0;
|
int totalNo = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue