| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import com.fasterxml.jackson.core.type.TypeReference; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | |
| | | try { |
| | | //获取到发送时间的集合 |
| | | if (StringUtils.isNotEmpty(sendTimeSlot)) { |
| | | List<TaskSendTimeVO> taskSendTimeVOList = objectMapper.readValue(sendTimeSlot, List.class); |
| | | List<TaskSendTimeVO> taskSendTimeVOList = objectMapper.readValue(sendTimeSlot, new TypeReference<List<TaskSendTimeVO>>() {}); |
| | | heTaskSingleVO.setSendTimeslot(taskSendTimeVOList); |
| | | } |
| | | //文本变量参数 |