|
@@ -218,7 +218,7 @@ public class QcQuestionFacade extends QcQuestionInfoServiceImpl {
|
|
|
.eq("id", questionWrapper.getId())
|
|
|
.eq("is_deleted", IsDeleteEnum.N.getKey()), false);
|
|
|
if (qcQuestionInfo == null) { //校验
|
|
|
- throw new CommonException(CommonErrorCode.SERVER_IS_ERROR, "标签不存在");
|
|
|
+ throw new CommonException(CommonErrorCode.SERVER_IS_ERROR, "字段不存在");
|
|
|
}
|
|
|
param.setInsertOrUpdate(InsertOrUpdateEnum.Update.getKey());
|
|
|
}
|
|
@@ -230,7 +230,7 @@ public class QcQuestionFacade extends QcQuestionInfoServiceImpl {
|
|
|
.eq("hospital_id", qcQuestionInfo.getHospitalId())
|
|
|
.ne("id", qcQuestionInfo.getId() == null ? -1 : qcQuestionInfo.getId()));
|
|
|
if (ListUtil.isNotEmpty(questionInfoList)) { //标签type、tagName唯一
|
|
|
- throw new CommonException(CommonErrorCode.SERVER_IS_ERROR, "系统名称已存在");
|
|
|
+ throw new CommonException(CommonErrorCode.SERVER_IS_ERROR, "备注名称已存在");
|
|
|
}
|
|
|
if (InsertOrUpdateEnum.Insert.getKey() == param.getInsertOrUpdate()) {
|
|
|
qcQuestionInfo.setCreator(param.getPerson()); //创建人
|
|
@@ -305,7 +305,7 @@ public class QcQuestionFacade extends QcQuestionInfoServiceImpl {
|
|
|
List<QcModuleInfo> qcModuleInfoList = qcModuleInfoFacade.getModuleNameByQuestionIdFac(paraMap);
|
|
|
if (ListUtil.isNotEmpty(qcModuleInfoList)) {
|
|
|
StringBuffer errMsg = new StringBuffer();
|
|
|
- errMsg.append("该标签已关联模板");
|
|
|
+ errMsg.append("该字段已关联模板");
|
|
|
for (QcModuleInfo bean : qcModuleInfoList) {
|
|
|
errMsg.append("【" + bean.getName() + "】");
|
|
|
}
|