Commit 37c2d500 authored by maliang's avatar maliang

类属性修改

parent 5639517e
......@@ -28,7 +28,7 @@
SELECT report_date,a.copyright_id,a.copyright_name,total_amount as totalAmount,
IFNULL(total_ad_amount,0) totalAdvertAmount,jiesuan_status_name statusName,jiesuan_status status,release_status_name releaseStatusName,release_status releaseStatus,b.type,b.type_name,b.context
FROM bi_report.report_book_settlement_month_copyright a,copyright_data.copyright_deduction b
WHERE a.report_date>='2020-04' and a.copyright_id=b.copyright_id and a.report_date=b.create_month
WHERE a.copyright_id=b.copyright_id and a.report_date=b.create_month
<if test="copyrightId != null">
and a.copyright_id in
<foreach collection="copyrightId" item="item" index="index" separator="," open="(" close=")">
......@@ -47,9 +47,9 @@
from(select report_date,copyright_id,copyright_name,total_amount as totalAmount,
IFNULL(total_ad_amount,0) totalAdvertAmount,jiesuan_status_name statusName,jiesuan_status status,release_status_name releaseStatusName,release_status releaseStatus
FROM bi_report.report_book_settlement_month_copyright a
WHERE a.report_date>='2020-04'
WHERE
<if test="copyrightId != null">
and a.copyright_id in
a.copyright_id in
<foreach collection="copyrightId" item="item" index="index" separator="," open="(" close=")">
#{item.copyrightId}
</foreach>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment