|
|
@@ -466,7 +466,12 @@ public class LabViolationServiceImpl implements ILabViolationService {
|
|
|
map.put("deductPoints", scoreSite.getViolationVal());
|
|
|
}
|
|
|
map.put("pointsType", "1");
|
|
|
- map.put("reason", "手动新增违规记录");
|
|
|
+ if(StringUtils.isNotNull(vo.getTreatmentMessage())){
|
|
|
+ map.put("reason", vo.getTreatmentMessage());
|
|
|
+ }else{
|
|
|
+ map.put("reason", "手动新增违规记录");
|
|
|
+ }
|
|
|
+
|
|
|
remoteExamService.deductionPoints(map);
|
|
|
LabViolation labViolation = labViolationMapper.selectByUserId(vo.getUserId());
|
|
|
LabNegativeListRecords records = negativeListRecordsMapper.findByUserId(vo.getUserId());
|