mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-13 21:17:08 +00:00
[improvement](chat) fix checkstyle error in CollectService (#439)
This commit is contained in:
@@ -5,27 +5,21 @@ import com.tencent.supersonic.auth.api.authentication.pojo.User;
|
|||||||
import com.tencent.supersonic.semantic.model.domain.CollectService;
|
import com.tencent.supersonic.semantic.model.domain.CollectService;
|
||||||
import com.tencent.supersonic.semantic.model.domain.dataobject.CollectDO;
|
import com.tencent.supersonic.semantic.model.domain.dataobject.CollectDO;
|
||||||
import com.tencent.supersonic.semantic.model.infrastructure.mapper.CollectMapper;
|
import com.tencent.supersonic.semantic.model.infrastructure.mapper.CollectMapper;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
|
||||||
import org.apache.commons.lang.StringUtils;
|
|
||||||
import org.springframework.stereotype.Service;
|
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.apache.commons.lang3.StringUtils;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@Service
|
@Service
|
||||||
public class CollectServiceImpl implements CollectService {
|
public class CollectServiceImpl implements CollectService {
|
||||||
|
|
||||||
|
public static final String type = "metric";
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
private CollectMapper collectMapper;
|
private CollectMapper collectMapper;
|
||||||
|
|
||||||
|
|
||||||
String type = "metric";
|
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Boolean createCollectionIndicators(User user, Long id) {
|
public Boolean createCollectionIndicators(User user, Long id) {
|
||||||
CollectDO collectDO = new CollectDO();
|
CollectDO collectDO = new CollectDO();
|
||||||
|
|||||||
Reference in New Issue
Block a user