上传文件

摘要: 1.head引用 2.重写下面方法 3.写jsp上传jsp代码 4.对应的action代码 /** * * @param excelFileName * @param month * @throws Exception */ @RequestMapping("importSemzzTongjiExc 阅读全文
posted @ 2016-05-18 10:07 w z y 阅读(173) 评论(0) 推荐(0) 编辑

项目启动报错

摘要: 阅读全文
posted @ 2016-03-15 11:37 w z y 阅读(134) 评论(2) 推荐(0) 编辑

更新财务报表2

摘要: -- 查询月服务天数不等于 数据库中存的月服务天数SELECT b.day1,a.days_of_month from erp_work_day_opt_info_copy a, (select count(DISTINCT service_day) as day1 , order_id from ... 阅读全文
posted @ 2015-09-08 20:08 w z y 阅读(222) 评论(0) 推荐(0) 编辑

更改财务报表数据

摘要: SELECT * from rpt_history_money where customer_price_per_day =0 and real_pay_money date(beable_service_days);SELECT count(DISTINCT service_day),order... 阅读全文
posted @ 2015-09-02 17:55 w z y 阅读(221) 评论(0) 推荐(0) 编辑

ResponseBody json乱码

摘要: 引起乱码原因为spring mvc使用的默认处理字符串编码为ISO-8859-1,具体参考org.springframework.http.converter.StringHttpMessageConverter类中public static final Charset DEFAULT_CHARSE... 阅读全文
posted @ 2015-04-10 11:03 w z y 阅读(173) 评论(0) 推荐(0) 编辑

发短信java

摘要: package com.honghailt.dataextracter.utils.telephone;import java.io.IOException;import org.apache.commons.httpclient.Header;import org.apache.commons.h... 阅读全文
posted @ 2015-04-02 09:56 w z y 阅读(298) 评论(0) 推荐(0) 编辑

sql查询

摘要: 1.SELECT * from aa WHERE aa not in(2,3) and aa not in(SELECT aa from aa where bb =1 and cc is null);2.(SELECT * from aa where bb not in (1,2,3)) UNION... 阅读全文
posted @ 2015-03-30 12:12 w z y 阅读(118) 评论(0) 推荐(0) 编辑

错误 Every derived table must have its own alias

摘要: 错误派生表必须要加一个 别名 阅读全文
posted @ 2015-03-23 09:44 w z y 阅读(141) 评论(1) 推荐(0) 编辑

获得某行某列所对应的表头

摘要: var num=$(dd).parent("td"); var aa=num.parent("tr").children("td").index($(num)); var title=$("#colId").children("td").eq(aa).text(); 阅读全文
posted @ 2015-03-17 12:31 w z y 阅读(156) 评论(0) 推荐(0) 编辑

MySQL乱码实战解决ERROR 1366 (HY000): Incorrect string value: '

摘要: 导入数据出错,暂未处理。 阅读全文
posted @ 2015-03-03 16:48 w z y 阅读(194) 评论(0) 推荐(0) 编辑