diff --git a/build/classes/META-INF/rushfee.kotlin_module b/build/classes/META-INF/rushfee.kotlin_module deleted file mode 100644 index 2983af7..0000000 Binary files a/build/classes/META-INF/rushfee.kotlin_module and /dev/null differ diff --git a/build/classes/rush/SearchAction.class b/build/classes/rush/SearchAction.class index aa7ff45..7be2cc6 100644 Binary files a/build/classes/rush/SearchAction.class and b/build/classes/rush/SearchAction.class differ diff --git a/classes/artifacts/rushfee_Web_exploded/WEB-INF/classes/rush/SearchAction.class b/classes/artifacts/rushfee_Web_exploded/WEB-INF/classes/rush/SearchAction.class index aa7ff45..7be2cc6 100644 Binary files a/classes/artifacts/rushfee_Web_exploded/WEB-INF/classes/rush/SearchAction.class and b/classes/artifacts/rushfee_Web_exploded/WEB-INF/classes/rush/SearchAction.class differ diff --git a/classes/artifacts/rushfee_Web_exploded/ptrun.ini b/classes/artifacts/rushfee_Web_exploded/ptrun.ini index 8eadc62..8937a2a 100644 --- a/classes/artifacts/rushfee_Web_exploded/ptrun.ini +++ b/classes/artifacts/rushfee_Web_exploded/ptrun.ini @@ -1,3 +1,3 @@ #save ini -#Mon Jun 12 00:24:44 CST 2023 +#Tue Jul 25 00:51:51 CST 2023 deploystamp=1612237236000 diff --git a/resource/html/bureau/recording.html b/resource/html/bureau/recording.html new file mode 100644 index 0000000..1286d69 --- /dev/null +++ b/resource/html/bureau/recording.html @@ -0,0 +1,125 @@ + + + +录音操作 + + +
+ + + + 查询 + 导出    +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + \ No newline at end of file diff --git a/src/rush/BureauAction.java b/src/rush/BureauAction.java new file mode 100644 index 0000000..71673b2 --- /dev/null +++ b/src/rush/BureauAction.java @@ -0,0 +1,64 @@ +package rush; + + +import com.aisino.aosplus.core.dao.DbHelper; +import com.aisino.aosplus.core.mvc.annotation.Action; +import com.aisino.aosplus.core.mvc.annotation.Request; +import com.aisino.aosplus.core.mvc.bean.Params; +import org.apache.commons.lang.StringUtils; +import org.apache.log4j.Logger; + +import java.util.List; +import java.util.Map; + +@Action("rush/bureau") +public class BureauAction { + // 日志记录 + private static Logger logger = Logger.getLogger(BureauAction.class); + + + + @Request.Post("getlist") + public Map getCustomerById(Params params) { + Object start_time=params.get("start_time"); + Object end_time=params.get("end_time"); + String sql=" select id,emp_no,create_time,phone_num,start_time,end_time,record_duration," + + "call_type,record_url path,caller_phone, area_name ,'播放' AS play ,'下载' as down from area_call_record where 1=1 "; + String timeSql=""; + if(StringUtils.isNotBlank("start_time")){ + timeSql=" and 1=1"; + } + + + + + + Map map = DbHelper.getDbService().queryPageMapList(sql, params); + List records = (List) map.get("records"); + for(Map m : records){ + + if ((m.get("info")!=null && Integer.parseInt(m.get("info").toString())>0 && m.get("path")!=null)||m.get("zltime")!=null){ + // String path = m.get("path").toString(); + if(m.get("path")==null){ + m.put("play","无录音"); + m.put("path",""); + } + if(m.get("path").toString().endsWith("v3")){ + m.put("path",m.get("path")); + + }else{ + m.put("path",m.get("path")); + } + } + + } + return map; + + } + + + + + + +} diff --git a/src/rush/SearchAction.java b/src/rush/SearchAction.java index df3b0eb..9e00dda 100644 --- a/src/rush/SearchAction.java +++ b/src/rush/SearchAction.java @@ -106,8 +106,10 @@ public class SearchAction { } if(m.get("path").toString().endsWith("wav")){ m.put("path","http://cc.95ykf.com/recordDownload.do?method=recordDownload&path="+m.get("path")); + // m.put("path","http://101.43.135.234:8080/api/profile/upload/2023/07/18/1613141.V3"); }else{ m.put("path","http://101.201.142.12:9999/media/100995/"+m.get("path")); + // m.put("path","http://101.43.135.234:8080/api/profile/upload/2023/07/18/1613141.V3"); } }