|
@@ -127,7 +127,7 @@ public class LantoneProductFacade extends LantoneProductServiceImpl {
|
|
|
BeanUtil.copyProperties(updateProductVO, lantoneProduct);
|
|
|
lantoneProduct.setModifier(UserUtils.getCurrentPrincipleID());
|
|
|
lantoneProduct.setGmtModified(DateUtil.now());
|
|
|
- if(updateProductVO.getServiceStatus()==StatusEnum.Disable.getKey()){
|
|
|
+ if(updateProductVO.getServiceStatus().intValue() == StatusEnum.Disable.getKey()){
|
|
|
Page page =new Page();
|
|
|
OpenedProductsIndex openedProductsIndex =new OpenedProductsIndex();
|
|
|
openedProductsIndex.setProductId(updateProductVO.getId());
|