Panda_02_预备知识

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_26981333/article/details/82973770

一、前言

前面我们搭建好了Panda的开发环境,这一节,来巩固下一些常用知识。

二、Git使用

1.参考资料

2.知识点列表

  • git 的安装
  • 工作区、暂存区、本地仓库、远程仓库
  • 命令清单
  • 分支管理
  • 标签管理
  • Git 使用规范流程
  • Git 工作流程

二、Spring MVC

1.参考资料

官方文档

2.知识点

@Controller
@RestController
@RequestMapping("/persons")
@GetMapping
@PostMapping
@PutMapping
@DeleteMapping
@PatchMapping
@ResponseBody
@RequestBody
@PathVariable
@RequestParam
Redirect attributes:
return “redirect:files/{path}”;

三、Mybatis

1.参考资料

官方文档中文版

2.知识点

增删改查(xml形式、注解形式)
动态sql
插件拦截器

四、panda相关

1.配置文件

Web.xml
applicationContext*.xml
servlet-Context.xml
config.properties

2.一些知识点

2.1 数据源配置

2.2 自动扫描哪些包

Controller:
Service:
Mapper:
Mapper.xml:

2.3 有哪些切面

service切面:ServiceExecutionAdvice

Service方法执行前:
将IRequest存入当前线程。
处理stdwho
Service方法执行后:
处理缓存设置与删除:CacheSet、CacheDelete

2.4 有哪些拦截器

3.单表增删改查

3.1 参考资料

HAP参考手册

(1)3.12 MyBatis 使用手册
(2)3.13 MyBatis 注意事项
(3)3.17 开发流程

3.2 参考的功能

fndBusinessRule.screen

3.3 Controller

(1)继承BaseController
(2)@Controller
(3)IRequest

使用BaseService的方法进行增删改查。

3.4 service

(1)继承 IBaseService
(2)继承 ProxySelf

3.5 mapper

(1) 继承Mapper
(2)多参数传递

3.6 mapper.xml

resultmap

猜你喜欢

转载自blog.csdn.net/qq_26981333/article/details/82973770
今日推荐