dev
parent
896398acb2
commit
4fdefe5389
|
|
@ -66,11 +66,13 @@ public class InvoiceUseService {
|
||||||
List<Object> paramlog = new ArrayList<>();
|
List<Object> paramlog = new ArrayList<>();
|
||||||
List<Object> paramord = new ArrayList<>();
|
List<Object> paramord = new ArrayList<>();
|
||||||
|
|
||||||
logsql += " and t.create_time like ? \n";
|
logsql += " and t.create_time >= ? and t.create_time < date_add(?, interval 1 day)\n";
|
||||||
ordsql += " and t.create_time like ? \n";
|
ordsql += " and t.create_time >= ? and t.create_time < date_add(?, interval 1 day)\n";
|
||||||
|
|
||||||
paramlog.add(tm + "%");
|
paramlog.add(tm);
|
||||||
paramord.add(tm + "%");
|
paramlog.add(tm);
|
||||||
|
paramord.add(tm);
|
||||||
|
paramord.add(tm);
|
||||||
|
|
||||||
if (supermarket_id != null) {
|
if (supermarket_id != null) {
|
||||||
logsql += " and r.supermarket_id = ? \n"; // 这里用领用记录的 supermarket_id
|
logsql += " and r.supermarket_id = ? \n"; // 这里用领用记录的 supermarket_id
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,8 @@ public class CheckExceptionDataJob implements Job {
|
||||||
public void execute() {
|
public void execute() {
|
||||||
int cnt = Db.queryInt("select count(t.sn) cnt from order_temp t\n" +
|
int cnt = Db.queryInt("select count(t.sn) cnt from order_temp t\n" +
|
||||||
" left join transport p on t.sn = p.order_sn\n" +
|
" left join transport p on t.sn = p.order_sn\n" +
|
||||||
" where p.id is null");
|
" where t.state = 5 \n" +
|
||||||
|
" and p.id is null");
|
||||||
|
|
||||||
if (cnt > 0) {
|
if (cnt > 0) {
|
||||||
String content = "浠水砂石系统有 " + cnt + " 条异常数据。";
|
String content = "浠水砂石系统有 " + cnt + " 条异常数据。";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue