提交 a50e49c8 authored 作者: 艾庆国's avatar 艾庆国

运单预警

上级 c3447493
...@@ -29,10 +29,10 @@ public class VehicleWarnInfoSqlProvider { ...@@ -29,10 +29,10 @@ public class VehicleWarnInfoSqlProvider {
WHERE("status = #{param.status}"); WHERE("status = #{param.status}");
} }
else if (Objects.equals(param.getStatus(), VehicleWarnInfoEnum.Status.INIT.getCode())) { else if (Objects.equals(param.getStatus(), VehicleWarnInfoEnum.Status.INIT.getCode())) {
WHERE("(status = 1 and (suspendTime is null or suspendTime < now()))"); WHERE("(status = 1 and (suspend_time is null or suspend_time < now()))");
} }
else { else {
WHERE("(status = 1 and(suspendTime is not null and suspendTime > now()))"); WHERE("(status = 1 and(suspend_time is not null and suspend_time > now()))");
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论