09-02-完善税率字段对应sql
This commit is contained in:
		| @ -17,6 +17,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | ||||
|         <result column="unit" property="unit"/> | ||||
|         <result column="quantity" property="quantity"/> | ||||
|         <result column="unit_price" property="unitPrice"/> | ||||
|         <result column="tax_rate" property="taxRate"/> | ||||
|         <result column="remark" property="remark"/> | ||||
|     </resultMap> | ||||
|     <update id="updateBatchByIdByNull"> | ||||
| @ -50,6 +51,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | ||||
|         b.unit as unit, | ||||
|         b.quantity as quantity, | ||||
|         b.unit_price as unitPrice, | ||||
|         b.tax_rate as taxRate, | ||||
|         b.remark as remark, | ||||
|          0 as level | ||||
|         from bus_billofquantities_limit_list b | ||||
| @ -94,6 +96,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | ||||
|             bbll.unit as unit, | ||||
|             bbll.quantity as quantity, | ||||
|             bbll.unit_price as unitPrice, | ||||
|             bbll.tax_rate as taxRate, | ||||
|             bbll.remark as remark, | ||||
|             SUM(btpll.num) AS useQuantity | ||||
|         FROM | ||||
| @ -133,6 +136,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | ||||
|         bbll.specification as specification, | ||||
|         bbll.unit as unit, | ||||
|         bbll.quantity as quantity, | ||||
|         bbll.tax_rate as taxRate, | ||||
|         bbll.unit_price as unitPrice, | ||||
|         bbll.remark as remark, | ||||
|         SUM(btpll.num) AS useQuantity | ||||
|  | ||||
		Reference in New Issue
	
	Block a user