zhongrj
2023-12-08 95b938586c9a6b0fe0d57157a999a999c33a0c48
src/main/java/org/springblade/modules/life/mapper/LifeMapper.xml
@@ -28,6 +28,7 @@
        <result column="roll" property="roll"/>
        <result column="loutype" property="loutype"/>
        <result column="mtype" property="mtype"/>
        <result column="addressName" property="addressName"/>
    </resultMap>
@@ -35,8 +36,15 @@
        select * from sys_life where is_deleted = 0
    </select>
    <!--查询设施集合-->
    <select id="selectList" resultType="java.util.HashMap">
        select jd,wd,mechanismName as mechanismname,tpUrl as tpurl,codeUrl as codeurl,introduce from sys_life where  lifetype=#{lifetype} and is_deleted = 0
        select
        jd,wd,mechanismName as mechanismname,tpUrl as tpurl,codeUrl as codeurl,introduce,x from
        sys_life
        where is_deleted = 0
        and lifetype=#{life.lifetype}
        <if test="life.campus!=null and life.campus!=''">
            and campus = #{life.campus}
        </if>
    </select>
</mapper>