Commit 15290619 by wenyang

标签库集合查询调试日志

parent 60e9aa9e
...@@ -3,7 +3,6 @@ package com.yd.api.metadata; ...@@ -3,7 +3,6 @@ package com.yd.api.metadata;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
import com.yd.api.metadata.service.MetadataService; import com.yd.api.metadata.service.MetadataService;
......
...@@ -46,6 +46,7 @@ public class MetadataServiceImpl implements MetadataService { ...@@ -46,6 +46,7 @@ public class MetadataServiceImpl implements MetadataService {
@Override @Override
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
public TagQueryResponseVO tagQuery(TagQueryRequestVO requestVO) { public TagQueryResponseVO tagQuery(TagQueryRequestVO requestVO) {
System.out.println(requestVO.toString());
TagQueryResponseVO responseVO = new TagQueryResponseVO(); TagQueryResponseVO responseVO = new TagQueryResponseVO();
CommonResult commonResult = new CommonResult(); CommonResult commonResult = new CommonResult();
tagQueryCheck(requestVO, commonResult); tagQueryCheck(requestVO, commonResult);
...@@ -76,6 +77,7 @@ public class MetadataServiceImpl implements MetadataService { ...@@ -76,6 +77,7 @@ public class MetadataServiceImpl implements MetadataService {
} }
List<MdTagNew> mdTagNewList = mdTagNewDalService.selectByIsActive(isActive,configLevel,upperTagId,tagName); List<MdTagNew> mdTagNewList = mdTagNewDalService.selectByIsActive(isActive,configLevel,upperTagId,tagName);
System.out.println("mdTagNewList.size():"+mdTagNewList.size());
List<TagQueryInfo> tagQueryInfos = new ArrayList<>(16); List<TagQueryInfo> tagQueryInfos = new ArrayList<>(16);
if(configLevel == null){ if(configLevel == null){
if((requestVO.getUpperTagId() != null || !CommonUtil.isNullOrBlank(requestVO.getTagName()))){ if((requestVO.getUpperTagId() != null || !CommonUtil.isNullOrBlank(requestVO.getTagName()))){
...@@ -104,6 +106,7 @@ public class MetadataServiceImpl implements MetadataService { ...@@ -104,6 +106,7 @@ public class MetadataServiceImpl implements MetadataService {
} }
} }
System.out.println("tagQueryInfos.size():"+tagQueryInfos.size());
responseVO.setTagQueryInfos(tagQueryInfos); responseVO.setTagQueryInfos(tagQueryInfos);
responseVO.setCommonResult(new CommonResult(true, ZHBErrorConfig.getErrorInfo("800000"))); responseVO.setCommonResult(new CommonResult(true, ZHBErrorConfig.getErrorInfo("800000")));
return responseVO; return responseVO;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment