11 2021 档案
摘要:@Scheduled支持以下8个参数:1.cron:表达式,指定任务在特定时间执行;2.fixedDelay:表示上一次任务执行完成后多久再次执行,参数类型为long,单位ms;3.fixedDelayString:与fixedDelay含义一样,只是参数类型变为String;4.fixedRate
阅读全文
摘要://输出List StudentInfo.printStudents(studentList); //从对象列表中提取一列(以name为例) List<String> nameList = studentList.stream().map(StudentInfo::getName).collect(
阅读全文
摘要:一、客户端请求 public static String test(){ JSONObject obj = new JSONObject(); obj.put("cusName","禹州林业集团"); obj.put("socialCreditCode","11431000006542054G");
阅读全文