Commit 8383de09 authored by shiyu's avatar shiyu

发布商品3

parent 4746cdf4
......@@ -117,7 +117,7 @@ public class SysSupplierItemServiceImpl implements SysSupplierItemService {
supplierItemVo.setIsLimitBuy(false);
}
AuctionConfig auctionConfig = auctionConfigDao.findByItemId(supplierItem.getId());
if (auctionConfig.getIsValid()) {
if (auctionConfig != null && auctionConfig.getIsValid()) {
supplierItemVo.setEditAble(false);
} else {
supplierItemVo.setEditAble(true);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment