首节已办发送

This commit is contained in:
fang 2025-07-02 18:19:13 +08:00
parent 9e34608334
commit 3141a6c244
1 changed files with 3 additions and 2 deletions

View File

@ -52,6 +52,7 @@ public class BacklogServiceHandle extends AbstractServiceHandler {
logger.info("###推送结果为:" + b + "(true为不推送false为推送)"); logger.info("###推送结果为:" + b + "(true为不推送false为推送)");
if (!b) { if (!b) {
Object shkd_type = SystemParamServiceHelper.getPublicParameter("shkd_type"); Object shkd_type = SystemParamServiceHelper.getPublicParameter("shkd_type");
logger.info("###shkd_type参数为"+shkd_type);
if (Objects.equals(shkd_type, "0")) { if (Objects.equals(shkd_type, "0")) {
// eoss 环境 // eoss 环境
getToDoFormal(ctx, todoInfo); getToDoFormal(ctx, todoInfo);
@ -223,7 +224,7 @@ public class BacklogServiceHandle extends AbstractServiceHandler {
cwbSql1.append(" and b.FDELETEREASON ='first_usertask_skip' "); cwbSql1.append(" and b.FDELETEREASON ='first_usertask_skip' ");
cwbSql1.append(" and b.FENDTIME is not null and d.FENDTIME is not null"); cwbSql1.append(" and b.FENDTIME is not null and d.FENDTIME is not null");
cwbSql1.append(" ORDER BY b.FMODIFYDATE,b.FID"); cwbSql1.append(" ORDER BY b.FMODIFYDATE,b.FID");
logger.info("###开始第一个节点已办数据拼接结束"); logger.info("###开始第一个节点已办数据拼接结束,sql:"+cwbSql1);
logger.info("###查询首节节点数据-开始"); logger.info("###查询首节节点数据-开始");
DataSet cwbAmount1 = DB.queryDataSet(this.getClass().getName(), DBRoute.of("sys"), cwbSql1.toString(), new Object[]{ctx.getBusinessKey()}); DataSet cwbAmount1 = DB.queryDataSet(this.getClass().getName(), DBRoute.of("sys"), cwbSql1.toString(), new Object[]{ctx.getBusinessKey()});
Iterator<Row> iterator = cwbAmount1.iterator(); Iterator<Row> iterator = cwbAmount1.iterator();
@ -335,7 +336,7 @@ public class BacklogServiceHandle extends AbstractServiceHandler {
} catch (Exception e) { } catch (Exception e) {
logger.error("###首节已办数据拼接、发送失败,具体原因:", e.getMessage(), e); logger.error("###首节已办数据拼接、发送失败,具体原因:", e.getMessage(), e);
} }
logger.info("首节已办数据拼接和发送完成"); logger.info("###首节已办数据拼接和发送完成");
} }
//已办 //已办