dcat-admin icon indicating copy to clipboard operation
dcat-admin copied to clipboard

查询过滤---month 无法查询到数据的bug?

Open zyenggook opened this issue 1 year ago • 0 comments

  • Laravel Version: 10.32.1
  • PHP Version: 8.2.12
  • Dcat Admin Version: 2.2.2-beta

Description:

查询过滤使用month,无法查询到数据 1701255793989 如图bill_month字段类型为varchar,值设置了3种,一个都查询不到

点击搜索之后url参数中bill_month携带的值是2023-10,如下图 1701255988309

laravel-debugger里显示的sql语句如下图 1701256053885

貌似对月份查询的值没有进行处理,month(’bill_month‘)=’2023‘ ??,url参数中bill_month改成10就能查询到

Steps To Reproduce:

zyenggook avatar Nov 29 '23 11:11 zyenggook