ariesy 导出增加根据组织编码查询税号

release
yefei 2 years ago
parent 73711b52fe
commit 4ee10e9c3f
  1. 33
      dxhy-erp/src/main/resources/mapper/InvoiceDetails.xml

@ -0,0 +1,33 @@
<?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.dxhy.erp.dao.InvoiceDetailDao">
<select id="selectVehicleSaleInvoice" parameterType="java.lang.String"
resultType="com.dxhy.erp.entity.TDxVehicleSaleInvoice">
select id,
uuid,
buyer_id_num,
vehicle_type,
factory_model,
product_place,
certificate,
certificate_import,
inspection_num,
engine_no,
vehicle_no,
phone,
buyer_bank,
tax_rate
from t_dx_vehicle_sale_invoice
where uuid = #{uuid}
</select>
<select id="selectVehicleInvoiceInfo" parameterType="java.lang.String"
resultType="com.dxhy.erp.entity.TDxVehicleSaleInvoice">
select *
from t_dx_vehicle_sale_invoice
where uuid = #{uuid}
</select>
</mapper>
Loading…
Cancel
Save