查询物模型属性sql修改
This commit is contained in:
parent
daea8f3196
commit
1fae1e0fbe
@ -28,13 +28,13 @@
|
|||||||
<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 == ''">
|
|
||||||
order by t.porder asc
|
|
||||||
</if>
|
|
||||||
</where>
|
</where>
|
||||||
|
<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 == ''">
|
||||||
|
order by t.porder asc
|
||||||
|
</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="querySysIotModelFieldByModelId" resultType="java.lang.Long">
|
<select id="querySysIotModelFieldByModelId" resultType="java.lang.Long">
|
||||||
|
Loading…
Reference in New Issue
Block a user