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