mybatis
haors
研究方向:大数据中的异常检测,或者孤立点检测,现任java开发攻城狮,发表SCI论文,论文题目是:Outlier detection based on multi-dimensional clustering and local density和一篇已投的EI英文论文,题目是:Outlier detection based on local weighted distance
展开
-
There is no getter for property named ‘XXX‘ in ‘class java.lang.String‘解决方法
使用mybatis模糊查询的时候,mapper的方法为: List<Scientific> selectScientificBytitle(String title);//模糊查询 xml的写法是: <select id="selectScientificBytitle" parameterType="java.lang.String" resultType="com.lancoo.primaryedu.entity.domain.Scientific"> sel.原创 2020-07-16 21:43:53 · 1197 阅读 · 0 评论 -
springboot的框架mybatis插入多条数据
最近遇到一个需求,就是保存数据,一次性保存很多,之前我都是一条一条的insert,那样一来其实浪费了很多io,效率不高,因因此,批量插入,安排起来!! mapper的方法是这样写的。 int insertBatch(List<对象> record); 我这里直接用“对象”表示,实际按照自己具体的对象名来即可。 然后xml的写法如下,我的主键id 是自增长(推荐自增长...原创 2020-04-24 15:16:34 · 1961 阅读 · 0 评论 -
mybatis多参数查询,xml的写法
<select id="xxx" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from 数据表 where 参数1 = #{arg0} and 参数2 = #{arg1} </select> 对象 selectByco...原创 2020-04-23 10:38:25 · 767 阅读 · 0 评论