zss
2023-09-11 19b596d3c05b1ca7ff80d8b802e7f6e03ad77dad
base-server/src/main/resources/mapper/TechnicalModelMapper.xml
@@ -30,7 +30,7 @@
    <resultMap id="selectAllTechNamTowMap" type="map">
        <id property="id" column="id"/>
        <result property="name" column="name"/>
        <result property="name" column="unit"/>
        <result property="unit" column="unit"/>
    </resultMap>
    <select id="selectAllTechNam" resultMap="selectAllTechNamMap">
        select id,
@@ -52,7 +52,7 @@
        <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
@@ -73,6 +73,7 @@
        select technical_model.father,
               technical_model.name,
               unit,
               technology_template.id,
               technology_template.name   techName,
               technology_template.father techFather,
               type
@@ -93,8 +94,8 @@
    <!--删除根据工艺路线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-->