weixin_36882430
weixin_36882430
采纳率37%
2017-02-09 10:07 阅读 2.4k

sqlMap:no parameter map named java.util.Map

com.ibatis.sqlmap.client.SqlMapException: There is no parameter map named java.util.Map in this SqlMap.

<select id="queryCompanyInfoBycompanyId" parameterClass="java.util.Map"
    resultMap="companyInfoResult">
        select
    <include refid="companyInfo.infoColumn" />
        ,ca.gmt_last_login as gmt_last_login,
        cfl.auditor,cfl.fail_reason_search from company_info ci 
        left join company_account ca on ca.company_id=ci.id  
        left join certification_fail_log cfl on cfl.company_id=ci.id;
    <include refid="companyInfo.whereCaulseAdmin" />
    <include refid="common.pageOrderBy" />
    <include refid="common.pageLimit" />
</select>
  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

1条回答 默认 最新

  • 已采纳
    weixin_36882430 weixin_36882430 2017-02-10 09:04
       已解决  
        :
    <select id="queryInfo" parameterClass="java.util.Map"
        resultMap="companyInfoReasultDO">
            select
        <include refid="companyInfo.infoColumn" />
            ,ca.gmt_last_login as gmt_last_login,
            cfl.auditor,cfl.fail_reason_search 
            from company_info ci 
            left join company_account ca on ca.company_id=ci.id  
            left join certification_fail_log cfl on cfl.company_id=ci.id
        <include refid="companyInfo.whereCaulseAdmin" />
        <include refid="common.pageOrderBy" />
        <include refid="common.pageLimit" />
    </select>
    
    点赞 评论 复制链接分享

相关推荐