上一页 1 2 3 4 5 6 7 8 ··· 20 下一页
  2022年9月29日
摘要: 转自:https://blog.csdn.net/cyan20115/article/details/106548324 Java 8中提供了Files.walk API 1.列出所有文件。 try (Stream<Path> walk = Files.walk(Paths.get("C:\\pro 阅读全文
posted @ 2022-09-29 17:54 大山008 阅读(1121) 评论(0) 推荐(0)
摘要: 转自:https://blog.csdn.net/lvoelife/article/details/108620182 /** * 压缩文件 * @param fileIds 文件id:根据id可获取文件 * @param packageName 下载压缩文件包名 * @param response 阅读全文
posted @ 2022-09-29 17:23 大山008 阅读(836) 评论(1) 推荐(0)
摘要: /** * byte(字节)根据长度转成kb(千字节)和mb(兆字节) * * @param bytes * @return */ public static String bytes2kb(long bytes) { BigDecimal filesize = new BigDecimal(byt 阅读全文
posted @ 2022-09-29 17:09 大山008 阅读(191) 评论(0) 推荐(0)
摘要: @ConditionalOnProperty的作用和用法 在spring boot中有时候需要控制配置类是否生效,可以使用@ConditionalOnProperty注解来控制@Configuration是否生效. @Retention(RetentionPolicy.RUNTIME) @Targe 阅读全文
posted @ 2022-09-29 15:30 大山008 阅读(3435) 评论(0) 推荐(0)
摘要: select now() from dual ORDER BY IFNULL(update_date,create_date) DESC IFNULL 函数说明IFNULL(expr1,expr2)如果 expr1 不是 NULL,IFNULL() 返回 expr1,否则它返回 expr2mysql 阅读全文
posted @ 2022-09-29 11:12 大山008 阅读(227) 评论(0) 推荐(0)
摘要: <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px"> <el-form-item label="商户名称" prop="mer 阅读全文
posted @ 2022-09-29 09:59 大山008 阅读(234) 评论(0) 推荐(0)
  2022年9月2日
摘要: 转自:https://blog.csdn.net/Gan_1314/article/details/125798360 SELECT bm.id, bm.merchant_name AS merchantName, bm.address, bm.signboard_pic AS signboardP 阅读全文
posted @ 2022-09-02 16:52 大山008 阅读(226) 评论(0) 推荐(0)
摘要: 业务场景:商户集合嵌套卡券集合 JAVA代码: @Data public class UserMerchantCardVo { /** 商户名称*/ private String merchantName; /** 商户地址*/ private String address; /** 商户经度*/ 阅读全文
posted @ 2022-09-02 16:38 大山008 阅读(241) 评论(0) 推荐(0)
摘要: 参考:https://blog.csdn.net/mxlgslcd/article/details/89155315 第一步:自定义注解 @Target(ElementType.METHOD)// 可用在方法名上 @Retention(RetentionPolicy.RUNTIME)// 运行时有效 阅读全文
posted @ 2022-09-02 15:53 大山008 阅读(1036) 评论(0) 推荐(0)
  2022年8月11日
摘要: ThreadPoolTaskExecutor @Async调用方法 @Configuration public class ThreadPoolConfig { // 核心线程池大小 private int corePoolSize = 50; // 最大可创建的线程数 private int ma 阅读全文
posted @ 2022-08-11 17:41 大山008 阅读(182) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 20 下一页