|
|
@@ -1,5 +1,6 @@
|
|
|
package com.zd.laboratory.service.impl;
|
|
|
|
|
|
+import com.zd.common.core.utils.StringUtils;
|
|
|
import com.zd.exam.api.feign.RemoteExamService;
|
|
|
import com.zd.laboratory.domain.*;
|
|
|
import com.zd.laboratory.domain.vo.ElPassConfigdetailVO;
|
|
|
@@ -289,6 +290,20 @@ public class LabSubjectAccessRecordServiceImpl implements ILabSubjectAccessRecor
|
|
|
vo.setPracticeStatus(result.getPracticeStatus());
|
|
|
vo.setHandleDay(result.getHandleDay());
|
|
|
vo.setTreatmentMessage(a.getViolationName());
|
|
|
+ vo.setLearnHour(result.getLearnHour());
|
|
|
+ vo.setLearnMinute(result.getLearnMinute());
|
|
|
+ if(StringUtils.isNotNull(result.getNumberTopics())){
|
|
|
+ vo.setNumberTopics(Integer.parseInt(result.getNumberTopics()+""));
|
|
|
+ }else{
|
|
|
+ vo.setNumberTopics(null);
|
|
|
+ }
|
|
|
+ if(StringUtils.isNotNull(result.getNumberAccuracy())){
|
|
|
+ vo.setNumberAccuracy(Integer.parseInt(result.getNumberAccuracy()+""));
|
|
|
+ }else{
|
|
|
+ vo.setNumberAccuracy(null);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
labViolationServiceImpl.addViolationHistory(vo);
|
|
|
}
|
|
|
}
|