当前位置:网站首页>Internship: business process introduction
Internship: business process introduction
2022-06-28 00:25:00 【ahyo】
One . What is? AbstractWrapper
QueryWrapper(LambdaQueryWrapper) and UpdateWrapper(LambdaUpdateWrapper) Parent class of
Used to generate sql Of where Conditions , entity Properties are also used to generate sql Of where Conditions
Be careful : entity Generated where Conditions and Use each api Generated where The condition has no associated behavior
Wrapper:
Wrapper : Conditionally construct abstract classes , Top parent class , Provided in an abstract class 4 A way
AbstractWrapper : Used to encapsulate query conditions , Generate sql Of where Conditions
AbstractLambdaWrapper : Lambda Grammar use Wrapper Unified processing and parsing lambda obtain column.
LambdaQueryWrapper : You can see that the name is used for Lambda Query used by syntax Wrapper
LambdaUpdateWrapper : Lambda Update package Wrapper
QueryWrapper : Entity Object encapsulates the operation class , Not with lambda grammar
UpdateWrapper : Update Conditional encapsulation , be used for Entity Object update operation
Besides , understand MyBatis The use of is not enough Enterprises use more MyBaits-plus, So I went to the official documents to check the usage of relevant classes and methods .
Mybatis-plus Tool class ——SimpleQuery Tool class
explain :
Yes selectList The result of the query is Stream Stream has some encapsulation , So that it can return some specified results , It's simple api Call to
The corresponding entity has been injected into the project BaseMapper
Please refer to : The test case (opens new window)
For the following parameters peeks, The type of Consumer..., You can stack operations all the way back, such as :List<Long> ids = SimpleQuery.list(Wrappers.lambdaQuery(), Entity::getId, System.out::println, user -> userNames.add(user.getName()));
Be familiar with the business process of the company :
1、 Familiar with database table structure and project code , First write an interface by yourself
2、 According to the interface document Interface adjustment
Then I learned from my further practice that ——swagger and MyBatis-plus You need to learn to understand .
Table structure Is the field name and its data type It has nothing to do with the availability of data .
边栏推荐
- Eliminate gaps around El image images
- 炼金术(2): 为什么要用issue管理软件
- Summary of wuenda's machine learning course (11)_ Support vector machine
- [黑苹果系列] M910x完美黑苹果系统安装教程 – 2 制作系统U盘-USB Creation
- 翻译(4): 文本自动完成的匹配规则
- Mise en œuvre du pool de Threads: les sémaphores peuvent également être considérés comme de petites files d'attente
- Sentinel
- 每次启动项目的服务,电脑竟然乖乖的帮我打开了浏览器,100行源码揭秘!
- 现代编程语言:Rust (铁锈,一文掌握钢铁是怎样生锈的)
- 赛尔笔记|视频文本预训练简述
猜你喜欢
![Software engineering job design (1): [personal project] implements a log view page](/img/95/0c3f0dde16d220ddecb5758a4c31e7.png)
Software engineering job design (1): [personal project] implements a log view page

Matlb| improved forward push back method for solving power flow of low voltage distribution network
Does the subscription of Siyuan notes stop deleting cloud data directly?

吴恩达《机器学习》课程总结(11)_支持向量机

Promise是什么

【论文阅读|深读】SDNE:Structural Deep Network Embedding

Msp430f5529 MCU reads gy-906 infrared temperature sensor

Mongodb- install a mongodb database locally on the windows computer

2022 PMP project management examination agile knowledge points (3)

zotero文献管理工具安装使用
随机推荐
Hcip/hcie Routing & Switching / datacom Reference Dictionary Series (19) comprehensive summary of PKI knowledge points (public key infrastructure)
每次启动项目的服务,电脑竟然乖乖的帮我打开了浏览器,100行源码揭秘!
It supports deleting and updating the priority queue of any node
How to use raspberry pie (and all kinds of pies)
软件工程作业设计(1): [个人项目] 实现一个日志查看页面
Oracle数据库的启停
Code neatness -- format
Matlb| optimal configuration of microgrid in distribution system based on complex network
Leetcode 720. 词典中最长的单词(为啥感觉这道题很难?)
Local visualization tool connects to redis of Alibaba cloud CentOS server
MYSQL的下载与配置安装
内网IP和公网IP的区别及作用
The limits of Technology (11): interesting programming
Arduino UNO通过电容的直接检测实现简易触摸开关
CharSequence初探
Feign implements path escape through custom annotations
Promise是什么
Logging log usage
线程池实现:信号量也可以理解成小等待队列
Arduino uno realizes simple touch switch through direct detection of capacitance