|
|
@@ -23,14 +23,14 @@ type QianfaModel struct {
|
|
|
AuditorRemark string
|
|
|
}
|
|
|
type QianfaListModel struct {
|
|
|
- Id int
|
|
|
- EId int
|
|
|
- ReportName string
|
|
|
- SignTrans string
|
|
|
- ReceiveBy string
|
|
|
- ReportUrl string
|
|
|
- TemplateId int
|
|
|
- TransTime time.Time
|
|
|
+ Id int
|
|
|
+ EId int
|
|
|
+ ReportName string
|
|
|
+ SignTrans string
|
|
|
+ ReceiveBy string
|
|
|
+ ReportUrl string
|
|
|
+ TemplateId int
|
|
|
+ TransTime time.Time
|
|
|
}
|
|
|
|
|
|
type LimsCreateReport struct {
|
|
|
@@ -43,6 +43,7 @@ type LimsCreateReport struct {
|
|
|
FlowKey string `xorm:VARCHAR(50)`
|
|
|
TestDetail string `xorm:VARCHAR(50)`
|
|
|
TemplateId int `xorm:"INT(10)"`
|
|
|
+ DocName string `xorm:VARCHAR(255)`
|
|
|
ReportUrl string `xorm:VARCHAR(255)`
|
|
|
UnHGReportUrl string `xorm:VARCHAR(255)`
|
|
|
CheckRemark string `xorm:VARCHAR(255)`
|
|
|
@@ -99,46 +100,46 @@ type ReportTemplateModel struct {
|
|
|
}
|
|
|
|
|
|
type DataEntryEntrustModel struct {
|
|
|
- Id int `xorm:"not null pk autoincr INT(10)"`
|
|
|
- EId int `xorm:"INT(10)"`
|
|
|
- DataEntryId int `xorm:"INT(10)"`
|
|
|
- DocKey string `xorm:"VARCHAR(50)"`
|
|
|
- TaskId int `xorm:"INT(10)"`
|
|
|
- DocAddress string `xorm:VARCHAR(255)`
|
|
|
+ Id int `xorm:"not null pk autoincr INT(10)"`
|
|
|
+ EId int `xorm:"INT(10)"`
|
|
|
+ DataEntryId int `xorm:"INT(10)"`
|
|
|
+ DocKey string `xorm:"VARCHAR(50)"`
|
|
|
+ TaskId int `xorm:"INT(10)"`
|
|
|
+ DocAddress string `xorm:VARCHAR(255)`
|
|
|
CreateReportStatus int `xorm:"INT(11)"`
|
|
|
- DocType string `xorm:VARCHAR(50)`
|
|
|
- DocId int `xorm:"INT(10)"`
|
|
|
- DocVersion string `xorm:VARCHAR(50)`
|
|
|
- DocName string `xorm:VARCHAR(50)`
|
|
|
- CheckStatus int `xorm:"INT(10)"`
|
|
|
- EntrustNo string `xorm:"VARCHAR(50)"`
|
|
|
- EntrustTime time.Time `xorm:"DATETIME"`
|
|
|
- EndTime time.Time `xorm:"DATETIME"`
|
|
|
- EntrustStatus int `xorm:"INT(10)"`
|
|
|
- AuditorRemark string `xorm:"VARCHAR(255)"`
|
|
|
- DeliverStatus int `xorm:"INT(10)"`
|
|
|
- ReportStatus int `xorm:"INT(10)"`
|
|
|
- EntrustType string `xorm:VARCHAR(50)`
|
|
|
- EntrustTypeId int `xorm:"INT(10)"`
|
|
|
- CustomerId int `xorm:"INT(10)"`
|
|
|
- CustomerName string `xorm:VARCHAR(50)`
|
|
|
- ProjectType string `xorm:VARCHAR(50)`
|
|
|
- ProjectTypeId int `xorm:"INT(10)"`
|
|
|
- DetectSample string `xorm:"VARCHAR(50)"`
|
|
|
- DetectSampleId int `xorm:"INT(10)"`
|
|
|
- Samplelist string `xorm:VARCHAR(50)`
|
|
|
- SampleNum float32 `xorm:"FLOAT"`
|
|
|
- Unit string `xorm:VARCHAR(50)`
|
|
|
- Remarks string `xorm:VARCHAR(255)` //描述
|
|
|
- CreatedTime time.Time `xorm:"DATETIME created"` //创建时间
|
|
|
- CreateOn time.Time `xorm:"DATETIME created"` //创建时间
|
|
|
- CreateUserId int `xorm:"INT(10)"`
|
|
|
- DataEntryUserId int `xorm:"INT(10)"`
|
|
|
- DataEntryBy string `xorm:"VARCHAR(50)"` //创建人
|
|
|
- CreateBy string `xorm:"VARCHAR(50)"` //创建人
|
|
|
- ModifiedOn time.Time `xorm:"DATETIME updated"`
|
|
|
- ModifiedUserId int `xorm:"INT(10)"`
|
|
|
- ModifiedBy string `xorm:"VARCHAR(50)"`
|
|
|
+ DocType string `xorm:VARCHAR(50)`
|
|
|
+ DocId int `xorm:"INT(10)"`
|
|
|
+ DocVersion string `xorm:VARCHAR(50)`
|
|
|
+ DocName string `xorm:VARCHAR(50)`
|
|
|
+ CheckStatus int `xorm:"INT(10)"`
|
|
|
+ EntrustNo string `xorm:"VARCHAR(50)"`
|
|
|
+ EntrustTime time.Time `xorm:"DATETIME"`
|
|
|
+ EndTime time.Time `xorm:"DATETIME"`
|
|
|
+ EntrustStatus int `xorm:"INT(10)"`
|
|
|
+ AuditorRemark string `xorm:"VARCHAR(255)"`
|
|
|
+ DeliverStatus int `xorm:"INT(10)"`
|
|
|
+ ReportStatus int `xorm:"INT(10)"`
|
|
|
+ EntrustType string `xorm:VARCHAR(50)`
|
|
|
+ EntrustTypeId int `xorm:"INT(10)"`
|
|
|
+ CustomerId int `xorm:"INT(10)"`
|
|
|
+ CustomerName string `xorm:VARCHAR(50)`
|
|
|
+ ProjectType string `xorm:VARCHAR(50)`
|
|
|
+ ProjectTypeId int `xorm:"INT(10)"`
|
|
|
+ DetectSample string `xorm:"VARCHAR(50)"`
|
|
|
+ DetectSampleId int `xorm:"INT(10)"`
|
|
|
+ Samplelist string `xorm:VARCHAR(50)`
|
|
|
+ SampleNum float32 `xorm:"FLOAT"`
|
|
|
+ Unit string `xorm:VARCHAR(50)`
|
|
|
+ Remarks string `xorm:VARCHAR(255)` //描述
|
|
|
+ CreatedTime time.Time `xorm:"DATETIME created"` //创建时间
|
|
|
+ CreateOn time.Time `xorm:"DATETIME created"` //创建时间
|
|
|
+ CreateUserId int `xorm:"INT(10)"`
|
|
|
+ DataEntryUserId int `xorm:"INT(10)"`
|
|
|
+ DataEntryBy string `xorm:"VARCHAR(50)"` //创建人
|
|
|
+ CreateBy string `xorm:"VARCHAR(50)"` //创建人
|
|
|
+ ModifiedOn time.Time `xorm:"DATETIME updated"`
|
|
|
+ ModifiedUserId int `xorm:"INT(10)"`
|
|
|
+ ModifiedBy string `xorm:"VARCHAR(50)"`
|
|
|
}
|
|
|
|
|
|
//关联委托方表 获取委托列表
|
|
|
@@ -206,22 +207,22 @@ type LimsDeliver struct {
|
|
|
ModifiedUserId int `xorm:"INT(10)"`
|
|
|
ModifiedBy string `xorm:"VARCHAR(50)"`
|
|
|
}
|
|
|
-type LimsReportSign struct{
|
|
|
- Id int `xorm:"not null pk autoincr INT(10)"`
|
|
|
- ReportId int `xorm:"INT(10)"`
|
|
|
- ReportStatus int `xorm:"INT(10)"`
|
|
|
- ReportCode string `xorm:VARCHAR(255)`
|
|
|
- ReportName string `xorm:VARCHAR(255)`
|
|
|
- SignTrans string `xorm:VARCHAR(255)`
|
|
|
- ReceiveBy string `xorm:VARCHAR(255)`
|
|
|
- TransTime time.Time `xorm:"DATETIME created"`
|
|
|
- Remark string `xorm:VARCHAR(255)`
|
|
|
- CreateOn time.Time `xorm:"DATETIME created"` //创建时间
|
|
|
- CreateUserId int `xorm:"INT(10)"`
|
|
|
- CreateBy string `xorm:"VARCHAR(50)"` //创建人
|
|
|
- ModifiedOn time.Time `xorm:"DATETIME updated"`
|
|
|
- ModifiedUserId int `xorm:"INT(10)"`
|
|
|
- ModifiedBy string `xorm:"VARCHAR(50)"`
|
|
|
+type LimsReportSign struct {
|
|
|
+ Id int `xorm:"not null pk autoincr INT(10)"`
|
|
|
+ ReportId int `xorm:"INT(10)"`
|
|
|
+ ReportStatus int `xorm:"INT(10)"`
|
|
|
+ ReportCode string `xorm:VARCHAR(255)`
|
|
|
+ ReportName string `xorm:VARCHAR(255)`
|
|
|
+ SignTrans string `xorm:VARCHAR(255)`
|
|
|
+ ReceiveBy string `xorm:VARCHAR(255)`
|
|
|
+ TransTime time.Time `xorm:"DATETIME created"`
|
|
|
+ Remark string `xorm:VARCHAR(255)`
|
|
|
+ CreateOn time.Time `xorm:"DATETIME created"` //创建时间
|
|
|
+ CreateUserId int `xorm:"INT(10)"`
|
|
|
+ CreateBy string `xorm:"VARCHAR(50)"` //创建人
|
|
|
+ ModifiedOn time.Time `xorm:"DATETIME updated"`
|
|
|
+ ModifiedUserId int `xorm:"INT(10)"`
|
|
|
+ ModifiedBy string `xorm:"VARCHAR(50)"`
|
|
|
}
|
|
|
type LimsReportHistory struct {
|
|
|
Id int `xorm:"not null pk autoincr INT(10)"`
|
|
|
@@ -230,14 +231,14 @@ type LimsReportHistory struct {
|
|
|
Version string `xorm:"not null default '0' comment('版本') VARCHAR(50)"`
|
|
|
Address string `xorm:"not null default '0' comment('地址') VARCHAR(255)"`
|
|
|
SaveTime time.Time `xorm:"comment('保存时间') DATETIME"`
|
|
|
- CreateOn time.Time `xorm:"DATETIME created"` //创建时间
|
|
|
- CreateUserId int `xorm:"INT(10)"`
|
|
|
- CreateBy string `xorm:"VARCHAR(50)"` //创建人
|
|
|
- ModifiedOn time.Time `xorm:"DATETIME updated"`
|
|
|
- ModifiedUserId int `xorm:"INT(10)"`
|
|
|
- ModifiedBy string `xorm:"VARCHAR(50)"`
|
|
|
+ CreateOn time.Time `xorm:"DATETIME created"` //创建时间
|
|
|
+ CreateUserId int `xorm:"INT(10)"`
|
|
|
+ CreateBy string `xorm:"VARCHAR(50)"` //创建人
|
|
|
+ ModifiedOn time.Time `xorm:"DATETIME updated"`
|
|
|
+ ModifiedUserId int `xorm:"INT(10)"`
|
|
|
+ ModifiedBy string `xorm:"VARCHAR(50)"`
|
|
|
}
|
|
|
-type ReportModel struct{
|
|
|
+type ReportModel struct {
|
|
|
Id int `xorm:"not null pk autoincr INT(10)"`
|
|
|
EId int `xorm:"INT(10)"`
|
|
|
ReportCode string `xorm:VARCHAR(50)`
|