换Object的引用包
This commit is contained in:
parent
1b77cf9e16
commit
2bb42f4daa
|
@ -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"));
|
||||
|
|
Loading…
Reference in New Issue