0
在mybatis中,我可以在resultMap構造函數中使用輸入@Param對象嗎?mybatis在構造函數中使用輸入參數作爲參數
int test(@Param("param1") someObj obj, @Param("str") String str);
<resultMap id="testResultMap" type="com.test.someOtherObject">
<constructor>
<idArg column="id" javaType="String"/>
<arg column="<use the input param obj of type someObj>" javaType="com.test.someObj"/>