@@ -128,6 +128,7 @@ public class ThInspectionServiceImpl extends BaseServiceImpl<ThInspectionMapper, | |||
@Override | |||
public JsonResult executeTask(String missionId,PushAndPullURLRequest pushAndPull) throws ServiceException{ | |||
log.info("executeTask准备就绪"); | |||
Tenant tenant = tenantMapper.selectById(ShiroUtils.getTenantId()); | |||
ThMission thMission = missionMapper.selectById(Integer.parseInt(missionId)); | |||
Assert.notNull(thMission,"任务不能为空!"); |