上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 18 下一页
摘要: 一、命名 1、【强制】代码中的命名均不能以美元符号或下划线开始或结束。 2、【强制】代码中的命名严禁使用拼音与英文混合的方式,更不允许直接使用中文的方式。 3、【强制】类名使用 UpperCamelCase 风格,必须遵从驼峰形式,但以下情形例外:DO / BO / DTO / VO / AO。 4 阅读全文
posted @ 2019-10-25 17:01 清华大咖 阅读(522) 评论(0) 推荐(0) 编辑
摘要: jdbc.url=jdbc:mysql://localhost:3306/crowdfunding?allowMultiQueries=true&useUnicode=true&characterEncoding=utf8 阅读全文
posted @ 2019-10-16 13:53 清华大咖 阅读(114) 评论(0) 推荐(0) 编辑
摘要: git init # 初始化本地git仓库(创建新仓库) git config --global user.name "xxx" # 配置用户名 git config --global user.email "xxx@xxx.com" # 配置邮件 git config --global color 阅读全文
posted @ 2019-10-09 13:56 清华大咖 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 启动tomcat后,console报错如下: Caused by: org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup. 由于这种错误都 阅读全文
posted @ 2019-09-30 09:44 清华大咖 阅读(1218) 评论(0) 推荐(0) 编辑
摘要: 注明:className必须为全名,也就是得包含包名,比如,cn.netjava.pojo.UserInfo; OK,有了对象就什么都好办了,想要什么信息就有什么信息了。 获得构造函数的方法 获得类方法的方法 阅读全文
posted @ 2019-09-26 09:15 清华大咖 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 使用mybatis传入参数,如果在mappin.xml中使用<if>标签判断该参数是否为空,通常会报以上异常,解决方法:​在接口中该方法的参数前加上@Param("参数名")注解,即可​ 阅读全文
posted @ 2019-09-24 15:23 清华大咖 阅读(2100) 评论(0) 推荐(0) 编辑
摘要: AOP概念: 1、Aspect(切面):在Aspect中包含一些Point cut 与Advice 2、JoinPoint(连接点):表示在程序中明确定义的点,典型的包括方法调用,对类成员的访问以及异常处理程序块的执行等等,它自身还可以嵌套其它 joint point。 3、Point cut(切入 阅读全文
posted @ 2019-09-20 16:44 清华大咖 阅读(577) 评论(0) 推荐(0) 编辑
摘要: 1、@Deprecated 这个元素是用来标记过时的元素,编译器在编译阶段遇到这个注解时会发出提醒警告,告诉开发者正在调用一个过时的元素比如过时的方法、过时的类、过时的成员变量。 2、@Override 提示子类要复写父类中被 @Override 修饰的方法 3、@SuppressWarnings 阅读全文
posted @ 2019-09-19 14:12 清华大咖 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 元注解:元注解的作用就是负责注解其他注解 1.@Target 2.@Retention 3.@Document 4.@Inhrited 1、@Target 修饰的对象范围:packages、types(类、接口、枚举、Annotation类型)、类型成员(方法、构造方法、成员变量、枚举值)、方法参数 阅读全文
posted @ 2019-09-19 13:53 清华大咖 阅读(163) 评论(0) 推荐(0) 编辑
摘要: update ys_yhxx yh,ys_yhxx_copy yhc set yh.customerPhone=yhc.customerPhone where yh.customerId=yhc.customerId 阅读全文
posted @ 2019-09-11 16:05 清华大咖 阅读(726) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 18 下一页