package supplier import ( "time" ) type OilSupplier struct { Id int `xorm:"not null pk autoincr INT(10)"` SupplierName string `xorm:"comment('企业名称') VARCHAR(255)"` OldSupplierName string `xorm:"comment('曾用名') VARCHAR(255)"` OilCertificateNo string `xorm:"comment('中石油供应商证书号') VARCHAR(50)"` Grade string `xorm:"comment('级别') VARCHAR(2)"` MgrUnit string `xorm:"comment('管理单位') VARCHAR(50)"` OperType string `xorm:"comment('经营方式') VARCHAR(50)"` Country string `xorm:"comment('国家') VARCHAR(20)"` MaunAgent string `xorm:"comment('所代理制造商名称') VARCHAR(100)"` ConstructTeam string `xorm:"comment('施工队伍名称') VARCHAR(100)"` CredentialFlag string `xorm:"default '1' comment('证件合一标志') VARCHAR(5)"` CommercialNo string `xorm:"comment('工商注册号') VARCHAR(50)"` OrganCode string `xorm:"comment('组织机构代码') VARCHAR(50)"` CountryTaxNo string `xorm:"comment('税务登记证国税编号') VARCHAR(50)"` LocalTaxNo string `xorm:"comment('税务登记证地税编号') VARCHAR(50)"` Address string `xorm:"comment('单位地址') VARCHAR(500)"` AllAddress string `xorm:"comment('注册地址') VARCHAR(500)"` LinkAllAddress string `xorm:"comment('通信地址') VARCHAR(500)"` Province string `xorm:"comment('省直辖市') VARCHAR(20)"` City string `xorm:"comment('地市区县') VARCHAR(20)"` Street string `xorm:"comment('街道') VARCHAR(20)"` HouseNo string `xorm:"comment('门牌号') VARCHAR(10)"` ZipCode string `xorm:"comment('邮编') VARCHAR(20)"` LinkAddress string `xorm:"comment('通信地址-单位地址') VARCHAR(500)"` LinkProvince string `xorm:"comment('通信地址-省直辖市') VARCHAR(20)"` LinkCity string `xorm:"comment('通信地址-地市区县') VARCHAR(20)"` LinkStreet string `xorm:"comment('通信地址-街道') VARCHAR(20)"` LinkHouseNo string `xorm:"comment('通信地址-门牌号') VARCHAR(10)"` LinkZipCode string `xorm:"comment('通信地址-邮编') VARCHAR(20)"` HseTraining string `xorm:"comment('是否需要进行HSE审查培训') VARCHAR(2)"` QualitySystemCert string `xorm:"comment('质量管理体系认证情况及认证机构') VARCHAR(200)"` ProductQualityCert string `xorm:"comment('产品质量认证情况及认证机构') VARCHAR(200)"` MaunLicense string `xorm:"comment('生产制造许可证获证情况及编号') VARCHAR(200)"` QualifCert string `xorm:"comment('企业资质证书编号') VARCHAR(200)"` QualifCertLevel string `xorm:"comment('企业资质证书级别') VARCHAR(10)"` SafetyLicense string `xorm:"comment('安全生产许可证') VARCHAR(200)"` TechServiceLic string `xorm:"comment('技术服务类准入许可证') VARCHAR(200)"` TjinNotify string `xorm:"comment('外地企业进津备案通知书') VARCHAR(50)"` SpecIndustryCert string `xorm:"comment('行业特殊要求的认证证书') VARCHAR(200)"` BusinessScope string `xorm:"comment('营业范围') TEXT"` LegalPerson string `xorm:"comment('法定代表人姓名') VARCHAR(20)"` CategoryCode string `xorm:"comment('行业类别代码') VARCHAR(10)"` CategoryName string `xorm:"comment('行业类别名称') VARCHAR(20)"` RegCapital float64 `xorm:"default 0 comment('注册资本') FLOAT"` Currency string `xorm:"comment('币种') VARCHAR(10)"` ContactName string `xorm:"comment('联系人姓名') VARCHAR(20)"` CompanyType string `xorm:"comment('公司类型') VARCHAR(20)"` SetupTime time.Time `xorm:"comment('成立时间') Date"` DepositBank string `xorm:"comment('开户银行') VARCHAR(50)"` BankAccount string `xorm:"comment('银行账号') VARCHAR(50)"` EMail string `xorm:"comment('电子邮箱') VARCHAR(50)"` BankCreditRating string `xorm:"comment('银行信用等级') VARCHAR(10)"` Mobile string `xorm:"comment('移动电话') VARCHAR(20)"` Telphone string `xorm:"comment('固定电话') VARCHAR(20)"` Fax string `xorm:"comment('传真') VARCHAR(20)"` CompanyTel string `xorm:"comment('公司电话') VARCHAR(20)"` QQ string `xorm:"comment('QQ号码') VARCHAR(20)"` CompanyUrl string `xorm:"comment('公司网址') VARCHAR(20)"` SpecSupplier string `xorm:"default '0' comment('是否特殊业务供应商(可不招标)') VARCHAR(2)"` SpecTypeCode string `xorm:"comment('业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)') VARCHAR(2)"` SpecTypeName string `xorm:"comment('业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)') VARCHAR(20)"` WZAccessCardNo string `xorm:"comment('准入证编码--物质') VARCHAR(20)"` JSAccessCardNo string `xorm:"comment('准入证编码--基建') VARCHAR(20)"` JFAccessCardNo string `xorm:"comment('准入证编码--技术服务类') VARCHAR(20)"` Remark string `xorm:"comment('备注') VARCHAR(500)"` IsDelete int `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"` CreateOn time.Time `xorm:"DATETIME"` CreateUserId int `xorm:"INT(10)"` CreateBy string `xorm:"VARCHAR(50)"` ModifiedOn time.Time `xorm:"DATETIME"` ModifiedUserId int `xorm:"INT(10)"` ModifiedBy string `xorm:"VARCHAR(50)"` PACNumber string `xorm:"comment('中石油准入证编号') VARCHAR(50)"` SupplierCertificate string `xorm:"comment('中石油物资供应商证书') VARCHAR(200)"` } type OilSupplier1 struct { Id int `xorm:"not null pk autoincr INT(10)"` SupplierName string `xorm:"comment('企业名称') VARCHAR(255)"` OldSupplierName string `xorm:"comment('曾用名') VARCHAR(255)"` OilCertificateNo string `xorm:"comment('中石油供应商证书号') VARCHAR(50)"` Grade string `xorm:"comment('级别') VARCHAR(2)"` MgrUnit string `xorm:"comment('管理单位') VARCHAR(50)"` OperType string `xorm:"comment('经营方式') VARCHAR(50)"` Country string `xorm:"comment('国家') VARCHAR(20)"` MaunAgent string `xorm:"comment('所代理制造商名称') VARCHAR(100)"` ConstructTeam string `xorm:"comment('施工队伍名称') VARCHAR(100)"` CredentialFlag string `xorm:"default '1' comment('证件合一标志') VARCHAR(5)"` CommercialNo string `xorm:"comment('工商注册号') VARCHAR(50)"` OrganCode string `xorm:"comment('组织机构代码') VARCHAR(50)"` CountryTaxNo string `xorm:"comment('税务登记证国税编号') VARCHAR(50)"` LocalTaxNo string `xorm:"comment('税务登记证地税编号') VARCHAR(50)"` Address string `xorm:"comment('单位地址') VARCHAR(500)"` AllAddress string `xorm:"comment('注册地址') VARCHAR(500)"` LinkAllAddress string `xorm:"comment('通信地址') VARCHAR(500)"` Province string `xorm:"comment('省直辖市') VARCHAR(20)"` City string `xorm:"comment('地市区县') VARCHAR(20)"` Street string `xorm:"comment('街道') VARCHAR(20)"` HouseNo string `xorm:"comment('门牌号') VARCHAR(10)"` ZipCode string `xorm:"comment('邮编') VARCHAR(20)"` LinkAddress string `xorm:"comment('通信地址-单位地址') VARCHAR(500)"` LinkProvince string `xorm:"comment('通信地址-省直辖市') VARCHAR(20)"` LinkCity string `xorm:"comment('通信地址-地市区县') VARCHAR(20)"` LinkStreet string `xorm:"comment('通信地址-街道') VARCHAR(20)"` LinkHouseNo string `xorm:"comment('通信地址-门牌号') VARCHAR(10)"` LinkZipCode string `xorm:"comment('通信地址-邮编') VARCHAR(20)"` HseTraining string `xorm:"comment('是否需要进行HSE审查培训') VARCHAR(2)"` QualitySystemCert string `xorm:"comment('质量管理体系认证情况及认证机构') VARCHAR(200)"` ProductQualityCert string `xorm:"comment('产品质量认证情况及认证机构') VARCHAR(200)"` MaunLicense string `xorm:"comment('生产制造许可证获证情况及编号') VARCHAR(200)"` QualifCert string `xorm:"comment('企业资质证书编号') VARCHAR(200)"` QualifCertLevel string `xorm:"comment('企业资质证书级别') VARCHAR(10)"` SafetyLicense string `xorm:"comment('安全生产许可证') VARCHAR(200)"` TechServiceLic string `xorm:"comment('技术服务类准入许可证') VARCHAR(200)"` TjinNotify string `xorm:"comment('外地企业进津备案通知书') VARCHAR(50)"` SpecIndustryCert string `xorm:"comment('行业特殊要求的认证证书') VARCHAR(200)"` BusinessScope string `xorm:"comment('营业范围') TEXT"` LegalPerson string `xorm:"comment('法定代表人姓名') VARCHAR(20)"` CategoryCode string `xorm:"comment('行业类别代码') VARCHAR(10)"` CategoryName string `xorm:"comment('行业类别名称') VARCHAR(20)"` RegCapital float64 `xorm:"default 0 comment('注册资本') FLOAT"` Currency string `xorm:"comment('币种') VARCHAR(10)"` ContactName string `xorm:"comment('联系人姓名') VARCHAR(20)"` CompanyType string `xorm:"comment('公司类型') VARCHAR(20)"` SetupTime time.Time `xorm:"comment('成立时间') Date"` DepositBank string `xorm:"comment('开户银行') VARCHAR(50)"` BankAccount string `xorm:"comment('银行账号') VARCHAR(50)"` EMail string `xorm:"comment('电子邮箱') VARCHAR(50)"` BankCreditRating string `xorm:"comment('银行信用等级') VARCHAR(10)"` Mobile string `xorm:"comment('移动电话') VARCHAR(20)"` Telphone string `xorm:"comment('固定电话') VARCHAR(20)"` Fax string `xorm:"comment('传真') VARCHAR(20)"` CompanyTel string `xorm:"comment('公司电话') VARCHAR(20)"` QQ string `xorm:"comment('QQ号码') VARCHAR(20)"` CompanyUrl string `xorm:"comment('公司网址') VARCHAR(20)"` SpecSupplier string `xorm:"default '0' comment('是否特殊业务供应商(可不招标)') VARCHAR(2)"` SpecTypeCode string `xorm:"comment('业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)') VARCHAR(2)"` SpecTypeName string `xorm:"comment('业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)') VARCHAR(20)"` WZAccessCardNo string `xorm:"comment('准入证编码--物质') VARCHAR(20)"` JSAccessCardNo string `xorm:"comment('准入证编码--基建') VARCHAR(20)"` JFAccessCardNo string `xorm:"comment('准入证编码--技术服务类') VARCHAR(20)"` Remark string `xorm:"comment('备注') VARCHAR(500)"` IsDelete int `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"` CreateOn time.Time `xorm:"DATETIME"` CreateUserId int `xorm:"INT(10)"` CreateBy string `xorm:"VARCHAR(50)"` ModifiedOn time.Time `xorm:"DATETIME"` ModifiedUserId int `xorm:"INT(10)"` ModifiedBy string `xorm:"VARCHAR(50)"` PACNumber string `xorm:"comment('中石油准入证编号') VARCHAR(50)"` SupplierCertificate string `xorm:"comment('中石油物资供应商证书') VARCHAR(200)"` CodeName string } type Del_OilSupplier struct { Id int `xorm:"not null pk autoincr INT(10)"` SupplierName string `xorm:"comment('企业名称') VARCHAR(255)"` OilCertificateNo string `xorm:"comment('中石油供应商证书号') VARCHAR(50)"` Grade string `xorm:"comment('级别') VARCHAR(2)"` MgrUnit string `xorm:"comment('管理单位') VARCHAR(50)"` OperType string `xorm:"comment('经营方式') VARCHAR(50)"` Country string `xorm:"comment('国家') VARCHAR(20)"` MaunAgent string `xorm:"comment('所代理制造商名称') VARCHAR(100)"` ConstructTeam string `xorm:"comment('施工队伍名称') VARCHAR(100)"` CredentialFlag string `xorm:"default '1' comment('证件合一标志') VARCHAR(5)"` CommercialNo string `xorm:"comment('工商注册号') VARCHAR(50)"` OrganCode string `xorm:"comment('组织机构代码') VARCHAR(50)"` CountryTaxNo string `xorm:"comment('税务登记证国税编号') VARCHAR(50)"` LocalTaxNo string `xorm:"comment('税务登记证地税编号') VARCHAR(50)"` Address string `xorm:"comment('单位地址') VARCHAR(500)"` AllAddress string `xorm:"comment('注册地址') VARCHAR(500)"` LinkAllAddress string `xorm:"comment('通信地址') VARCHAR(500)"` Province string `xorm:"comment('省直辖市') VARCHAR(20)"` City string `xorm:"comment('地市区县') VARCHAR(20)"` Street string `xorm:"comment('街道') VARCHAR(20)"` HouseNo string `xorm:"comment('门牌号') VARCHAR(10)"` ZipCode string `xorm:"comment('邮编') VARCHAR(20)"` LinkAddress string `xorm:"comment('通信地址-单位地址') VARCHAR(500)"` LinkProvince string `xorm:"comment('通信地址-省直辖市') VARCHAR(20)"` LinkCity string `xorm:"comment('通信地址-地市区县') VARCHAR(20)"` LinkStreet string `xorm:"comment('通信地址-街道') VARCHAR(20)"` LinkHouseNo string `xorm:"comment('通信地址-门牌号') VARCHAR(10)"` LinkZipCode string `xorm:"comment('通信地址-邮编') VARCHAR(20)"` HseTraining string `xorm:"comment('是否需要进行HSE审查培训') VARCHAR(2)"` QualitySystemCert string `xorm:"comment('质量管理体系认证情况及认证机构') VARCHAR(200)"` ProductQualityCert string `xorm:"comment('产品质量认证情况及认证机构') VARCHAR(200)"` MaunLicense string `xorm:"comment('生产制造许可证获证情况及编号') VARCHAR(200)"` QualifCert string `xorm:"comment('企业资质证书编号') VARCHAR(200)"` QualifCertLevel string `xorm:"comment('企业资质证书级别') VARCHAR(10)"` SafetyLicense string `xorm:"comment('安全生产许可证') VARCHAR(200)"` TechServiceLic string `xorm:"comment('技术服务类准入许可证') VARCHAR(200)"` TjinNotify string `xorm:"comment('外地企业进津备案通知书') VARCHAR(50)"` SpecIndustryCert string `xorm:"comment('行业特殊要求的认证证书') VARCHAR(200)"` BusinessScope string `xorm:"comment('营业范围') TEXT"` LegalPerson string `xorm:"comment('法定代表人姓名') VARCHAR(20)"` CategoryCode string `xorm:"comment('行业类别代码') VARCHAR(10)"` CategoryName string `xorm:"comment('行业类别名称') VARCHAR(20)"` RegCapital float64 `xorm:"default 0 comment('注册资本') FLOAT"` Currency string `xorm:"comment('币种') VARCHAR(10)"` ContactName string `xorm:"comment('联系人姓名') VARCHAR(20)"` CompanyType string `xorm:"comment('公司类型') VARCHAR(20)"` SetupTime time.Time `xorm:"comment('成立时间') Date"` DepositBank string `xorm:"comment('开户银行') VARCHAR(50)"` BankAccount string `xorm:"comment('银行账号') VARCHAR(50)"` EMail string `xorm:"comment('电子邮箱') VARCHAR(50)"` BankCreditRating string `xorm:"comment('银行信用等级') VARCHAR(10)"` Mobile string `xorm:"comment('移动电话') VARCHAR(20)"` Telphone string `xorm:"comment('固定电话') VARCHAR(20)"` Fax string `xorm:"comment('传真') VARCHAR(20)"` CompanyTel string `xorm:"comment('公司电话') VARCHAR(20)"` QQ string `xorm:"comment('QQ号码') VARCHAR(20)"` CompanyUrl string `xorm:"comment('公司网址') VARCHAR(20)"` SpecSupplier string `xorm:"default '0' comment('是否特殊业务供应商(可不招标)') VARCHAR(2)"` SpecTypeCode string `xorm:"comment('业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)') VARCHAR(2)"` SpecTypeName string `xorm:"comment('业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)') VARCHAR(20)"` WZAccessCardNo string `xorm:"comment('准入证编码--物质') VARCHAR(20)"` JSAccessCardNo string `xorm:"comment('准入证编码--基建') VARCHAR(20)"` JFAccessCardNo string `xorm:"comment('准入证编码--技术服务类') VARCHAR(20)"` Remark string `xorm:"comment('备注') VARCHAR(500)"` IsDelete int `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"` CreateOn time.Time `xorm:"DATETIME"` CreateUserId int `xorm:"INT(10)"` CreateBy string `xorm:"VARCHAR(50)"` ModifiedOn time.Time `xorm:"DATETIME"` ModifiedUserId int `xorm:"INT(10)"` ModifiedBy string `xorm:"VARCHAR(50)"` PACNumber string `xorm:"comment('中石油准入证编号') VARCHAR(50)"` SupplierCertificate string `xorm:"comment('中石油物资供应商证书') VARCHAR(200)"` DeleteDate time.Time `xorm:"DATETIME"` } type OilSupplierView struct { OilSupplier `xorm:"extends"` CertId string AccessCardNo string SupplierTypeCode string SupplierTypeName string Step int WorkerTotal int `xorm:"default 0 comment('企业员工总数') INT(10)"` ContractNum int `xorm:"default 0 comment('合同化用工数量') INT(10)"` UniversityNum int `xorm:"default 0 comment('大学及以上学历人员数量') INT(10)"` TechnicalNum int `xorm:"default 0 comment('技术、管理人员数量') INT(10)"` AboveProfNum int `xorm:"default 0 comment('高级及以上职称人员数量') INT(10)"` MiddleProfNum int `xorm:"default 0 comment('中级职称人员数量') INT(10)"` NationalRegNum int `xorm:"default 0 comment('具有国家注册执业资格人员数量') INT(10)"` NationalCertTotal int `xorm:"default 0 comment('具有国家注册执业资格证书总数') INT(10)"` DesignerTotal int `xorm:"default 0 comment('设计人员总数') INT(10)"` SkillerTotal int `xorm:"default 0 comment('技术工人总数') INT(10)"` Status string `xorm:"not null default '0' comment('状态标识(0未申请,1办理完毕)') VARCHAR(10)"` WorkflowId string `xorm:"default '0' comment('工作流的ID') VARCHAR(255)"` RecUnitReason string `xorm:"comment('推荐单位的推荐意见') VARCHAR(800)"` RecUnitPerson string `xorm:"comment('推荐单位负责人') VARCHAR(20)"` RecDate time.Time `xorm:"comment('推荐日期') DATETIME"` RecUnitId string `xorm:"comment('推荐单位编码') VARCHAR(10)"` RecUnitName string `xorm:"comment('推荐单位名称') VARCHAR(50)"` BackReason string `xorm:"comment('退回原因') VARCHAR(50)"` InFlag string `xorm:"default '0' comment('准入标识') VARCHAR(10)"` InStyle string `xorm:"default '1' comment('准入方式') VARCHAR(10)"` EffectStartTime time.Time `xorm:"comment('有效期起') DATETIME"` EffectEndTime time.Time `xorm:"comment('有效期止') DATETIME"` AuditProcessNote string `xorm:"comment('办理过程备注') VARCHAR(100)"` AuditDate time.Time `xorm:"comment('审核日期') DATETIME"` PayNotice string `xorm:"default '0' comment('交费通知') VARCHAR(2)"` SupplierStatus string `xorm:"comment('供应商状态(null:正常,1中止,2终止)') VARCHAR(255)"` MgrType string `xorm:"comment('供应商管理类型') VARCHAR(255)"` Type string `xorm:"comment('供应商类型') VARCHAR(255)"` AddinTime string `xorm:"comment('准入日期') VARCHAR(255)"` EffectTime string `xorm:"comment('生效日期') VARCHAR(255)"` ApplyTime time.Time `xorm:"comment('年审日期') DATETIME"` SupplierNo string `xorm:"comment('供应商准入证编号') VARCHAR(255)"` MdmFlag string `xorm:"default '0' comment('MDM标志') VARCHAR(2)"` InternalFlag string `xorm:"comment('国内采购') VARCHAR(255)"` ImportFlag string `xorm:"comment('进口采购') VARCHAR(255)"` OutsideFlog string `xorm:"comment('境外项目') VARCHAR(255)"` ThirdAudit string `xorm:"comment('备注') VARCHAR(500)"` IsDelete int `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"` IsRestrict int `xorm:"INT(11)"` CommitComId string `xorm:"default '0' comment('提交二级单位Id') VARCHAR(50)"` BusinessKey string `xorm:"VARCHAR(255)"` AuditIndex int `xorm:"INT(10)"` ProcessKey string `xorm:"VARCHAR(255)"` BackRemark string `xorm:"VARCHAR(255)"` Remark string `xorm:"VARCHAR(255)"` Remark1 string `xorm:"VARCHAR(255)"` } type CompanyList struct { SupplierName string `xorm:"comment('企业名称') VARCHAR(255)"` SupplierTypeCode string SupplierTypeName string InFlag string `xorm:"default '0' comment('准入标识') VARCHAR(10)"` InStyle string `xorm:"default '1' comment('准入方式') VARCHAR(10)"` SupplierStatus string `xorm:"comment('供应商状态(null:正常,1中止,2终止)') VARCHAR(255)"` Type string `xorm:"comment('供应商类型') VARCHAR(255)"` ApplyTime time.Time `xorm:"comment('年审日期') DATETIME"` } type OilSupplierView1 struct { OilSupplier1 `xorm:"extends"` CertId string AccessCardNo string SupplierTypeCode string SupplierTypeName string Step int WorkerTotal int `xorm:"default 0 comment('企业员工总数') INT(10)"` ContractNum int `xorm:"default 0 comment('合同化用工数量') INT(10)"` UniversityNum int `xorm:"default 0 comment('大学及以上学历人员数量') INT(10)"` TechnicalNum int `xorm:"default 0 comment('技术、管理人员数量') INT(10)"` AboveProfNum int `xorm:"default 0 comment('高级及以上职称人员数量') INT(10)"` MiddleProfNum int `xorm:"default 0 comment('中级职称人员数量') INT(10)"` NationalRegNum int `xorm:"default 0 comment('具有国家注册执业资格人员数量') INT(10)"` NationalCertTotal int `xorm:"default 0 comment('具有国家注册执业资格证书总数') INT(10)"` DesignerTotal int `xorm:"default 0 comment('设计人员总数') INT(10)"` SkillerTotal int `xorm:"default 0 comment('技术工人总数') INT(10)"` Status string `xorm:"not null default '0' comment('状态标识(0未申请,1办理完毕)') VARCHAR(10)"` WorkflowId string `xorm:"default '0' comment('工作流的ID') VARCHAR(255)"` RecUnitReason string `xorm:"comment('推荐单位的推荐意见') VARCHAR(800)"` RecUnitPerson string `xorm:"comment('推荐单位负责人') VARCHAR(20)"` RecDate time.Time `xorm:"comment('推荐日期') DATETIME"` RecUnitId string `xorm:"comment('推荐单位编码') VARCHAR(10)"` RecUnitName string `xorm:"comment('推荐单位名称') VARCHAR(50)"` BackReason string `xorm:"comment('退回原因') VARCHAR(50)"` InFlag string `xorm:"default '0' comment('准入标识') VARCHAR(10)"` InStyle string `xorm:"default '1' comment('准入方式') VARCHAR(10)"` EffectStartTime time.Time `xorm:"comment('有效期起') DATETIME"` EffectEndTime time.Time `xorm:"comment('有效期止') DATETIME"` AuditProcessNote string `xorm:"comment('办理过程备注') VARCHAR(100)"` AuditDate time.Time `xorm:"comment('审核日期') DATETIME"` PayNotice string `xorm:"default '0' comment('交费通知') VARCHAR(2)"` SupplierStatus string `xorm:"comment('供应商状态(null:正常,1中止,2终止)') VARCHAR(255)"` MgrType string `xorm:"comment('供应商管理类型') VARCHAR(255)"` Type string `xorm:"comment('供应商类型') VARCHAR(255)"` AddinTime string `xorm:"comment('准入日期') VARCHAR(255)"` EffectTime string `xorm:"comment('生效日期') VARCHAR(255)"` ApplyTime time.Time `xorm:"comment('年审日期') DATETIME"` SupplierNo string `xorm:"comment('供应商准入证编号') VARCHAR(255)"` MdmFlag string `xorm:"default '0' comment('MDM标志') VARCHAR(2)"` InternalFlag string `xorm:"comment('国内采购') VARCHAR(255)"` ImportFlag string `xorm:"comment('进口采购') VARCHAR(255)"` OutsideFlog string `xorm:"comment('境外项目') VARCHAR(255)"` ThirdAudit string `xorm:"comment('备注') VARCHAR(500)"` IsDelete int `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"` IsRestrict int `xorm:"INT(11)"` CommitComId string `xorm:"default '0' comment('提交二级单位Id') VARCHAR(50)"` BusinessKey string `xorm:"VARCHAR(255)"` AuditIndex int `xorm:"INT(10)"` ProcessKey string `xorm:"VARCHAR(255)"` BackRemark string `xorm:"VARCHAR(255)"` Remark string `xorm:"VARCHAR(255)"` Remark1 string `xorm:"VARCHAR(255)"` } type OilSupplierSelect struct { Id int //Oilsupplier表id CertId int AccessCardNo string //准入证号 SupplierName string //企业名称 OldSupplierName string //企业曾用名 SupplierTypeCode string //准入类别编号 Grade string //级别 OperType string //供应商类型 LegalPerson string //法定代表人姓名 RegCapital float64 //注册资本 Mobile string //移动电话 AuditDate time.Time //最后一次年审 ApplyTime time.Time //申请时间 EffectEndTime time.Time //有效期至 InFlag string //状态 ContactName string //联系人姓名 CommercialNo string //统一社会信用代码 DepositBank string //开户银行 HseTraining string //是否需要进行HSE审查培训 CompanyType string //公司类型 SetupTime time.Time //成立时间 Address string //注册详细地址 Province string //注册省 City string //注册市 Street string //注册区 LinkAddress string //通信详细地址 LinkProvince string //通信地址省 LinkCity string //通信地址市 LinkStreet string //通信地址区 BusinessScope string //营业范围 NeedFileType string //资质 CerSubName string //准入范围 InStyle string //准入方式 FullName string //专业科室审批 CheckUnitName string //推荐单位 CreateOn time.Time //申请时间 Remark string } type OilSupplierContrast struct { Id int //Oilsupplier表id CertId int AccessCardNo string //准入证号 SupplierName string //企业名称 SupplierTypeCode string //准入类别编号 LegalPerson string //法定代表人姓名 RegCapital float64 //注册资本 Mobile string //移动电话 InFlag string //状态 ContactName string //联系人姓名 CommercialNo string //统一社会信用代码 DepositBank string //开户银行 HseTraining string //是否需要进行HSE审查培训 CompanyType string //公司类型 SetupTime time.Time //成立时间 Address string //注册详细地址 Province string //注册省 City string //注册市 Street string //注册区 LinkAddress string //通信详细地址 LinkProvince string //通信地址省 LinkCity string //通信地址市 LinkStreet string //通信地址区 BusinessScope string //营业范围 NeedFileType string //资质 CerSubName string //准入范围 InStyle string //准入方式 Remark string SubCnt int NoSubCnt int HeaderCodes string SubNames string CertSubCodes string SubClassIds string Checked string // 0没问题 1缺资质 MinClassId string // subclassid的最小值 OneTwoCount int // 1变2 TwoOneCount int // 2变1 IsDelete int // 2变1 ZzName string // 缺少的资质名 } //type NeedFileTypeStruct struct { // NeedFileType []string // CertSubName string //} type RegCapitalRange struct { RegCapital1 string RegCapital2 string } type OilSupplierApply struct { Id int `xorm:"not null pk autoincr INT(10)"` SupplierName string `xorm:"comment('企业名称') VARCHAR(255)"` OilCertificateNo string `xorm:"comment('中石油供应商证书号') VARCHAR(50)"` Grade string `xorm:"comment('级别') VARCHAR(2)"` MgrUnit string `xorm:"comment('管理单位') VARCHAR(50)"` OperType string `xorm:"comment('经营方式') VARCHAR(50)"` Country string `xorm:"comment('国家') VARCHAR(20)"` MaunAgent string `xorm:"comment('所代理制造商名称') VARCHAR(100)"` ConstructTeam string `xorm:"comment('施工队伍名称') VARCHAR(100)"` CredentialFlag string `xorm:"default '1' comment('证件合一标志') VARCHAR(5)"` CommercialNo string `xorm:"comment('工商注册号') VARCHAR(50)"` OrganCode string `xorm:"comment('组织机构代码') VARCHAR(50)"` CountryTaxNo string `xorm:"comment('税务登记证国税编号') VARCHAR(50)"` LocalTaxNo string `xorm:"comment('税务登记证地税编号') VARCHAR(50)"` Address string `xorm:"comment('单位地址') VARCHAR(500)"` Province string `xorm:"comment('省直辖市') VARCHAR(20)"` City string `xorm:"comment('地市区县') VARCHAR(20)"` Street string `xorm:"comment('街道') VARCHAR(20)"` HouseNo string `xorm:"comment('门牌号') VARCHAR(10)"` ZipCode string `xorm:"comment('邮编') VARCHAR(20)"` LinkAddress string `xorm:"comment('通信地址-单位地址') VARCHAR(500)"` LinkProvince string `xorm:"comment('通信地址-省直辖市') VARCHAR(20)"` LinkCity string `xorm:"comment('通信地址-地市区县') VARCHAR(20)"` LinkStreet string `xorm:"comment('通信地址-街道') VARCHAR(20)"` LinkHouseNo string `xorm:"comment('通信地址-门牌号') VARCHAR(10)"` LinkZipCode string `xorm:"comment('通信地址-邮编') VARCHAR(20)"` HseTraining string `xorm:"comment('是否需要进行HSE审查培训') VARCHAR(2)"` QualitySystemCert string `xorm:"comment('质量管理体系认证情况及认证机构') VARCHAR(200)"` ProductQualityCert string `xorm:"comment('产品质量认证情况及认证机构') VARCHAR(200)"` MaunLicense string `xorm:"comment('生产制造许可证获证情况及编号') VARCHAR(200)"` QualifCert string `xorm:"comment('企业资质证书编号') VARCHAR(200)"` QualifCertLevel string `xorm:"comment('企业资质证书级别') VARCHAR(10)"` SafetyLicense string `xorm:"comment('安全生产许可证') VARCHAR(200)"` TechServiceLic string `xorm:"comment('技术服务类准入许可证') VARCHAR(200)"` TjinNotify string `xorm:"comment('外地企业进津备案通知书') VARCHAR(50)"` SpecIndustryCert string `xorm:"comment('行业特殊要求的认证证书') VARCHAR(200)"` BusinessScope string `xorm:"comment('营业范围') TEXT"` LegalPerson string `xorm:"comment('法定代表人姓名') VARCHAR(20)"` CategoryCode string `xorm:"comment('行业类别代码') VARCHAR(10)"` CategoryName string `xorm:"comment('行业类别名称') VARCHAR(20)"` RegCapital float64 `xorm:"default 0 comment('注册资本') FLOAT"` Currency string `xorm:"comment('币种') VARCHAR(10)"` ContactName string `xorm:"comment('联系人姓名') VARCHAR(20)"` CompanyType string `xorm:"comment('公司类型') VARCHAR(20)"` SetupTime time.Time `xorm:"comment('成立时间') Date"` DepositBank string `xorm:"comment('开户银行') VARCHAR(50)"` BankAccount string `xorm:"comment('银行账号') VARCHAR(50)"` EMail string `xorm:"comment('电子邮箱') VARCHAR(50)"` BankCreditRating string `xorm:"comment('银行信用等级') VARCHAR(10)"` Mobile string `xorm:"comment('移动电话') VARCHAR(20)"` Telphone string `xorm:"comment('固定电话') VARCHAR(20)"` Fax string `xorm:"comment('传真') VARCHAR(20)"` CompanyTel string `xorm:"comment('公司电话') VARCHAR(20)"` QQ string `xorm:"comment('QQ号码') VARCHAR(20)"` CompanyUrl string `xorm:"comment('公司网址') VARCHAR(20)"` SpecSupplier string `xorm:"default '0' comment('是否特殊业务供应商(可不招标)') VARCHAR(2)"` SpecTypeCode string `xorm:"comment('业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)') VARCHAR(2)"` SpecTypeName string `xorm:"comment('业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)') VARCHAR(20)"` WZAccessCardNo string `xorm:"comment('准入证编码--物质') VARCHAR(20)"` JSAccessCardNo string `xorm:"comment('准入证编码--基建') VARCHAR(20)"` JFAccessCardNo string `xorm:"comment('准入证编码--技术服务类') VARCHAR(20)"` Remark string `xorm:"comment('备注') VARCHAR(500)"` IsDelete int `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"` CreateOn time.Time `xorm:"DATETIME"` CreateUserId int `xorm:"INT(10)"` CreateBy string `xorm:"VARCHAR(50)"` ModifiedOn time.Time `xorm:"DATETIME"` ModifiedUserId int `xorm:"INT(10)"` ModifiedBy string `xorm:"VARCHAR(50)"` PACNumber string `xorm:"comment('中石油准入证编号') VARCHAR(50)"` SupplierCertificate string `xorm:"comment('中石油物资供应商证书') VARCHAR(200)"` InFlag string `xorm:"default '0' comment('准入标识') VARCHAR(10)"` Status string `xorm:"not null default '0' comment('状态标识(0未申请,1办理完毕)') VARCHAR(10)"` } type ExpireFile struct { Id int SupplierName string Mobile string NeedAllFile string CreateBy string ContactName string CreateUserId int } type ManualDelete struct { Code string Name string Operation string } type TmpZcgf struct { Sub string Code string } type ExpireFileList struct { Id int SupplierName string Mobile string SupplierTypeCode string } type InterfaceData struct { Id int SupplierName string RegCapital time.Time ExpireAllFile string } type SupplierInfoInte struct { Id int `xorm:"not null pk autoincr INT(10)"` SupplierName string `xorm:"comment('企业名称') VARCHAR(255)"` OilCertificateNo string `xorm:"comment('中石油供应商证书号') VARCHAR(50)"` Grade string `xorm:"comment('级别') VARCHAR(2)"` MgrUnit string `xorm:"comment('管理单位') VARCHAR(50)"` OperType string `xorm:"comment('经营方式') VARCHAR(50)"` Country string `xorm:"comment('国家') VARCHAR(20)"` MaunAgent string `xorm:"comment('所代理制造商名称') VARCHAR(100)"` ConstructTeam string `xorm:"comment('施工队伍名称') VARCHAR(100)"` CredentialFlag string `xorm:"default '1' comment('证件合一标志') VARCHAR(5)"` CommercialNo string `xorm:"comment('工商注册号') VARCHAR(50)"` OrganCode string `xorm:"comment('组织机构代码') VARCHAR(50)"` CountryTaxNo string `xorm:"comment('税务登记证国税编号') VARCHAR(50)"` LocalTaxNo string `xorm:"comment('税务登记证地税编号') VARCHAR(50)"` Address string `xorm:"comment('单位地址') VARCHAR(500)"` AllAddress string `xorm:"comment('注册地址') VARCHAR(500)"` LinkAllAddress string `xorm:"comment('通信地址') VARCHAR(500)"` Province string `xorm:"comment('省直辖市') VARCHAR(20)"` City string `xorm:"comment('地市区县') VARCHAR(20)"` Street string `xorm:"comment('街道') VARCHAR(20)"` HouseNo string `xorm:"comment('门牌号') VARCHAR(10)"` ZipCode string `xorm:"comment('邮编') VARCHAR(20)"` LinkAddress string `xorm:"comment('通信地址-单位地址') VARCHAR(500)"` LinkProvince string `xorm:"comment('通信地址-省直辖市') VARCHAR(20)"` LinkCity string `xorm:"comment('通信地址-地市区县') VARCHAR(20)"` LinkStreet string `xorm:"comment('通信地址-街道') VARCHAR(20)"` LinkHouseNo string `xorm:"comment('通信地址-门牌号') VARCHAR(10)"` LinkZipCode string `xorm:"comment('通信地址-邮编') VARCHAR(20)"` HseTraining string `xorm:"comment('是否需要进行HSE审查培训') VARCHAR(2)"` QualitySystemCert string `xorm:"comment('质量管理体系认证情况及认证机构') VARCHAR(200)"` ProductQualityCert string `xorm:"comment('产品质量认证情况及认证机构') VARCHAR(200)"` MaunLicense string `xorm:"comment('生产制造许可证获证情况及编号') VARCHAR(200)"` QualifCert string `xorm:"comment('企业资质证书编号') VARCHAR(200)"` QualifCertLevel string `xorm:"comment('企业资质证书级别') VARCHAR(10)"` SafetyLicense string `xorm:"comment('安全生产许可证') VARCHAR(200)"` TechServiceLic string `xorm:"comment('技术服务类准入许可证') VARCHAR(200)"` TjinNotify string `xorm:"comment('外地企业进津备案通知书') VARCHAR(50)"` SpecIndustryCert string `xorm:"comment('行业特殊要求的认证证书') VARCHAR(200)"` BusinessScope string `xorm:"comment('营业范围') TEXT"` LegalPerson string `xorm:"comment('法定代表人姓名') VARCHAR(20)"` CategoryCode string `xorm:"comment('行业类别代码') VARCHAR(10)"` CategoryName string `xorm:"comment('行业类别名称') VARCHAR(20)"` RegCapital float64 `xorm:"default 0 comment('注册资本') FLOAT"` Currency string `xorm:"comment('币种') VARCHAR(10)"` ContactName string `xorm:"comment('联系人姓名') VARCHAR(20)"` CompanyType string `xorm:"comment('公司类型') VARCHAR(20)"` SetupTime time.Time `xorm:"comment('成立时间') Date"` DepositBank string `xorm:"comment('开户银行') VARCHAR(50)"` BankAccount string `xorm:"comment('银行账号') VARCHAR(50)"` EMail string `xorm:"comment('电子邮箱') VARCHAR(50)"` BankCreditRating string `xorm:"comment('银行信用等级') VARCHAR(10)"` Mobile string `xorm:"comment('移动电话') VARCHAR(20)"` Telphone string `xorm:"comment('固定电话') VARCHAR(20)"` Fax string `xorm:"comment('传真') VARCHAR(20)"` CompanyTel string `xorm:"comment('公司电话') VARCHAR(20)"` QQ string `xorm:"comment('QQ号码') VARCHAR(20)"` CompanyUrl string `xorm:"comment('公司网址') VARCHAR(20)"` SpecSupplier string `xorm:"default '0' comment('是否特殊业务供应商(可不招标)') VARCHAR(2)"` SpecTypeCode string `xorm:"comment('业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)') VARCHAR(2)"` SpecTypeName string `xorm:"comment('业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)') VARCHAR(20)"` WZAccessCardNo string `xorm:"comment('准入证编码--物质') VARCHAR(20)"` JSAccessCardNo string `xorm:"comment('准入证编码--基建') VARCHAR(20)"` JFAccessCardNo string `xorm:"comment('准入证编码--技术服务类') VARCHAR(20)"` WZStatus string `xorm:"comment('准入状态--物质') VARCHAR(20)"` JSStatus string `xorm:"comment('准入状态--基建') VARCHAR(20)"` JFStatus string `xorm:"comment('准入状态--技术服务类') VARCHAR(20)"` WZDate string `xorm:"comment('有效期--物质') VARCHAR(20)"` JSDate string `xorm:"comment('有效期--基建') VARCHAR(20)"` JFDate string `xorm:"comment('有效期--技术服务类') VARCHAR(20)"` Remark string `xorm:"comment('备注') VARCHAR(500)"` PACNumber string `xorm:"comment('中石油准入证编号') VARCHAR(50)"` SupplierCertificate string `xorm:"comment('中石油物资供应商证书') VARCHAR(200)"` } type OilSupplierCertSubInte struct { SupplierTypeCode string `xorm:"not null default '' comment('准入类别代码') VARCHAR(5)"` Code string `xorm:"not null default '' comment('分类编码') VARCHAR(8)"` Name string `xorm:"not null default '' comment('分类名称') VARCHAR(50)"` Remark string `xorm:"comment('备注') VARCHAR(500)"` } type OilSupplierInte struct { SupplierInfo SupplierInfoInte WZsub []OilSupplierCertSubInte // 物资类 JFsub []OilSupplierCertSubInte // 技术服务类 JSsub []OilSupplierCertSubInte // 基建类 } type OilCertIds struct { Ids string } type OilSupplierOldName struct { Id int `xorm:"not null pk autoincr INT(11)"` Name string `xorm:"comment('企业名称') VARCHAR(255)"` OldName string `xorm:"comment('曾用名') VARCHAR(255)"` SupplierId int `xorm:" INT(11)"` GfId int `xorm:" INT(11)"` CreateOn time.Time `xorm:"DATETIME"` CreateUserId int `xorm:"INT(10)"` CreateBy string `xorm:"VARCHAR(50)"` ModifiedOn time.Time `xorm:"DATETIME"` ModifiedUserId int `xorm:"INT(10)"` ModifiedBy string `xorm:"VARCHAR(50)"` } const ( // 管理单位 MGRUNIT string = "大港油田分公司" BIDDING_BOOK_NAME string = "招标中标结果" // 企业信息-级别 GRADE_1 string = "一级" // 企业信息-级别 GRADE_2 string = "二级" // 准入物资-级别 GOODS_LEVEL_1 string = "1" // 准入物资-级别 GOODS_LEVEL_2 string = "2" // 准入方式 IN_STYPE_REVIEW string = "1" // 评审准入 IN_STYPE_GOODS_LEVEL_1 string = "2" // 一级物资备案准入 IN_STYPE_GOODS_LEVEL_2 string = "3" // 二级物资备案准入 IN_STYPE_STRATEGIC string = "4" // 战略合作准入 IN_STYPE_PLURALISM string = "5" // 内部多元准入 IN_STYPE_BIDDING string = "6" // 招标准入 //准入类型 SupplierTypeCode SUPPLIER_TYPE_GOODS string = "01" // 物资类 SUPPLIER_TYPE_BASIC string = "02" // 基建类 SUPPLIER_TYPE_TECHNOLOGY string = "03" // 技术服务类 )