物模型属性字段排序修改
This commit is contained in:
parent
890712eaa7
commit
6a7e2bf8b7
@ -25,13 +25,12 @@
|
|||||||
<if test="info.attributeCode != null and info.attributeCode != ''">
|
<if test="info.attributeCode != null and info.attributeCode != ''">
|
||||||
and t.attribute_code like concat('%',#{info.attributeCode},'%')
|
and t.attribute_code like concat('%',#{info.attributeCode},'%')
|
||||||
</if>
|
</if>
|
||||||
<if test="info.orderColumn != null and info.orderType != ''">
|
|
||||||
order by ${info.orderColumn} ${info.orderType}
|
|
||||||
</if>
|
|
||||||
<if test="info.attributeType != null and info.attributeType != ''">
|
<if test="info.attributeType != null and info.attributeType != ''">
|
||||||
and t.attribute_type = #{info.attributeType}
|
and t.attribute_type = #{info.attributeType}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="info.orderColumn != null and info.orderType != ''">
|
||||||
|
order by ${info.orderColumn} ${info.orderType}
|
||||||
|
</if>
|
||||||
<if test="info.orderColumn == null or info.orderColumn == '' or info.orderType == null or info.orderType == ''">
|
<if test="info.orderColumn == null or info.orderColumn == '' or info.orderType == null or info.orderType == ''">
|
||||||
order by t.porder asc
|
order by t.porder asc
|
||||||
</if>
|
</if>
|
||||||
|
Loading…
Reference in New Issue
Block a user