From acdbb406d5f92af177cceb38436506c00682027c Mon Sep 17 00:00:00 2001 From: zxf Date: Tue, 25 Jul 2023 01:09:13 +0800 Subject: [PATCH] 1 --- build/classes/META-INF/rushfee.kotlin_module | Bin 16 -> 0 bytes build/classes/rush/SearchAction.class | Bin 12643 -> 12643 bytes .../WEB-INF/classes/rush/SearchAction.class | Bin 12643 -> 12643 bytes .../artifacts/rushfee_Web_exploded/ptrun.ini | 2 +- resource/html/bureau/recording.html | 125 ++++++++++++++++++ src/rush/BureauAction.java | 64 +++++++++ src/rush/SearchAction.java | 2 + 7 files changed, 192 insertions(+), 1 deletion(-) delete mode 100644 build/classes/META-INF/rushfee.kotlin_module create mode 100644 resource/html/bureau/recording.html create mode 100644 src/rush/BureauAction.java diff --git a/build/classes/META-INF/rushfee.kotlin_module b/build/classes/META-INF/rushfee.kotlin_module deleted file mode 100644 index 2983af70661ad375cc499ebc4da5a68ca46c532e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16 RcmZQzU|?ooU|@t|egFVe02KfL diff --git a/build/classes/rush/SearchAction.class b/build/classes/rush/SearchAction.class index aa7ff45d045b47a28cfbc43ec71e7a948825b822..7be2cc62caeedbde18db64d3a9577f4c2bf9b8b6 100644 GIT binary patch delta 491 zcmWNNZ)nVM9LHbpb8|cM8)G*%96FBO&33nj5-H_@vMJi5J(=SHo_L_xgK;K9l#8zi z6lRQJ%XWU!{E0*)EpxJ)%ySV$kWTqVslR&t#U46xClE!<>_f!nynR)*PwZ=LdVaNEk` z-{$$p@2K0U*1tCXqg+rWF;4;FnnY4TQYvA&CbLQ*)~l3eg=v-jSY>o+D&6upsdCO~ zI(@2OTr>EknF=W4uc*(-t0AO0hMr4IQCDc#9*$YEh}nv}wW)TmmY@<;tDdM5ZZOs6 Qr7dZsQcadNy2|vX|3f2uN&o-= delta 491 zcmWNNOKgk*6otPtrl!-HsYZuRL#bgpI>Y=Gk3@(>Vj)oy(p5J#EU>WgNJDE76^St9 zxA2HoY1E_9j$bGtO{j=S6PX1G3$%?yye)L&b$2%>_kQP|GnyIA^moL9JNU*fezM!^ ziJj4ky_B$zskE|)Ha4)IX0mMO0LM7QH4f8DI|CeHh@%uZ&Imcaa*`jM@>=I+ec5yP zIZr7U2+=_~okX}ulrCzx#5^ujPd7`s!WsjvrH6G~Wh2*VGWaHLvXeY}=%a;xd*YTE z-ZuL?M!aXFyG9wXtNXU`z|@C4W{_bX**inLtl|l;dCEtgDb90kW>}rP&qJ2cl%NSH(9q_Z``eQU6HrU_bVtBRPWyM^?YV2vrWsni^IrPCa$#jgZWrKncI U?RA<$X;U03w9r(?t*BrBAC>TZYXATM 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 aa7ff45d045b47a28cfbc43ec71e7a948825b822..7be2cc62caeedbde18db64d3a9577f4c2bf9b8b6 100644 GIT binary patch delta 491 zcmWNNZ)nVM9LHbpb8|cM8)G*%96FBO&33nj5-H_@vMJi5J(=SHo_L_xgK;K9l#8zi z6lRQJ%XWU!{E0*)EpxJ)%ySV$kWTqVslR&t#U46xClE!<>_f!nynR)*PwZ=LdVaNEk` z-{$$p@2K0U*1tCXqg+rWF;4;FnnY4TQYvA&CbLQ*)~l3eg=v-jSY>o+D&6upsdCO~ zI(@2OTr>EknF=W4uc*(-t0AO0hMr4IQCDc#9*$YEh}nv}wW)TmmY@<;tDdM5ZZOs6 Qr7dZsQcadNy2|vX|3f2uN&o-= delta 491 zcmWNNOKgk*6otPtrl!-HsYZuRL#bgpI>Y=Gk3@(>Vj)oy(p5J#EU>WgNJDE76^St9 zxA2HoY1E_9j$bGtO{j=S6PX1G3$%?yye)L&b$2%>_kQP|GnyIA^moL9JNU*fezM!^ ziJj4ky_B$zskE|)Ha4)IX0mMO0LM7QH4f8DI|CeHh@%uZ&Imcaa*`jM@>=I+ec5yP zIZr7U2+=_~okX}ulrCzx#5^ujPd7`s!WsjvrH6G~Wh2*VGWaHLvXeY}=%a;xd*YTE z-ZuL?M!aXFyG9wXtNXU`z|@C4W{_bX**inLtl|l;dCEtgDb90kW>}rP&qJ2cl%NSH(9q_Z``eQU6HrU_bVtBRPWyM^?YV2vrWsni^IrPCa$#jgZWrKncI U?RA<$X;U03w9r(?t*BrBAC>TZYXATM 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"); } }