select * from
uf_project_card
where
loan_amount>0
and project_status<>200
and loan_date>='${DATEINMONTH(today(),1)}'
and loan_date<='${DATEINMONTH(today(),-1)}'
----------------或者这样-------------------
select * from
uf_project_card
where
loan_amount>0
and project_status<>200
and date_format(loan_date,'%Y-%m')='${format(today(),"yyyy-MM")}'