随笔分类 - JAVA
摘要:/** 判断是否为数字 * **/ Boolean paramIsNumber(String str){ boolean bResult = false; if(str !=null && !"".equals(str.trim())){ Pattern pattern = Pattern.comp
阅读全文
摘要:BigDecimal fz = new BigDecimal(mCZ.get("ybj").toString()); BigDecimal fm = new BigDecimal(mCZ.get("zs").toString()); BigDecimal bfs = new BigDecimal(1
阅读全文
摘要:https://baijiahao.baidu.com/s?id=1780604372497522288&wfr=spider&for=pc
阅读全文
摘要:https://blog.51cto.com/u_16213425/11195266 https://blog.csdn.net/weixin_45433031/article/details/128700907
阅读全文
摘要:https://blog.csdn.net/weixin_44848760/article/details/108887289
阅读全文
摘要:https://blog.csdn.net/Fly_as_tadpole/article/details/87566011 https://blog.csdn.net/u012899618/article/details/128777225
阅读全文
摘要:/** * 上报信息 */ @Schema(description="上报信息") @TableField(typeHandler = JacksonTypeHandler.class) private Object infos; Map infos = (Map) financialEntity.
阅读全文
摘要:https://www.runoob.com/java/java-hashset.html
阅读全文
摘要:public boolean relation(Long projectId, List<BsMemberEntity> members) { //1)、获取原关联数据 List<ProProjectAuthorEntity> oldList = this.findByProjectId(proje
阅读全文
摘要:import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; public class Main { public static void main(String[] args)
阅读全文
摘要:String reg = "(?:')|(?:--)|(/\\*(?:.|[\\n\\r])*?\\*/)|(\\b(select|if|update|and|or|delete|insert|trancate|char|into|substr|ascii|declare|exec|count|ma
阅读全文
摘要:``` dataList = dataList.stream().collect(Collectors.collectingAndThen( Collectors.toCollection(() -> new TreeSet(Comparator.comparing(p -> (String) p.
阅读全文
摘要:``` import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; @RestController @RequiredArgsConstructor @RequestMapping(
阅读全文
摘要:``` /** 百分比 参1/参2 **/ String getPercent(String s1,String s2){ String sResult = ""; if(StrUtil.isBlank(s2) || s2.equals("0") || Integer.valueOf(s2) ==
阅读全文
摘要:CREATE TABLE `house_structure` ( `id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '房源结构id', `house_name` varchar(50)
阅读全文
摘要:1.主类下加标签 @EnableScheduling 2.controller建立平级 3. @Slf4j @RequiredArgsConstructor @Component public class MeetingMarkJob { final CppccMailService cppccMa
阅读全文
摘要:https://blog.csdn.net/wagnteng/article/details/127670831
阅读全文
摘要:https://blog.csdn.net/weixin_43811057/article/details/123427701 hutool工具 JSON工具-JSONUtil https://www.cnblogs.com/ZXdeveloper/p/16500959.html http://t.
阅读全文
摘要:https://www.cnblogs.com/chengxuxiaoman/p/10960822.html
阅读全文
摘要:Java List.removeAll()方法:从列表中移除所有元素 该方法返回值为 boolean 对象,如果 List 集合对象由于调用 removeAll 方法而发生更改,则返回 true,否则返回 false。 示例 本示例使用 List 接口的实现类 ArrayList 初始化一个列表对象
阅读全文