mybatis_调用存储过程

    <!-- 调用存储过程 -->
    <select id="callCalendarInfo" statementType="CALLABLE" resultMap="BaseResultMap">
        {call create_calendar(
           #{date1},#{date2},#{orgId}
        )}
    </select>
   <!-- dao -->
   void callCalendarInfo(@Param("date1") String date1,@Param("date2") String date2,@Param("orgId") Integer orgId);

 

posted @ 2020-08-12 11:23  LQ_2017  阅读(43)  评论(0)    收藏  举报