oilsupplier.go 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698
  1. package supplier
  2. import (
  3. "time"
  4. )
  5. type OilSupplier struct {
  6. Id int `xorm:"not null pk autoincr INT(10)"`
  7. SupplierName string `xorm:"comment('企业名称') VARCHAR(255)"`
  8. OldSupplierName string `xorm:"comment('曾用名') VARCHAR(255)"`
  9. OilCertificateNo string `xorm:"comment('中石油供应商证书号') VARCHAR(50)"`
  10. Grade string `xorm:"comment('级别') VARCHAR(2)"`
  11. MgrUnit string `xorm:"comment('管理单位') VARCHAR(50)"`
  12. OperType string `xorm:"comment('经营方式') VARCHAR(50)"`
  13. Country string `xorm:"comment('国家') VARCHAR(20)"`
  14. MaunAgent string `xorm:"comment('所代理制造商名称') VARCHAR(100)"`
  15. ConstructTeam string `xorm:"comment('施工队伍名称') VARCHAR(100)"`
  16. CredentialFlag string `xorm:"default '1' comment('证件合一标志') VARCHAR(5)"`
  17. CommercialNo string `xorm:"comment('工商注册号') VARCHAR(50)"`
  18. OrganCode string `xorm:"comment('组织机构代码') VARCHAR(50)"`
  19. CountryTaxNo string `xorm:"comment('税务登记证国税编号') VARCHAR(50)"`
  20. LocalTaxNo string `xorm:"comment('税务登记证地税编号') VARCHAR(50)"`
  21. Address string `xorm:"comment('单位地址') VARCHAR(500)"`
  22. AllAddress string `xorm:"comment('注册地址') VARCHAR(500)"`
  23. LinkAllAddress string `xorm:"comment('通信地址') VARCHAR(500)"`
  24. Province string `xorm:"comment('省直辖市') VARCHAR(20)"`
  25. City string `xorm:"comment('地市区县') VARCHAR(20)"`
  26. Street string `xorm:"comment('街道') VARCHAR(20)"`
  27. HouseNo string `xorm:"comment('门牌号') VARCHAR(10)"`
  28. ZipCode string `xorm:"comment('邮编') VARCHAR(20)"`
  29. LinkAddress string `xorm:"comment('通信地址-单位地址') VARCHAR(500)"`
  30. LinkProvince string `xorm:"comment('通信地址-省直辖市') VARCHAR(20)"`
  31. LinkCity string `xorm:"comment('通信地址-地市区县') VARCHAR(20)"`
  32. LinkStreet string `xorm:"comment('通信地址-街道') VARCHAR(20)"`
  33. LinkHouseNo string `xorm:"comment('通信地址-门牌号') VARCHAR(10)"`
  34. LinkZipCode string `xorm:"comment('通信地址-邮编') VARCHAR(20)"`
  35. HseTraining string `xorm:"comment('是否需要进行HSE审查培训') VARCHAR(2)"`
  36. QualitySystemCert string `xorm:"comment('质量管理体系认证情况及认证机构') VARCHAR(200)"`
  37. ProductQualityCert string `xorm:"comment('产品质量认证情况及认证机构') VARCHAR(200)"`
  38. MaunLicense string `xorm:"comment('生产制造许可证获证情况及编号') VARCHAR(200)"`
  39. QualifCert string `xorm:"comment('企业资质证书编号') VARCHAR(200)"`
  40. QualifCertLevel string `xorm:"comment('企业资质证书级别') VARCHAR(10)"`
  41. SafetyLicense string `xorm:"comment('安全生产许可证') VARCHAR(200)"`
  42. TechServiceLic string `xorm:"comment('技术服务类准入许可证') VARCHAR(200)"`
  43. TjinNotify string `xorm:"comment('外地企业进津备案通知书') VARCHAR(50)"`
  44. SpecIndustryCert string `xorm:"comment('行业特殊要求的认证证书') VARCHAR(200)"`
  45. BusinessScope string `xorm:"comment('营业范围') TEXT"`
  46. LegalPerson string `xorm:"comment('法定代表人姓名') VARCHAR(20)"`
  47. CategoryCode string `xorm:"comment('行业类别代码') VARCHAR(10)"`
  48. CategoryName string `xorm:"comment('行业类别名称') VARCHAR(20)"`
  49. RegCapital float64 `xorm:"default 0 comment('注册资本') FLOAT"`
  50. Currency string `xorm:"comment('币种') VARCHAR(10)"`
  51. ContactName string `xorm:"comment('联系人姓名') VARCHAR(20)"`
  52. CompanyType string `xorm:"comment('公司类型') VARCHAR(20)"`
  53. SetupTime time.Time `xorm:"comment('成立时间') Date"`
  54. DepositBank string `xorm:"comment('开户银行') VARCHAR(50)"`
  55. BankAccount string `xorm:"comment('银行账号') VARCHAR(50)"`
  56. EMail string `xorm:"comment('电子邮箱') VARCHAR(50)"`
  57. BankCreditRating string `xorm:"comment('银行信用等级') VARCHAR(10)"`
  58. Mobile string `xorm:"comment('移动电话') VARCHAR(20)"`
  59. Telphone string `xorm:"comment('固定电话') VARCHAR(20)"`
  60. Fax string `xorm:"comment('传真') VARCHAR(20)"`
  61. CompanyTel string `xorm:"comment('公司电话') VARCHAR(20)"`
  62. QQ string `xorm:"comment('QQ号码') VARCHAR(20)"`
  63. CompanyUrl string `xorm:"comment('公司网址') VARCHAR(20)"`
  64. SpecSupplier string `xorm:"default '0' comment('是否特殊业务供应商(可不招标)') VARCHAR(2)"`
  65. SpecTypeCode string `xorm:"comment('业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)') VARCHAR(2)"`
  66. SpecTypeName string `xorm:"comment('业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)') VARCHAR(20)"`
  67. WZAccessCardNo string `xorm:"comment('准入证编码--物质') VARCHAR(20)"`
  68. JSAccessCardNo string `xorm:"comment('准入证编码--基建') VARCHAR(20)"`
  69. JFAccessCardNo string `xorm:"comment('准入证编码--技术服务类') VARCHAR(20)"`
  70. Remark string `xorm:"comment('备注') VARCHAR(500)"`
  71. IsDelete int `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"`
  72. CreateOn time.Time `xorm:"DATETIME"`
  73. CreateUserId int `xorm:"INT(10)"`
  74. CreateBy string `xorm:"VARCHAR(50)"`
  75. ModifiedOn time.Time `xorm:"DATETIME"`
  76. ModifiedUserId int `xorm:"INT(10)"`
  77. ModifiedBy string `xorm:"VARCHAR(50)"`
  78. PACNumber string `xorm:"comment('中石油准入证编号') VARCHAR(50)"`
  79. SupplierCertificate string `xorm:"comment('中石油物资供应商证书') VARCHAR(200)"`
  80. }
  81. type OilSupplier1 struct {
  82. Id int `xorm:"not null pk autoincr INT(10)"`
  83. SupplierName string `xorm:"comment('企业名称') VARCHAR(255)"`
  84. OldSupplierName string `xorm:"comment('曾用名') VARCHAR(255)"`
  85. OilCertificateNo string `xorm:"comment('中石油供应商证书号') VARCHAR(50)"`
  86. Grade string `xorm:"comment('级别') VARCHAR(2)"`
  87. MgrUnit string `xorm:"comment('管理单位') VARCHAR(50)"`
  88. OperType string `xorm:"comment('经营方式') VARCHAR(50)"`
  89. Country string `xorm:"comment('国家') VARCHAR(20)"`
  90. MaunAgent string `xorm:"comment('所代理制造商名称') VARCHAR(100)"`
  91. ConstructTeam string `xorm:"comment('施工队伍名称') VARCHAR(100)"`
  92. CredentialFlag string `xorm:"default '1' comment('证件合一标志') VARCHAR(5)"`
  93. CommercialNo string `xorm:"comment('工商注册号') VARCHAR(50)"`
  94. OrganCode string `xorm:"comment('组织机构代码') VARCHAR(50)"`
  95. CountryTaxNo string `xorm:"comment('税务登记证国税编号') VARCHAR(50)"`
  96. LocalTaxNo string `xorm:"comment('税务登记证地税编号') VARCHAR(50)"`
  97. Address string `xorm:"comment('单位地址') VARCHAR(500)"`
  98. AllAddress string `xorm:"comment('注册地址') VARCHAR(500)"`
  99. LinkAllAddress string `xorm:"comment('通信地址') VARCHAR(500)"`
  100. Province string `xorm:"comment('省直辖市') VARCHAR(20)"`
  101. City string `xorm:"comment('地市区县') VARCHAR(20)"`
  102. Street string `xorm:"comment('街道') VARCHAR(20)"`
  103. HouseNo string `xorm:"comment('门牌号') VARCHAR(10)"`
  104. ZipCode string `xorm:"comment('邮编') VARCHAR(20)"`
  105. LinkAddress string `xorm:"comment('通信地址-单位地址') VARCHAR(500)"`
  106. LinkProvince string `xorm:"comment('通信地址-省直辖市') VARCHAR(20)"`
  107. LinkCity string `xorm:"comment('通信地址-地市区县') VARCHAR(20)"`
  108. LinkStreet string `xorm:"comment('通信地址-街道') VARCHAR(20)"`
  109. LinkHouseNo string `xorm:"comment('通信地址-门牌号') VARCHAR(10)"`
  110. LinkZipCode string `xorm:"comment('通信地址-邮编') VARCHAR(20)"`
  111. HseTraining string `xorm:"comment('是否需要进行HSE审查培训') VARCHAR(2)"`
  112. QualitySystemCert string `xorm:"comment('质量管理体系认证情况及认证机构') VARCHAR(200)"`
  113. ProductQualityCert string `xorm:"comment('产品质量认证情况及认证机构') VARCHAR(200)"`
  114. MaunLicense string `xorm:"comment('生产制造许可证获证情况及编号') VARCHAR(200)"`
  115. QualifCert string `xorm:"comment('企业资质证书编号') VARCHAR(200)"`
  116. QualifCertLevel string `xorm:"comment('企业资质证书级别') VARCHAR(10)"`
  117. SafetyLicense string `xorm:"comment('安全生产许可证') VARCHAR(200)"`
  118. TechServiceLic string `xorm:"comment('技术服务类准入许可证') VARCHAR(200)"`
  119. TjinNotify string `xorm:"comment('外地企业进津备案通知书') VARCHAR(50)"`
  120. SpecIndustryCert string `xorm:"comment('行业特殊要求的认证证书') VARCHAR(200)"`
  121. BusinessScope string `xorm:"comment('营业范围') TEXT"`
  122. LegalPerson string `xorm:"comment('法定代表人姓名') VARCHAR(20)"`
  123. CategoryCode string `xorm:"comment('行业类别代码') VARCHAR(10)"`
  124. CategoryName string `xorm:"comment('行业类别名称') VARCHAR(20)"`
  125. RegCapital float64 `xorm:"default 0 comment('注册资本') FLOAT"`
  126. Currency string `xorm:"comment('币种') VARCHAR(10)"`
  127. ContactName string `xorm:"comment('联系人姓名') VARCHAR(20)"`
  128. CompanyType string `xorm:"comment('公司类型') VARCHAR(20)"`
  129. SetupTime time.Time `xorm:"comment('成立时间') Date"`
  130. DepositBank string `xorm:"comment('开户银行') VARCHAR(50)"`
  131. BankAccount string `xorm:"comment('银行账号') VARCHAR(50)"`
  132. EMail string `xorm:"comment('电子邮箱') VARCHAR(50)"`
  133. BankCreditRating string `xorm:"comment('银行信用等级') VARCHAR(10)"`
  134. Mobile string `xorm:"comment('移动电话') VARCHAR(20)"`
  135. Telphone string `xorm:"comment('固定电话') VARCHAR(20)"`
  136. Fax string `xorm:"comment('传真') VARCHAR(20)"`
  137. CompanyTel string `xorm:"comment('公司电话') VARCHAR(20)"`
  138. QQ string `xorm:"comment('QQ号码') VARCHAR(20)"`
  139. CompanyUrl string `xorm:"comment('公司网址') VARCHAR(20)"`
  140. SpecSupplier string `xorm:"default '0' comment('是否特殊业务供应商(可不招标)') VARCHAR(2)"`
  141. SpecTypeCode string `xorm:"comment('业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)') VARCHAR(2)"`
  142. SpecTypeName string `xorm:"comment('业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)') VARCHAR(20)"`
  143. WZAccessCardNo string `xorm:"comment('准入证编码--物质') VARCHAR(20)"`
  144. JSAccessCardNo string `xorm:"comment('准入证编码--基建') VARCHAR(20)"`
  145. JFAccessCardNo string `xorm:"comment('准入证编码--技术服务类') VARCHAR(20)"`
  146. Remark string `xorm:"comment('备注') VARCHAR(500)"`
  147. IsDelete int `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"`
  148. CreateOn time.Time `xorm:"DATETIME"`
  149. CreateUserId int `xorm:"INT(10)"`
  150. CreateBy string `xorm:"VARCHAR(50)"`
  151. ModifiedOn time.Time `xorm:"DATETIME"`
  152. ModifiedUserId int `xorm:"INT(10)"`
  153. ModifiedBy string `xorm:"VARCHAR(50)"`
  154. PACNumber string `xorm:"comment('中石油准入证编号') VARCHAR(50)"`
  155. SupplierCertificate string `xorm:"comment('中石油物资供应商证书') VARCHAR(200)"`
  156. CodeName string
  157. }
  158. type Del_OilSupplier struct {
  159. Id int `xorm:"not null pk autoincr INT(10)"`
  160. SupplierName string `xorm:"comment('企业名称') VARCHAR(255)"`
  161. OilCertificateNo string `xorm:"comment('中石油供应商证书号') VARCHAR(50)"`
  162. Grade string `xorm:"comment('级别') VARCHAR(2)"`
  163. MgrUnit string `xorm:"comment('管理单位') VARCHAR(50)"`
  164. OperType string `xorm:"comment('经营方式') VARCHAR(50)"`
  165. Country string `xorm:"comment('国家') VARCHAR(20)"`
  166. MaunAgent string `xorm:"comment('所代理制造商名称') VARCHAR(100)"`
  167. ConstructTeam string `xorm:"comment('施工队伍名称') VARCHAR(100)"`
  168. CredentialFlag string `xorm:"default '1' comment('证件合一标志') VARCHAR(5)"`
  169. CommercialNo string `xorm:"comment('工商注册号') VARCHAR(50)"`
  170. OrganCode string `xorm:"comment('组织机构代码') VARCHAR(50)"`
  171. CountryTaxNo string `xorm:"comment('税务登记证国税编号') VARCHAR(50)"`
  172. LocalTaxNo string `xorm:"comment('税务登记证地税编号') VARCHAR(50)"`
  173. Address string `xorm:"comment('单位地址') VARCHAR(500)"`
  174. AllAddress string `xorm:"comment('注册地址') VARCHAR(500)"`
  175. LinkAllAddress string `xorm:"comment('通信地址') VARCHAR(500)"`
  176. Province string `xorm:"comment('省直辖市') VARCHAR(20)"`
  177. City string `xorm:"comment('地市区县') VARCHAR(20)"`
  178. Street string `xorm:"comment('街道') VARCHAR(20)"`
  179. HouseNo string `xorm:"comment('门牌号') VARCHAR(10)"`
  180. ZipCode string `xorm:"comment('邮编') VARCHAR(20)"`
  181. LinkAddress string `xorm:"comment('通信地址-单位地址') VARCHAR(500)"`
  182. LinkProvince string `xorm:"comment('通信地址-省直辖市') VARCHAR(20)"`
  183. LinkCity string `xorm:"comment('通信地址-地市区县') VARCHAR(20)"`
  184. LinkStreet string `xorm:"comment('通信地址-街道') VARCHAR(20)"`
  185. LinkHouseNo string `xorm:"comment('通信地址-门牌号') VARCHAR(10)"`
  186. LinkZipCode string `xorm:"comment('通信地址-邮编') VARCHAR(20)"`
  187. HseTraining string `xorm:"comment('是否需要进行HSE审查培训') VARCHAR(2)"`
  188. QualitySystemCert string `xorm:"comment('质量管理体系认证情况及认证机构') VARCHAR(200)"`
  189. ProductQualityCert string `xorm:"comment('产品质量认证情况及认证机构') VARCHAR(200)"`
  190. MaunLicense string `xorm:"comment('生产制造许可证获证情况及编号') VARCHAR(200)"`
  191. QualifCert string `xorm:"comment('企业资质证书编号') VARCHAR(200)"`
  192. QualifCertLevel string `xorm:"comment('企业资质证书级别') VARCHAR(10)"`
  193. SafetyLicense string `xorm:"comment('安全生产许可证') VARCHAR(200)"`
  194. TechServiceLic string `xorm:"comment('技术服务类准入许可证') VARCHAR(200)"`
  195. TjinNotify string `xorm:"comment('外地企业进津备案通知书') VARCHAR(50)"`
  196. SpecIndustryCert string `xorm:"comment('行业特殊要求的认证证书') VARCHAR(200)"`
  197. BusinessScope string `xorm:"comment('营业范围') TEXT"`
  198. LegalPerson string `xorm:"comment('法定代表人姓名') VARCHAR(20)"`
  199. CategoryCode string `xorm:"comment('行业类别代码') VARCHAR(10)"`
  200. CategoryName string `xorm:"comment('行业类别名称') VARCHAR(20)"`
  201. RegCapital float64 `xorm:"default 0 comment('注册资本') FLOAT"`
  202. Currency string `xorm:"comment('币种') VARCHAR(10)"`
  203. ContactName string `xorm:"comment('联系人姓名') VARCHAR(20)"`
  204. CompanyType string `xorm:"comment('公司类型') VARCHAR(20)"`
  205. SetupTime time.Time `xorm:"comment('成立时间') Date"`
  206. DepositBank string `xorm:"comment('开户银行') VARCHAR(50)"`
  207. BankAccount string `xorm:"comment('银行账号') VARCHAR(50)"`
  208. EMail string `xorm:"comment('电子邮箱') VARCHAR(50)"`
  209. BankCreditRating string `xorm:"comment('银行信用等级') VARCHAR(10)"`
  210. Mobile string `xorm:"comment('移动电话') VARCHAR(20)"`
  211. Telphone string `xorm:"comment('固定电话') VARCHAR(20)"`
  212. Fax string `xorm:"comment('传真') VARCHAR(20)"`
  213. CompanyTel string `xorm:"comment('公司电话') VARCHAR(20)"`
  214. QQ string `xorm:"comment('QQ号码') VARCHAR(20)"`
  215. CompanyUrl string `xorm:"comment('公司网址') VARCHAR(20)"`
  216. SpecSupplier string `xorm:"default '0' comment('是否特殊业务供应商(可不招标)') VARCHAR(2)"`
  217. SpecTypeCode string `xorm:"comment('业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)') VARCHAR(2)"`
  218. SpecTypeName string `xorm:"comment('业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)') VARCHAR(20)"`
  219. WZAccessCardNo string `xorm:"comment('准入证编码--物质') VARCHAR(20)"`
  220. JSAccessCardNo string `xorm:"comment('准入证编码--基建') VARCHAR(20)"`
  221. JFAccessCardNo string `xorm:"comment('准入证编码--技术服务类') VARCHAR(20)"`
  222. Remark string `xorm:"comment('备注') VARCHAR(500)"`
  223. IsDelete int `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"`
  224. CreateOn time.Time `xorm:"DATETIME"`
  225. CreateUserId int `xorm:"INT(10)"`
  226. CreateBy string `xorm:"VARCHAR(50)"`
  227. ModifiedOn time.Time `xorm:"DATETIME"`
  228. ModifiedUserId int `xorm:"INT(10)"`
  229. ModifiedBy string `xorm:"VARCHAR(50)"`
  230. PACNumber string `xorm:"comment('中石油准入证编号') VARCHAR(50)"`
  231. SupplierCertificate string `xorm:"comment('中石油物资供应商证书') VARCHAR(200)"`
  232. DeleteDate time.Time `xorm:"DATETIME"`
  233. }
  234. type OilSupplierView struct {
  235. OilSupplier `xorm:"extends"`
  236. CertId string
  237. AccessCardNo string
  238. SupplierTypeCode string
  239. SupplierTypeName string
  240. Step int
  241. WorkerTotal int `xorm:"default 0 comment('企业员工总数') INT(10)"`
  242. ContractNum int `xorm:"default 0 comment('合同化用工数量') INT(10)"`
  243. UniversityNum int `xorm:"default 0 comment('大学及以上学历人员数量') INT(10)"`
  244. TechnicalNum int `xorm:"default 0 comment('技术、管理人员数量') INT(10)"`
  245. AboveProfNum int `xorm:"default 0 comment('高级及以上职称人员数量') INT(10)"`
  246. MiddleProfNum int `xorm:"default 0 comment('中级职称人员数量') INT(10)"`
  247. NationalRegNum int `xorm:"default 0 comment('具有国家注册执业资格人员数量') INT(10)"`
  248. NationalCertTotal int `xorm:"default 0 comment('具有国家注册执业资格证书总数') INT(10)"`
  249. DesignerTotal int `xorm:"default 0 comment('设计人员总数') INT(10)"`
  250. SkillerTotal int `xorm:"default 0 comment('技术工人总数') INT(10)"`
  251. Status string `xorm:"not null default '0' comment('状态标识(0未申请,1办理完毕)') VARCHAR(10)"`
  252. WorkflowId string `xorm:"default '0' comment('工作流的ID') VARCHAR(255)"`
  253. RecUnitReason string `xorm:"comment('推荐单位的推荐意见') VARCHAR(800)"`
  254. RecUnitPerson string `xorm:"comment('推荐单位负责人') VARCHAR(20)"`
  255. RecDate time.Time `xorm:"comment('推荐日期') DATETIME"`
  256. RecUnitId string `xorm:"comment('推荐单位编码') VARCHAR(10)"`
  257. RecUnitName string `xorm:"comment('推荐单位名称') VARCHAR(50)"`
  258. BackReason string `xorm:"comment('退回原因') VARCHAR(50)"`
  259. InFlag string `xorm:"default '0' comment('准入标识') VARCHAR(10)"`
  260. InStyle string `xorm:"default '1' comment('准入方式') VARCHAR(10)"`
  261. EffectStartTime time.Time `xorm:"comment('有效期起') DATETIME"`
  262. EffectEndTime time.Time `xorm:"comment('有效期止') DATETIME"`
  263. AuditProcessNote string `xorm:"comment('办理过程备注') VARCHAR(100)"`
  264. AuditDate time.Time `xorm:"comment('审核日期') DATETIME"`
  265. PayNotice string `xorm:"default '0' comment('交费通知') VARCHAR(2)"`
  266. SupplierStatus string `xorm:"comment('供应商状态(null:正常,1中止,2终止)') VARCHAR(255)"`
  267. MgrType string `xorm:"comment('供应商管理类型') VARCHAR(255)"`
  268. Type string `xorm:"comment('供应商类型') VARCHAR(255)"`
  269. AddinTime string `xorm:"comment('准入日期') VARCHAR(255)"`
  270. EffectTime string `xorm:"comment('生效日期') VARCHAR(255)"`
  271. ApplyTime time.Time `xorm:"comment('年审日期') DATETIME"`
  272. SupplierNo string `xorm:"comment('供应商准入证编号') VARCHAR(255)"`
  273. MdmFlag string `xorm:"default '0' comment('MDM标志') VARCHAR(2)"`
  274. InternalFlag string `xorm:"comment('国内采购') VARCHAR(255)"`
  275. ImportFlag string `xorm:"comment('进口采购') VARCHAR(255)"`
  276. OutsideFlog string `xorm:"comment('境外项目') VARCHAR(255)"`
  277. ThirdAudit string `xorm:"comment('备注') VARCHAR(500)"`
  278. IsDelete int `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"`
  279. IsRestrict int `xorm:"INT(11)"`
  280. CommitComId string `xorm:"default '0' comment('提交二级单位Id') VARCHAR(50)"`
  281. BusinessKey string `xorm:"VARCHAR(255)"`
  282. AuditIndex int `xorm:"INT(10)"`
  283. ProcessKey string `xorm:"VARCHAR(255)"`
  284. BackRemark string `xorm:"VARCHAR(255)"`
  285. Remark string `xorm:"VARCHAR(255)"`
  286. Remark1 string `xorm:"VARCHAR(255)"`
  287. }
  288. type CompanyList struct {
  289. SupplierName string `xorm:"comment('企业名称') VARCHAR(255)"`
  290. SupplierTypeCode string
  291. SupplierTypeName string
  292. InFlag string `xorm:"default '0' comment('准入标识') VARCHAR(10)"`
  293. InStyle string `xorm:"default '1' comment('准入方式') VARCHAR(10)"`
  294. SupplierStatus string `xorm:"comment('供应商状态(null:正常,1中止,2终止)') VARCHAR(255)"`
  295. Type string `xorm:"comment('供应商类型') VARCHAR(255)"`
  296. ApplyTime time.Time `xorm:"comment('年审日期') DATETIME"`
  297. }
  298. type OilSupplierView1 struct {
  299. OilSupplier1 `xorm:"extends"`
  300. CertId string
  301. AccessCardNo string
  302. SupplierTypeCode string
  303. SupplierTypeName string
  304. Step int
  305. WorkerTotal int `xorm:"default 0 comment('企业员工总数') INT(10)"`
  306. ContractNum int `xorm:"default 0 comment('合同化用工数量') INT(10)"`
  307. UniversityNum int `xorm:"default 0 comment('大学及以上学历人员数量') INT(10)"`
  308. TechnicalNum int `xorm:"default 0 comment('技术、管理人员数量') INT(10)"`
  309. AboveProfNum int `xorm:"default 0 comment('高级及以上职称人员数量') INT(10)"`
  310. MiddleProfNum int `xorm:"default 0 comment('中级职称人员数量') INT(10)"`
  311. NationalRegNum int `xorm:"default 0 comment('具有国家注册执业资格人员数量') INT(10)"`
  312. NationalCertTotal int `xorm:"default 0 comment('具有国家注册执业资格证书总数') INT(10)"`
  313. DesignerTotal int `xorm:"default 0 comment('设计人员总数') INT(10)"`
  314. SkillerTotal int `xorm:"default 0 comment('技术工人总数') INT(10)"`
  315. Status string `xorm:"not null default '0' comment('状态标识(0未申请,1办理完毕)') VARCHAR(10)"`
  316. WorkflowId string `xorm:"default '0' comment('工作流的ID') VARCHAR(255)"`
  317. RecUnitReason string `xorm:"comment('推荐单位的推荐意见') VARCHAR(800)"`
  318. RecUnitPerson string `xorm:"comment('推荐单位负责人') VARCHAR(20)"`
  319. RecDate time.Time `xorm:"comment('推荐日期') DATETIME"`
  320. RecUnitId string `xorm:"comment('推荐单位编码') VARCHAR(10)"`
  321. RecUnitName string `xorm:"comment('推荐单位名称') VARCHAR(50)"`
  322. BackReason string `xorm:"comment('退回原因') VARCHAR(50)"`
  323. InFlag string `xorm:"default '0' comment('准入标识') VARCHAR(10)"`
  324. InStyle string `xorm:"default '1' comment('准入方式') VARCHAR(10)"`
  325. EffectStartTime time.Time `xorm:"comment('有效期起') DATETIME"`
  326. EffectEndTime time.Time `xorm:"comment('有效期止') DATETIME"`
  327. AuditProcessNote string `xorm:"comment('办理过程备注') VARCHAR(100)"`
  328. AuditDate time.Time `xorm:"comment('审核日期') DATETIME"`
  329. PayNotice string `xorm:"default '0' comment('交费通知') VARCHAR(2)"`
  330. SupplierStatus string `xorm:"comment('供应商状态(null:正常,1中止,2终止)') VARCHAR(255)"`
  331. MgrType string `xorm:"comment('供应商管理类型') VARCHAR(255)"`
  332. Type string `xorm:"comment('供应商类型') VARCHAR(255)"`
  333. AddinTime string `xorm:"comment('准入日期') VARCHAR(255)"`
  334. EffectTime string `xorm:"comment('生效日期') VARCHAR(255)"`
  335. ApplyTime time.Time `xorm:"comment('年审日期') DATETIME"`
  336. SupplierNo string `xorm:"comment('供应商准入证编号') VARCHAR(255)"`
  337. MdmFlag string `xorm:"default '0' comment('MDM标志') VARCHAR(2)"`
  338. InternalFlag string `xorm:"comment('国内采购') VARCHAR(255)"`
  339. ImportFlag string `xorm:"comment('进口采购') VARCHAR(255)"`
  340. OutsideFlog string `xorm:"comment('境外项目') VARCHAR(255)"`
  341. ThirdAudit string `xorm:"comment('备注') VARCHAR(500)"`
  342. IsDelete int `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"`
  343. IsRestrict int `xorm:"INT(11)"`
  344. CommitComId string `xorm:"default '0' comment('提交二级单位Id') VARCHAR(50)"`
  345. BusinessKey string `xorm:"VARCHAR(255)"`
  346. AuditIndex int `xorm:"INT(10)"`
  347. ProcessKey string `xorm:"VARCHAR(255)"`
  348. BackRemark string `xorm:"VARCHAR(255)"`
  349. Remark string `xorm:"VARCHAR(255)"`
  350. Remark1 string `xorm:"VARCHAR(255)"`
  351. }
  352. type OilSupplierSelect struct {
  353. Id int //Oilsupplier表id
  354. CertId int
  355. AccessCardNo string //准入证号
  356. SupplierName string //企业名称
  357. OldSupplierName string //企业曾用名
  358. SupplierTypeCode string //准入类别编号
  359. Grade string //级别
  360. OperType string //供应商类型
  361. LegalPerson string //法定代表人姓名
  362. RegCapital float64 //注册资本
  363. Mobile string //移动电话
  364. AuditDate time.Time //最后一次年审
  365. ApplyTime time.Time //申请时间
  366. EffectEndTime time.Time //有效期至
  367. InFlag string //状态
  368. ContactName string //联系人姓名
  369. CommercialNo string //统一社会信用代码
  370. DepositBank string //开户银行
  371. HseTraining string //是否需要进行HSE审查培训
  372. CompanyType string //公司类型
  373. SetupTime time.Time //成立时间
  374. Address string //注册详细地址
  375. Province string //注册省
  376. City string //注册市
  377. Street string //注册区
  378. LinkAddress string //通信详细地址
  379. LinkProvince string //通信地址省
  380. LinkCity string //通信地址市
  381. LinkStreet string //通信地址区
  382. BusinessScope string //营业范围
  383. NeedFileType string //资质
  384. CerSubName string //准入范围
  385. InStyle string //准入方式
  386. FullName string //专业科室审批
  387. CheckUnitName string //推荐单位
  388. CreateOn time.Time //申请时间
  389. Remark string
  390. }
  391. type OilSupplierContrast struct {
  392. Id int //Oilsupplier表id
  393. CertId int
  394. AccessCardNo string //准入证号
  395. SupplierName string //企业名称
  396. SupplierTypeCode string //准入类别编号
  397. LegalPerson string //法定代表人姓名
  398. RegCapital float64 //注册资本
  399. Mobile string //移动电话
  400. InFlag string //状态
  401. ContactName string //联系人姓名
  402. CommercialNo string //统一社会信用代码
  403. DepositBank string //开户银行
  404. HseTraining string //是否需要进行HSE审查培训
  405. CompanyType string //公司类型
  406. SetupTime time.Time //成立时间
  407. Address string //注册详细地址
  408. Province string //注册省
  409. City string //注册市
  410. Street string //注册区
  411. LinkAddress string //通信详细地址
  412. LinkProvince string //通信地址省
  413. LinkCity string //通信地址市
  414. LinkStreet string //通信地址区
  415. BusinessScope string //营业范围
  416. NeedFileType string //资质
  417. CerSubName string //准入范围
  418. InStyle string //准入方式
  419. Remark string
  420. SubCnt int
  421. NoSubCnt int
  422. HeaderCodes string
  423. SubNames string
  424. CertSubCodes string
  425. SubClassIds string
  426. Checked string // 0没问题 1缺资质
  427. MinClassId string // subclassid的最小值
  428. OneTwoCount int // 1变2
  429. TwoOneCount int // 2变1
  430. IsDelete int // 2变1
  431. ZzName string // 缺少的资质名
  432. }
  433. //type NeedFileTypeStruct struct {
  434. // NeedFileType []string
  435. // CertSubName string
  436. //}
  437. type RegCapitalRange struct {
  438. RegCapital1 string
  439. RegCapital2 string
  440. }
  441. type OilSupplierApply struct {
  442. Id int `xorm:"not null pk autoincr INT(10)"`
  443. SupplierName string `xorm:"comment('企业名称') VARCHAR(255)"`
  444. OilCertificateNo string `xorm:"comment('中石油供应商证书号') VARCHAR(50)"`
  445. Grade string `xorm:"comment('级别') VARCHAR(2)"`
  446. MgrUnit string `xorm:"comment('管理单位') VARCHAR(50)"`
  447. OperType string `xorm:"comment('经营方式') VARCHAR(50)"`
  448. Country string `xorm:"comment('国家') VARCHAR(20)"`
  449. MaunAgent string `xorm:"comment('所代理制造商名称') VARCHAR(100)"`
  450. ConstructTeam string `xorm:"comment('施工队伍名称') VARCHAR(100)"`
  451. CredentialFlag string `xorm:"default '1' comment('证件合一标志') VARCHAR(5)"`
  452. CommercialNo string `xorm:"comment('工商注册号') VARCHAR(50)"`
  453. OrganCode string `xorm:"comment('组织机构代码') VARCHAR(50)"`
  454. CountryTaxNo string `xorm:"comment('税务登记证国税编号') VARCHAR(50)"`
  455. LocalTaxNo string `xorm:"comment('税务登记证地税编号') VARCHAR(50)"`
  456. Address string `xorm:"comment('单位地址') VARCHAR(500)"`
  457. Province string `xorm:"comment('省直辖市') VARCHAR(20)"`
  458. City string `xorm:"comment('地市区县') VARCHAR(20)"`
  459. Street string `xorm:"comment('街道') VARCHAR(20)"`
  460. HouseNo string `xorm:"comment('门牌号') VARCHAR(10)"`
  461. ZipCode string `xorm:"comment('邮编') VARCHAR(20)"`
  462. LinkAddress string `xorm:"comment('通信地址-单位地址') VARCHAR(500)"`
  463. LinkProvince string `xorm:"comment('通信地址-省直辖市') VARCHAR(20)"`
  464. LinkCity string `xorm:"comment('通信地址-地市区县') VARCHAR(20)"`
  465. LinkStreet string `xorm:"comment('通信地址-街道') VARCHAR(20)"`
  466. LinkHouseNo string `xorm:"comment('通信地址-门牌号') VARCHAR(10)"`
  467. LinkZipCode string `xorm:"comment('通信地址-邮编') VARCHAR(20)"`
  468. HseTraining string `xorm:"comment('是否需要进行HSE审查培训') VARCHAR(2)"`
  469. QualitySystemCert string `xorm:"comment('质量管理体系认证情况及认证机构') VARCHAR(200)"`
  470. ProductQualityCert string `xorm:"comment('产品质量认证情况及认证机构') VARCHAR(200)"`
  471. MaunLicense string `xorm:"comment('生产制造许可证获证情况及编号') VARCHAR(200)"`
  472. QualifCert string `xorm:"comment('企业资质证书编号') VARCHAR(200)"`
  473. QualifCertLevel string `xorm:"comment('企业资质证书级别') VARCHAR(10)"`
  474. SafetyLicense string `xorm:"comment('安全生产许可证') VARCHAR(200)"`
  475. TechServiceLic string `xorm:"comment('技术服务类准入许可证') VARCHAR(200)"`
  476. TjinNotify string `xorm:"comment('外地企业进津备案通知书') VARCHAR(50)"`
  477. SpecIndustryCert string `xorm:"comment('行业特殊要求的认证证书') VARCHAR(200)"`
  478. BusinessScope string `xorm:"comment('营业范围') TEXT"`
  479. LegalPerson string `xorm:"comment('法定代表人姓名') VARCHAR(20)"`
  480. CategoryCode string `xorm:"comment('行业类别代码') VARCHAR(10)"`
  481. CategoryName string `xorm:"comment('行业类别名称') VARCHAR(20)"`
  482. RegCapital float64 `xorm:"default 0 comment('注册资本') FLOAT"`
  483. Currency string `xorm:"comment('币种') VARCHAR(10)"`
  484. ContactName string `xorm:"comment('联系人姓名') VARCHAR(20)"`
  485. CompanyType string `xorm:"comment('公司类型') VARCHAR(20)"`
  486. SetupTime time.Time `xorm:"comment('成立时间') Date"`
  487. DepositBank string `xorm:"comment('开户银行') VARCHAR(50)"`
  488. BankAccount string `xorm:"comment('银行账号') VARCHAR(50)"`
  489. EMail string `xorm:"comment('电子邮箱') VARCHAR(50)"`
  490. BankCreditRating string `xorm:"comment('银行信用等级') VARCHAR(10)"`
  491. Mobile string `xorm:"comment('移动电话') VARCHAR(20)"`
  492. Telphone string `xorm:"comment('固定电话') VARCHAR(20)"`
  493. Fax string `xorm:"comment('传真') VARCHAR(20)"`
  494. CompanyTel string `xorm:"comment('公司电话') VARCHAR(20)"`
  495. QQ string `xorm:"comment('QQ号码') VARCHAR(20)"`
  496. CompanyUrl string `xorm:"comment('公司网址') VARCHAR(20)"`
  497. SpecSupplier string `xorm:"default '0' comment('是否特殊业务供应商(可不招标)') VARCHAR(2)"`
  498. SpecTypeCode string `xorm:"comment('业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)') VARCHAR(2)"`
  499. SpecTypeName string `xorm:"comment('业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)') VARCHAR(20)"`
  500. WZAccessCardNo string `xorm:"comment('准入证编码--物质') VARCHAR(20)"`
  501. JSAccessCardNo string `xorm:"comment('准入证编码--基建') VARCHAR(20)"`
  502. JFAccessCardNo string `xorm:"comment('准入证编码--技术服务类') VARCHAR(20)"`
  503. Remark string `xorm:"comment('备注') VARCHAR(500)"`
  504. IsDelete int `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"`
  505. CreateOn time.Time `xorm:"DATETIME"`
  506. CreateUserId int `xorm:"INT(10)"`
  507. CreateBy string `xorm:"VARCHAR(50)"`
  508. ModifiedOn time.Time `xorm:"DATETIME"`
  509. ModifiedUserId int `xorm:"INT(10)"`
  510. ModifiedBy string `xorm:"VARCHAR(50)"`
  511. PACNumber string `xorm:"comment('中石油准入证编号') VARCHAR(50)"`
  512. SupplierCertificate string `xorm:"comment('中石油物资供应商证书') VARCHAR(200)"`
  513. InFlag string `xorm:"default '0' comment('准入标识') VARCHAR(10)"`
  514. Status string `xorm:"not null default '0' comment('状态标识(0未申请,1办理完毕)') VARCHAR(10)"`
  515. }
  516. type ExpireFile struct {
  517. Id int
  518. SupplierName string
  519. Mobile string
  520. NeedAllFile string
  521. CreateBy string
  522. ContactName string
  523. CreateUserId int
  524. }
  525. type ManualDelete struct {
  526. Code string
  527. Name string
  528. Operation string
  529. }
  530. type TmpZcgf struct {
  531. Sub string
  532. Code string
  533. }
  534. type ExpireFileList struct {
  535. Id int
  536. SupplierName string
  537. Mobile string
  538. SupplierTypeCode string
  539. }
  540. type InterfaceData struct {
  541. Id int
  542. SupplierName string
  543. RegCapital time.Time
  544. ExpireAllFile string
  545. }
  546. type SupplierInfoInte struct {
  547. Id int `xorm:"not null pk autoincr INT(10)"`
  548. SupplierName string `xorm:"comment('企业名称') VARCHAR(255)"`
  549. OilCertificateNo string `xorm:"comment('中石油供应商证书号') VARCHAR(50)"`
  550. Grade string `xorm:"comment('级别') VARCHAR(2)"`
  551. MgrUnit string `xorm:"comment('管理单位') VARCHAR(50)"`
  552. OperType string `xorm:"comment('经营方式') VARCHAR(50)"`
  553. Country string `xorm:"comment('国家') VARCHAR(20)"`
  554. MaunAgent string `xorm:"comment('所代理制造商名称') VARCHAR(100)"`
  555. ConstructTeam string `xorm:"comment('施工队伍名称') VARCHAR(100)"`
  556. CredentialFlag string `xorm:"default '1' comment('证件合一标志') VARCHAR(5)"`
  557. CommercialNo string `xorm:"comment('工商注册号') VARCHAR(50)"`
  558. OrganCode string `xorm:"comment('组织机构代码') VARCHAR(50)"`
  559. CountryTaxNo string `xorm:"comment('税务登记证国税编号') VARCHAR(50)"`
  560. LocalTaxNo string `xorm:"comment('税务登记证地税编号') VARCHAR(50)"`
  561. Address string `xorm:"comment('单位地址') VARCHAR(500)"`
  562. AllAddress string `xorm:"comment('注册地址') VARCHAR(500)"`
  563. LinkAllAddress string `xorm:"comment('通信地址') VARCHAR(500)"`
  564. Province string `xorm:"comment('省直辖市') VARCHAR(20)"`
  565. City string `xorm:"comment('地市区县') VARCHAR(20)"`
  566. Street string `xorm:"comment('街道') VARCHAR(20)"`
  567. HouseNo string `xorm:"comment('门牌号') VARCHAR(10)"`
  568. ZipCode string `xorm:"comment('邮编') VARCHAR(20)"`
  569. LinkAddress string `xorm:"comment('通信地址-单位地址') VARCHAR(500)"`
  570. LinkProvince string `xorm:"comment('通信地址-省直辖市') VARCHAR(20)"`
  571. LinkCity string `xorm:"comment('通信地址-地市区县') VARCHAR(20)"`
  572. LinkStreet string `xorm:"comment('通信地址-街道') VARCHAR(20)"`
  573. LinkHouseNo string `xorm:"comment('通信地址-门牌号') VARCHAR(10)"`
  574. LinkZipCode string `xorm:"comment('通信地址-邮编') VARCHAR(20)"`
  575. HseTraining string `xorm:"comment('是否需要进行HSE审查培训') VARCHAR(2)"`
  576. QualitySystemCert string `xorm:"comment('质量管理体系认证情况及认证机构') VARCHAR(200)"`
  577. ProductQualityCert string `xorm:"comment('产品质量认证情况及认证机构') VARCHAR(200)"`
  578. MaunLicense string `xorm:"comment('生产制造许可证获证情况及编号') VARCHAR(200)"`
  579. QualifCert string `xorm:"comment('企业资质证书编号') VARCHAR(200)"`
  580. QualifCertLevel string `xorm:"comment('企业资质证书级别') VARCHAR(10)"`
  581. SafetyLicense string `xorm:"comment('安全生产许可证') VARCHAR(200)"`
  582. TechServiceLic string `xorm:"comment('技术服务类准入许可证') VARCHAR(200)"`
  583. TjinNotify string `xorm:"comment('外地企业进津备案通知书') VARCHAR(50)"`
  584. SpecIndustryCert string `xorm:"comment('行业特殊要求的认证证书') VARCHAR(200)"`
  585. BusinessScope string `xorm:"comment('营业范围') TEXT"`
  586. LegalPerson string `xorm:"comment('法定代表人姓名') VARCHAR(20)"`
  587. CategoryCode string `xorm:"comment('行业类别代码') VARCHAR(10)"`
  588. CategoryName string `xorm:"comment('行业类别名称') VARCHAR(20)"`
  589. RegCapital float64 `xorm:"default 0 comment('注册资本') FLOAT"`
  590. Currency string `xorm:"comment('币种') VARCHAR(10)"`
  591. ContactName string `xorm:"comment('联系人姓名') VARCHAR(20)"`
  592. CompanyType string `xorm:"comment('公司类型') VARCHAR(20)"`
  593. SetupTime time.Time `xorm:"comment('成立时间') Date"`
  594. DepositBank string `xorm:"comment('开户银行') VARCHAR(50)"`
  595. BankAccount string `xorm:"comment('银行账号') VARCHAR(50)"`
  596. EMail string `xorm:"comment('电子邮箱') VARCHAR(50)"`
  597. BankCreditRating string `xorm:"comment('银行信用等级') VARCHAR(10)"`
  598. Mobile string `xorm:"comment('移动电话') VARCHAR(20)"`
  599. Telphone string `xorm:"comment('固定电话') VARCHAR(20)"`
  600. Fax string `xorm:"comment('传真') VARCHAR(20)"`
  601. CompanyTel string `xorm:"comment('公司电话') VARCHAR(20)"`
  602. QQ string `xorm:"comment('QQ号码') VARCHAR(20)"`
  603. CompanyUrl string `xorm:"comment('公司网址') VARCHAR(20)"`
  604. SpecSupplier string `xorm:"default '0' comment('是否特殊业务供应商(可不招标)') VARCHAR(2)"`
  605. SpecTypeCode string `xorm:"comment('业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)') VARCHAR(2)"`
  606. SpecTypeName string `xorm:"comment('业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)') VARCHAR(20)"`
  607. WZAccessCardNo string `xorm:"comment('准入证编码--物质') VARCHAR(20)"`
  608. JSAccessCardNo string `xorm:"comment('准入证编码--基建') VARCHAR(20)"`
  609. JFAccessCardNo string `xorm:"comment('准入证编码--技术服务类') VARCHAR(20)"`
  610. WZStatus string `xorm:"comment('准入状态--物质') VARCHAR(20)"`
  611. JSStatus string `xorm:"comment('准入状态--基建') VARCHAR(20)"`
  612. JFStatus string `xorm:"comment('准入状态--技术服务类') VARCHAR(20)"`
  613. WZDate string `xorm:"comment('有效期--物质') VARCHAR(20)"`
  614. JSDate string `xorm:"comment('有效期--基建') VARCHAR(20)"`
  615. JFDate string `xorm:"comment('有效期--技术服务类') VARCHAR(20)"`
  616. Remark string `xorm:"comment('备注') VARCHAR(500)"`
  617. PACNumber string `xorm:"comment('中石油准入证编号') VARCHAR(50)"`
  618. SupplierCertificate string `xorm:"comment('中石油物资供应商证书') VARCHAR(200)"`
  619. }
  620. type OilSupplierCertSubInte struct {
  621. SupplierTypeCode string `xorm:"not null default '' comment('准入类别代码') VARCHAR(5)"`
  622. Code string `xorm:"not null default '' comment('分类编码') VARCHAR(8)"`
  623. Name string `xorm:"not null default '' comment('分类名称') VARCHAR(50)"`
  624. Remark string `xorm:"comment('备注') VARCHAR(500)"`
  625. }
  626. type OilSupplierInte struct {
  627. SupplierInfo SupplierInfoInte
  628. WZsub []OilSupplierCertSubInte // 物资类
  629. JFsub []OilSupplierCertSubInte // 技术服务类
  630. JSsub []OilSupplierCertSubInte // 基建类
  631. }
  632. type OilCertIds struct {
  633. Ids string
  634. }
  635. type OilSupplierOldName struct {
  636. Id int `xorm:"not null pk autoincr INT(11)"`
  637. Name string `xorm:"comment('企业名称') VARCHAR(255)"`
  638. OldName string `xorm:"comment('曾用名') VARCHAR(255)"`
  639. SupplierId int `xorm:" INT(11)"`
  640. GfId int `xorm:" INT(11)"`
  641. CreateOn time.Time `xorm:"DATETIME"`
  642. CreateUserId int `xorm:"INT(10)"`
  643. CreateBy string `xorm:"VARCHAR(50)"`
  644. ModifiedOn time.Time `xorm:"DATETIME"`
  645. ModifiedUserId int `xorm:"INT(10)"`
  646. ModifiedBy string `xorm:"VARCHAR(50)"`
  647. }
  648. const (
  649. // 管理单位
  650. MGRUNIT string = "大港油田分公司"
  651. BIDDING_BOOK_NAME string = "招标中标结果"
  652. // 企业信息-级别
  653. GRADE_1 string = "一级"
  654. // 企业信息-级别
  655. GRADE_2 string = "二级"
  656. // 准入物资-级别
  657. GOODS_LEVEL_1 string = "1"
  658. // 准入物资-级别
  659. GOODS_LEVEL_2 string = "2"
  660. // 准入方式
  661. IN_STYPE_REVIEW string = "1" // 评审准入
  662. IN_STYPE_GOODS_LEVEL_1 string = "2" // 一级物资备案准入
  663. IN_STYPE_GOODS_LEVEL_2 string = "3" // 二级物资备案准入
  664. IN_STYPE_STRATEGIC string = "4" // 战略合作准入
  665. IN_STYPE_PLURALISM string = "5" // 内部多元准入
  666. IN_STYPE_BIDDING string = "6" // 招标准入
  667. //准入类型 SupplierTypeCode
  668. SUPPLIER_TYPE_GOODS string = "01" // 物资类
  669. SUPPLIER_TYPE_BASIC string = "02" // 基建类
  670. SUPPLIER_TYPE_TECHNOLOGY string = "03" // 技术服务类
  671. )