2016年2月26日

mysql5.7创建账户并授权

摘要: CREATE USER 'jeffrey'@'localhost' IDENTIFIED BY 'mypass'; GRANT ALL ON db1.* TO 'jeffrey'@'localhost'; GRANT SELECT ON db2.invoice TO 'jeffrey'@'local 阅读全文

posted @ 2016-02-26 09:01 依米艳 阅读(463) 评论(0) 推荐(0) 编辑

2016年1月29日

mybatis sql中if判断传入Integer类型,传入0时,判断没有执行

摘要: 数据库中字段 isDisable 0:否;1:是 xml中判断 <if test="isDisable != null and isDisable !='' "> AND pu.is_disable = #{isDisable} </if> 后台传入的是Integer 封装类。 修改: <if te 阅读全文

posted @ 2016-01-29 15:14 依米艳 阅读(1688) 评论(2) 推荐(0) 编辑

2015年12月29日

mysql,mybatis使用中遇到的类型转化的问题

摘要: 产生原因还没有明白,先记录一下。使用DATEDIFF函数,计算两个日期的时间差。在mybatis中,resultType 是map.在代码中,根据map的key取值的时候。在mysql5.5.39 中,得到的类型是Integer在mysql5.6.11 中,得到的类型是Long目前解决方案是map取... 阅读全文

posted @ 2015-12-29 11:09 依米艳 阅读(1694) 评论(0) 推荐(0) 编辑

2015年12月23日

easyui 使用随笔

摘要: 1,datagrid 翻页,记住翻页前的复选框。 在onLoadSuccess:function 中,去掉 清楚选择选项 onLoadSuccess:function(){ //tab.datagrid('clearSelections'); }, 2,scan:datagrid 翻至第三页。增加查 阅读全文

posted @ 2015-12-23 18:07 依米艳 阅读(141) 评论(0) 推荐(0) 编辑

2015年12月17日

easyui 翻译

摘要: 1,DataGridcheckOnSelect:设置成true:用户点击一行的时候,复选框被选中或者是取消选中设置成false:只有当用户点击复选框的时候,复选框才能被选中或者是取消选中selectOnCheck:设置成true:选择一个复选框,将会选择一行设置成false:选择一行,不会选中复选框... 阅读全文

posted @ 2015-12-17 14:49 依米艳 阅读(138) 评论(0) 推荐(0) 编辑

2015年10月22日

Jconsole连接远程服务器

摘要: 本地服务器。win7,安装JDK8远程服务器:centos6.5 ,tomcat7,java8配置方法:1)修改远程服务器的~/tomcat/bin/catalina.sh 文件在# ----- Execute The Requested Command ----------------------... 阅读全文

posted @ 2015-10-22 14:32 依米艳 阅读(3268) 评论(0) 推荐(1) 编辑

2015年9月25日

limesurvey设置短调查问卷url

摘要: If you want to use fancy URLs and so not have /index.php in every URL please edit /application/config/config.php and change'showScriptName' => true,to... 阅读全文

posted @ 2015-09-25 16:16 依米艳 阅读(1123) 评论(0) 推荐(0) 编辑

2015年7月25日

centos7 安装R和Rstudio客户端

摘要: #官网下载R和Rstudio我下载的是R-3.2.1.tar.gz和rstudio-0.99.467-x86_64.rpm两个版本rstudio没有看见有centos版的,下的这个RStudio 0.99.467 - Fedora 19+/RedHat 7+/openSUSE 13.1+ (64-b... 阅读全文

posted @ 2015-07-25 10:55 依米艳 阅读(3499) 评论(0) 推荐(0) 编辑

2015年6月3日

p便签,去掉首行缩进

摘要: fdsfdsfs使用P标签是,会自动的加上首行缩进,如果想去掉首行缩进,可以使用text-indent属性fdsfdsfs 阅读全文

posted @ 2015-06-03 18:24 依米艳 阅读(1297) 评论(0) 推荐(0) 编辑

2015年5月19日

linux mint运行docker

摘要: 1,sudo apt-get install docker.io或者sudo apt-get install docker*2,安装好之后sudo docker -d 启动进程提示:yimiyan@mint ~ $ sudo docker -d2015/05/19 22:25:43 docker d... 阅读全文

posted @ 2015-05-19 23:45 依米艳 阅读(448) 评论(0) 推荐(0) 编辑

导航