功能-质量-按周统计

This commit is contained in:
guoshengxiong 2024-07-03 11:58:27 +08:00
parent 9c31326994
commit 5dc18dd22a
2 changed files with 3 additions and 1 deletions

View File

@ -433,7 +433,6 @@ public class QualityInspectionRecordController {
return Result.success(qualityInspectionRecordService.riskChart(map));
}
}

View File

@ -183,6 +183,9 @@
and t.status != 6
<include refid="whereCondition">
</include>
<if test="param.isStatsByWeek == '1'.toString()">
and t.inspect_time <![CDATA[>=]]> concat(date_format(current_date,'%Y-%m'),'-01 00:00:00')
</if>
<if test="param.isStatsByWeek == '1'.toString()">
group by whichWeekOfMonth
</if>