Browse Source

提交代码

陈少旭 1 month ago
parent
commit
8403a846bc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      service/export_data_service.go

+ 2 - 2
service/export_data_service.go View File

@@ -343,7 +343,7 @@ func GetHisOrderBy10697SummaryTwo(startTime, endTime, ins string, st_stamp, end_
343 343
             med_chrgitm_type, 
344 344
             SUM(det_item_fee_sumamt) AS det_item_fee_sumamt`).
345 345
 		Where("user_org_id = ? AND STATUS = ? AND (upload_date) >= ? AND (upload_date) <= ? AND med_chrgitm_type IN (?)",
346
-			10721, 1,
346
+			10697, 1,
347 347
 			st_stamp,
348 348
 			end_stamp,
349 349
 			medChargeTypes).
@@ -383,7 +383,7 @@ func GetHisOrderBy10697SummaryTwo(startTime, endTime, ins string, st_stamp, end_
383 383
         `).
384 384
 		Joins("JOIN (?) i ON his_order.number = i.order_number", subQuery). // 使用子查询
385 385
 		Where("his_order.user_org_id = ? AND his_order.order_status = ? AND his_order.setl_time >= ? AND his_order.setl_time <= ? AND his_order.is_medicine_insurance = ? AND his_order.insutype = ? AND his_order.STATUS = ?",
386
-			10721, 2, startTime+" 00:00:00", endTime+" 23:59:59", 1, ins, 1).
386
+			10697, 2, startTime+" 00:00:00", endTime+" 23:59:59", 1, ins, 1).
387 387
 		Group("his_order.patient_id").
388 388
 		Scan(&results).Error
389 389