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 *