![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mybatis
文章平均质量分 64
qq_42331499
这个作者很懒,什么都没留下…
展开
-
mybatis使用中的一次错误
sprinboot 1.5.10。release mysql server5.6 mybatis2.2.01 如果是这种写法,在修改name为11用户密码的时候,会将id为11的用户密码一起修改<update id="updatePassword" parameterType="Map" > update user set password = #{param.password} where name = ${param.name} </update>2.原创 2022-02-21 20:23:12 · 265 阅读 · 0 评论 -
.ibatis.type.TypeException: Could not resolve type alias ‘String ‘. Cause: java.lang.Class
Unsatisfied dependency expressed through field 'collectionesMapper'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'collectionesMapper' defined in file [G:\Users\Administrator\IdeaProje原创 2022-01-11 11:42:48 · 602 阅读 · 0 评论 -
mybatis
1 批量查询,参数类型为List<String>,返回类型为实体类<select id="get_name_urlBy_fans" resultType="com.demo.demo202111091632.entity.Data_image"> select name , small_image_url from user where name in <foreach item="item" index="index" collection="nameL.原创 2021-12-27 11:06:25 · 203 阅读 · 0 评论 -
解决一下idea下activiti的assignee问题
填写assignee值后,总是出现保存不上的问题,那么怎么办呢,**.bpmn文件不要关,先保存,在执行如下代码@Testpublic void deplomentProcessDefination(){ Deployment deployment =processEngine.getRepositoryService() .createDeployment() .addClasspathResource("Boll2.bpmn原创 2020-09-20 15:19:55 · 2049 阅读 · 0 评论