csx hace 3 años
padre
commit
f3f03f2e5c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      service/bl_service.go

+ 1 - 1
service/bl_service.go Ver fichero

@@ -237,7 +237,7 @@ func GetLastSyncResultRecord(org_id int64) (record LisSyncResultStatusInfo, err
237 237
 }
238 238
 
239 239
 func GetResultRecord() (record []CmResult, err error) {
240
-	err = dataBase.Model(&CmResult{}).Order("barcode desc").Limit(1).Find(&record).Error
240
+	err = dataBase.Model(&CmResult{}).Order("barcode asc").Limit(1).Find(&record).Error
241 241
 	return
242 242
 }
243 243