1 2 3 4 5 ··· 38 下一页
摘要: @Configuration @ConditionalOnExpression("${conditional.configuration.switch:true}") public class TaskScheduled { @Scheduled(cron = "15,30,45 * * * * ? 阅读全文
posted @ 2024-06-29 21:35 Bonnie_ξ 阅读(2) 评论(0) 推荐(0) 编辑
摘要: public class StringUtils extends org.apache.commons.lang3.StringUtils { public static String escapeSql(String param) { if (isEmpty(param)) { return pa 阅读全文
posted @ 2023-03-13 20:36 Bonnie_ξ 阅读(73) 评论(0) 推荐(0) 编辑
摘要: /** *@Description:日期转换,将接口返回的20180524转为2018-05-24 *@param str 传递的日期字符串 */ private static String dateConvertion(String str) { Date parse = null; String 阅读全文
posted @ 2023-03-07 19:59 Bonnie_ξ 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 二,建表建库 在建表时,需要注意的是一定要一个Pid和当前id,这样用于实现这个子级和父级的关联。建表语句如下 CREATE TABLE `site` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `pid` bigint(20) DEFAULT NULL C 阅读全文
posted @ 2023-02-24 21:30 Bonnie_ξ 阅读(186) 评论(0) 推荐(0) 编辑
摘要: <!--mybatis-plus 代码生成器依赖--><dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-generator</artifactId> <version>3.3.1.tmp</version></ 阅读全文
posted @ 2022-12-05 21:44 Bonnie_ξ 阅读(171) 评论(0) 推荐(0) 编辑
摘要: public class FileUtils { //重命名文件 public static void reNameFile(String oldPath, String newPath) { boolean result = new File(oldPath).renameTo(new File( 阅读全文
posted @ 2022-11-30 19:11 Bonnie_ξ 阅读(91) 评论(0) 推荐(0) 编辑
摘要: <select id="queryAdminLicenseDtoList" parameterType="map" resultType="com.zxwa.ntmss.dto.creditmanage.credictremark.AdminLicenseDto"> SELECT b.*,s.org 阅读全文
posted @ 2022-11-30 19:06 Bonnie_ξ 阅读(196) 评论(0) 推荐(0) 编辑
摘要: List<User> resList = list1 .stream().filter(u -> { //如根据name过滤 for (User user : list2) { if(u.getName().equals(user.getName())){ return false; } } ret 阅读全文
posted @ 2022-11-30 18:35 Bonnie_ξ 阅读(131) 评论(0) 推荐(0) 编辑
摘要: public static String fileExtendName(String fileName) { if (StringUtils.isBlank(fileName)) { return null; } if (!fileName.contains(".")) { return null; 阅读全文
posted @ 2022-10-24 19:56 Bonnie_ξ 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 2.1.1 部署步骤 解压zookeeper部署包,并启动zookeeper服务。 #解压 tar -zxvf zookeeper-3.5.5-bin.tar.gz #启动 cd apache-zookeeper-3.5.5-bin/bin ./zkServer.sh start 2.1.2 验证 阅读全文
posted @ 2022-10-24 19:46 Bonnie_ξ 阅读(21) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 38 下一页