Commit 856b8fb1 authored by 刘林's avatar 刘林

fix(jg):提示修改

parent 7e641634
......@@ -48,7 +48,7 @@ public abstract class BaseEquipUsedCheckService implements IEquipUsedCheck {
if (equipListOfUsed != null && equipListOfUsed.contains(record)) {
String joinedEquipInUse = String.join(",", equipInUseList);
log.error("设备已被其他流程使用,不允许重复提交,设备ID:{},在流程中申请单:{}", record, joinedEquipInUse);
throw new BadRequest("设备已被其他流程使用,不允许重复提交!,设备ID: " + record +" ,在流程中申请单:" + joinedEquipInUse + ",请联系管理员!");
throw new BadRequest("设备已被其他流程使用,不允许重复提交,请联系管理员!");
}
if (equipListOfUsed == null || equipListOfUsed.isEmpty()) {
equipListOfUsed = new TreeSet<>();
......@@ -80,7 +80,7 @@ public abstract class BaseEquipUsedCheckService implements IEquipUsedCheck {
if (equipListOfUsed != null && equipListOfUsed.contains(record)) {
String joinedEquipInUse = String.join(",", equipInUseList);
log.error("使用登记证已被其他流程使用,不允许重复提交,设备ID:{},在流程中申请单:{}", record, joinedEquipInUse);
throw new BadRequest("使用登记证已被其他流程使用,不允许重复提交!,设备ID: " + record +" ,在流程中申请单:" + joinedEquipInUse + ",请联系管理员!");
throw new BadRequest("使用登记证已被其他流程使用,不允许重复提交,请联系管理员!");
}
if (equipListOfUsed == null || equipListOfUsed.isEmpty()) {
equipListOfUsed = new TreeSet<>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment