1:批量插入 <insert id="insertBatch" parameterType="Java.util.List" > insert into RECIPEDETAIL (RDID, ROID, TYPE, NAME, MEDIWEIGHT, MEDINUM, MONEY, OPERATE ...
分类:
数据库 时间:
2018-02-27 11:32:21
阅读次数:
186
题意:中文题,大意就不说了,但这个Sigma的确让我看了好久 思路:看了网上的很多题解,大概对斜率优化有了一点了解,发现斜率优化这种东西用在很多方面,比如在对凸壳的求解中,常用的kuangbin凸包模板中就有斜率优化的例子,对于单调队列的认识是基于某次被学弟们踩的一次训练(bzoj 1012 [JS ...
分类:
其他好文 时间:
2018-02-27 10:55:12
阅读次数:
172
如何拼接想要的url 如何拼接想要的url http://weixin.sogou.com/weixin?type=1&page=1&ie=utf8&query=%E5%A4%A7%E7%BA%BD%E7%BA%A6%E5%90%83%E8%B4%A7%E5%B0%8F%E5%88%86%E9%98 ...
分类:
微信 时间:
2018-02-27 10:19:24
阅读次数:
268
隐藏域在页面中对于用户是不可见的,在表单中插入隐藏域的目的在于收集或发送信息,以利于被处理表单的程序所使用 (隐藏只是在网页页面上面不显示输入框,但是虽然隐藏了,还是具有form传值功能。 一般用来传值,而不必让用户看到。) 基本语法: <input type="hidden" name="fiel ...
分类:
其他好文 时间:
2018-02-27 01:10:35
阅读次数:
171
在文本框中按下回车实现tab的功能 e.keyCode 为只读 所以不能把回车的keyCode改成tab键的 思路: 在按下回车时把下一个文本框(存在时)高亮显示 <input type="text"><br> <input type="text"><br> <input type="text">< ...
分类:
其他好文 时间:
2018-02-27 01:02:34
阅读次数:
184
from django.contrib.contenttypes.models import ContentTypeuser_type = ContentType.objects.get(app_label="auth",model="user")print(user_type) <contentt ...
分类:
其他好文 时间:
2018-02-26 23:29:03
阅读次数:
415
在你的项目中加入jsp-api.jar和servlet-api.jar包,这两个包来源于tomcat的libs目录中,但是会出现一个问题,项目打包发布的时候也会将这两个jar打包出去,这时候发布到tomcat中后tomcat可能启动失败,同时你的jar包可能和tomcat中的jar版本不一致等情况。 ...
分类:
编程语言 时间:
2018-02-26 23:27:37
阅读次数:
187
’一、HTML5 实例 <video width="430" controls> <source src="mov_nnn.mp4" type="video/mp4"> <source src=“mov_bb/ogg” type="video/ogg"> Ypu browser dose not s ...
分类:
编程语言 时间:
2018-02-26 23:26:11
阅读次数:
188
1 from django.db import models 2 3 from django.contrib.contenttypes.models import ContentType 4 from django.contrib.contenttypes.fields import Generic ...
分类:
其他好文 时间:
2018-02-26 23:10:23
阅读次数:
164
You're given strings J representing the types of stones that are jewels, and S representing the stones you have. Each character in Sis a type of stone ...
分类:
其他好文 时间:
2018-02-26 21:54:08
阅读次数:
166