补发调整

This commit is contained in:
fang 2024-11-20 16:48:48 +08:00
parent febb8f8fa0
commit 56274f7f84
3 changed files with 8 additions and 4 deletions

View File

@ -170,9 +170,9 @@ public class ToDoResendTack extends AbstractTask {
while (iterator.hasNext()) {
Row next = iterator.next();
//接收人手机号
DynamicObject dynamicObject = QueryServiceHelper.queryOne("bos_user", "name,shkd_pid," +
DynamicObject dynamicObject = QueryServiceHelper.queryOne("bos_user", "name," +
"phone,username", new QFilter[]{new QFilter("id", "=", next.getString("freceiveuserid"))});
String username = dynamicObject.getString("phone");
String username = dynamicObject.getString("username");
switch (t_status) {
case "1":
//标题

View File

@ -6,6 +6,8 @@ import kd.bos.logging.LogFactory;
import shkd.sys.sys.midservice.constant.ToDoCenterConstant;
import shkd.sys.sys.midservice.utils.RequestClient;
import java.util.Objects;
/**
* @Description:
@ -40,7 +42,7 @@ public class DealToDoHandler {
logger.info("###响应报文为空");
return false;
} else {
if (jsonObject.getBoolean("success")) {
if(Objects.equals("success",jsonObject.getString("status"))){
//发送成功
RequestClient.getInstance().saveDeLToDo(appRecordId, userId, ToDoCenterConstant.URI_SEND_finish, true, result, part, "2");
return true;

View File

@ -6,6 +6,8 @@ import kd.bos.logging.LogFactory;
import shkd.sys.sys.midservice.constant.ToDoCenterConstant;
import shkd.sys.sys.midservice.utils.RequestClient;
import java.util.Objects;
/**
* @Description:
@ -40,7 +42,7 @@ public class deleteToDoHandler {
logger.info("###响应报文为空");
return false;
}else{
if(jsonObject.getBoolean("success")){
if(Objects.equals("success",jsonObject.getString("status"))){
//发送成功
RequestClient.getInstance().saveDeLToDo(appRecordId,userId,ToDoCenterConstant.URI_send_deleteP,true,result,part,"5");
return true;