| | |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springblade.core.cache.utils.CacheUtil; |
| | | import org.springblade.core.launch.constant.AppConstant; |
| | | import org.springblade.core.log.exception.ServiceException; |
| | | import com.vci.ubcs.core.log.exception.ServiceException; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.secure.utils.AuthUtil; |
| | | import org.springblade.core.tool.api.R; |
| | |
| | | */ |
| | | @Override |
| | | public CodeClassifyVO getObjectByIdPath(String idPath) { |
| | | List<Map<String, Object>> idPathValues = codeClassifyMapper.selectByFieldPath("/" + idPath); |
| | | List<Map<String, Object>> idPathValues = codeClassifyMapper.selectByFieldPath("#" + idPath); |
| | | CodeClassify classifyDO = null; |
| | | if (idPathValues != null){ |
| | | classifyDO = codeClassifyMapper.selectById(idPathValues.get(0).get("oid").toString()); |
| | | classifyDO = codeClassifyMapper.selectByIdRel(idPathValues.get(0).get("OID").toString()); |
| | | } |
| | | return codeClassifyDO2VO(classifyDO); |
| | | } |