mybatis傳遞多個參數隻能用{0},{1}
不能寫參數名
public String dosearchLog(@Param("startTime") String startTime,@Param("endTime") String endTime)
<select id="getLogListByTime" resultType="xxxForm">
select * from log where createtime>= #{0} and createtime<=#{1}
</select>