Could not find result map! 坑进坑出---大小写

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.qccr.superassistant.dal.dao.invoice.InvoiceViewDao">


<resultMap id="InvoiceViewDoMap"
type="com.qccr.superassistant.model.dbo.invoice.InvoiceHeadDo">
<result column="env_no" property="envNo" />
<result column="company_name" property="companyName" />
<result column="company_code" property="companyCode" />
<result column="company_Address" property="companyAddress" />
<result column="company_Phone" property="companyPhone" />
<result column="company_Bank_Name" property="companyBankName" />
<result column="company_Bank_Account" property="companyBankAccount" />
<result column="printer_No" property="printerNo" />
<result column="invoice_Id" property="invoiceId" />
<result column="original_Invoice_Id" property="originalInvoiceId" />
<result column="invoice_Apply_No" property="invoiceApplyNo" />
<result column="row_No" property="rowNo" />
<result column="invoice_Type" property="invoiceType" />
<result column="child_Invoice_Type" property="childInvoiceType" />
<result column="control_Option" property="controlOption" />
<result column="reference_Mode" property="referenceMode" />
<result column="billing_Mode" property="billingMode" />
<result column="discount_Way" property="discountWay" />
<result column="invoice_Discount" property="invoiceDiscount" />
<result column="invoice_Is_Red" property="invoiceIsRed" />
<result column="red_Invoice_Note" property="redInvoiceNote" />
<result column="red_Invoice_Apply_Code" property="redInvoiceApplyCode" />
<result column="blue_Invoice_Code" property="blueInvoiceCode" />
<result column="blue_Invoice_No" property="blueInvoiceNo" />
<result column="invoice_User_Id" property="invoiceUserId" />
<result column="buyer_Name" property="buyerName" />
<result column="buyer_Code" property="buyerCode" />
<result column="buyer_Address" property="buyerAddress" />
<result column="buyer_Phone" property="buyerPhone" />
<result column="buyer_Bank_Name" property="buyerBankName" />
<result column="buyer_Bank_Account" property="buyerBankAccount" />
<result column="buyer_Email" property="buyerEmail" />
<result column="glod_Buyer_Phone" property="glodBuyerPhone" />
<result column="invoice_Memo" property="invoiceMemo" />
<result column="invoice_Note" property="invoiceNote" />
<result column="invoice_Drawer" property="invoiceDrawer" />
<result column="invoice_Checker" property="invoiceChecker" />
<result column="invoice_Payee" property="invoicePayee" />
<result column="draw_Submit_Time" property="drawSubmitTime" />
<result column="bill_Date" property="billDate" />
<result column="submit_time" property="time" />
<result column="Invoice_Source" property="InvoiceSource" />
<result column="bussiness_Code" property="bussinessCode" />
<result column="tax_Type" property="taxType" />
<result column="invoice_Status" property="invoiceStatus" />
<result column="invoice_No" property="invoiceNo" />
<result column="ar_Invoice_No" property="arInvoiceNo" />
<result column="gold_Invoice_No" property="goldInvoiceNo" />
<result column="tax_Right" property="taxRight" />
<result column="discount_Row_Num" property="discountRowNum" />
<result column="tax_Goods_Sum" property="taxGoodsSum" />
<result column="no_Tax_Goods_Sum" property="noTaxGoodsSum" />
<result column="tax_Sum" property="taxSum" />
<result column="real_Tax_Goods_Sum" property="realTaxGoodsSum" />
<result column="real_No_Tax_Goods_Sum" property="realNoTaxGoodsSum" />
<result column="real_Tax_Sum" property="realTaxSum" />
<result column="invoice_print_status" property="invoicePrintStatus" />
<collection property="goods" column="invoice_Id"
select="findInvoiceDetailByInvoiceId" />
</resultMap>




<resultMap id="InvoiceDetailDoMap"
type="com.qccr.superassistant.model.dbo.invoice.InvoiceDetailDo">
<result column="goods_Id" property="goodsId" />
<result column="invoice_Id" property="invoiceId" />
<result column="invoice_Apply_No" property="invoiceApplyNo" />
<result column="row_No" property="rowNo" />
<result column="line_No" property="lineNo" />
<result column="goods_Name" property="goodsName" />
<result column="goods_Spec" property="goodsSpec" />
<result column="goods_Nnit" property="goodsNnit" />
<result column="tax_Category_Code" property="taxCategoryCode" />
<result column="company_Self_Code" property="companySelfCode" />
<result column="preferential_Sign" property="preferentialSign" />
<result column="preferential_Content" property="preferentialContent" />
<result column="non_Tax_Sign" property="nonTaxSign" />
<result column="deduction" property="deduction" />
<result column="goods_Num" property="goodsNum" />
<result column="tax_Unit_Price" property="taxUnitPrice" />
<result column="no_Tax_Unit_Price" property="noTaxUnitPrice" />
<result column="tax_Goods_Sum" property="taxGoodsSum" />
<result column="no_Tax_Goods_Sum" property="noTaxGoodsSum" />
<result column="tax_Sum" property="taxSum" />
<result column="tax_rat" property="taxRat" />
<result column="real_Tax_Unit_Price" property="realTaxUnitPrice" />
<result column="real_No_Tax_Unit_Price" property="realNoTaxUnitPrice" />
<result column="real_Tax_Goods_Sum" property="realTaxGoodsSum" />
<result column="real_No_Tax_Goods_Sum" property="realNoTaxGoodsSum" />
<result column="real_Tax_Sum" property="realTaxSum" />

</resultMap>



<select id="getInvoiceFromView" resultMap="InvoiceviewDoMap">
SELECT *
FROM
v_invoice_head_add_new
</select>


<select id="findInvoiceDetailByInvoiceId" parameterType="java.lang.Long"
resultMap="InvoiceDetailDoMap">
SELECT
*
FROM v_invoice_detail_add_new
WHERE invoice_Id =
#{invoice_Id}

</select>




异常:org.apache.ibatis.builder.IncompleteElementException: Could not find result map    InvoiceviewDoMap



看了半个小时   发现是大小写的问题!!!!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值