|
|
|
@ -237,6 +237,9 @@ public class AppBusinessProductServiceImpl implements IAppBusinessProductService
|
|
|
|
|
bo.setCategories(appCategoryVo.getCategories()); |
|
|
|
|
} |
|
|
|
|
bo.setStatus(vo.getStatus()); |
|
|
|
|
if(vo.getStatus().equals("2") || vo.getStatus().equals("4")){ |
|
|
|
|
bo.setStatus("0"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -652,8 +655,7 @@ public class AppBusinessProductServiceImpl implements IAppBusinessProductService
|
|
|
|
|
UpdateWrapper<AppBusinessProduct> updateWrapper = new UpdateWrapper<>(); |
|
|
|
|
updateWrapper.eq("id", bo.getId()) |
|
|
|
|
.set("status", "4") |
|
|
|
|
.set("record_msg", bo.getRemark()) |
|
|
|
|
.eq("is_sale", 1); |
|
|
|
|
.set("record_msg", bo.getRemark()); |
|
|
|
|
return baseMapper.update(updateWrapper); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|