2021
09-06
09-06
mybatis框架order by作为参数传入时失效的解决
mybatisorderby作为参数传入失效mxl中的语句如下<selectid="statToday"resultType="com.dahua.la.business.model.vo.StatSysResultVO">selecta,b,count(1)astotalfromtablewhereaisnotnullandbisnotnullandoperateTime>=#{startTime,jdbcType=TIMESTAMP}andoperateTime<=#{endTime,jdbcType=TIMESTAMP}groupbya,borderby<foreac...
继续阅读 >