智慧农业后台管理
guoshilong
2022-08-12 0ef5931c06034908b346187c849acdcf413953c2
src/main/java/org/springblade/modules/farm/mapper/FarmMapper.xml
@@ -43,6 +43,12 @@
        <if test="farm.deptId!=null and farm.deptId!=''">
            and dept_id = #{farm.deptId}
        </if>
        <if test="farm.ids!=null and farm.ids!=''">
            and id in
            <foreach item="id" collection="farm.ids.split(',')" open="(" separator=" , " close=")">
                #{id}
            </foreach>
        </if>
    </select>
    <!--自定义修改农场围栏数据-->