06 2020 档案

摘要:前端网页 html+css+JS+jQuery基础 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Insert title here</title> ​ <style type="text/css"> /*注释*/ .t1{ 阅读全文
posted @ 2020-06-10 12:59 supfit 阅读(248) 评论(0) 推荐(0)
摘要:Service层面的业务处理 基本插入业务的逻辑 public int insert(DepartmentModel model) { //根据部门编号查询,确保数据不重复才可以添加 DepartmentModel m1 = new DepartmentModel(); m1.setCode(mod 阅读全文
posted @ 2020-06-10 12:57 supfit 阅读(174) 评论(0) 推荐(0)
摘要:第五天 服务层/业务层 service //业务层/服务层--实现功能的业务逻辑 ​ @Service public class DepartmentService { @Autowired private DepartmentMapper mapper; public int insert(Dep 阅读全文
posted @ 2020-06-03 11:57 supfit 阅读(446) 评论(0) 推荐(0)
摘要:第四天 数据层--通过Java代码来实现对数据库中数据的操作(增删改查) JDBC mybatis--mapper包名 接口: 静态常量 public static final 抽象方法 void f1(); Mybatis 的Mapper层(dao层)创建 @Mapper public inter 阅读全文
posted @ 2020-06-01 12:40 supfit 阅读(102) 评论(0) 推荐(0)