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 @@ ...@@ -172,8 +172,8 @@
a.delete_flag = '0' a.delete_flag = '0'
<include refid="tFascTemplate_where"/> <include refid="tFascTemplate_where"/>
</where> </where>
ORDER BY CASE WHEN a.sign_name = '安徽皖信人力资源管理有限公司' THEN 0 ELSE 1 END ORDER BY CASE WHEN a.sign_name = '安徽皖信人力资源管理有限公司' THEN 1 ELSE 0 END DESC
,a.fasc_create_time ASC ,a.fasc_create_time DESC
</select> </select>
<!--tFascTemplate简单分页查询--> <!--tFascTemplate简单分页查询-->
...@@ -185,8 +185,8 @@ ...@@ -185,8 +185,8 @@
a.delete_flag = '0' a.delete_flag = '0'
<include refid="tFascTemplate_where"/> <include refid="tFascTemplate_where"/>
</where> </where>
ORDER BY CASE WHEN a.sign_name = '安徽皖信人力资源管理有限公司' THEN 0 ELSE 1 END ORDER BY CASE WHEN a.sign_name = '安徽皖信人力资源管理有限公司' THEN 1 ELSE 0 END DESC
,a.fasc_create_time ASC ,a.fasc_create_time DESC
</select> </select>
<!--全量--> <!--全量-->
<select id="getTFascTemplateListAll" resultMap="tFascTemplateMap"> <select id="getTFascTemplateListAll" resultMap="tFascTemplateMap">
...@@ -197,8 +197,8 @@ ...@@ -197,8 +197,8 @@
1=1 1=1
<include refid="tFascTemplate_where"/> <include refid="tFascTemplate_where"/>
</where> </where>
ORDER BY CASE WHEN a.sign_name = '安徽皖信人力资源管理有限公司' THEN 0 ELSE 1 END ORDER BY CASE WHEN a.sign_name = '安徽皖信人力资源管理有限公司' THEN 1 ELSE 0 END DESC
,a.fasc_create_time ASC ,a.fasc_create_time DESC
</select> </select>
<!--导出--> <!--导出-->
<select id="getTFascTemplateExport" resultMap="tFascTemplateExportMap"> <select id="getTFascTemplateExport" resultMap="tFascTemplateExportMap">
...@@ -226,8 +226,8 @@ ...@@ -226,8 +226,8 @@
</foreach> </foreach>
</if> </if>
</where> </where>
ORDER BY CASE WHEN a.sign_name = '安徽皖信人力资源管理有限公司' THEN 0 ELSE 1 END ORDER BY CASE WHEN a.sign_name = '安徽皖信人力资源管理有限公司' THEN 1 ELSE 0 END DESC
,a.fasc_create_time ASC ,a.fasc_create_time DESC
<if test="tFascTemplate != null"> <if test="tFascTemplate != null">
<if test="tFascTemplate.limitStart != null"> <if test="tFascTemplate.limitStart != null">
limit #{tFascTemplate.limitStart},#{tFascTemplate.limitEnd} limit #{tFascTemplate.limitStart},#{tFascTemplate.limitEnd}
...@@ -281,8 +281,8 @@ ...@@ -281,8 +281,8 @@
AND a.sign_name like concat('%', #{signName}, '%') AND a.sign_name like concat('%', #{signName}, '%')
</if> </if>
</where> </where>
ORDER BY CASE WHEN a.sign_name = '安徽皖信人力资源管理有限公司' THEN 0 ELSE 1 END ORDER BY CASE WHEN a.sign_name = '安徽皖信人力资源管理有限公司' THEN 1 ELSE 0 END DESC
,a.fasc_create_time ASC ,a.fasc_create_time DESC
</select> </select>
</mapper> </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