1.基础(SpringMVC和SpringBoot都有在用) @Controller 通常用于标注在控制层类上。 @Service 通常用于标注在业务层实现类上。可以设置自定义service类的别名,在控制层引入时就需要根据设置的别名进行引入。 @Mapper 不需要在启动类上配置扫描,会在运行时通 ...
分类:
编程语言 时间:
2021-04-09 13:04:25
阅读次数:
0
官方文档: https://docs.docker.com/engine/install/centos/ 1、先卸载旧版本 sudo yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-l ...
分类:
其他好文 时间:
2021-04-08 13:41:47
阅读次数:
0
package com.supermarket.common.utils;import java.lang.reflect.Field;import java.lang.reflect.Method;import java.text.SimpleDateFormat;import java.time ...
分类:
编程语言 时间:
2021-04-08 13:35:35
阅读次数:
0
//工具类 package test; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Font; import java.awt.FontMetrics; import java.awt.Graphics; i ...
分类:
编程语言 时间:
2021-04-08 13:33:23
阅读次数:
0
大整数BigInteger package com.zmd.common_class_libraries; import java.math.BigInteger; /** * @ClassName BigNumberExample * @projectName: object1 * @author ...
分类:
编程语言 时间:
2021-04-08 13:23:52
阅读次数:
0
题目 分析 可取状态只能是斐波那契数,求出SG函数 然后判断三个数sg函数异或和不为0先手必胜 代码 #include <cstdio> #include <cctype> #define rr register using namespace std; const int p[15]={1,2,3 ...
分类:
其他好文 时间:
2021-04-07 10:55:22
阅读次数:
0
原题链接 考察:区间dp 这题好像HDU 4283 可以往左或者往右走.但是这道题起始位置不确定,也就是说,i位置不一定是栈底. 非常详细的题解 思路: 因为题目完全不一样,所以必须换一个思路.以f[i][j]表示灭掉[i,j]所有灯消耗的功率.首先明确老张灭灯只要路过了就会灭,因此最后的位置要么是 ...
分类:
其他好文 时间:
2021-04-07 10:35:12
阅读次数:
0
主要是为了实现类似数据联邦的功能的 参考图 代码 package com.dalong.dremio; import com.dremio.common.AutoCloseables; import com.dremio.common.util.CloseableIterator; import c ...
分类:
其他好文 时间:
2021-04-06 15:17:28
阅读次数:
0
题目链接 题意:求无向图最小环(n<=8000,m<=4000) 动态把边加进去跑Dij,在加入一条边(u,v,c)之前,先求出mindis(u,v),更新答案ans=min(ans,mindis(u,v)+c),复杂度$O(m^2logn)$ 1 #include<bits/stdc++.h> 2 ...
分类:
其他好文 时间:
2021-04-06 14:28:01
阅读次数:
0
Ubuntu 安装软件源拓展工具: apt -y install software-properties-common apt-transport-https lsb-release ca-certificates 添加 Ond?ej Surý 的 PHP PPA 源,需要按一次回车: add-ap ...
分类:
Web程序 时间:
2021-04-06 14:11:12
阅读次数:
0