Jelajahi Sumber

feat: 文案修改

shc 8 bulan lalu
induk
melakukan
5f87fbb9ad

+ 2 - 1
hnqz-upms/hnqz-upms-biz/src/main/java/com/qunzhixinxi/hnqz/admin/service/impl/WmTaskContentServiceImpl.java

@@ -598,7 +598,8 @@ public class WmTaskContentServiceImpl extends ServiceImpl<WmTaskContentMapper, W
                 Integer qty = packageTaskTypeQtyList.get(0).getQty();
 
                 if (qty - count <= 0) {
-                    throw new RuntimeException("可做数量:" + qty + ",已用:" + count + ",剩余:0,不能提交!");
+                    // throw new RuntimeException(tWmScorePackage.getScorePackageName() + "可做数量:" + qty + ",已用:" + count + ",剩余:0,不能提交!");
+                    throw new RuntimeException("【" + tWmScorePackage.getScorePackageName() + "】不含此项服务剩余次数,不能提交!");
                 }
             }