zss
2023-09-11 19b596d3c05b1ca7ff80d8b802e7f6e03ad77dad
base-server/src/main/resources/mapper/TechnologyTemplateMapper.xml
@@ -16,7 +16,7 @@
        <result property="name" column="father"/>
    </resultMap>
    <select id="selectAllTechTem" resultMap="selectAllTechTemMap">
        select  e.name elname,
        select e.name elname,
        father
        from mom_ocean.technology_template t,
        mom_ocean.element e,
@@ -24,6 +24,7 @@
        where e.id = et.element_id
        and t.id = tech_tem_id
        and t.state = 1
        and et.state=1
        and type=#{type}
        <if test="message!=null and message!=''">
            and father like concat('%',#{message},'%')
@@ -45,6 +46,7 @@
        select distinct father
        from mom_ocean.technology_template
        where state = 1
          and type = #{type}
    </select>
    <!--根据id查看详情-->