智慧农业后台管理
·
guoshilong
2022-09-23 bf1a1999cc8e1608e43bd07bec9ddd59544e0ccf
src/main/java/org/springblade/modules/farmplant/mapper/StrainMapper.xml
@@ -8,6 +8,9 @@
        <if test="strain.strainType!=null and strain.strainType!=''">
            and strain_type = #{strain.strainType}
        </if>
        <if test="strain.tenantId!=null and strain.tenantId!=''">
            and tenant_id = #{strain.tenantId}
        </if>
        <if test="strain.strainName!=null and strain.strainName!=''">
            and strain_name like concat('%',#{strain.strainName},'%')
        </if>