几天前,在写一个update语句
因错写了coId为comId 导致服务启动不起来。查了好久才发现,原来people中对应的字段名为coId
原来ibatis在启动时会自动检查属是否正确 mark一下
<update id="A" parameterClass="people">
update A_TEMP set PNAME = #name# , POUTTYPE = #outtype# where P_ID = #coId# and PCODE = #jpcode#
</update>
因错写了coId为comId 导致服务启动不起来。查了好久才发现,原来people中对应的字段名为coId
原来ibatis在启动时会自动检查属是否正确 mark一下