![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
工作常用
猴子望月
这个作者很懒,什么都没留下…
展开
-
使用axios
一 发送[1,2,3,4,5]数据类型时候 axios.post("/brand/delBrand.shtml",app.ids).then(function (res) { })后台写法:public Result delBrand(@RequestBody Long[] ids){ System.out.println(ids); re...原创 2020-05-05 04:52:50 · 100 阅读 · 0 评论 -
模板方法
模板方法 也叫钩子函数package design.template; abstract class Student { public void sleep(){ tuo_yi_fu(); tuo_xie(); guan_deng(); gai_bei_zi(); ...原创 2020-05-01 04:25:16 · 75 阅读 · 0 评论 -
原型设计模式
package design;public class Student implements Cloneable { private String name; private int age; private String sex; public Student() { } public Student(String name, int ag...原创 2020-05-01 01:09:24 · 89 阅读 · 0 评论 -
mysql分组函数(聚合函数)
sumSELECT SUM(id) FROM studentavgSELECT AVG(salary) FROM studentmaxSELECT MAX(id) FROM studentminSELECT MIN(id) FROM studentcountSELECT COUNT(id) FROM student这几个函数都 可以搭配distinct使用```s...原创 2020-04-17 15:34:17 · 94 阅读 · 0 评论 -
日期函数
一 返回系统当前时间SELECT NOW();SELECT CURDATE()SELECT CURTIME()SELECT YEAR(NOW()) 年SELECT MONTH(NOW())原创 2020-04-16 18:39:33 · 77 阅读 · 0 评论 -
mysql 数学函数
一 四舍武入SELECT ROUND(4.565)二 向上取正SELECT CEIL(2.15)三 向下取正SELECT FLOOR(2.15)四 截断SELECT TRUNCATE(2.15546,3)结果是 2.155 小数点后保留三位五 取模SELECT MOD(10,3)...原创 2020-04-16 18:26:35 · 100 阅读 · 0 评论 -
mysql 字符函数
字符函数SELECT LENGTH('jjjhgjkskn')concat 拼接字符串SELECT UPPER('asdf')SELECT LOWER('asDf')姓名大写 地址小写 然后拼接SELECT CONCAT(UPPER(sname),LOWER(address)) AS message FROM student;SELECT SUBSTR('我是一个...原创 2020-04-16 18:16:53 · 102 阅读 · 0 评论 -
mysql基本语法
Create Table表结构:CREATE TABLE `student` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(20) DEFAULT NULL, `age` int(11) DEFAULT NULL, PRIMARY KEY (`id`)) ENGINE=InnoDB AUTO_INCREMENT=...原创 2020-04-16 17:47:22 · 137 阅读 · 0 评论 -
增加框 删除框
<div id="app"> <table class="layui-table"> <thead> <tr> <th>关键物料唯一码</th> <th>操作</th> </tr> ...原创 2020-04-07 23:29:01 · 94 阅读 · 0 评论 -
Parameter 0 of method insertSelective in
Description:Parameter 0 of method insertSelective incom.ydmes.service.impl.productionmgr.dip.DipCheckSurfaceServiceImplrequired a bean of type‘com.ydmes.domain.entity.productionmgr.dip.DipCheckS...原创 2020-04-01 17:34:55 · 1073 阅读 · 1 评论 -
回车键发异步
> mounted: function () {> var $this = this;> $(document).off('keyup').keyup(function (e) {> if (e.keyCode == 13) {> $this.doInsertion();...原创 2020-03-31 01:33:19 · 81 阅读 · 0 评论 -
net connection refuse
在开发过程中,偶尔遇到这种情况,一直认真去分析。出现这个原因,大多数是服务器没有起来,好几次是因为自己的断点影响了。所以,如果出现这种情况,可以尝试将断点取消掉,看能不能成功。...原创 2020-01-07 16:54:33 · 180 阅读 · 0 评论 -
工作日志
这里写自定义目录标题Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerErrorInstantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError出现这个异常是因为我在一个类...原创 2019-11-26 16:25:30 · 62 阅读 · 0 评论