multi-system/src/main/resources/mapper/system/InspectionRecordMapper.xml
@@ -27,6 +27,9 @@ <if test="companyId !=null"> and ir.company_id = #{companyId} </if> <if test="year!=null and year !=''"> and YEAR(ir.`sign_time`) = #{year} </if> ORDER BY ir.create_time DESC </select>