智慧农业后台管理
guoshilong
2022-10-15 97da879dc16dffb2fbcc7447dee7db819049fa02
src/main/java/org/springblade/modules/stockfactory/mapper/StockfactoryMapper.xml
@@ -23,6 +23,12 @@
        select *
        from sys_stockfactory
        where is_deleted = 0
        <if test="stockfactory.agriculturalName !=null and stockfactory.agriculturalName!= '' ">
            AND agricultural_name LIKE CONCAT('%',#{stockfactory.agriculturalName},'%')
        </if>
        <if test="stockfactory.type != null and stockfactory.type !='' or stockfactory.type ==0 ">
            AND type = #{stockfactory.type}
        </if>
    </select>
    <select id="selectStockfactoryPages" resultMap="stockfactoryResultMap">
        select *