insert into 表名(字段名1,字段名2)values(值a1,值b1), (值a2,值b2),例如:insert into user_info (user_account,user_name,user_age,user_class) values (‘00001’, '张三 ',‘20’, ...
分类:
其他好文 时间:
2020-02-07 10:40:08
阅读次数:
142
package com.itheima.test;import com.itheima.domain.Account;import com.itheima.service.IAccountService;import config.JdbcConfig;import config.SpringCon ...
分类:
编程语言 时间:
2020-02-06 19:47:21
阅读次数:
82
第一步:下载webstorm 下载地址:https://www.jetbrains.com/webstorm/ 第二步:到对应的系统目录下找Hosts文件 如:C:\Windows\System32\drivers\etc 第三步:编辑Hosts文件 在最后一行加上:0.0.0.0 account. ...
分类:
Web程序 时间:
2020-02-06 10:51:07
阅读次数:
147
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
分类:
编程语言 时间:
2020-02-05 17:58:00
阅读次数:
69
从头再来!!! 出错的代码如下: login() { this.loading = true let userInfo = {account: this.loginForm.account, password: this.loginForm.password, captcha: this.login ...
分类:
移动开发 时间:
2020-02-02 12:12:39
阅读次数:
461
用户登录: [HttpPost] [CustomAllowAnonymous]//允许匿名登录(这个是自定义的) public ActionResult Login(string name, string password, string verify) { string formName = ba ...
分类:
其他好文 时间:
2020-02-02 11:57:56
阅读次数:
81
统计近7天每天,近一个月每天,近三个月每天,近一年每个月的新增数量,用于画折线图,由于是根据create_time字段统计的,所以如果有一天没有新增,就会缺少这一天的日期,要对日期进行补充,当天没有新增的new_count置为0,所以要建立一个日期表calendar 1、查询单表account,近7 ...
分类:
其他好文 时间:
2020-02-01 00:22:51
阅读次数:
71
"Alternative Accounts" 贪心匹配 题意: 有n个账号,k场比赛(1 include using std::max; using std::min; int n, t, m[5], a[5][100010], ans = 0, cnt[100010], c[5][100010]; ...
分类:
其他好文 时间:
2020-01-31 23:11:07
阅读次数:
141
1 import java.util.concurrent.TimeUnit; 2 3 /** 4 * 对写业务加锁 5 * 对读业务不加锁 6 * 脏读 7 */ 8 public class Account { 9 10 String name; 11 double balance; 12 13 ...
分类:
编程语言 时间:
2020-01-31 20:53:53
阅读次数:
104
课程8——状态通道和方法 保存数据 到现在为止,你已经很擅长于发送数据到元组空间和从元组空间中获取数据。但是无论你在什么时候进行计算,你有时需要把一些数据放在一边晚点才使用。几乎所有编程语言都有变量的概念。 rholang 的另一个独特的地方在于它没有传统的变量。然而,我们只是使用元组空间来保存我们 ...
分类:
其他好文 时间:
2020-01-31 20:26:57
阅读次数:
86