|
@@ -121,7 +121,7 @@ public interface YpTracCodgDao {
|
|
|
" and fy.order_no = cd.order_no and fy.item_no = cd.item_no " +
|
|
|
"where not exists ( select 1 from yp_selinfo_sold so " +
|
|
|
" where so.is_ty = '0' and so.upload_flag = '1' and fy.patient_id = so.pat_no and fy.times = so.times" +
|
|
|
- " and fy.receipt_no = so.receipt_no and fy.order_no = so.order_no and fy.item_no = so.item_no )" +
|
|
|
+ " and fy.order_no = so.order_no and fy.item_no = so.item_no )" +
|
|
|
" and fy.confirm_flag in (1, 2) " +
|
|
|
" and fy.charge_date >= #{dto.startTime} " +
|
|
|
" and fy.charge_date <= #{dto.endTime} " +
|