|
@@ -1539,7 +1539,7 @@ func GetAllHisOrder10106(org_id int64) (his []*models.HisOrder, err error) {
|
1539
|
1539
|
return
|
1540
|
1540
|
}
|
1541
|
1541
|
func GetAllHisOrder10138() (his []*models.HisOrder, err error) {
|
1542
|
|
- err = readDb.Model(&models.HisOrder{}).Where("user_org_id = 10138 AND status = 1 AND order_status = 2 AND setl_id <> '' AND setl_time >= '2024-04-01 00:00:00' AND setl_time <= '2024-04-30 23:00:00' and mdtrt_id not like '%out%'").Order("setl_time asc").Find(&his).Error
|
|
1542
|
+ err = readDb.Model(&models.HisOrder{}).Where("user_org_id = 10138 AND status = 1 AND order_status = 2 AND setl_id <> '' AND setl_time >= '2024-04-01 00:00:00' AND setl_time <= '2024-07-30 23:00:00' and mdtrt_id not like '%out%'").Order("setl_time asc").Find(&his).Error
|
1543
|
1543
|
fmt.Println(err)
|
1544
|
1544
|
return
|
1545
|
1545
|
}
|