错误 #7551
设备台账--添加设备,RFID标识编辑后,创建设备报错:rf_id字段不存在
描述
测试地址:
http://192.168.64.14:8081/ledger/facility
前置条件:
所用项目:万达测试
步骤:
1.进入台账管理-设备台账
2.点击【添加设备】,设备类别:空调机组
3.输入本地名称:111,RFID标识:111111,点【创建设备】
测试结果:
toast报错(见附图),### Error updating database. Cause: org.postgresql.util.PSQLException: 错误: 关系 "equipment" 的 "rf_id" 字段不存在 位置:61 ### The error may exist in com/persagy/mybatis/IMybatisMapper.java (best guess) ### The error may involve com.persagy.mybatis.IMybatisMapper.insert-Inline ### The error occurred while setting parameters ### SQL: INSERT INTO "equipment" ("project_id", "id", "local_name", "rf_id", "name", "class_code") VALUES (?, ?, ?, ?, ?, ?) ### Cause: org.postgresql.util.PSQLException: 错误: 关系 "equipment" 的 "rf_id" 字段不存在 位置:61 ; bad SQL grammar []; nested exception is org.postgresql.util.PSQLException: 错误: 关系 "equipment" 的 "rf_id" 字段不存在 位置:61
预期结果:
不应出现报错
文件