Commit 129d0dcf authored by fangxinjiang's avatar fangxinjiang

Merge remote-tracking branch 'origin/MVP1.7.21' into MVP1.7.21

parents c6fac992 e76c3712
......@@ -172,8 +172,8 @@
a.delete_flag = '0'
<include refid="tFascTemplate_where"/>
</where>
ORDER BY CASE WHEN a.sign_name = '安徽皖信人力资源管理有限公司' THEN 0 ELSE 1 END
,a.fasc_create_time ASC
ORDER BY CASE WHEN a.sign_name = '安徽皖信人力资源管理有限公司' THEN 1 ELSE 0 END DESC
,a.fasc_create_time DESC
</select>
<!--tFascTemplate简单分页查询-->
......@@ -185,8 +185,8 @@
a.delete_flag = '0'
<include refid="tFascTemplate_where"/>
</where>
ORDER BY CASE WHEN a.sign_name = '安徽皖信人力资源管理有限公司' THEN 0 ELSE 1 END
,a.fasc_create_time ASC
ORDER BY CASE WHEN a.sign_name = '安徽皖信人力资源管理有限公司' THEN 1 ELSE 0 END DESC
,a.fasc_create_time DESC
</select>
<!--全量-->
<select id="getTFascTemplateListAll" resultMap="tFascTemplateMap">
......@@ -197,8 +197,8 @@
1=1
<include refid="tFascTemplate_where"/>
</where>
ORDER BY CASE WHEN a.sign_name = '安徽皖信人力资源管理有限公司' THEN 0 ELSE 1 END
,a.fasc_create_time ASC
ORDER BY CASE WHEN a.sign_name = '安徽皖信人力资源管理有限公司' THEN 1 ELSE 0 END DESC
,a.fasc_create_time DESC
</select>
<!--导出-->
<select id="getTFascTemplateExport" resultMap="tFascTemplateExportMap">
......@@ -226,8 +226,8 @@
</foreach>
</if>
</where>
ORDER BY CASE WHEN a.sign_name = '安徽皖信人力资源管理有限公司' THEN 0 ELSE 1 END
,a.fasc_create_time ASC
ORDER BY CASE WHEN a.sign_name = '安徽皖信人力资源管理有限公司' THEN 1 ELSE 0 END DESC
,a.fasc_create_time DESC
<if test="tFascTemplate != null">
<if test="tFascTemplate.limitStart != null">
limit #{tFascTemplate.limitStart},#{tFascTemplate.limitEnd}
......@@ -281,8 +281,8 @@
AND a.sign_name like concat('%', #{signName}, '%')
</if>
</where>
ORDER BY CASE WHEN a.sign_name = '安徽皖信人力资源管理有限公司' THEN 0 ELSE 1 END
,a.fasc_create_time ASC
ORDER BY CASE WHEN a.sign_name = '安徽皖信人力资源管理有限公司' THEN 1 ELSE 0 END DESC
,a.fasc_create_time DESC
</select>
</mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment