mysql中用命令行复制表结构的方法主要有一下几种: 1.只复制表结构到新表 CREATE TABLE 新表 SELECT * FROM 旧表 WHERE 1=2;或 CREATE TABLE 新表 LIKE 旧表 ; 注意上面两种方式,前一种方式是不会复制时的主键类型和自增方式是不会复制过去的,而 Read More
posted @ 2019-12-26 14:33 xiaotian_小天 Views(536) Comments(0) Diggs(0) Edit
package com.hxkr.util; import net.sourceforge.pinyin4j.PinyinHelper; import net.sourceforge.pinyin4j.format.HanyuPinyinCaseType; import net.sourceforge.pinyin4j.format.HanyuPinyinOutputFormat; import Read More
posted @ 2019-12-26 14:32 xiaotian_小天 Views(266) Comments(0) Diggs(0) Edit
mysql 遍历查询所有父级: SELECT T1._id groupID FROM ( SELECT @r AS _id, (SELECT @r := fbh FROM business_group WHERE bh = _id) AS fbh, @l := @l + 1 AS lvl FROM Read More
posted @ 2019-12-26 14:30 xiaotian_小天 Views(4968) Comments(0) Diggs(0) Edit
先引入这两个包: html: 注意:enctype="multipart/form-data" 这个要这样定义 后台: Read More
posted @ 2018-08-06 17:02 xiaotian_小天 Views(629) Comments(0) Diggs(0) Edit
放大前: 放大后: html 放大之后承载图片的图层 js Read More
posted @ 2018-08-06 16:51 xiaotian_小天 Views(211) Comments(0) Diggs(0) Edit
转:https://blog.csdn.net/weiqing723/article/details/78865734 Read More
posted @ 2018-05-24 10:15 xiaotian_小天 Views(1837) Comments(0) Diggs(0) Edit
我的是新增和修改在一个页面,所以在写的时候如果是修改就将此值显示 js: html: Read More
posted @ 2017-09-21 16:24 xiaotian_小天 Views(127) Comments(0) Diggs(0) Edit
re.attr("readOnly","true"); re.attr("readOnly",false); 注意 :false不能带引号 Read More
posted @ 2017-07-24 18:14 xiaotian_小天 Views(1649) Comments(0) Diggs(0) Edit
var addHtml="<span class='text_red'>*</span>";function req(re){ if(re.parent("td").find("span").length==0){ re.attr("require", "true"); re.parent("td" Read More
posted @ 2017-07-24 18:10 xiaotian_小天 Views(802) Comments(0) Diggs(0) Edit
axisLabel:{ interval:0,//横轴信息全部显示 rotate:-30,//-30度角倾斜显示 } splitNumber:10 Read More
posted @ 2017-06-30 16:12 xiaotian_小天 Views(5074) Comments(0) Diggs(0) Edit