修复商品审核关闭后,修改商品不生成索引问题。升级mybatis-plus版本至 3.4.3.4 和hutool版本至 5.7.16。适配新版本mybatis-plus
This commit is contained in:
@@ -100,7 +100,7 @@ public class CategoryManagerController {
|
||||
|
||||
}
|
||||
//查询某商品分类的商品数量
|
||||
Integer count = goodsService.getGoodsCountByCategory(id);
|
||||
long count = goodsService.getGoodsCountByCategory(id);
|
||||
if (count > 0) {
|
||||
throw new ServiceException(ResultCode.CATEGORY_HAS_GOODS);
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@ public class MemberManagerController {
|
||||
|
||||
@ApiOperation(value = "根据条件查询会员总数")
|
||||
@GetMapping("/num")
|
||||
public ResultMessage<Integer> getByPage(MemberSearchVO memberSearchVO) {
|
||||
public ResultMessage<Long> getByPage(MemberSearchVO memberSearchVO) {
|
||||
return ResultUtil.data(memberService.getMemberNum(memberSearchVO));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user