摘要: 1 # Set root category priority to INFO and its only appender to CONSOLE. 2 #log4j.rootCategory=INFO, CONSOLE debug info warn error fatal 3 log4j.rootC 阅读全文
posted @ 2021-07-25 23:01 yub4by 阅读(46) 评论(0) 推荐(0)
摘要: SSM框架整合思路 1、创建数据库表结构 1 create table account( 2 id int primary key auto_increment, 3 name varchar(20), 4 money double 5 ); 2、创建maven工程(利用webapp骨架模板) 3、 阅读全文
posted @ 2021-07-25 19:05 yub4by 阅读(119) 评论(0) 推荐(0)
摘要: 1 package com.haifei.domain; 2 3 public class Role { 4 5 private int id; 6 private String roleName; 7 private String roleDesc; 8 9 public int getId() 阅读全文
posted @ 2021-07-25 17:54 yub4by 阅读(56) 评论(0) 推荐(0)
摘要: 1 package com.haifei.domain; 2 3 import java.util.Date; 4 import java.util.List; 5 6 public class User { 7 8 private int id; 9 private String username 阅读全文
posted @ 2021-07-25 17:53 yub4by 阅读(54) 评论(0) 推荐(0)
摘要: 1 package com.haifei.domain; 2 3 import java.util.Date; 4 import java.util.List; 5 6 public class User { 7 8 private int id; 9 private String username 阅读全文
posted @ 2021-07-25 16:57 yub4by 阅读(58) 评论(0) 推荐(0)
摘要: 注解方式实现Mybatis的增删改查 1 <?xml version="1.0" encoding="UTF-8" ?> 2 <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org 阅读全文
posted @ 2021-07-25 16:16 yub4by 阅读(60) 评论(0) 推荐(0)
摘要: 传统xml方式实现Mybatis的增删改查 1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.apache.org/POM/4.0.0" 3 xmlns:xsi="http://www.w3.org/200 阅读全文
posted @ 2021-07-25 16:13 yub4by 阅读(61) 评论(0) 推荐(0)
摘要: 1 <?xml version="1.0" encoding="UTF-8" ?> 2 <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-conf 阅读全文
posted @ 2021-07-25 11:44 yub4by 阅读(57) 评论(0) 推荐(0)
摘要: 1 package com.haifei.domain; 2 3 import java.util.Date; 4 import java.util.List; 5 6 /** 7 * user表 8 * sys_user_role表 9 */ 10 public class User { 11 1 阅读全文
posted @ 2021-07-25 11:43 yub4by 阅读(43) 评论(0) 推荐(0)
摘要: 1 package com.haifei.domain; 2 3 import java.util.Date; 4 import java.util.List; 5 6 /** 7 * user表 8 */ 9 public class User { 10 11 private int id; 12 阅读全文
posted @ 2021-07-25 11:37 yub4by 阅读(42) 评论(0) 推荐(0)
摘要: 1 package com.haifei.domain; 2 3 import java.util.Date; 4 import java.util.List; 5 6 /** 7 * user表 8 */ 9 public class User { 10 11 private int id; 12 阅读全文
posted @ 2021-07-25 11:32 yub4by 阅读(59) 评论(0) 推荐(0)