报错内容:
org.apache.ibatis.builder.BuilderException: Could not find value method on SQL annotation. Cause: org.apache.ibatis.builder.BuilderException: Error creating document instance. Cause: org.xml.sax.SAXParseException; The content of elements must consist of well-formed character data or markup.
报错语句:
SELECT DISTINCT patients.p_sid,checkinfo.c_jh_flag,checkinfo.c_sample_hg,checkinfo.c_card_no,
wcjgs = (select count(*) from checkinfo c where c.c_sid = checkinfo.c_sid and isnull(c.c_flag,0) = 0)
FROM patients inner join checkinfo on
patients.p_id = checkinfo.c_p_id and
isnull(checkinfo.c_sample_type,0) = 1 and
isnull(checkinfo.c_type,0) = 1 and
isnull(patients.p_type,1) = 1
and checkinfo.c_sid not in (select dj_min_sid from sampledjmx where dj_xm_sum = -1)
and checkinfo.c_sid not in (select s_sy_sid from bhgbbdj where isnull(s_sy_sid,'') <> '');
解决方法:
详细解答请查看