How to write data type in ibatis

create_time in the oracle database is of type data. The entity class is defined as String type. So

ibatis 中的sql为:
<isNotNull prepend="and" property="caseStartTime">
           iccsc5.CREATE_TIME <![CDATA[ >=]]> to_date(#caseStartTime#,'yyyy/MM/dd HH24:MI:SS')
      </isNotNull>
      <isNotNull prepend="and" property="caseEndTime">
          iccsc5.CREATE_TIME <![CDATA[ <=]]> to_date(#caseEndTime#,'yyyy/MM/dd HH24:MI:SS')
      </isNotNull>

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326148354&siteId=291194637