* @param hour 小时(24小时制)
* @param minute 分钟
* @return 提示信息
*/
public String schedule(int hour, int minute) {
IndexScheduleConfig scheduleConfig = getIndexScheduleConfig();
if (scheduleConfig == null) {
//新建配置对象
IndexScheduleConfig config = new IndexScheduleConfig();
config.setScheduleHour(hour);
config.setScheduleMinute(minute);
config.setEnabled(true);
serviceFacade.create(config);
} else {
//修改配置对象
scheduleConfig.setScheduleHour(hour);
scheduleConfig.setScheduleMinute(minute);