【代码评审】IoT:固件管理
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="cn.iocoder.yudao.module.iot.dal.mysql.ota.IotOtaUpgradeRecordMapper">
|
||||
|
||||
<!-- TODO @li:看看是不是可以通过 mybatis plus 写哈,更好适配多 db -->
|
||||
<select id="getOtaUpgradeRecordCount" resultType="java.lang.Long">
|
||||
select count(*)
|
||||
from iot_ota_upgrade_record
|
||||
@@ -12,6 +13,7 @@
|
||||
and status = #{status}
|
||||
</select>
|
||||
|
||||
<!-- TODO @li:看看是不是可以通过 mybatis plus 写哈,更好适配多 db -->
|
||||
<select id="getOtaUpgradeRecordStatistics" resultType="java.lang.Long">
|
||||
select count(*)
|
||||
from iot_ota_upgrade_record
|
||||
|
||||
Reference in New Issue
Block a user