XiaoRuby
2023-09-09 4ad61e4c257621124625a89853eaa8334a11b0be
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},'%')