From 2bb42f4daa570d6ffb9485764d088f0e131f4a9e Mon Sep 17 00:00:00 2001 From: fang <123456> Date: Fri, 11 Apr 2025 15:32:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8D=A2Object=E7=9A=84=E5=BC=95=E7=94=A8?= =?UTF-8?q?=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sys/midservice/backlogTack/ToDoResendTack.java | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/midservice/backlogTack/ToDoResendTack.java b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/midservice/backlogTack/ToDoResendTack.java index 22f1cb2..378447d 100644 --- a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/midservice/backlogTack/ToDoResendTack.java +++ b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/midservice/backlogTack/ToDoResendTack.java @@ -1,6 +1,5 @@ package shkd.sys.sys.midservice.backlogTack; -import com.google.common.base.Objects; import kd.bos.algo.DataSet; import kd.bos.algo.Row; import kd.bos.context.RequestContext; @@ -156,14 +155,14 @@ public class ToDoResendTack extends AbstractTask { cwbSql1.append("INNER JOIN t_wf_hiactinst c on c.FTASKID=b.FID "); cwbSql1.append("INNER JOIN t_wf_hiprocinst a on a.FID=b.FPROCINSTID "); cwbSql1.append("where b.FMODIFYDATE >= ? and b.FMODIFYDATE <=?"); - if (Objects.equal("1", t_status)) { + if (Objects.equals("1", t_status)) { cwbSql1.append("and (b.FDELETEREASON is null or b.FDELETEREASON =' ' or b.fdeletereason='') "); cwbSql1.append(" and b.FENDTIME is null and d.FENDTIME is null "); - } else if (Objects.equal("2", t_status)) { + } else if (Objects.equals("2", t_status)) { // cwbSql1.append(" and (b.FDELETEREASON ='task complete' ) "); cwbSql1.append(" and (b.FDELETEREASON ='task complete' or b.FDELETEREASON ='first_usertask_skip') "); cwbSql1.append(" and b.FENDTIME is not null and d.FENDTIME is not null "); - } else if (Objects.equal("5", t_status)) { + } else if (Objects.equals("5", t_status)) { cwbSql1.append(" and not ((b.FDELETEREASON is null or b.FDELETEREASON =' ' or b.fdeletereason='') "); cwbSql1.append(" and b.FENDTIME is null and d.FENDTIME is null) "); cwbSql1.append(" and not ((b.FDELETEREASON ='task complete' or b.FDELETEREASON ='first_usertask_skip') and b.FENDTIME is not null and d.FENDTIME is not null)"); @@ -229,14 +228,14 @@ public class ToDoResendTack extends AbstractTask { form.append("\"0\""); form.append("}"); CreateToDoHandler.get_CreateToDoHandler().sendCreateToDo(form.toString(),title,next.getLong("fid").toString(),userName,next.getString("fbillno")); - if(java.util.Objects.equals(shkd_type,"0")){ + if(Objects.equals(shkd_type,"0")){ //旧 eoss 环境 CreateToDoHandler.get_CreateToDoHandler().sendCreateToDo(form.toString(),title,next.getLong("fid").toString(),userName,next.getString("fbillno")); - }else if(java.util.Objects.equals(shkd_type,"1")){ + }else if(Objects.equals(shkd_type,"1")){ //新 eoss 环境 CreateToDoHandler.get_CreateToDoHandler().sendCreateToDoNew(form.toString(),title,next.getLong("fid").toString(),userName,next.getString("fbillno")); - }else if(java.util.Objects.equals(shkd_type,"2")){ + }else if(Objects.equals(shkd_type,"2")){ //二套环境 CreateToDoHandler.get_CreateToDoHandler().sendCreateToDo(form.toString(),title,next.getLong("fid").toString(),userName,next.getString("fbillno")); CreateToDoHandler.get_CreateToDoHandler().sendCreateToDoNew(form.toString(),title,next.getLong("fid").toString(),userName,next.getString("fbillno"));