修复商品审核关闭后,修改商品不生成索引问题。升级mybatis-plus版本至 3.4.3.4 和hutool版本至 5.7.16。适配新版本mybatis-plus

This commit is contained in:
paulGao
2021-12-15 11:35:41 +08:00
parent c3fbad7dbf
commit a9ddcfeb95
62 changed files with 193 additions and 211 deletions

View File

@@ -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);
}

View File

@@ -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));
}