|
@@ -73,7 +73,7 @@
|
|
|
from sms_device a
|
|
|
left join sms_device_attribute b on a.DEVICE_TYPE_ID=b.DEVICE_TYPE_ID and b.`STATUS`=1
|
|
|
left join sms_device_parm p on p.DEVICE_ID=a.id and p.ATTRIBUTE_ID=b.ID and p.`STATUS`=1
|
|
|
- where a.id=#{id} and p.IS_ARTWORK=1 order by p.seq asc
|
|
|
+ where a.id=#{id} and p.IS_ARTWORK=1 order by p.seq is null,p.seq asc
|
|
|
</select>
|
|
|
|
|
|
<select id="selectById" resultType="com.huaxu.entity.DeviceParmEntity">
|