上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 76 下一页
摘要: 1、先安装 brew https://www.jianshu.com/p/e0471aa6672d?utm_campaign=hugo 执行: /usr/bin/ruby -e "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-inst 阅读全文
posted @ 2022-01-05 15:14 aspirant 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 天上星,亮晶晶,永灿烂,长安宁 湖边竹,绿盈盈,报平安,多喜乐 阅读全文
posted @ 2021-12-31 17:50 aspirant 阅读(324) 评论(0) 推荐(0) 编辑
摘要: 以HashMap为例,它不安全,什么叫不安全。简单理解就是多线程读写可能是脏数据,比如你在A线程读,B线程写了一个新数据,而A线程却不知道。可怕。。之前有一个奔溃是java.util.ConcurrentModificationException,就是线程不安全的操作,不过更专业的说法是快速失败。H 阅读全文
posted @ 2021-12-20 11:41 aspirant 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 重启机器,在按一下开机键之后,按住 command+option +P+R 四个键 听到四声响之后,就放开,清一下电脑缓存就好了 阅读全文
posted @ 2021-09-09 16:11 aspirant 阅读(982) 评论(0) 推荐(0) 编辑
摘要: 位运算符主要针对二进制,它包括了:“与”、“非”、“或”、“异或”。从表面上看似乎有点像逻辑运算符,但逻辑运算符是针对两个关系运算符来进行逻辑运算,而位运算符主要针对两个二进制数的位进行逻辑运算。下面详细介绍每个位运算符。 1.与运算符与运算符用符号“&”表示,其使用规律如下:两个操作数中位都为1, 阅读全文
posted @ 2021-07-19 20:22 aspirant 阅读(495) 评论(0) 推荐(0) 编辑
摘要: 需求是这样的,我希望使用一个字段来标记多个boolean属性, 不能使用json的形式,因为使用opensearch 不能通过json解析,但是可以使用位操作运算符号, 如果不熟悉位运算符号参考:Java的位运算符详解实例——与(&)、非(~)、或(|)、异或(^) 网上参考了很多,发现 明明是个小 阅读全文
posted @ 2021-07-19 16:16 aspirant 阅读(340) 评论(0) 推荐(0) 编辑
摘要: SELECT * from pms_event where substring(event_id, 9, 5)<>tenant_id and length(event_id)=13 阅读全文
posted @ 2021-07-18 14:28 aspirant 阅读(830) 评论(0) 推荐(0) 编辑
摘要: 1\多个filter的方法: /** * 过滤掉查询条件 * */ private List<PerformDTO> filterPerformDTOList(List<PerformDTO> performDTOList,EventQueryParamDTO queryParamDTO) { mz 阅读全文
posted @ 2021-06-21 11:19 aspirant 阅读(227) 评论(0) 推荐(0) 编辑
摘要: private static List<PmsInventoryRecordDO> convertFromInventoryDoList(Long tenantId, Long ptnrId, InventoryRecordTypeEnum type, Long saleId, List<PmsIn 阅读全文
posted @ 2021-04-21 18:00 aspirant 阅读(1433) 评论(0) 推荐(1) 编辑
摘要: InventoryDetailTypeEnum inventoryDetailTypeEnum = Arrays.stream(InventoryDetailTypeEnum.values()) .filter(it -> it.getCode() == deductInventoryInfoDTO 阅读全文
posted @ 2021-04-20 10:54 aspirant 阅读(231) 评论(0) 推荐(1) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 76 下一页