| | |
| | | <result property="unit" column="unit"/> |
| | | <result property="name" column="name"/> |
| | | </resultMap> |
| | | <!--根据技术指标id批量删除--> |
| | | <update id="delTechById"> |
| | | update mom_ocean.technique_model |
| | | set state=0 |
| | | where technical_model_id = #{id} |
| | | </update> |
| | | <!--根据技术指标id批量删除--> |
| | | <update id="delAllTech"> |
| | | update mom_ocean.technique_model |
| | | set state=0 |
| | | where technical_model_id in (${id}) |
| | | </update> |
| | | <select id="selectAllTeque" resultMap="selectAllTequeMap"> |
| | | select d.name dname, |
| | | qm.id, |
| | |
| | | mom_ocean.device d, |
| | | mom_ocean.technology_template tt |
| | | where qm.state = 1 |
| | | and d.state = 1 |
| | | and d.id = qm.device_id |
| | | and cm.id = qm.technical_model_id |
| | | and tt.id = qm.tech_tem_id |