fix(aed): 维护映射中的状态字段引用错误(如果对应的数据库字段,双引号内大小写要与数据库一致)
- 移除AedEquipmentMaintainMapper.xml中status字段的双引号引用 - 移除WatchDataMapper.xml中type字段的双引号引用 - 确保数据库字段引用的一致性,避免SQL语法错误
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@
|
|||||||
aem.host_model as hostModel,
|
aem.host_model as hostModel,
|
||||||
aem.host_serial_num as hostSerialNum,
|
aem.host_serial_num as hostSerialNum,
|
||||||
aem.battery_life as batteryLife,
|
aem.battery_life as batteryLife,
|
||||||
aem."status" AS STATUS,
|
aem.status AS STATUS,
|
||||||
aem.control_org_name AS controlDept,
|
aem.control_org_name AS controlDept,
|
||||||
aem.manage_user_name AS custodian,
|
aem.manage_user_name AS custodian,
|
||||||
aem.manage_user_mobile AS custodianTel,
|
aem.manage_user_mobile AS custodianTel,
|
||||||
|
|||||||
+1
-1
@@ -160,7 +160,7 @@
|
|||||||
) where rn = 1)
|
) where rn = 1)
|
||||||
where wd.userid = #{userid,jdbcType=VARCHAR}
|
where wd.userid = #{userid,jdbcType=VARCHAR}
|
||||||
and wd.watch_no = #{watchNo,jdbcType=VARCHAR}
|
and wd.watch_no = #{watchNo,jdbcType=VARCHAR}
|
||||||
and wd."type" = 1;
|
and wd.type = 1;
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<insert id="insertSpo2">
|
<insert id="insertSpo2">
|
||||||
|
|||||||
Reference in New Issue
Block a user