src/main/resources/mapper/stock/StockInRecordMapper.xml
@@ -15,6 +15,9 @@
        LEFT JOIN sys_user as u on sir.create_user = u.user_id
        <where>
            pm.product_type = #{params.productType}
            <if test="params.status != null">
                and sir.status = #{params.status}
            </if>
            <if test="params.timeStr != null and params.timeStr != ''">
                and sir.create_time like concat('%',#{params.timeStr},'%')
            </if>