REQ-3502: 过滤流程按钮

This commit is contained in:
yanglin 2025-01-14 17:10:58 +08:00
parent 34c3645633
commit 8399113a5f

View File

@ -105,7 +105,11 @@ public class TodoSyncCardService {
request.setBizCode(todo.getBizCode());
request.setIdempotentCode(todo.getIdentityCode());
request.setSubBizCode(todo.getSubBizCode());
request.setSender(PeerPerson.create(business.getPromoterPersonId(), business.getOuId(), business.getOrgId()));
Long promoterPersonId = business.getPromoterPersonId();
if (promoterPersonId == null) promoterPersonId = 0L;
Long ouId = business.getOuId();
if (ouId == null) ouId = 0L;
request.setSender(PeerPerson.create(promoterPersonId, ouId, business.getOrgId()));
request.setReceivers(Sets.newHashSet(PeerPerson.create(
todo.getExecutorPersonId(), todo.getOuId(), todo.getOrgId())));
JSONObject bizParam = todo.bizParam();