Przeglądaj źródła

新增考察相关

Administrator 1 rok temu
rodzic
commit
cb3c5ba08b

+ 1 - 0
ruoyi-system/src/main/resources/mapper/system/InvestigateDispositionMapper.xml

@@ -34,6 +34,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="url != null  and url != ''"> and url = #{url}</if>
             <if test="status != null  and status != ''"> and status = #{status}</if>
         </where>
+        order  by create_time DESC
     </select>
     
     <select id="selectInvestigateDispositionByInvestigateDispositionId" parameterType="Long" resultMap="InvestigateDispositionResult">

+ 1 - 0
ruoyi-system/src/main/resources/mapper/system/InvestigateDispositionTableMapper.xml

@@ -42,6 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="investigateDispositionId != null  "> and t.investigate_disposition_id = #{investigateDispositionId}</if>
         </where>
 
+        order  by it.create_time DESC
 
     </select>
     

+ 1 - 0
ruoyi-system/src/main/resources/mapper/system/InvestigateTableMapper.xml

@@ -69,6 +69,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="endTime != null "> and t.end_time = #{endTime}</if>
             <if test="cipher != null  and cipher != ''"> and t.cipher = #{cipher}</if>
         </where>
+        order  by t.create_time  desc
     </select>
     
     <select id="selectInvestigateTableById" parameterType="Long" resultMap="InvestigateTableResult">

+ 1 - 0
ruoyi-system/src/main/resources/mapper/system/InvestigateUserMapper.xml

@@ -32,6 +32,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="idCard != null  and idCard != ''"> and id_card = #{idCard}</if>
             <if test="duty != null  and duty != ''"> and duty = #{duty}</if>
         </where>
+        order by create_time DESC
     </select>
     
     <select id="selectInvestigateUserById" parameterType="Long" resultMap="InvestigateUserResult">