我无法从程序中取回价值。它在表上进行插入,并且必须返回一个代码。数据插入正确,但返回的代码始终为空。
<parameterMap id="callParameters" type="Call" >
<parameter property="client" jdbcType="VARCHAR" mode="IN"/>
<parameter property="originalAnalyst" jdbcType="VARCHAR" mode="IN"/>
<parameter property="currentAnalyst" jdbcType="VARCHAR" mode="IN"/>
<parameter property="analystType" jdbcType="INTEGER" mode="IN"/>
<parameter property="category" jdbcType="VARCHAR" mode="IN"/>
<parameter property="product" jdbcType="VARCHAR" mode="IN"/>
<parameter property="process" jdbcType="VARCHAR" mode="IN"/>
<parameter property="problem" jdbcType="VARCHAR" mode="IN"/>
<parameter property="priority" jdbcType="VARCHAR" mode="IN"/>
<parameter property="status" jdbcType="VARCHAR" mode="IN"/>
<parameter property="serviceType" jdbcType="VARCHAR" mode="IN"/>
<parameter property="abstract" jdbcType="VARCHAR" mode="IN" />
<parameter property="descript" jdbcType="VARCHAR" mode="IN"/>
<parameter property="nullField" jdbcType="VARCHAR" mode="IN"/>
<parameter property="returnField" jdbcType="VARCHAR" mode="OUT"/>
<parameter property="callNumber" jdbcType="VARCHAR" mode="OUT" />
<parameter property="currentDate" jdbcType="TIMESTAMP" mode="IN" />
<parameter property="constant1" jdbcType="INTEGER" mode="IN"/>
<parameter property="constant0" jdbcType="INTEGER" mode="IN"/>
</parameterMap>
<select id="open-call" parameterMap="callParameters" resultType="Call" statementType="CALLABLE">
{call ADMAHD30.spr_AutoReq(#{returnField},#{constant1},#{callNumber},#{currentDate},#{client},#{originalAnalyst},#{currentAnalyst},#{analystType},#{category},#{product},#{process},#{problem},#{nullField},#{priority},#{status},#{serviceType},#{abstract},#{descript},#{nullField},#{nullField},#{nullField},#{nullField},#{nullField},#{nullField},#{nullField},#{nullField},#{nullField},#{nullField},#{nullField},#{constant0})}
</select>
所有这些属性都正确映射到我的对象中。有什么不对?