nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for propert named 'ITEM_ID' in 'class java.lang.String'

nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for propert

nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for propert

Xml映射文件配置(部分)

nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for propert

<insert id="insertBatch" parameterType="java.util.List" flushCache="true">
   <![CDATA[ INSERT INTO OA_PM_PERSON_INPUT_ITEM(
    ITEM_ID,
    INPUT_ID,
    INPUT_STATUS,
    INPUT_TIME,
    PROJECT_ID
)
  ]]>
   <foreach collection="list" item="item" index="index" separator="UNION ALL">
      (SELECT
      (SELECT TO_CHAR(COUNT(item_id) + 1) FROM OA_PM_PERSON_INPUT_ITEM),
      (SELECT TO_CHAR(COUNT(input_id) + 1) FROM OA_PM_PERSON_INPUT),
      #{item.input_status,jdbcType=VARCHAR},
      #{item.input_time,jdbcType=DATE},
      #{item.project_id,jdbcType=VARCHAR}
      FROM DUAL)
   </foreach>
</insert>

这是Mybatis Xml映射文件配置,映射文件与前台的保持一致,包括大小写

nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for propert

相关文章:

  • 2022-12-23
  • 2021-11-11
  • 2022-01-01
  • 2021-12-07
  • 2021-06-15
  • 2021-08-17
  • 2021-04-07
  • 2021-09-11
猜你喜欢
  • 2021-06-24
  • 2021-11-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案