select * from input_pp_dailypaper t where t.factorycode='${factorycode}' and t.period = '${date}' order by t.period 选择某一天,让这一天的数据只显示在这一天的列上 日期是根据月份扩展的 RANGE(DATE(YEAR($date), MONTH($date), 1), DATE(YEAR($date), MONTH($date), DAY(DATEINMONTH($date, -1)))) |