tp5.0.21、tp5.0.20发现在致命BUG

浏览:230 发布日期:2018/10/06
5.0.0 - 致命 - 已关闭
构建where条件时
$map['FROM_UNIXTIME(create_time,"%Y-%m-%d")'] = ['BETWEEN',$param['create_time']];

报错:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'FROM_UNIXTIME(create_time,"%Y-%m-%d")' in 'where clause'
评论(
后面还有条评论,点击查看>>