12 2017 档案

摘要:配置文件 阅读全文
posted @ 2017-12-27 11:19 Sea_wxx 阅读(371) 评论(0) 推荐(0) 编辑
摘要:SELECT *, ( 2 * 6371 * ASIN( SQRT( COS( 23.99 * PI( ) / 180 ) * COS( 23.99 * PI( ) / 180 ) * POW( SIN( ( 118.732201- lng ) * PI( ) / 360 ), 2 ) + POW( 阅读全文
posted @ 2017-12-26 13:54 Sea_wxx 阅读(447) 评论(0) 推荐(0) 编辑
摘要://根据身份证取 省份,生日,性别 function getInfo() { //获取输入身份证号码 var ic = $("#txtCardID").val(); ic = checkId(ic); if (isNaN(ic)) return; var ic = String(ic); //获取出 阅读全文
posted @ 2017-12-05 17:12 Sea_wxx 阅读(335) 评论(0) 推荐(0) 编辑
摘要:var num="320324199202106666"; function checkCardId(num){ num = num.toUpperCase(); //身份证号码为15位或者18位,15位时全为数字,18位前17位为数字,最后一位是校验位,可能为数字或字符X。 if (!(/(^\d 阅读全文
posted @ 2017-12-05 15:54 Sea_wxx 阅读(194) 评论(0) 推荐(0) 编辑
摘要:需要注入ServletContext @Autowiredprivate ServletContext servletContext;/** * 上传图片 */private String saveFile(MultipartFile file){ if (!file.isEmpty()) { tr 阅读全文
posted @ 2017-12-05 13:59 Sea_wxx 阅读(2162) 评论(0) 推荐(0) 编辑
摘要:<!-- 定时任务 --><task:annotation-driven/> <!-- 注入定时任务 --><bean id="TimerTaskTest01" class="com.heitian.ssm.util.TimerTaskTest01"></bean><task:scheduled-t 阅读全文
posted @ 2017-12-05 13:47 Sea_wxx 阅读(148) 评论(0) 推荐(0) 编辑
摘要:需要具体获取里面的属性值判断为null new出来的对象是有地址的,所以不能用对象为null判断 阅读全文
posted @ 2017-12-04 17:28 Sea_wxx 阅读(1409) 评论(0) 推荐(0) 编辑
摘要:转义符 <![CDATA[ ]]> 阅读全文
posted @ 2017-12-04 17:24 Sea_wxx 阅读(149) 评论(0) 推荐(0) 编辑
摘要:设计的数据库中有关键字时,要 `` 符号不是单引号,和~一个键 阅读全文
posted @ 2017-12-04 17:20 Sea_wxx 阅读(292) 评论(0) 推荐(0) 编辑
摘要:@Controller@Scope("prototype") @RequestMapping("/managers") 用manager 时请求报404 加s就可以了,不知道是为什么?难道是manager关键字? 阅读全文
posted @ 2017-12-04 17:19 Sea_wxx 阅读(177) 评论(0) 推荐(0) 编辑
摘要:<keyProperty="id" resultType="INTEGER"> select LAST_INSERT_ID() </keyProperty> 放在insert语句之前 keyProperty 数据库主键属性 在Controller直接拿对象就可以获取自增列的值 Integer id 阅读全文
posted @ 2017-12-04 17:18 Sea_wxx 阅读(481) 评论(0) 推荐(0) 编辑
摘要:将中央仓库没有的jar包加入到maven中 mvn install:install-file -Dfile=C:\Users\Administrator\Desktop\dysmsapi_demo_sdk__java\java\api_sdk\aliyun-java-sdk-dysmsapi\tar 阅读全文
posted @ 2017-12-04 17:13 Sea_wxx 阅读(233) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示