| | |
| | | <result property="name" column="techName"/> |
| | | </resultMap> |
| | | <select id="chooseTechFath" resultMap="chooseTechFathMap"> |
| | | select id techTemId, |
| | | select id techTemId, |
| | | name techName, |
| | | father techFather |
| | | from mom_ocean.technology_template |
| | |
| | | select technical_model.father, |
| | | technical_model.name, |
| | | unit, |
| | | technology_template.id, |
| | | technology_template.name techName, |
| | | technology_template.father techFather, |
| | | type |
| | |
| | | <!--删除根据工艺路线id--> |
| | | <update id="delTeMoByTechId"> |
| | | update mom_ocean.technical_model |
| | | set state=0 |
| | | where tech_tem_id=#{id} |
| | | set state=0 |
| | | where tech_tem_id = #{id} |
| | | </update> |
| | | |
| | | <!--批量删除根据工艺路线id--> |