摘要: public List AnalyseVoucherEntry(DataTable voucherentry) { VoucherEntryEntity voucherentryentity = new VoucherEntryEntity();List listVoucherEntity = new List(); for (int i = 0; i AnalyseVoucherEntry(DataTable voucherentry) {List listVoucherEntity = new List(); for (int i = 0; i < voucherentry.Rows 阅读全文
posted @ 2013-07-03 09:50 阿窟窿 阅读(401) 评论(0) 推荐(0) 编辑
摘要: 一、SQL Plus使用入门 Sql*plus是一个最常用的工具,具有很强的功能,主要有: 1. 数据库的维护,如启动,关闭等,这一般在服务器上操作。 2. 执行sql语句执行pl/sql。 3. 执行sql脚本。 4. 数据的导出,报表。 5. 应用程序开发、测试sql/plsql。 6. 生成新 阅读全文
posted @ 2017-04-18 15:07 阿窟窿 阅读(157) 评论(0) 推荐(0) 编辑
摘要: public static String compare(BigDecimal val1, BigDecimal val2) { String result = ""; if (val1.compareTo(val2) < 0) { result = "第二位数大!"; } if (val1.com 阅读全文
posted @ 2016-04-28 13:19 阿窟窿 阅读(885) 评论(0) 推荐(0) 编辑
摘要: JavaDecimalFormat dcmFmt = new DecimalFormat("0.00");double db = 12333.353;System.out.println(dcmFmt.format(db));JS 阅读全文
posted @ 2016-01-26 10:00 阿窟窿 阅读(4203) 评论(0) 推荐(0) 编辑
摘要: 两个Date类型的变量可以通过compareTo方法来比较。此方法的描述是这样的:如果参数 Date 等于此 Date,则返回值 0;如果此 Date 在 Date 参数之前,则返回小于 0 的值;如果此 Date 在 Date 参数之后,则返回大于 0 的值。实际上比较的是自1970 年 1 月 ... 阅读全文
posted @ 2016-01-26 09:57 阿窟窿 阅读(1576) 评论(0) 推荐(0) 编辑
摘要: 1.Calendar 转化 StringCalendar calendat = Calendar.getInstance();SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");String dateStr = sdf.format(c... 阅读全文
posted @ 2016-01-25 10:36 阿窟窿 阅读(776) 评论(0) 推荐(0) 编辑
摘要: Calendar cal = Calendar.getInstance(); int year =cal.get(Calendar.YEAR)+1; int month=cal.get(Calendar.MONTH)+1; cal.add(Calendar.MONTH... 阅读全文
posted @ 2016-01-21 16:21 阿窟窿 阅读(11750) 评论(0) 推荐(0) 编辑
摘要: 准备工作·Customer类publicclassCustomer{publicintUnid{get;set;}publicstringCustomerName{get;set;}publicstringMemo{get;set;}publicstringOther{get;set;}}·服务端处... 阅读全文
posted @ 2015-05-05 15:12 阿窟窿 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 这是JQUERY的内置函数,表示网页加载完毕后要执行的意思,和JAVASCRIPT原来的这个是一样的: window.onload=function(){ //执行函数} 相当于 $(document).ready(function(){ } ) 或者:(function($) {... 阅读全文
posted @ 2015-05-05 15:10 阿窟窿 阅读(625) 评论(0) 推荐(0) 编辑
摘要: 1.2.设置disabled属性当属性设置为"disabled"时,提交表单时,select的值无法传递,提交前移除disabled属性$("#role").removeAttr("disabled");jquery添加属性$("#role").attr("disabled","disabled")... 阅读全文
posted @ 2015-05-05 14:35 阿窟窿 阅读(4386) 评论(0) 推荐(0) 编辑
摘要: 很多不太懂正则的朋友,在遇到需要用正则校验数据时,往往是在网上去找很久,结果找来的还是不很符合要求。所以我最近把开发中常用的一些正则表达式整理了一下,在这里分享一下。给自己留个底,也给朋友们做个参考。一、校验数字的表达式 1 数字:^[0-9]*$ 2 n位的数字:^\d{n}$ 3 至少n位的数字... 阅读全文
posted @ 2015-04-27 11:15 阿窟窿 阅读(221) 评论(0) 推荐(0) 编辑