
Mybatis
Jysx
这个作者很懒,什么都没留下…
展开
-
Left Join error
之前写链接查询的时候遇到了个小错误,记录下: SELECT * FROM ilike_class_sign as s1 right join(SELECT * FROM ilike_student where 1=1 AND name like CONCAT("%",1,"%") and status =0)s2 on s1.student_id = ...原创 2018-08-14 10:57:05 · 1417 阅读 · 0 评论 -
Mybatis:Check syntax #{property|(expression), var1=value1, var2=value2, ...}
异常代码:@Insert("insert into ilike_class_student(cls_id ,student_id ,create_by) values( #{classesId} ,#{studentId) ,#{createBy} )")错误在于:# {studentId ) 的后面那个括号与#{}不匹配,这是我自己经常会犯的一种愚蠢错误,找了好久从而...原创 2018-08-11 12:07:04 · 5024 阅读 · 8 评论