Commit 33f5cddc authored by suhuiguang's avatar suhuiguang

1.修改提示说明

parent 38f08dea
...@@ -41,7 +41,7 @@ public abstract class BaseEquipUsedCheckService implements IEquipUsedCheck { ...@@ -41,7 +41,7 @@ public abstract class BaseEquipUsedCheckService implements IEquipUsedCheck {
RBucket<Set<String>> RBucket = getRedisClient().getBucket(this.getFlowingEquipRedisKey(companyCode, getApplyBizType())); RBucket<Set<String>> RBucket = getRedisClient().getBucket(this.getFlowingEquipRedisKey(companyCode, getApplyBizType()));
Set<String> equipListOfUsed = RBucket.get(); Set<String> equipListOfUsed = RBucket.get();
if (equipListOfUsed != null && equipListOfUsed.contains(record)) { if (equipListOfUsed != null && equipListOfUsed.contains(record)) {
throw new BadRequest("存在设备正在同时被其他流程使用,请刷新后重试!"); throw new BadRequest("存在设备正在被其他流程使用,不允许重复提交!");
} }
if (equipListOfUsed == null || equipListOfUsed.isEmpty()) { if (equipListOfUsed == null || equipListOfUsed.isEmpty()) {
equipListOfUsed = new TreeSet<>(); 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