服务器未知运行时异常: 
### Error querying database.  Cause: java.sql.SQLSyntaxErrorException: Unknown column 'deptid' in 'where clause'
### The error may exist in URL [jar:file:/D:/software/casic-metering-eqpt-api-1.0.0.0/lib/casic-metering-dao-1.0.0.0.jar!/mapper/board/NoticeBoardMapper.xml]
### The error may involve defaultParameterMap
### The error occurred while setting parameters
### SQL: WITH latest_relation AS (SELECT * FROM biz_business_order_sample_relation a WHERE id = (SELECT max(id) FROM biz_business_order_sample_relation b WHERE a.sample_id = b.sample_id)) SELECT e.id AS equipmentId, e.dept_id AS deptId, d.FULL_NAME AS deptname, e.usage_status AS usageStatus, e.equipment_type AS equipmentType, e.certificate_valid AS certificateValid, r.sample_status AS latestSampleStatus, IF(EXISTS (SELECT id FROM biz_business_order_sample_relation tmp WHERE tmp.sample_id = e.id AND YEAR(tmp.update_time) = YEAR(NOW()) AND tmp.sample_status IN (?, ?)), 1, 0) AS yearChecked FROM eqpt_equipment_info e LEFT JOIN latest_relation r ON e.id = r.sample_id LEFT JOIN sys_dept d ON e.dept_id = d.id WHERE e.is_del = '0' AND e.equipment_type = ? AND deptid IN (1702481190331166721)
### Cause: java.sql.SQLSyntaxErrorException: Unknown column 'deptid' in 'where clause'
; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: Unknown column 'deptid' in 'where clause'