diff --git a/build/classes/com/hangxin/web/ZqlAction.class b/build/classes/com/hangxin/web/ZqlAction.class index 178bd4f..735c281 100644 Binary files a/build/classes/com/hangxin/web/ZqlAction.class and b/build/classes/com/hangxin/web/ZqlAction.class differ diff --git a/build/classes/html/tick/hfcounttj.html b/build/classes/html/tick/hfcounttj.html index 6d65fa7..dbac383 100644 --- a/build/classes/html/tick/hfcounttj.html +++ b/build/classes/html/tick/hfcounttj.html @@ -31,6 +31,7 @@
+
diff --git a/build/classes/rush/AccountAction.class b/build/classes/rush/AccountAction.class index de351ab..2a9ea7e 100644 Binary files a/build/classes/rush/AccountAction.class and b/build/classes/rush/AccountAction.class differ diff --git a/classes/artifacts/rushfee_Web_exploded/WEB-INF/classes/com/hangxin/web/ZqlAction.class b/classes/artifacts/rushfee_Web_exploded/WEB-INF/classes/com/hangxin/web/ZqlAction.class index 178bd4f..735c281 100644 Binary files a/classes/artifacts/rushfee_Web_exploded/WEB-INF/classes/com/hangxin/web/ZqlAction.class and b/classes/artifacts/rushfee_Web_exploded/WEB-INF/classes/com/hangxin/web/ZqlAction.class differ diff --git a/classes/artifacts/rushfee_Web_exploded/WEB-INF/classes/html/tick/hfcounttj.html b/classes/artifacts/rushfee_Web_exploded/WEB-INF/classes/html/tick/hfcounttj.html index 6d65fa7..dbac383 100644 --- a/classes/artifacts/rushfee_Web_exploded/WEB-INF/classes/html/tick/hfcounttj.html +++ b/classes/artifacts/rushfee_Web_exploded/WEB-INF/classes/html/tick/hfcounttj.html @@ -31,6 +31,7 @@
+
diff --git a/classes/artifacts/rushfee_Web_exploded/WEB-INF/classes/rush/AccountAction.class b/classes/artifacts/rushfee_Web_exploded/WEB-INF/classes/rush/AccountAction.class index de351ab..2a9ea7e 100644 Binary files a/classes/artifacts/rushfee_Web_exploded/WEB-INF/classes/rush/AccountAction.class and b/classes/artifacts/rushfee_Web_exploded/WEB-INF/classes/rush/AccountAction.class differ diff --git a/classes/artifacts/rushfee_Web_exploded/ptrun.ini b/classes/artifacts/rushfee_Web_exploded/ptrun.ini index 18ccbc2..1712a8c 100644 --- a/classes/artifacts/rushfee_Web_exploded/ptrun.ini +++ b/classes/artifacts/rushfee_Web_exploded/ptrun.ini @@ -1,3 +1,3 @@ #save ini -#Mon Apr 03 21:21:37 CST 2023 +#Wed Apr 19 22:20:25 CST 2023 deploystamp=1612237236000 diff --git a/resource/html/tick/hfcounttj.html b/resource/html/tick/hfcounttj.html index 6d65fa7..dbac383 100644 --- a/resource/html/tick/hfcounttj.html +++ b/resource/html/tick/hfcounttj.html @@ -31,6 +31,7 @@
+
diff --git a/src/com/hangxin/web/ZqlAction.java b/src/com/hangxin/web/ZqlAction.java index 4460211..386df70 100644 --- a/src/com/hangxin/web/ZqlAction.java +++ b/src/com/hangxin/web/ZqlAction.java @@ -222,16 +222,22 @@ public class ZqlAction { + " and operate_date<='" + rushtimeend + " 23:59:59'"; } if(ifjy!=null){ - sqljy=" and u.is_tuifei="+ifjy; + if(ifjy.equals("1")){ + ifjy=0; + } + else{ + ifjy=1; + } + sqljy=" and ISJISUAN="+ifjy; } if(ifmz!=null){ - sqlmz=" and u.ifmz="+ifmz; + sqlmz=" and IFMZ="+ifmz; } if( custtype!=null){ - sqlcusttype=" and ISSERVICE="+custtype; + sqlcusttype=" and CUSTTYPE="+custtype; } /* String sql = "\n" + "select num,count(1) sl, sum( case when jftime is not null then 1 else 0 end ) jfsl," + @@ -254,18 +260,18 @@ public class ZqlAction { " sum ( case when kphjje='300.00' and jftime is not null then 1 else 0 end) tg," + " sum ( case when kphjje='398.00' and jftime is not null then 1 else 0 end) sanjiuba," + " round(sum(case when kphjje='300.00' and jftime is not null then 1 else 0 end)/count(1) ,4)*100 ||'%' tgbl," + + " round(sum(case when kphjje='398.00' and jftime is not null then 1 else 0 end)/count(1) ,4)*100 ||'%' sjbbl," + " round(sum(case when (kphjje='280.00' or kphjje='300.00' or kphjje='398.00' ) and jftime is not null then 1 else 0 end)/count(1) ,4)*100 ||'%' jfbl" + " from (" + " select to_char(c.addtime,'yyyy-mm-dd') jftime ,c.kpxm ,c.kphjje ," + " (select count(1) from rush_log where obj_id=b.id ) num ,a.custtype " + " from (" + " select obj_id,injf,cust_type custtype,ifmz from (" + - " select obj_id,count(1) from rush_log where action='rushfee'" + dateString+ + " select obj_id,count(1) from rush_log where action='rushfee'" + dateString+sqlcusttype+sqlmz+sqljy+ " group by obj_id ) x left join view_info y on x.obj_id=y.id ) a " + " left join rush_record b on a.obj_id=b.id " + " left join ( select addtime,kpxm,kphjje,ghf_custid from einvoice_fpkjxx_fptxx where to_char(addtime,'yyyy-mm-dd')>='"+jftime+"' and to_char(addtime,'yyyy-mm-dd')<= '"+jftimeend+"') c on b.customer_id=c.ghf_custid" + - " left join customer_info u on b.customer_id=u.customer_id " + - " where 1=1 " +sqlcusttype+sqlmz+sqljy+ + " " + " ) group by num order by num "; return DbHelper.getDbService().queryPageMapList(sql, params); diff --git a/src/rush/AccountAction.java b/src/rush/AccountAction.java index 2ff8b55..16b28aa 100644 --- a/src/rush/AccountAction.java +++ b/src/rush/AccountAction.java @@ -857,7 +857,10 @@ public class AccountAction { param_log.put("obj_id", obj_id); param_log.put("OPERATOR_CODE", operator); param_log.put("info", feedback_type);//反馈结果记录到info中 - param_log.put("source", "1"); + param_log.put("custtype", custtype); + param_log.put("injf", injf); + param_log.put("ifmz", ifmz); + param_log.put("source", "1"); DbHelper.getDbService().updateById("rushfee_record.saveLog", param_log); //修改任务完成进度,2018-02-26新添加保存逻辑_zyc // finishTaskById(params); diff --git a/src/rush/UpdateEnddateJobByZxf.java b/src/rush/UpdateEnddateJobByZxf.java new file mode 100644 index 0000000..117cdd4 --- /dev/null +++ b/src/rush/UpdateEnddateJobByZxf.java @@ -0,0 +1,158 @@ +package rush; + +import com.aisino.aosplus.core.dao.DbHelper; +import com.aisino.aosplus.core.mvc.bean.Params; +import com.aisino.aosplus.core.util.Guid; +import com.aisino.aosplus.plugin.job.BaseJob; +import com.aisino.aosplus.plugin.job.Job; + +import java.text.DateFormat; +import java.text.SimpleDateFormat; +import java.util.Date; +import java.util.List; +import java.util.Map; +@Job("0 0 23 * * ?") +public class UpdateEnddateJobByZxf extends BaseJob { + + /* 该方法定每半个小时 查询分公司对异常客户如果已缴费自动更新为已完成状态*/ + public void execute() { + + /* String sqlupdateString="select \"id\" from \"deletetable\""; + List ten= DbHelper.getDbService().queryMapList(sqlupdateString); + if(ten.size()!=0){ + for(int i=0;i updatenum= DbHelper.getDbService().queryMapList("select * from excustomer_info where state != 1 and customer_id in (select customer_id from rush_task_center where user_id='472775138282575026' )"); + if(updatenum.size()!=0){ + for(int i=0;i ten= DbHelper.getDbService().queryMapList(sqlupdateString); + if(ten.size()!=0){ + for(int i=0;i