原因:
<id name="id" type="java.lang.Integer">
<column name="ID" precision="22" scale="0" />
<generator class="sequence">
<param name="sequence">NEWS_ID_SEQ</param>
</generator>
</id>
把红色部分变成
<id name="id" type="java.lang.Long">
<column name="ID" precision="22" scale="0" />
<generator class="sequence">
<param name="sequence">NEWS_ID_SEQ</param>
</generator>
</id>、
把dao和service里对应的Integer改成Long