|
@@ -345,7 +345,7 @@
|
|
</where>
|
|
</where>
|
|
<!-- 数据范围过滤 -->
|
|
<!-- 数据范围过滤 -->
|
|
${params.dataScope}
|
|
${params.dataScope}
|
|
- order by s.create_time desc
|
|
|
|
|
|
+ order by s.update_time desc
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
|
|
@@ -429,7 +429,7 @@
|
|
</where>
|
|
</where>
|
|
<!-- 数据范围过滤 -->
|
|
<!-- 数据范围过滤 -->
|
|
${params.dataScope}
|
|
${params.dataScope}
|
|
- order by s.create_time desc
|
|
|
|
|
|
+ order by s.update_time desc
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="selectZsyzSbbzbById" parameterType="Long" resultMap="ZsyzSbbzbResult">
|
|
<select id="selectZsyzSbbzbById" parameterType="Long" resultMap="ZsyzSbbzbResult">
|
|
@@ -527,7 +527,7 @@
|
|
</where>
|
|
</where>
|
|
<!-- 数据范围过滤 -->
|
|
<!-- 数据范围过滤 -->
|
|
${params.dataScope}
|
|
${params.dataScope}
|
|
- order by s.create_time desc
|
|
|
|
|
|
+ order by s.update_time desc
|
|
</select>
|
|
</select>
|
|
<select id="selectZsyzSbbzbListByZp" resultMap="ZsyzSbbzbResult">
|
|
<select id="selectZsyzSbbzbListByZp" resultMap="ZsyzSbbzbResult">
|
|
SELECT * from ( select s.id,
|
|
SELECT * from ( select s.id,
|
|
@@ -661,7 +661,7 @@
|
|
|
|
|
|
)d
|
|
)d
|
|
|
|
|
|
- order by d.create_time desc
|
|
|
|
|
|
+ order by d.update_time desc
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="selectZsyzSbbzbListByZpPs" resultMap="ZsyzSbbzbResult">
|
|
<select id="selectZsyzSbbzbListByZpPs" resultMap="ZsyzSbbzbResult">
|
|
@@ -796,7 +796,7 @@
|
|
|
|
|
|
)d
|
|
)d
|
|
${params.dataScope}
|
|
${params.dataScope}
|
|
- order by d.create_time desc
|
|
|
|
|
|
+ order by d.update_time desc
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="selectZsyzSbbzbListCount" resultType="java.lang.Long">
|
|
<select id="selectZsyzSbbzbListCount" resultType="java.lang.Long">
|
|
@@ -870,7 +870,7 @@
|
|
AND date_format(create_time,'%y%m%d') <= date_format(#{params.endTime},'%y%m%d')
|
|
AND date_format(create_time,'%y%m%d') <= date_format(#{params.endTime},'%y%m%d')
|
|
</if>
|
|
</if>
|
|
</where>
|
|
</where>
|
|
- order by create_time desc
|
|
|
|
|
|
+ order by update_time desc
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="selectZsyzSbbzbListYz" resultMap="ZsyzSbbzbResult">
|
|
<select id="selectZsyzSbbzbListYz" resultMap="ZsyzSbbzbResult">
|
|
@@ -937,10 +937,10 @@
|
|
<if test="params.endTime != null and params.endTime != ''"><!-- 结束时间检索 -->
|
|
<if test="params.endTime != null and params.endTime != ''"><!-- 结束时间检索 -->
|
|
AND date_format(s.create_time,'%y%m%d') <= date_format(#{params.endTime},'%y%m%d')
|
|
AND date_format(s.create_time,'%y%m%d') <= date_format(#{params.endTime},'%y%m%d')
|
|
</if>
|
|
</if>
|
|
- order by d.create_time desc
|
|
|
|
|
|
+ order by d.update_time desc
|
|
</select>
|
|
</select>
|
|
|
|
|
|
- <select id="selectZsyzSbbzbListTz" resultMap="ZsyzSbbzbResult">
|
|
|
|
|
|
+ <!--<select id="selectZsyzSbbzbListTz" resultMap="ZsyzSbbzbResult">
|
|
SELECT
|
|
SELECT
|
|
ANY_VALUE(a.id) AS id,
|
|
ANY_VALUE(a.id) AS id,
|
|
ANY_VALUE(a.xmbh) AS xmbh,
|
|
ANY_VALUE(a.xmbh) AS xmbh,
|
|
@@ -973,9 +973,9 @@
|
|
) a
|
|
) a
|
|
GROUP BY
|
|
GROUP BY
|
|
a.xmbh
|
|
a.xmbh
|
|
- </select>
|
|
|
|
|
|
+ </select>-->
|
|
|
|
|
|
- <!--<select id="selectZsyzSbbzbListTz" resultMap="ZsyzSbbzbResult">
|
|
|
|
|
|
+ <select id="selectZsyzSbbzbListTz" resultMap="ZsyzSbbzbResult">
|
|
SELECT
|
|
SELECT
|
|
a.id,
|
|
a.id,
|
|
a.xmbh,
|
|
a.xmbh,
|
|
@@ -1007,7 +1007,7 @@
|
|
) a
|
|
) a
|
|
GROUP BY
|
|
GROUP BY
|
|
a.xmbh
|
|
a.xmbh
|
|
- </select>-->
|
|
|
|
|
|
+ </select>
|
|
|
|
|
|
|
|
|
|
<insert id="insertZsyzSbbzb" parameterType="ZsyzSbbzb" useGeneratedKeys="true" keyProperty="id">
|
|
<insert id="insertZsyzSbbzb" parameterType="ZsyzSbbzb" useGeneratedKeys="true" keyProperty="id">
|
|
@@ -1201,6 +1201,7 @@
|
|
<if test=" progress == 1">cjd_id = null,</if>
|
|
<if test=" progress == 1">cjd_id = null,</if>
|
|
<if test=" progress == 1">cjd_name = null,</if>
|
|
<if test=" progress == 1">cjd_name = null,</if>
|
|
<if test=" sfwlhxxxm != null">sfwlhxxxm = #{sfwlhxxxm},</if>
|
|
<if test=" sfwlhxxxm != null">sfwlhxxxm = #{sfwlhxxxm},</if>
|
|
|
|
+ <if test="updateTime != null">update_time = #{updateTime},</if>
|
|
</trim>
|
|
</trim>
|
|
where id = #{id}
|
|
where id = #{id}
|
|
</update>
|
|
</update>
|