2 Commits 190ca164e5 ... 762177d171

Autor SHA1 Mensagem Data
  王苗苗 762177d171 测试tts的录音转换 1 semana atrás
  王苗苗 15b13749c5 白名单列表相关字段查询改成模糊匹配 1 semana atrás

+ 2 - 1
slibra-system/src/main/java/com/slibra/business/service/impl/File2Text.java

@@ -161,7 +161,8 @@ public class File2Text {
         final String accessKeySecret = "KhmxTd14SUcXafpFk5yofA43FoeM99";
         final String appKey = "OKt6jogp6fRjHQVp";
 //        String fileLink = "https://gw.alipayobjects.com/os/bmw-prod/0574ee2e-f494-45a5-820f-63aee583045a.wav";
-        String fileLink = "https://static.fuxicarbon.com/test/234527-I-0168-15765398611-S.wav";
+//        String fileLink = "https://static.fuxicarbon.com/test/234527-I-0168-15765398611-S.wav";
+        String fileLink = "http://192.168.100.159/voice/005cad2d-3626-477c-8b95-07b68f339630.wav";
 //        String fileLink = "https://www.w3school.com.cn/i/audio/song.mp3";
         File2Text demo = new File2Text(accessKeyId, accessKeySecret);
         // 第一步:提交录音文件识别请求,获取任务ID用于后续的识别结果轮询。

+ 2 - 2
slibra-system/src/main/resources/mapper/business/TWhitelistMapper.xml

@@ -25,8 +25,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <include refid="selectTWhitelistVo"/>
         <where>
             1 = 1
-            <if test="phone != null  and phone != ''"> and phone = #{phone}</if>
-            <if test="description != null  and description != ''"> and description = #{description}</if>
+            <if test="phone != null  and phone != ''"> and phone like concat('%', #{phone}, '%')</if>
+            <if test="description != null  and description != ''"> and description like concat('%', #{description}, '%')</if>
             <if test="revision != null "> and revision = #{revision}</if>
         </where>
         and del_flag = 0 order by id desc