| | |
| | | <result column="update_time" property="updateTime" /> |
| | | <result column="drag_sort" property="dragSort" /> |
| | | <result column="is_quality" property="isQuality" /> |
| | | <result column="type" property="type" /> |
| | | <result column="plan_person" property="planPerson" /> |
| | | <result column="executor" property="executor" /> |
| | | <result column="create_user" property="createUser" /> |
| | | <result column="dept_id" property="deptId" /> |
| | | </resultMap> |
| | |
| | | p.product_name as productName, |
| | | pm.model, |
| | | pm.model as specificationName, |
| | | pm.unit |
| | | pm.unit, |
| | | sp.staff_name as planPersonName, |
| | | se.staff_name as executorName |
| | | from technology_routing_operation tro |
| | | left join technology_operation top2 on tro.technology_operation_id = top2.id |
| | | left join product_model pm on tro.product_model_id = pm.id |
| | | left join product p on pm.product_id = p.id |
| | | left join staff_on_job sp on tro.plan_person = sp.id |
| | | left join staff_on_job se on tro.executor = se.id |
| | | <where> |
| | | <if test="c != null"> |
| | | <if test="c.id != null"> |
| | |
| | | p.product_name as productName, |
| | | pm.model, |
| | | pm.model as specificationName, |
| | | pm.unit |
| | | pm.unit, |
| | | sp.staff_name as planPersonName, |
| | | se.staff_name as executorName |
| | | from technology_routing_operation tro |
| | | left join technology_operation top2 on tro.technology_operation_id = top2.id |
| | | left join product_model pm on tro.product_model_id = pm.id |
| | | left join product p on pm.product_id = p.id |
| | | left join staff_on_job sp on tro.plan_person = sp.id |
| | | left join staff_on_job se on tro.executor = se.id |
| | | <where> |
| | | <if test="c != null"> |
| | | <if test="c.id != null"> |
| | |
| | | p.product_name as productName, |
| | | pm.model, |
| | | pm.model as specificationName, |
| | | pm.unit |
| | | pm.unit, |
| | | sp.staff_name as planPersonName, |
| | | se.staff_name as executorName |
| | | from technology_routing_operation tro |
| | | left join technology_operation top2 on tro.technology_operation_id = top2.id |
| | | left join product_model pm on tro.product_model_id = pm.id |
| | | left join product p on pm.product_id = p.id |
| | | left join staff_on_job sp on tro.plan_person = sp.id |
| | | left join staff_on_job se on tro.executor = se.id |
| | | where tro.id = #{id} |
| | | limit 1 |
| | | </select> |