zss
2023-09-15 cd5b5908546c3d6c98e7aec607af8db1f8565495
base-server/src/main/resources/mapper/TechniqueModelMapper.xml
@@ -12,6 +12,18 @@
        <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,
@@ -23,6 +35,7 @@
             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