智慧农业后台管理
tangzy
2022-06-15 bb844f41d295106fba26e54c248be9cc61389d77
src/main/java/org/springblade/modules/lang/mapper/LandMapper.xml
@@ -38,6 +38,15 @@
        <if test="land.landName!=null and land.landName != ''">
            and l.land_name like concat('%', #{land.landName},'%')
        </if>
        <if test="land.deptId!=null and land.deptId != ''">
            and l.dept_id like concat('%', #{land.deptId},'%')
        </if>
        <if test="land.type!=null and land.type != ''">
            and l.type like concat('%', #{land.type},'%')
        </if>
        <if test="land.tenantId!=null and land.tenantId != ''">
            and l.tenant_id like concat('%', #{land.tenantId},'%')
        </if>
    </select>
    <insert id="saveLandInfo">