Skip to content

Commit bdbe0a7

Browse files
committed
优化代码
1 parent 4298412 commit bdbe0a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

java110-db/src/main/resources/mapper/report/ReportFeeStatisticsServiceDaoImplMapper.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@
523523

524524
(
525525
select ifnull(sum(t.receivable_amount),0.0) curReceivableFee
526-
from pay_fee_detail_month t
526+
from pay_fee_detail_month t force index(i_pay_fee_detail_fc)
527527
where
528528
1=1
529529
<if test="floorId != null and floorId != ''">
@@ -543,7 +543,7 @@
543543
) curReceivableFee,
544544
(
545545
select ifnull(sum(t.receivable_amount),0.0) curReceivedFee
546-
from pay_fee_detail_month t
546+
from pay_fee_detail_month t force index(i_pay_fee_detail_fc)
547547
where
548548
1=1
549549
<if test="floorId != null and floorId != ''">

0 commit comments

Comments
 (0)