第一步 搭建运行环境 参考 mybatis 多对一查询的两种实现方式 第二步 编写代码 1、创建实体类Teacher和Student,一个老师给多个学生上课,一对多关系 Student package com.xiahui.pojo; import lombok.AllArgsConstructor ...
分类:
其他好文 时间:
2021-02-16 12:40:40
阅读次数:
0
Django批量导入数据库-bulk_create() if request.method == 'POST': text_list=request.POST.getlist('text') pwd_list = request.POST.getlist('pwd') datas = [] for ...
分类:
数据库 时间:
2021-02-16 12:34:27
阅读次数:
0
1、项目的定义 在《PMBOK 6th》中对项目定义如下: 为创造独特的产品、服务或成果而进行的临时性工作。 这个定义很短,但是每个词都很关键。首先是项目的特征: 独特性:独一无二,没有完全一样的两个项目,没法简单重复过去的做法。 临时性:也称一次性、阶段性,项目总有开始和结束,是“临时性”的工作。 ...
分类:
其他好文 时间:
2021-02-16 12:25:30
阅读次数:
0
markdown语法学习 标题 #空格 二级标题 ##空格 三级标题至六级标题#依次增加 字体 Hello World 粗体:在字体两边加** Hello World 斜体:在字体两边加* Hello World 粗体加斜体:在字体两边加*** Hello World 删除线:在字体两边加~~ 引用 ...
分类:
其他好文 时间:
2021-02-16 12:15:47
阅读次数:
0
Introduction: It's a paper to reorganize the knowledge of List Rendering in Vue official guide. So a lot of content is from the Vue Official guide. Th ...
分类:
其他好文 时间:
2021-02-16 12:03:49
阅读次数:
0
119. 杨辉三角 II 给定一个非负索引 k,其中 k ≤ 33,返回杨辉三角的第 k 行。 在杨辉三角中,每个数是它左上方和右上方的数的和。 示例: 输入: 3 输出: [1,3,3,1] class Solution { public List<Integer> getRow(int rowI ...
分类:
其他好文 时间:
2021-02-16 11:50:12
阅读次数:
0
使用安装包直接安装 # 10/22/2020 安装过程如下: 1)官网下载 deb 安装包:https://www.opera.com/download 2)在 Debian 中,执行 dpkg -i opera-xxxx.deb 命令进行安装。 使用包管理器安装 cat > /etc/apt/so ...
分类:
系统相关 时间:
2021-02-16 11:40:45
阅读次数:
0
app.vue <template> <div> <list :data="data"></list> <hr/> <render :data="data"></render> </div> </template> <script> import list from "./list.vue"; im ...
分类:
其他好文 时间:
2021-02-15 12:41:49
阅读次数:
0
资料1: https://wladimir-tm4pda.github.io/source/git-repo.html sync命令: repo sync [project-list ] Downloads new changes and updates the working files in y ...
分类:
其他好文 时间:
2021-02-15 12:26:44
阅读次数:
0
原题 1 class Solution: 2 def searchRange(self, nums: List[int], target: int) -> List[int]: 3 ans,lens = [-1,-1],len(nums) 4 left,right,flag = 0,lens - 1 ...
分类:
编程语言 时间:
2021-02-15 12:26:30
阅读次数:
0