forked from angelo/java-retail-app
## 修改限购提示(366);
This commit is contained in:
parent
c1cbe71ba6
commit
40992e2b4c
|
@ -854,7 +854,7 @@ public class RetailOrderServiceImpl implements IRetailOrderService {
|
|||
Integer waresNum = waresNumMap.get(waresLimitExt.getWaresCode());
|
||||
if (null != waresNum
|
||||
&& waresNum + waresLimitExt.getWaresQuantity() > limitNum) {
|
||||
throw new ServiceException("商品【" + waresLimitExt.getWaresName() + "】每月限购 \" + limitNum + \" 件");
|
||||
throw new ServiceException("商品【" + waresLimitExt.getWaresName() + "】每月限购 " + limitNum + " 件");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue