Commit dc1b8c8e by zhangkb

添加path判空

parent f03609fe
......@@ -702,10 +702,12 @@ public class TagService {
//拼接个人标签查询条件
private Criteria createPersonalTagCriteria(String userName, List<String> orgIds,
List<String> companyOrgIdList, String path,String keyword) throws TagNotExistException{
if(StringUtils.isNotBlank(path)) {
if(path.contains("\\")) {
String[] paths = path.split("\\\\");
path = paths[0]+"\\\\"+paths[1];
}
}
Criteria criteria = Criteria.where("tagType").is(Constants.TAG_PERSONAL_TYPE);
Criteria criteriaOr = new Criteria();
List<Criteria> criteriaOrList = new ArrayList<>();
......
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