cnas-server/src/main/resources/mapper/CnasAnnualPlanMapper.xml
@@ -15,15 +15,15 @@ keyboarder, plan_time, count, audit_state, state, audit_time, create_time, update_time from cnas_annual_plan where state = 1 <if test="beginTime != null and endTime != null"> and plan_time between #{beginTime} and #{endTime} <if test="year != null and month != null"> and year(plan_time) = #{year} and month(plan_time) = #{month} </if> order by id desc </select> </mapper>