| | |
| | | select a.dept_name deptName,c.name expertName,b.tax_expert_fee expertFee,a.create_time createTime,a.project_name projectName, |
| | | b.major_dangers majorDangers,b.general_hazards generalHazards,b.travel_expenses travelExpenses,b.accommodation_fee accommodationFee |
| | | from project_management a |
| | | left join project_expert b on a.id = b.project_id and b.del_flag = 0 and b.evaluation_state = 1 |
| | | left join sys_expert_info c on b.expert_id = c.id |
| | | inner join project_expert b on a.id = b.project_id and b.del_flag = 0 and b.evaluation_state = 1 |
| | | inner join sys_expert_info c on b.expert_id = c.id |
| | | where a.del_flag = 0 and a.state = 4 and a.evaluation_state = 1 |
| | | <if test="projectName != null and projectName != ''"> and a.project_name like concat('%', #{projectName}, '%')</if> |
| | | <if test="projectCode != null and projectCode != ''"> and a.project_code like concat('%', #{projectCode}, '%')</if> |
| | |
| | | select a.dept_name deptName,b.name expertName,b.tax_expert_fee expertFee,a.create_time createTime,a.project_name projectName, |
| | | b.major_dangers majorDangers,b.general_hazards generalHazards,b.travel_expenses travelExpenses,b.accommodation_fee accommodationFee |
| | | from project_management a |
| | | left join out_project_expert b on a.id = b.project_id and b.del_flag = 0 and b.evaluation_state = 1 |
| | | inner join out_project_expert b on a.id = b.project_id and b.del_flag = 0 and b.evaluation_state = 1 |
| | | where a.del_flag = 0 and a.state = 4 and a.evaluation_state = 1 |
| | | <if test="projectName != null and projectName != ''"> and a.project_name like concat('%', #{projectName}, '%')</if> |
| | | <if test="projectCode != null and projectCode != ''"> and a.project_code like concat('%', #{projectCode}, '%')</if> |
| | |
| | | <select id="projectExpertCheckInfo" parameterType="Long" resultMap="ProjectManagementInfoResult"> |
| | | select a.id,a.step, a.project_name, a.dept_name, a.job_category, a.project_address, a.project_date_start, |
| | | a.project_date_end, a.remark,a.project_check_time,a.state, |
| | | a.project_code,a.expert_num |
| | | a.project_code,a.expert_num,a.create_time |
| | | from project_management a |
| | | where a.id = #{id} |
| | | |