| | |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springblade.core.secure.utils.AuthUtil; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.sxkj.common.utils.SpringContextUtil; |
| | | import org.sxkj.gd.workorder.entity.GdClueEventEntity; |
| | | import org.sxkj.gd.workorder.entity.GdClueEventStatusFlowEntity; |
| | | import org.sxkj.gd.workorder.enums.EventStatusEnum; |
| | |
| | | @Service |
| | | @AllArgsConstructor |
| | | public class GdClueEventStatusFlowServiceImpl extends BaseServiceImpl<GdClueEventStatusFlowMapper, GdClueEventStatusFlowEntity> implements IGdClueEventStatusFlowService { |
| | | |
| | | @Autowired |
| | | private IGdClueEventService gdClueEventService; |
| | | |
| | | /** |
| | | * 根据事件ID查询状态流转记录列表 |
| | |
| | | } |
| | | |
| | | // 2. 查询事件当前状态 |
| | | IGdClueEventService gdClueEventService = SpringContextUtil.getBean(IGdClueEventService.class); |
| | | GdClueEventEntity event = gdClueEventService.getById(eventId); |
| | | if (event == null) { |
| | | throw new RuntimeException("事件不存在"); |