diff --git a/ruoyi-kaohe/src/main/resources/mapper/kaohe/KhGatherMapper.xml b/ruoyi-kaohe/src/main/resources/mapper/kaohe/KhGatherMapper.xml index 568c451..590bc19 100644 --- a/ruoyi-kaohe/src/main/resources/mapper/kaohe/KhGatherMapper.xml +++ b/ruoyi-kaohe/src/main/resources/mapper/kaohe/KhGatherMapper.xml @@ -27,6 +27,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and table_header = #{tableHeader} and table_data = #{tableData} + ORDER BY id DESC - /*select p.*, emp_id,emp_name,dept_id,dept_name from kh_pingce p left join kh_pc_emp pe on p.id=pe.pc_id*/ and pc_title = #{pcTitle} and pc_description = #{pcDescription} @@ -49,6 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and pc_result_id = #{pcResultId} and state = #{state} + ORDER BY id DESC