修改前代码:
select MAX (article_order)
from mall_school_article
where 1=1
and is_deleted = 0
and status = 1
and article_type = #{articleType,jdbcType=TINYINT}

and section = #{section,jdbcType=TINYINT}

报错:FUNCTION dev_operation.MAX does not exist
原因:mysql在使用函数查询时,函数名后面不能加空格

修改后代码:
select MAX(article_order) as
from mall_school_article
where 1=1
and is_deleted = 0
and status = 1
and article_type = #{articleType,jdbcType=TINYINT}

and section = #{section,jdbcType=TINYINT}

最新文章

  1. JDBC数据库1
  2. 开源 XFControls , 用于 Xamarin.Forms 的自定义控件集
  3. September 7th 2016 Week 37th Wednesday
  4. Node.app – 用于 iOS App 开发的 Node.js 解释器
  5. 传染病控制(codevs 1091)
  6. office 2016 专业增强版 和 visio 2016 专业版 下载安装(附带激活工
  7. 我的wordpress插件总结
  8. EXTJS 3.0 资料 控件之 combo 用法
  9. svn :Can't connect to host *.*.*.*': 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。
  10. stack 集合栈计算机 (摘)
  11. CF 319C(Kalila and Dimna in the Logging Industry-斜率DP,注意叉积LL溢出)
  12. JQ在光标处插入文字
  13. eclipse 导入gradle引入多模块项目,引入eclipse后变成了好几个工程
  14. CentOS7编译安装SVN(subversion1.9.7)
  15. mac os下不同工具go env下gopath显示不同
  16. crm --- 1.admin , 展示列表 和 分页
  17. sublime使用手册
  18. css引入外部字体使网站字体更美观
  19. redis学习(四)redis事务
  20. javascript php 数组 json 对比 总结

热门文章

  1. node.js通过iconv-lite完成gbk字符解码例子
  2. App installation failed (A valid provisioning profile for this executable was not found)
  3. 【tensorflow基础】ubuntu-tensorflow可视化工具tensorboard-No dashboards are active for the current data set.
  4. Web服务器、应用程序服务器、web应用服务器、反向代理服务器
  5. 西门子PLC1200内使用SCL实现简化版PID算法
  6. logrotate 切割日志
  7. Java设计模式之:单例模式
  8. 谷歌浏览器调试swoole长连接方法
  9. /x86_64-linux-gnu/libSM.so: undefined reference to `uuid_generate@UUID_1.0'错误
  10. JMeter进行Apache Kafka负载测试