Commit 61124e3e authored by 廖旭伟's avatar 廖旭伟

绩效汇总一张表排序问题处理

parent 9047982f
...@@ -558,12 +558,12 @@ ...@@ -558,12 +558,12 @@
</select> </select>
<sql id="_orderColsNew_"> <sql id="_orderColsNew_">
order by order by
CONVERT(a.salaName USING gbk),CONVERT(a.deptName USING gbk),CONVERT(a.staffName USING gbk)
<if test="orderColList != null and !orderColList.isEmpty()"> <if test="orderColList != null and !orderColList.isEmpty()">
<foreach collection="orderColList" open="" close="," index="index" item="item" separator=","> <foreach collection="orderColList" open="," close="" index="index" item="item" separator=",">
a.${item.colName} ${item.sortKind} a.${item.colName} ${item.sortKind}
</foreach> </foreach>
</if> </if>
CONVERT(a.salaName USING gbk),CONVERT(a.deptName USING gbk),CONVERT(a.staffName USING gbk)
</sql> </sql>
......
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