소스 검색

bug修改

huahaiyan 6 년 전
부모
커밋
f5d477ab8a
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      src/dashoo.cn/backend/api/controllers/lims/limscheckequipmentlist.go

+ 3 - 3
src/dashoo.cn/backend/api/controllers/lims/limscheckequipmentlist.go

@@ -47,7 +47,7 @@ func (this *LimsCheckEquipmentListController) GetEntityList() {
 	Spec := this.GetString("Spec")
 	SpecId := this.GetString("SpecId")
 	Manufacturer := this.GetString("Manufacturer")
-	Status := this.GetString("Status")
+	status := this.GetString("Status")
 
 	if Id != "" {
 		where = where + " and Id like '%" + Id + "%'"
@@ -93,8 +93,8 @@ func (this *LimsCheckEquipmentListController) GetEntityList() {
 		where = where + " and Manufacturer like '%" + Manufacturer + "%'"
 	}
 
-	if Status != "" {
-		where = where + " and Status like '%" + Status + "%'"
+	if status != "" {
+		where = where + " and Status like '%" + status + "%'"
 	}
 
 	/** if CreateOn != "" {