| | |
| | | <result property="projectName" column="project_name" /> |
| | | <result property="deptName" column="dept_name" /> |
| | | <result property="projectCode" column="project_code" /> |
| | | <result property="updateTime" column="update_time" /> |
| | | <result property="id" column="id" /> |
| | | <collection property="projectExpertExportResps" ofType="com.gkhy.system.domain.vo.response.ProjectExpertExportResp" javaType="java.util.List" select="projectExpertExportDataList" |
| | | column="id"/> |
| | |
| | | <result property="billingInstructions" column="billing_instructions" /> |
| | | <result property="travelExpenses" column="travel_expenses" /> |
| | | <result property="accommodationFee" column="accommodation_fee" /> |
| | | <result property="updateTime" column="update_time" /> |
| | | |
| | | </resultMap> |
| | | |
| | |
| | | |
| | | |
| | | <select id="projectExpertExportList" parameterType="Long" resultMap="ProjectExpertExportInfoResult"> |
| | | select a.project_name ,a.dept_name,a.project_code,a.id |
| | | select a.project_name ,a.dept_name,a.project_code,a.id,a.update_time |
| | | from project_management a |
| | | where a.id = #{projectId} |
| | | |
| | |
| | | <select id="projectExpertExportDataList" parameterType="Long" resultMap="ExpertExport"> |
| | | select c.name,c.id_card,c.job,c.title,c.company_name,b.freight_basis,b.billing_instructions, |
| | | b.billing_duration, b.after_tax_amount, b.open_bank, b.bank_card,b.taxable_income,b.income_tax_payable,b.tax_expert_fee,b.travel_expenses,b.accommodation_fee |
| | | ,b.team_leader,b.create_time |
| | | ,b.team_leader,b.create_time,b.update_time |
| | | from project_expert b |
| | | left join sys_expert_info c on b.expert_id = c.id |
| | | where b.project_id = #{id} and b.del_flag = 0 |
| | | union all |
| | | select b.name,b.id_card,'' as job, b.title,b.company_name,b.freight_basis,b.billing_instructions, |
| | | b.billing_duration, b.after_tax_amount, b.open_bank, b.bank_card,b.taxable_income,b.income_tax_payable,b.tax_expert_fee,b.travel_expenses,b.accommodation_fee |
| | | ,b.team_leader,b.create_time |
| | | ,b.team_leader,b.create_time,b.update_time |
| | | from out_project_expert b |
| | | where b.project_id = #{id} and b.del_flag = 0 |
| | | |