multi-system/src/main/resources/mapper/system/CustomerRecordMapper.xml @@ -21,6 +21,9 @@ <if test="companyId!=null"> and cr.company_id = #{companyId} </if> <if test="year!=null"> and cr.year = #{year} </if> ORDER BY cr.create_time DESC </select>