Kaynağa Gözat

rfid提示优化

hanzhiwei 2 yıl önce
ebeveyn
işleme
cf0da82294

+ 2 - 1
zd-modules/zd-airbottle/src/main/java/com/zd/airbottle/controller/QpRfidTagController.java

@@ -112,7 +112,8 @@ public class QpRfidTagController extends BaseController<QpRfidTag> {
             }
         }
         if(StringUtils.isNotBlank(strTag)){
-            throw new ServiceException("标签:"+strTag+"已被绑定!");
+            String substring = strTag.substring(0, strTag.length() - 1);
+            throw new ServiceException("标签:"+substring+"处于绑定状态!");
         }
         return ResultData.result(qpRfidTagService.deleteQpRfidTagByIds(ids));
     }