摘要: maven update 不行 的 build/run 动作如果委托给了 maven 之后 可以跑起项目 阅读全文
posted @ 2021-07-29 14:49 喜欢22度的晴天 阅读(35) 评论(0) 推荐(0)
摘要: function formatNumber(s) { if (!s||s==null){ return "0"; }else { return (parseInt(s)+ '').replace(/(\d{1,3})(?=(\d{3})+(?:$|\.))/g,'$1,'); }} 阅读全文
posted @ 2021-07-16 11:14 喜欢22度的晴天 阅读(33) 评论(0) 推荐(0)
摘要: 工具里没找到 代码新增 alter table tname add newfld int identity(1,1) 阅读全文
posted @ 2021-07-13 17:11 喜欢22度的晴天 阅读(390) 评论(0) 推荐(0)
摘要: https://www.jetbrains.com/idea/download/other.html 下载 激活 https://www.cnblogs.com/ningwuyu/p/12822281.html 阅读全文
posted @ 2021-07-08 16:36 喜欢22度的晴天 阅读(40) 评论(0) 推荐(0)
摘要: 最实用的方法在最下面 SELECT STUFF(( SELECT distinct ','+name from 表 for xml path('')),1,1,'') 只要保证里面那个是一个拼接的 就不会有标签出来了 mysql SELECT GROUP_CONCAT(DISTINCT aaa)FR 阅读全文
posted @ 2021-06-18 11:33 喜欢22度的晴天 阅读(96) 评论(0) 推荐(0)
摘要: /** * 计算barcode最后一位 * @param code 12位的barcode * @return */ public static String padBarcode(String code){ if( null == code || code.length() != 12 ){ th 阅读全文
posted @ 2021-05-31 16:06 喜欢22度的晴天 阅读(164) 评论(0) 推荐(0)
摘要: //从字符串中获取数字 public static String getNum(String str) { String dest = ""; if (str != null) { dest = str.replaceAll("[^0-9]",""); } return dest; } //从字符串 阅读全文
posted @ 2021-05-17 14:56 喜欢22度的晴天 阅读(167) 评论(0) 推荐(0)
摘要: traditional: true, var ids=[]; var sendQtys=[]; $(list).each(function(){ var li=this; ids.push(li.cuttingOperationId); sendQtys.push(li.sendQty); }); 阅读全文
posted @ 2021-05-17 11:21 喜欢22度的晴天 阅读(237) 评论(0) 推荐(0)
摘要: select * from 表名 where 主键 in(select max(主键) from 表名 group by 要去重的字段 ) select * from fms_produce_sampleframe_receive where sampleframe_receive_id in(se 阅读全文
posted @ 2021-05-13 16:41 喜欢22度的晴天 阅读(243) 评论(0) 推荐(0)
摘要: 工具类先上 package com.cms.util; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.net.HttpURLConnec 阅读全文
posted @ 2021-05-06 13:41 喜欢22度的晴天 阅读(790) 评论(0) 推荐(0)