摘要: /** * 示例- 线程stop强制性中止,破坏线程安全的示例 */public class Demo3 { public static void main(String[] args) throws InterruptedException { StopThread thread = new St 阅读全文
posted @ 2022-03-27 21:22 yydssc 阅读(30) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-03-27 21:01 yydssc 阅读(16) 评论(0) 推荐(0)
摘要: public static <T> List<List<T>> split(List<T> srcList, int groupSize) { int mod = srcList.size() % groupSize; int pou = srcList.size() / groupSize; in 阅读全文
posted @ 2022-03-27 20:58 yydssc 阅读(43) 评论(0) 推荐(0)
摘要: public abstract class BaseImportExcelBase { /** * 解析Excel文件返回List数据集合 * * @param file * @return */ public List<List<Object>> importExcel(MultipartFile 阅读全文
posted @ 2022-03-27 20:57 yydssc 阅读(253) 评论(0) 推荐(0)
摘要: public class OrderProductImport extends BaseImportExcelBase { @Override protected void checkColumn(List<Object> columnTabNames) { boolean model = colu 阅读全文
posted @ 2022-03-27 20:56 yydssc 阅读(51) 评论(0) 推荐(0)