|
|
|
@ -9,6 +9,7 @@ import com.op.common.core.utils.DateUtils;
|
|
|
|
|
import com.op.common.core.utils.uuid.IdUtils;
|
|
|
|
|
import com.op.common.security.utils.SecurityUtils;
|
|
|
|
|
import com.op.system.api.domain.SysDictData;
|
|
|
|
|
import org.apache.commons.lang.StringUtils;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
import com.op.quality.mapper.QcCheckTypeProjectMapper;
|
|
|
|
@ -58,7 +59,10 @@ public class QcCheckTypeProjectServiceImpl implements IQcCheckTypeProjectService
|
|
|
|
|
Map<String,SysDictData> dictMap = qcCheckTypeProjectMapper.getDictMap(sData);
|
|
|
|
|
if(dictMap != null){
|
|
|
|
|
for(QcCheckTypeProject dto:dtos){
|
|
|
|
|
dto.setUint(dictMap.get(dto.getUint()).getDictLabel());
|
|
|
|
|
if(StringUtils.isNotBlank(dto.getUint())){
|
|
|
|
|
dto.setUint(dictMap.get(dto.getUint()).getDictLabel());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return dtos;
|
|
|
|
|