类 CalendarConfigServiceImpl
- java.lang.Object
-
- net.risesoft.service.impl.CalendarConfigServiceImpl
-
- 所有已实现的接口:
CalendarConfigService
@Service @Transactional(value="rsTenantTransactionManager", readOnly=true) public class CalendarConfigServiceImpl extends Object implements CalendarConfigService- 作者:
- qinman, zhangchongjie
- Date:
- 2022/12/20
-
-
构造器概要
构造器 构造器 说明 CalendarConfigServiceImpl()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 net.risesoft.pojo.Y9Result<String>delCalendar(String startDate)删除日历配置CalendarConfigfindByYear(String year)获取年节假期配置信息List<String>getYearHoliday(String years)获取一年所有的周末booleanisWeekend(String date)List<Map<String,Object>>listCalendar(String month)获取日历配置List<String>remove(List<String> list, String date)net.risesoft.pojo.Y9Result<String>saveCalendar(String startDate, Integer type)保存日历配置voidsaveOrUpdate(CalendarConfig calendarConfig)保存日历配置
-
-
-
方法详细资料
-
delCalendar
@Transactional public net.risesoft.pojo.Y9Result<String> delCalendar(String startDate)
从接口复制的说明:CalendarConfigService删除日历配置- 指定者:
delCalendar在接口中CalendarConfigService- 返回:
-
findByYear
public CalendarConfig findByYear(String year)
从接口复制的说明:CalendarConfigService获取年节假期配置信息- 指定者:
findByYear在接口中CalendarConfigService- 返回:
-
isWeekend
public boolean isWeekend(String date) throws ParseException
- 抛出:
ParseException
-
listCalendar
public List<Map<String,Object>> listCalendar(String month)
从接口复制的说明:CalendarConfigService获取日历配置- 指定者:
listCalendar在接口中CalendarConfigService- 返回:
-
saveCalendar
@Transactional public net.risesoft.pojo.Y9Result<String> saveCalendar(String startDate, Integer type)
从接口复制的说明:CalendarConfigService保存日历配置- 指定者:
saveCalendar在接口中CalendarConfigService- 返回:
-
saveOrUpdate
public void saveOrUpdate(CalendarConfig calendarConfig)
从接口复制的说明:CalendarConfigService保存日历配置- 指定者:
saveOrUpdate在接口中CalendarConfigService
-
-