| | |
| | | |
| | | fileIndustry = IndustryType.getNameByValue(it.mfFileIndustry) |
| | | itemType = EnElementType.getNameByValue(it.mfEpItemType) |
| | | itemSubType = EnElementSubType.getNameByValue(it.mfEpItemSubtype) |
| | | itemSubType = EnElementSubType.getSubType(it.mfEpItemType, it.mfEpItemSubtype) |
| | | fileUrl = it.mfFileUrl |
| | | val keyList = it.mfKeywordLv1.split("、") |
| | | for (i in keyList.indices) { |
| | |
| | | |
| | | // fileIndustry = IndustryType.getNameByValue(it.mfFileIndustry) |
| | | itemType = EnElementType.getNameByValue(it.cqKind) |
| | | itemSubType = EnElementSubType.getNameByValue(it.cqSubkind) |
| | | itemSubType = EnElementSubType.getSubType(it.cqKind, it.cqSubkind) |
| | | // fileUrl = it.mfFileUrl |
| | | // val keyList = it.mfKeywordLv1.split("、") |
| | | // for (i in keyList.indices) { |
| | |
| | | // } |
| | | // } |
| | | time = it.cqCreateTime |
| | | punish = it.cqIsPunish |
| | | illegal = it.cqIsIllegal |
| | | shotSpot = it.cqIsShotspot |
| | | supervise = it.cqIsSupervise |
| | | }) |
| | | } |
| | | response.success = true |
| | |
| | | |
| | | // fileIndustry = IndustryType.getNameByValue(it.mfFileIndustry) |
| | | itemType = EnElementType.getNameByValue(it.ecEpItemType) |
| | | itemSubType = EnElementSubType.getNameByValue(it.ecEpItemSubtype) |
| | | itemSubType = EnElementSubType.getSubType(it.ecEpItemType, it.ecEpItemSubtype) |
| | | imgUrl = it.ecAppendixUrl?.split(";")?.get(0) |
| | | time = it.ecCreateTime |
| | | |
| | |
| | | mfMgtLevel = ManageLevelType.getNameByValue(it.mfMgtLevel) |
| | | mfFileType = ConsultFileType.getNameByValue(it.mfFileType) |
| | | mfEpItemType = EnElementType.getNameByValue(it.mfEpItemType) |
| | | mfEpItemSubtype = EnElementSubType.getNameByValue(it.mfEpItemSubtype) |
| | | mfEpItemSubtype = EnElementSubType.getSubType(it.mfEpItemType, it.mfEpItemSubtype) |
| | | mfSaveType = FileSaveType.getNameByValue(it.mfSaveType) |
| | | } |
| | | result.add(vo) |
| | |
| | | mfMgtLevel = ManageLevelType.getNameByValue(it.mfMgtLevel) |
| | | mfFileType = ConsultFileType.getNameByValue(it.mfFileType) |
| | | mfEpItemType = EnElementType.getNameByValue(it.mfEpItemType) |
| | | mfEpItemSubtype = EnElementSubType.getNameByValue(it.mfEpItemSubtype) |
| | | mfEpItemSubtype = EnElementSubType.getSubType(it.mfEpItemType, it.mfEpItemSubtype) |
| | | mfSaveType = FileSaveType.getNameByValue(it.mfSaveType) |
| | | } |
| | | } |
| | |
| | | BeanUtils.copyProperties(it, vo) |
| | | vo.apply { |
| | | cqKind = EnElementType.getNameByValue(it.cqKind) |
| | | cqSubkind = EnElementSubType.getNameByValue(it.cqSubkind) |
| | | cqSubkind = EnElementSubType.getSubType(it.cqKind, it.cqSubkind) |
| | | } |
| | | |
| | | if (answers.isNotEmpty()) { |
| | |
| | | typeId = ConsultResultType.TYPE4.value |
| | | typeName = ConsultResultType.TYPE4.des |
| | | itemType = EnElementType.getNameByValue(it.cqKind) |
| | | itemSubType = EnElementSubType.getNameByValue(it.cqSubkind) |
| | | itemSubType = EnElementSubType.getSubType(it.cqKind, it.cqSubkind) |
| | | time = it.cqCreateTime |
| | | }) |
| | | |
| | |
| | | // BeanUtils.copyProperties(it, vo) |
| | | // vo.apply { |
| | | // cqKind = EnElementType.getNameByValue(it.cqKind) |
| | | // cqSubkind = EnElementSubType.getNameByValue(it.cqSubkind) |
| | | // cqSubkind = EnElementSubType.getSubType(it.ecEpItemType, it.cqSubkind) |
| | | // } |
| | | // |
| | | // if (answers.isNotEmpty()) { |
| | |
| | | BeanUtils.copyProperties(it, result) |
| | | result.apply { |
| | | cqKind = EnElementType.getNameByValue(it.cqKind) |
| | | cqSubkind = EnElementSubType.getNameByValue(it.cqSubkind) |
| | | cqSubkind = EnElementSubType.getSubType(it.cqKind, it.cqSubkind) |
| | | } |
| | | } |
| | | |
| | |
| | | BeanUtils.copyProperties(it, vo) |
| | | vo.apply { |
| | | ecEpItemType = EnElementType.getNameByValue(it.ecEpItemType) |
| | | ecEpItemSubtype = EnElementSubType.getNameByValue(it.ecEpItemSubtype) |
| | | ecEpItemSubtype = EnElementSubType.getSubType(it.ecEpItemType, it.ecEpItemSubtype) |
| | | ecType = EnforceCaseType.getNameByValue(it.ecType) |
| | | } |
| | | result.add(vo) |
| | |
| | | BeanUtils.copyProperties(it, result) |
| | | result.apply { |
| | | ecEpItemType = EnElementType.getNameByValue(it.ecEpItemType) |
| | | ecEpItemSubtype = EnElementSubType.getNameByValue(it.ecEpItemSubtype) |
| | | ecEpItemSubtype = EnElementSubType.getSubType(it.ecEpItemType, it.ecEpItemSubtype) |
| | | ecType = EnforceCaseType.getNameByValue(it.ecType) |
| | | } |
| | | } |