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