摘要:
1、配置文件添加 <dependency> <groupId>org.quartz-scheduler</groupId> <artifactId>quartz</artifactId> <version>2.2.1</version> </dependency> <dependency> <gro 阅读全文
posted @ 2021-12-16 16:59
丶Ronnie
阅读(50)
评论(0)
推荐(0)
摘要:
@Overridepublic ResponseVO getListData(Integer opid) { ResponseVO responseVO; if (opid == null || opid.equals("")) { return ResponseVO.error("opid不能为空 阅读全文
posted @ 2021-12-16 13:55
丶Ronnie
阅读(69)
评论(0)
推荐(0)
摘要:
package com.zjrc.epidemic.utils;import org.apache.commons.logging.Log;import org.apache.commons.logging.LogFactory;import org.springframework.context. 阅读全文
posted @ 2021-12-16 13:47
丶Ronnie
阅读(220)
评论(0)
推荐(0)
摘要:
//获取这一年的日历 public static Calendar getCalendarFormYear(Integer year) { Calendar cal = Calendar.getInstance(); cal.set(Calendar.DAY_OF_WEEK, Calendar.MO 阅读全文
posted @ 2021-12-16 11:26
丶Ronnie
阅读(223)
评论(0)
推荐(0)
摘要:
//获取开始时间 public static Date getBeginTime(int year, int month) { YearMonth yearMonth = YearMonth.of(year, month); //取月的第一天 LocalDate localDate = yearMo 阅读全文
posted @ 2021-12-16 11:21
丶Ronnie
阅读(347)
评论(0)
推荐(0)
摘要:
public static void main(String[] args) { List list = getMap(); if (list.size() > 0) { for (int i = 0; i < list.size(); i++) { System.out.println(list. 阅读全文
posted @ 2021-12-16 11:19
丶Ronnie
阅读(86)
评论(0)
推荐(0)
摘要:
WeekFields weekFields= WeekFields.ISO; LocalDate now = LocalDate.now(); //输入你想要的年份和周数 LocalDate localDate = now.withYear(2021).with(weekFields.weekOfY 阅读全文
posted @ 2021-12-16 11:16
丶Ronnie
阅读(1836)
评论(0)
推荐(0)
摘要:
//上传图片public ResponseVO uploadPicture(MultipartFile file) { try { // 当前项目位置 /** 获取src资源文件编译后的路径(即classes路径) 1、xxx.class.getClassLoader().getResource(“ 阅读全文
posted @ 2021-12-16 11:01
丶Ronnie
阅读(136)
评论(0)
推荐(0)
摘要:
yml文件 spring: #springBoot上传大文件异常问题 servlet: multipart: max-file-size: 251658240 阅读全文
posted @ 2021-12-16 09:58
丶Ronnie
阅读(65)
评论(0)
推荐(0)

浙公网安备 33010602011771号