08 2019 档案

java思想2
摘要:// 获取补充费率协议的文件的uuid List<Record> documentUuids = Db.find(sql); // 判断是否有补充费率协议文件的标志位 boolean isExistDocument = false; // 定义一个临时保存DB中补充费率协议的文件集合 List<Record> documentList =new ArrayList<>(); // 遍历文件集合 f 阅读全文

posted @ 2019-08-27 17:53 小白菜好吃 阅读(208) 评论(0) 推荐(0)

截取,加递归
摘要:String adb = "lu(123)xin(123)jin(123)"; public static String getHISTORY(String adb) { // String adb = "lu(123)xin(123)jin(123)"; String oop=""; if (adb.contains("(")) { int op0=adb.indexOf("("); int o 阅读全文

posted @ 2019-08-23 16:03 小白菜好吃 阅读(209) 评论(0) 推荐(0)

递归用法
摘要:/** * 获取旧供应商id * @param json * @return * @throws ActiveRecordException */ public String getSuppId(JSONArray json ,String suppliersName) throws ActiveRecordException{ String suppId = ""; //默认不存在 if(jso 阅读全文

posted @ 2019-08-21 14:18 小白菜好吃 阅读(355) 评论(0) 推荐(0)

java正则表达式
摘要:/** * 校验发票号码 * 2019年3月27日14:02:56 * @param invoiceNo 获取pdf定义的发票信息,即发票号 */ public boolean checkoutInvoiceNo(String invoiceNo) { //定义一个检测发票成功与否的标志位 boolean checkResult = true; // 将发票号码字符串去掉所有空格 invoiceN 阅读全文

posted @ 2019-08-20 16:39 小白菜好吃 阅读(559) 评论(0) 推荐(0)

工具1
摘要:package com.qhyf.app.bl.base.util; /** * * 提供对字符串的全角->半角,半角->全角转换 * codingwhy.com * */ public class BCConvertUtils { /** * ASCII表中可见字符从!开始,偏移位值为33(Decimal) */ ... 阅读全文

posted @ 2019-08-20 16:06 小白菜好吃 阅读(203) 评论(0) 推荐(0)

json 数据 ,递归处理获取 数据
摘要:/** * 获取旧供应商信息 * @param json * @return * @throws ActiveRecordException */ public Record getSuppRec(JSONArray json,String suppliersName) throws ActiveRecordException{ ... 阅读全文

posted @ 2019-08-19 14:18 小白菜好吃 阅读(895) 评论(0) 推荐(0)

JSONObject
摘要:public static void main(String[] args) throws ActiveRecordException { String suppId = ""; String beforeName = ""; // {"ProjectName":"企业基本信息","ChangeDate":"2019-06-... 阅读全文

posted @ 2019-08-19 14:16 小白菜好吃 阅读(380) 评论(0) 推荐(0)

验证修改金额必须为数字
摘要:blurFnNum: function (row) { // 验证修改金额必须为数字 let reg = /^\d+(\.\d+)?$/ if (row.assetsTrusteeshipIncome !== '' && row.assetsTrusteeshipIncome != null && !reg.test(row.assetsTrusteeshipIncome)) { this.war 阅读全文

posted @ 2019-08-19 13:55 小白菜好吃 阅读(271) 评论(0) 推荐(0)

优雅之道
摘要:案例一 现象描述: 不完善的写法: thisName != null && thisName.equals(name); 更完善的写法: (thisName == name) || (thisName != null && thisName.equals(name)); 建议方案: Objects. 阅读全文

posted @ 2019-08-15 15:57 小白菜好吃 阅读(231) 评论(0) 推荐(0)

sum
摘要:SELECT sum(c.account_receivable) - IF(SUM(c.suppliers_money) is null,0,SUM(c.suppliers_money)) AS income_moneyFROM biz_asset_sec_info a, biz_asset_sec 阅读全文

posted @ 2019-08-13 10:55 小白菜好吃 阅读(179) 评论(0) 推荐(0)

job
摘要:package club.newepoch.admin.job import club.newepoch.admin.service.BizPayComfirmInfoJobService import club.newepoch.iweb.jfinal.plugins.quartz.AbstractJob import org.quartz.JobExecutionContext impor... 阅读全文

posted @ 2019-08-13 09:52 小白菜好吃 阅读(309) 评论(0) 推荐(0)

登录 要求 密码必须包含数字、大写字母、小写字母、特殊字字符4种中至少3种
摘要:修改密码 | ${appName} - ${sysName} ${appName}-${sysName} ${appName} ... 阅读全文

posted @ 2019-08-07 00:15 小白菜好吃 阅读(7408) 评论(0) 推荐(0)

易犯毛病1
摘要: 阅读全文

posted @ 2019-08-06 15:59 小白菜好吃 阅读(163) 评论(0) 推荐(0)

导航