src/main/resources/mapper/stock/StockOutRecordMapper.xml
@@ -45,6 +45,9 @@ <if test="params.stockLocation != null and params.stockLocation != ''"> and sor.stock_location = #{params.stockLocation} </if> <if test="params.model != null and params.model != ''"> and pm.model like concat('%',#{params.model},'%') </if> </where> order by sor.id desc </select>