时间:2021-07-01 10:21:17 帮助过:23人阅读
SELECT freight_efcl_inventory_id, freight_efcl_id, closing_date, sailing_date, shipping_space_total, shipping_space_remain, shipping_space_used FROM freight_efcl_inventory WHERE 1=1 AND freight_efcl_id=#{freightEfclId} AND sailing_date >= DATE(current_timestamp) ORDER BY sailing_date ASC limit 4
注意:sailing_date字段类型是Date类型,系统当前时间current_timestamp时间格式带时分秒的,所以需要将其转换成Date类型。
< 上一篇
MySQL中的全文索引_MySQL
下一篇 >
MySQL联合查询_MySQL
记住我的登录 忘记密码?
登录
我已阅读用户协议及版权声明
注册