Explorar o código

后:添加准入范围后没获取到id问题

MAC %!s(int64=5) %!d(string=hai) anos
pai
achega
98ef2b9a0c

+ 1 - 1
src/dashoo.cn/backend/api/business/oilsupplier/suppliercertsub/oilsuppliercertsub.go

@@ -5,7 +5,7 @@ import (
 )
 
 type OilSupplierCertSub struct {
-	Id                   int       `xorm:<- not null pk autoincr INT(10)"`
+	Id                   int       `xorm:"not null pk autoincr INT(10)"`
 	SupplierId           int       `xorm:"not null comment('供方基本信息表主键') INT(10)"`
 	SupplierCertId       int       `xorm:"not null comment('供方准入证书信息表主键') INT(10)"`
 	SupplierCertAppendId int       `xorm:"not null comment('增项信息表ID') INT(10)"`