lining 6 anos atrás
pai
commit
6d99dad09e

+ 1 - 1
src/dashoo.cn/backend/api/controllers/base.go

@@ -175,7 +175,7 @@ var (
 	ControlInfoDetailName                    string = "ControlInfoDetail"
 	ControlInfoDetailAttachmentName          string = "ControlInfoDetailAttachment"
 	ControlTraceName                         string = "ControlTrace"                //制备信息溯源表
-	DocumentInfoName                         string = "DocumentInfo"                //文档
+	DocumentInfoName                         string = "s5OVEDocumentInfo"                //文档
 	DocumentHistoryName                      string = "DocumentHistory"             //历史文档
 	SamplesCustomorName                      string = "SamplesCustomor"             //样本库客户信息表
 	SamplesCommunicationName                 string = "SamplesCommunication"        //样本库客户交流记录表

+ 1 - 1
src/dashoo.cn/backend/api/controllers/document/document.go

@@ -62,7 +62,7 @@ func (this *DocumentController) GetDocumentNameAndTime() {
 
 	svc := documentmanage.GetDocumentmanageService(utils.DBE)
 	var list []documentmanage.DocumentNameTimeInfo
-	tableName := "s5OVE" + DocumentInfoName
+	tableName := DocumentInfoName
 	list = svc.GetDocumentNameAndTime(tableName, colName, rangeType)
 
 	this.Data["json"] = &list