写错了
end sp_update_adsluserinfo_new; 应该为end test;

解决方案 »

  1.   

    <procedure id=....>
    {call test()}
    <procedure>...
    和调用其它statement一样调用啊
      

  2.   

    <procedure id="getList" resultClass="java.util.HashMap" parameterClass="proposition">
            {call p_show('select top 100 percent * from proposition
            <dynamic prepend="WHERE">
                <isGreaterThan prepend="AND" property="p_id" compareValue="0">
                    p_id=$p_id$
                </isGreaterThan>
            </dynamic>
            order by p_id desc',#pagesize#,#pagenum#)}
        </procedure>
    queryForList("Proposition.getList", page.getObj())