@@ -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">
@@ -36,6 +36,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="idcode != null and idcode != ''"> and idcode = #{idcode}</if>
<select id="selectXmProjectPersionById" parameterType="Long" resultMap="XmProjectPersionResult">
@@ -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>
+ order by db_time desc
<select id="selectZsyzDbdById" parameterType="Long" resultMap="ZsyzDbdResult">
@@ -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>
+ order by update_time desc
<select id="selectZsyzJzqkById" parameterType="Long" resultMap="ZsyzJzqkResult">
@@ -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>
<select id="selectZsyzKgxxById" parameterType="Long" resultMap="ZsyzKgxxResult">
@@ -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>
<select id="selectZsyzProjectDeptById" parameterType="Long" resultMap="ZsyzProjectDeptResult">
@@ -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>
<select id="selectZsyzQyxxById" parameterType="Long" resultMap="ZsyzQyxxResult">
@@ -63,6 +63,7 @@
AND date_format(create_time,'%Y%m%d') <= date_format(#{params.endTime},'%Y%m%d')
</if>
<select id="selectZsyzSkxmById" parameterType="Long" resultMap="ZsyzSkxmResult">
@@ -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>
<select id="selectZsyzTcxxById" parameterType="Long" resultMap="ZsyzTcxxResult">