|
|
@@ -533,7 +533,15 @@
|
|
|
left join official_fee_price c on a.patent_type =c.patent_type and b.patent_name_type =c.`type`
|
|
|
where a.id= #{tid}
|
|
|
</select> -->
|
|
|
- <select id="selectByTidGetDtails" resultType="com.goafanti.organization.bo.ProjectTypePuls">
|
|
|
+ <select id="selectByTidGetListDtails" resultType="com.goafanti.organization.bo.ProjectTypePuls">
|
|
|
+ select a.id,a.official_cost officialCost,a.cost_reduction costReduction ,a.commodity_quantity quantity ,a.patent_type patentType,b.patent_name_type projectType,
|
|
|
+ c.amount officialAmount,c.proportion85 from t_order_task x left join t_order_task a on x.order_no =a.order_no left join t_order_outsource b on a.id=b.tid
|
|
|
+left join official_fee_price c on a.patent_type =c.patent_type and b.patent_name_type =c.`type`
|
|
|
+where x.id= #{tid}
|
|
|
+ </select>
|
|
|
+
|
|
|
+
|
|
|
+ <select id="selectByTidGetDtails" resultType="com.goafanti.organization.bo.ProjectTypePuls">
|
|
|
select a.id,a.official_cost officialCost,a.cost_reduction costReduction ,a.commodity_quantity quantity ,a.patent_type patentType,b.patent_name_type projectType,
|
|
|
c.amount officialAmount,c.proportion85 from t_order_task a left join t_order_outsource b on a.id=b.tid
|
|
|
left join official_fee_price c on a.patent_type =c.patent_type and b.patent_name_type =c.`type`
|