fix(aed): 维护映射中的状态字段引用错误(如果对应的数据库字段,双引号内大小写要与数据库一致)

- 移除AedEquipmentMaintainMapper.xml中status字段的双引号引用
- 移除WatchDataMapper.xml中type字段的双引号引用
- 确保数据库字段引用的一致性,避免SQL语法错误
This commit is contained in:
hejiayang
2026-03-27 17:33:34 +08:00
parent 0fed763499
commit 66795541c0
2 changed files with 2 additions and 2 deletions
@@ -12,7 +12,7 @@
aem.host_model as hostModel,
aem.host_serial_num as hostSerialNum,
aem.battery_life as batteryLife,
aem."status" AS STATUS,
aem.status AS STATUS,
aem.control_org_name AS controlDept,
aem.manage_user_name AS custodian,
aem.manage_user_mobile AS custodianTel,
@@ -160,7 +160,7 @@
) where rn = 1)
where wd.userid = #{userid,jdbcType=VARCHAR}
and wd.watch_no = #{watchNo,jdbcType=VARCHAR}
and wd."type" = 1;
and wd.type = 1;
</update>
<insert id="insertSpo2">