一.工程目录 下面是搭建之后的目录 先看一下目录关系 taotao-parent(父工程管理jar包的版本) |--taotao-common(把通用的工具类打包) |--taotao-manager(继承父工程) |-taotao-manager-pojo |-taotao-manager-dao ...
分类:
其他好文 时间:
2020-05-29 15:08:03
阅读次数:
65
一.springmvc-mybatis整合思路 1..整合dao层 1.整合mybatis和spring,把mapper接口交给spring容器来管理,由于mapper接口可能存在多个的现象,使用mapper的扫描的方式在容器中注册 2..整合service层 2.spring管理service接口 ...
分类:
编程语言 时间:
2020-05-28 16:52:00
阅读次数:
66
转:https://blog.csdn.net/baidu_41885330/article/details/81875395 开发环境:IDEA, SprngBoot 2.0.4, Maven 2.19.1工程结构: 父工程father 子模块 dao (用于持久化数据跟数据库交互) 子模块 en ...
分类:
编程语言 时间:
2020-05-28 13:10:19
阅读次数:
69
//数组倒叙排列 #include<stdio.h> #define SIZE 5 void dao(int*, int size); main() { int a[SIZE]; int i; for (i = 0;i < SIZE;i++) { scanf_s("%d", &a[i]); } da ...
分类:
编程语言 时间:
2020-05-28 00:42:59
阅读次数:
52
Socket命令发送 public void LostLicense(LicenseInfo license) { var arr = Dao.QueryForList<Hashtable>(Dao.GetStatementName("LostLicense"), license); string ...
分类:
其他好文 时间:
2020-05-27 18:38:56
阅读次数:
69
package com.lzl.dao; import java.util.List; import org.apache.ibatis.annotations.Param; import com.lzl.pojo.Mingxi;import com.lzl.pojo.Wuliao; public ...
分类:
数据库 时间:
2020-05-27 11:51:40
阅读次数:
81
泛型方法的根本目的就是一个方法代替多个方法,满足不同类型的需求 例如,差不多的方法体需要传入不同参数 public class GenericMenthod { public static void GetName(string name) { Console.WriteLine("" + name ...
分类:
其他好文 时间:
2020-05-26 18:02:19
阅读次数:
127
查看私有仓库镜像的版本列表 格式: curl -XGET http://仓库地址/v2/镜像名称/tags/list # curl -XGET http://docker.vonedao.com/v2/vonedao-cs/vonedao-tenant-message-biz/tags/list { ...
分类:
其他好文 时间:
2020-05-26 12:13:40
阅读次数:
153
前言 线段树合并:https://www.luogu.com.cn/blog/styx-ferryman/xian-duan-shu-ge-bing-zong-ru-men-dao-fang-qi 题意 给你一颗$n$个节点的树,每个节点都有权值且唯一,输出$n$行,输出的第$i$行应当给出有多少节 ...
分类:
其他好文 时间:
2020-05-26 00:50:25
阅读次数:
64
来源:oschina https://my.oschina.net/u/3080373/blog/1828589 什么是JPA? 全称Java Persistence API,可以通过注解或者XML描述【对象 关系表】之间的映射关系,并将实体对象持久化到数据库中。 为我们提供了: 1)ORM映射元数 ...
分类:
编程语言 时间:
2020-05-25 15:52:15
阅读次数:
65