|
|
@ -360,10 +360,13 @@ public class ScreeningServiceImpl implements IScreeningService { |
|
|
|
redisCache.set(param.getDetailId() + "" + userId + param.getCode(), userId, 600); |
|
|
|
//查询是否已经提交,已提交不能保存修改
|
|
|
|
ScrScreeningRecord questionnaireDetail = scrScreeningRecordMapper.selectByPrimaryKey(param.getDetailId()); |
|
|
|
if (UserConstants.SubmitStatus.submit.status == questionnaireDetail.getSubmitStatus()) { |
|
|
|
redisCache.deleteObject(param.getDetailId() + "" + userId + param.getCode()); |
|
|
|
throw new BaseException(ErrorConstant.HOSPITAL_REPEAT_SUBMIT); |
|
|
|
if (questionnaireDetail == null) { |
|
|
|
return; |
|
|
|
} |
|
|
|
// if (UserConstants.SubmitStatus.submit.status == questionnaireDetail.getSubmitStatus()) {
|
|
|
|
// redisCache.deleteObject(param.getDetailId() + "" + userId + param.getCode());
|
|
|
|
// throw new BaseException(ErrorConstant.HOSPITAL_REPEAT_SUBMIT);
|
|
|
|
// }
|
|
|
|
|
|
|
|
log.info("param.getCode():{}", param.getCode()); |
|
|
|
if (param.getCode().equals("SCWJ-NAME")) { |
|
|
|