linwei
2024-02-07 d7c3b9b16a893788793624d5762508a9ece82935
src/main/java/org/springblade/modules/place/mapper/PlaceMapper.xml
@@ -106,7 +106,7 @@
        jg.grid_name as gridName,
        bus.`name` AS policeName,
        bus.phone AS policePhone,
        jda.address_name,
        IFNULL(jda.address_name,jp.location) addressName,
        jpag.pcs_name deptName
        from jczz_place jp
        left join blade_user bu on bu.id = jp.principal_user_id and bu.is_deleted = 0
@@ -151,6 +151,10 @@
            and jp.nine_type = #{place.nineType}
        </if>
        <if test="place.isFront!=null and place.isFront!=''">
            and jp.is_front = #{place.isFront}
        </if>
        <if test="place.neiName!=null and place.neiName!=''">
            and br.name like concat('%',#{place.neiName},'%')
        </if>