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个回答

   已解决  
    :
<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>
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐