package com.yeejoin.amos.boot.module.jg.biz.edit.typeHandler;

import com.yeejoin.amos.boot.biz.common.typeHandler.TypeHandler;
import com.yeejoin.amos.boot.module.common.api.converter.CommonCustomConverter;
import org.springframework.stereotype.Component;

/**
 * 标签处理器处理器
 */
@Component("companyCodeTypeHandler")
public class CompanyCodeTypeHandler implements TypeHandler<String> {
    @Override
    public String handle(String value) {
        return CommonCustomConverter.CompanyCodeConverter.getNameByCode(value);
    }
}
