feat: common模块的路径更新

main
itao 1 year ago
parent eedf241f45
commit 9f9cc51bbe

@ -1,4 +1,4 @@
package com.luoo.common.exception;
package exception;
public class BizException extends RuntimeException {
private static final long serialVersionUID = 2466145171145432619L;

@ -1,6 +1,6 @@
package com.luoo.common.util;
package util;
import com.luoo.common.exception.BizException;
import exception.BizException;
import org.apache.commons.lang3.StringUtils;
import java.util.Arrays;

@ -1,4 +1,4 @@
package com.luoo.common.util;
package util;
import java.math.BigDecimal;
import java.util.Collection;

@ -1,6 +1,6 @@
package com.luoo.tag.controller;
import com.luoo.common.exception.BizException;
import exception.BizException;
import entity.Result;
import entity.StatusCode;
import lombok.extern.slf4j.Slf4j;

@ -40,7 +40,8 @@ public class TagController {
)
@GetMapping("/list")
public ResultVO<Page<TagDTO>> getById(@Validated @RequestBody TagQueryReq queryReq,
@RequestParam int pageNum, @RequestParam int pageSize){
@RequestParam int pageNum,
@RequestParam int pageSize){
return ResultVO.success(tagService.queryPage(queryReq, pageNum, pageSize));
}

@ -33,7 +33,7 @@ public class TagDTO implements Serializable {
@Schema(description = "子标签数量")
private Long childTagCount = 0L;
@Schema(description = "关联文章数量")
@Schema(description = "关联期刊数量TODO")
private Long articleRefCount = 0L;
@Schema(description = "关联歌曲数量")

@ -1,7 +1,7 @@
package com.luoo.tag.service;
import com.google.common.collect.Lists;
import com.luoo.common.util.AssertUtil;
import util.AssertUtil;
import com.luoo.tag.dao.TagDao;
import com.luoo.tag.pojo.*;
import lombok.RequiredArgsConstructor;

Loading…
Cancel
Save