huminmin
昨天 ff09f8e85d51c5d127796bfbd097f5fad9267d4b
src/main/resources/mapper/production/ProductionAccountMapper.xml
@@ -218,4 +218,13 @@
        order by date_format(scheduling_date, '%m-%d')
    </select>
    <select id="selectAccountingMonths" resultType="java.lang.String">
        select distinct date_format(pa.scheduling_date, '%Y-%m') as monthValue
        from production_account pa
                 inner join production_product_main ppm on ppm.id = pa.production_product_main_id
        where ppm.audit_status = 1
          and ppm.report_type in (0, 1)
        order by monthValue
    </select>
</mapper>