Showing
1 changed file
with
1 additions
and
1 deletions
@@ -305,7 +305,7 @@ public class ProductServiceImpl implements ProductService{ | @@ -305,7 +305,7 @@ public class ProductServiceImpl implements ProductService{ | ||
305 | if (sp.getStatus() == null || sp.getStatus() != 100) { | 305 | if (sp.getStatus() == null || sp.getStatus() != 100) { |
306 | throw new ServiceException(400, "商品(skup)没有卖出:" + skup); | 306 | throw new ServiceException(400, "商品(skup)没有卖出:" + skup); |
307 | } | 307 | } |
308 | - if (depotNum == null || depotNum < 1 || depotNum > 2) { | 308 | + if (depotNum == null) { |
309 | throw new ServiceException(400, "鉴定中心id错误:" + depotNum); | 309 | throw new ServiceException(400, "鉴定中心id错误:" + depotNum); |
310 | } | 310 | } |
311 | if (storagePriceMapper.updateDepotNum(skup, depotNum) != 1) { | 311 | if (storagePriceMapper.updateDepotNum(skup, depotNum) != 1) { |
-
Please register or login to post a comment