Przeglądaj źródła

列表增加order by

LIVE_YE 2 lat temu
rodzic
commit
8b8eb86c07

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

@@ -38,6 +38,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="companyCode != null  and companyCode != ''"> and company_code = #{companyCode}</if>
             <if test="phone != null  and phone != ''"> and phone = #{phone}</if>
         </where>
+        order by create_time desc
     </select>
     
     <select id="selectXmProjectInvestorById" parameterType="Long" resultMap="XmProjectInvestorResult">

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

@@ -36,6 +36,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="idcode != null  and idcode != ''"> and idcode = #{idcode}</if>
             <if test="phone != null  and phone != ''"> and phone = #{phone}</if>
         </where>
+        order by create_time desc
     </select>
     
     <select id="selectXmProjectPersionById" parameterType="Long" resultMap="XmProjectPersionResult">

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

@@ -59,6 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="dbType != null "> and db_type = #{dbType}</if>
             <if test="progress != null "> and progress = #{progress}</if>
         </where>
+        order by db_time desc
     </select>
     
     <select id="selectZsyzDbdById" parameterType="Long" resultMap="ZsyzDbdResult">

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

@@ -53,6 +53,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="jjjy != null  and jjjy != ''"> and jjjy = #{jjjy}</if>
             <if test="gzjh != null  and gzjh != ''"> and gzjh = #{gzjh}</if>
         </where>
+        order by update_time desc
     </select>
     
     <select id="selectZsyzJzqkById" parameterType="Long" resultMap="ZsyzJzqkResult">

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

@@ -43,6 +43,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="nrtsj != null "> and nrtsj = #{nrtsj}</if>
             <if test="kggjrsjh != null  and kggjrsjh != ''"> and kggjrsjh = #{kggjrsjh}</if>
         </where>
+        order by update_time desc
     </select>
     
     <select id="selectZsyzKgxxById" parameterType="Long" resultMap="ZsyzKgxxResult">

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

@@ -35,6 +35,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="deptName != null  and deptName != ''"> and dept_name like concat('%', #{deptName}, '%')</if>
             <if test="ancestors != null  and ancestors != ''"> and ancestors = #{ancestors}</if>
         </where>
+        order by create_time desc
     </select>
     
     <select id="selectZsyzProjectDeptById" parameterType="Long" resultMap="ZsyzProjectDeptResult">

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

@@ -85,6 +85,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="nkgrq != null "> and nkgrq = #{nkgrq}</if>
             <if test="path != null  and path != ''"> and path = #{path}</if>
         </where>
+        order by create_time desc
     </select>
     
     <select id="selectZsyzQyxxById" parameterType="Long" resultMap="ZsyzQyxxResult">

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

@@ -63,6 +63,7 @@
                 AND date_format(create_time,'%Y%m%d') &lt;= date_format(#{params.endTime},'%Y%m%d')
             </if>
         </where>
+        order by create_time desc
     </select>
 
     <select id="selectZsyzSkxmById" parameterType="Long" resultMap="ZsyzSkxmResult">

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

@@ -79,6 +79,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="ndsjss != null  and ndsjss != ''"> and ndsjss = #{ndsjss}</if>
             <if test="qt != null  and qt != ''"> and qt = #{qt}</if>
         </where>
+        order by create_time desc
     </select>
     
     <select id="selectZsyzTcxxById" parameterType="Long" resultMap="ZsyzTcxxResult">