|
@@ -592,7 +592,7 @@ public class OaEntryServiceImpl implements OaEntryService {
|
|
|
// 员工类型
|
|
|
if (StrUtil.isNotBlank(oaEntryDO.getEmployeeType())) {
|
|
|
List<DictDataTenantRespDTO> dictDataList = dictDataTenantApi.getDictDataList(DictTypeTenantEnum.TENANT_EMPLOYEE_TYPE.getType());
|
|
|
- Map<String, String> dictDataMap = CollectionUtils.convertMap(dictDataList, DictDataTenantRespDTO::getDictType, DictDataTenantRespDTO::getLabel);
|
|
|
+ Map<String, String> dictDataMap = CollectionUtils.convertMap(dictDataList, DictDataTenantRespDTO::getValue, DictDataTenantRespDTO::getLabel);
|
|
|
String employeeTypeDesc = dictDataMap.get(oaEntryDO.getEmployeeType());
|
|
|
if (StrUtil.isNotBlank(employeeTypeDesc)) {
|
|
|
oaEntryRespVO.setEmployeeTypeDesc(employeeTypeDesc);
|
|
@@ -718,7 +718,7 @@ public class OaEntryServiceImpl implements OaEntryService {
|
|
|
.collect(Collectors.toMap(OaAuditStatusEnum::getStatus, OaAuditStatusEnum::getStatusDesc));
|
|
|
// 员工类型
|
|
|
List<DictDataTenantRespDTO> dictDataList = dictDataTenantApi.getDictDataList(DictTypeTenantEnum.TENANT_EMPLOYEE_TYPE.getType());
|
|
|
- Map<String, String> dictDataMap = CollectionUtils.convertMap(dictDataList, DictDataTenantRespDTO::getDictType, DictDataTenantRespDTO::getLabel);
|
|
|
+ Map<String, String> dictDataMap = CollectionUtils.convertMap(dictDataList, DictDataTenantRespDTO::getValue, DictDataTenantRespDTO::getLabel);
|
|
|
|
|
|
for (OaEntryRespVO respVO : oaEntryRespVOList) {
|
|
|
// 当前处理人
|