Browse Source

处理ResultMap写java.lang.Double的错误

chenw 7 years ago
parent
commit
93febfccf9

+ 1 - 1
applications/document/document-server/src/main/resources/mapper/BankinformationMapper.xml

@@ -298,7 +298,7 @@
     where bk_bankcode = #{bankcode,jdbcType=VARCHAR}
   </update>
 
-  <select id="selectThisamount" resultMap="java.lang.Double" parameterType="com.usoftchina.saas.document.entities.Bankinformation">
+  <select id="selectThisamount" resultType="java.lang.Double" parameterType="com.usoftchina.saas.document.entities.Bankinformation">
    select bk_thisamount from bankinformation
     where bk_bankcode = #{bankcode,jdbcType=VARCHAR}
   </select>