class Work extends Model { protected $table='work'; protected $connection='zwhl'; public function follow(){ return $this->hasMany('WorkFollow','work_i ...
分类:
其他好文 时间:
2020-08-13 11:50:42
阅读次数:
55
title: woj1019 Curriculum Schedule 输入输出 date: 2020-03-19 10:43:00 categories: acm tags: [acm,woj] 水题,处理好输入输出就可以 1 描述 New semester has begun, a lot of ...
分类:
其他好文 时间:
2020-08-12 14:05:12
阅读次数:
48
原因:html里面的form和ajax各自提交了一遍POST请求,导致上面错误; 或者html里面的a和ajax各自提交了一遍POST请求,导致上面错误; 解决: 一. //谷歌及IE8以上 e.preventDefault(); //IE8及以下 window.event.returnValue ...
分类:
其他好文 时间:
2020-08-11 11:56:09
阅读次数:
100
Druid(德鲁伊):阿里巴巴提供的数据库连接池技术,是目前最好的数据库连接池。 600+项目中使用,支持sql日志监控 Java为数据库连接池提供了公共的接口: DataSource ,各个连接池厂商去实现这套接口,提供jar包。 DataSource 功能 * 获取连接: Connection ...
分类:
其他好文 时间:
2020-08-10 17:36:52
阅读次数:
108
一、DataBinding开启配置修改 升级到AS 4.0以后,出现如下的预警: DSL element 'android.dataBinding.enabled' is obsolete and has been replaced with 'android.buildFeatures.dataB ...
分类:
移动开发 时间:
2020-08-09 19:10:41
阅读次数:
147
问题: 684. Redundant Connection 的第二版本,由原来的无向图->有向图 那么给定一组edge [u,v],定义从顶点u到v的连线,构成有向图。parent[v]=u,u->v 求最后一个多余出来的[u,v],使得出现了回环。(若没有这个连线,则可形成tree) Exampl ...
分类:
其他好文 时间:
2020-08-08 21:20:04
阅读次数:
71
MYSQL数据库的连接故障"MySQL error: 2013, “Lost connection to MySQL server at ‘reading initial communication packet‘, system error: 0""
分类:
数据库 时间:
2020-08-06 20:52:14
阅读次数:
101
一、导入对应的jar包 二、创建对应的配置文件(如下只是部分参数) url=jdbc:mysql://localhost:3306/test username=root password=orz***** driverClassName=com.mysql.cj.jdbc.Driver initia ...
分类:
数据库 时间:
2020-08-05 00:07:46
阅读次数:
142
SELECT within SELECT Tutorial 5.Germany (population 80 million) has the largest population of the countries in Europe. Austria (population 8.5 million ...
分类:
数据库 时间:
2020-08-04 09:47:59
阅读次数:
90
题意描述 同样没有链接...。 Problem 2: Lock Her Up [Jan Kuipers, 2003] Bessie has been bad again and Farmer John must punish her by locking her up for a while. On ...
分类:
其他好文 时间:
2020-08-02 23:35:51
阅读次数:
104