Mybatis 报Open quote is expected for attribute "id" associated with an element type "select".错误
错误写法如下:
<select id=queryTransferLogNotAgreecount resultType="int">
select count(1) from arc_transfer_log where taskStatus=2
</select>
正确写法如下:
<select id="queryTransferLogNotAgreecount" resultType="int">
select count(1) from arc_transfer_log where taskStatus=2
</select>
一定要写引号!一定要写引号!一定要写引号!