补发调整
This commit is contained in:
parent
febb8f8fa0
commit
56274f7f84
|
@ -170,9 +170,9 @@ public class ToDoResendTack extends AbstractTask {
|
||||||
while (iterator.hasNext()) {
|
while (iterator.hasNext()) {
|
||||||
Row next = iterator.next();
|
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"))});
|
"phone,username", new QFilter[]{new QFilter("id", "=", next.getString("freceiveuserid"))});
|
||||||
String username = dynamicObject.getString("phone");
|
String username = dynamicObject.getString("username");
|
||||||
switch (t_status) {
|
switch (t_status) {
|
||||||
case "1":
|
case "1":
|
||||||
//标题
|
//标题
|
||||||
|
|
|
@ -6,6 +6,8 @@ import kd.bos.logging.LogFactory;
|
||||||
import shkd.sys.sys.midservice.constant.ToDoCenterConstant;
|
import shkd.sys.sys.midservice.constant.ToDoCenterConstant;
|
||||||
import shkd.sys.sys.midservice.utils.RequestClient;
|
import shkd.sys.sys.midservice.utils.RequestClient;
|
||||||
|
|
||||||
|
import java.util.Objects;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description:
|
* @Description:
|
||||||
|
@ -40,7 +42,7 @@ public class DealToDoHandler {
|
||||||
logger.info("###响应报文为空");
|
logger.info("###响应报文为空");
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} 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");
|
RequestClient.getInstance().saveDeLToDo(appRecordId, userId, ToDoCenterConstant.URI_SEND_finish, true, result, part, "2");
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -6,6 +6,8 @@ import kd.bos.logging.LogFactory;
|
||||||
import shkd.sys.sys.midservice.constant.ToDoCenterConstant;
|
import shkd.sys.sys.midservice.constant.ToDoCenterConstant;
|
||||||
import shkd.sys.sys.midservice.utils.RequestClient;
|
import shkd.sys.sys.midservice.utils.RequestClient;
|
||||||
|
|
||||||
|
import java.util.Objects;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description:
|
* @Description:
|
||||||
|
@ -40,7 +42,7 @@ public class deleteToDoHandler {
|
||||||
logger.info("###响应报文为空");
|
logger.info("###响应报文为空");
|
||||||
return false;
|
return false;
|
||||||
}else{
|
}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");
|
RequestClient.getInstance().saveDeLToDo(appRecordId,userId,ToDoCenterConstant.URI_send_deleteP,true,result,part,"5");
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue