Authored by sailing-PC\sailing

fix

... ... @@ -305,7 +305,7 @@ public class ProductServiceImpl implements ProductService{
if (sp.getStatus() == null || sp.getStatus() != 100) {
throw new ServiceException(400, "商品(skup)没有卖出:" + skup);
}
if (depotNum == null || depotNum < 1 || depotNum > 2) {
if (depotNum == null) {
throw new ServiceException(400, "鉴定中心id错误:" + depotNum);
}
if (storagePriceMapper.updateDepotNum(skup, depotNum) != 1) {
... ...