<select id="queryCount" resultType="cn.bnsr.edu_yun.view.FileView"> SELECT sum(download_times) as downloadNum ,sum(click_times) as browseNum FROM file_property <if test="_parameter != null"> WHERE id in <foreac
在Mybatis多条件查询中: 1.参数如果是多条件,则需要将将添加到Map集合中进行传入. 2.就是将其参数用有序数字进行代替. Mybatis单个String类型参数传递 mysql文如下,传入参数为‘parentCategoryId’,运行报错为:There is no getter for property named 'parentCategoryId' in 'class java.lang.String <select id="selectCategoryList"