|
|
|
@ -708,7 +708,11 @@ public class TestRecordSampleDataServiceImpl extends ServiceImpl<TestRecordSampl |
|
|
|
|
|
|
|
|
|
// 发布事件
|
|
|
|
|
applicationContext.publishEvent(new FinishTestExecutionEvent(this)); |
|
|
|
|
if(testRecord.getBusinessType().equals(BusinessType.BOINT_CASE.getBusinessType())) { |
|
|
|
|
applicationContext.publishEvent(new PushDataToLabsCareEvent(this, testId, 3)); |
|
|
|
|
} else if (testRecord.getBusinessType().equals(BusinessType.NPS_CASE.getBusinessType())) { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
return R.ok("完成实验成功!"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|