src/main/resources/mapper/stock/StockOutRecordMapper.xml
@@ -35,6 +35,9 @@ <if test="params.productName != null and params.productName != ''"> and p.product_name like concat('%',#{param.productName},'%') </if> <if test="params.type != null and params.type != ''"> and sor.type = #{params.type} </if> </where> order by sor.id desc </select>