odd method

if (range.FieldLabel == (new dictType(typeId(CustAccount) >> 16).label()))

    SysDictField dictField;
    SysDictType dictType;
    ;
    dictField = new SysDictField(range.Table_Id,range.Field_Id);
    if (dictField.typeId())
    {
        dictType = new SysDictType(dictField.typeId());
        if(dictType.name() == "CustAccount")
        {
        }

    }

    SysDictField dictField;
    ;
    dictField = new SysDictField(range.Table_Id, range.Field_Id);

    if (dictField.typeId() == typeId2ExtendedTypeId(typeid(CustAccount)))
    {

    }

    typeId2ExtendedTypeId(typeid(CustAccount));

     

原文地址:https://www.cnblogs.com/lingdanglfw/p/2259687.html