摘要: 用注解来简化xml配置的时候,@Param注解的作用是给参数命名,参数命名后就能根据名字得到参数值,正确的将参数传入sql语句中 下午在写转账操作时,dao接口中的方法 @Update(update account set money = money - #{money} where id = #{ 阅读全文
posted @ 2020-10-09 10:11 叮当喵m 阅读(551) 评论(0) 推荐(0)
摘要: 一串字符: http://aaa/cccc/cccc/aaaa/xiao.jpg 取 xiao.jpg 1 public class Test1 { 2 3 public static void main(String[] args) { 4 String str = "http://aaa/ccc 阅读全文
posted @ 2020-10-09 10:06 叮当喵m 阅读(2979) 评论(0) 推荐(0)