摘要: 在jdk的bin目录下有一个wsimport.exe的工具,使用该工具命令生产java客户端代码: 命令如下: wsimport -keep -d d:\ -s d:\src -p com.map -verbose http://localhost:8090/chinauip.cfc5/ws/wbx 阅读全文
posted @ 2017-03-09 10:02 orac 阅读(3701) 评论(0) 推荐(0) 编辑
摘要: 1.MYBATIS方法: <select id="getFlowNum" statementType="CALLABLE"> <![CDATA[ {call PRO_CFC_GETFLOWNUM( #{V_IN_RANDOM,mode=IN,jdbcType=VARCHAR}, #{V_IN_BUS 阅读全文
posted @ 2017-03-01 15:33 orac 阅读(4406) 评论(0) 推荐(1) 编辑
摘要: 时间转时间戳方法: unix_timestamp() 记录时间戳的类型: bigint 时间戳转时间的方法:from_timestamp() 感谢水哥给的截图! 阅读全文
posted @ 2017-02-23 15:58 orac 阅读(24672) 评论(0) 推荐(1) 编辑
摘要: intell idea启动出现unmapped spring configuration files found提示. 把spring里面的内容都打勾. 阅读全文
posted @ 2017-02-22 22:18 orac 阅读(16648) 评论(0) 推荐(0) 编辑
摘要: 更换主题: File-->setting-->Appearance&Behavior-->Appearance Intellij:白底黑字 Darcula:黑底白字 阅读全文
posted @ 2017-02-22 21:40 orac 阅读(29687) 评论(0) 推荐(0) 编辑
摘要: 一般把编辑器设置为 utf-8 如下设置: file-->setting-->editor-->file encodings--> 阅读全文
posted @ 2017-02-22 21:28 orac 阅读(1696) 评论(0) 推荐(0) 编辑
摘要: 默认加载的都是国外的源,我们可以配置国内的源. 右键项目-->maven-->Open ''setting.xml'' 复制下面的代码进去.保存. 我这里使用的版本是 ideaIU-14.1 阅读全文
posted @ 2017-02-22 10:54 orac 阅读(828) 评论(0) 推荐(0) 编辑
摘要: select * form user where username = ''/1; 一开始一看以为还是错误的语法.... 结果出来一堆结果.. 原来条件是 ''除以1 ''除以1 结果是什么呢? 原来在mysql里面 会做隐式转换(优先级转换) 字符串转换结果: 'abc' 转换为 0 '25a'转 阅读全文
posted @ 2016-12-28 16:25 orac 阅读(2494) 评论(1) 推荐(0) 编辑
摘要: Error creating bean with name 'backPrintPaperController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.fa 阅读全文
posted @ 2016-12-21 13:52 orac 阅读(4632) 评论(2) 推荐(0) 编辑
摘要: 1.这个是HTML5的属性. h5的好简单.... placeholder="这里输入文字" 2.HTML的: value="你的提示文字" onFocus="if(value==defaultValue){value='';this.style.color='#000'}" onBlur="if( 阅读全文
posted @ 2016-12-21 11:27 orac 阅读(53282) 评论(0) 推荐(0) 编辑