feat(REQ-3982) - 调整价款审批附件传参

This commit is contained in:
wangli 2025-05-06 17:38:25 +08:00
parent a5f97f4640
commit 2b27402b7f

View File

@ -60,6 +60,7 @@ import com.google.common.collect.Sets;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.collections.MapUtils;
import org.apache.commons.collections4.ListUtils;
import org.springframework.stereotype.Service;
import org.springframework.util.StringUtils;
@ -686,9 +687,7 @@ public class VisaHelper {
variables.put(FORM_PAY_ACTUAL_CONSTRUCTION_COMPLETE_DATE, req.getActualConstructionCompleteDate());
variables.put(FORM_PAY_DECLARED_AMOUNT, req.getDeclaredAmount());
variables.put(FORM_PAY_APPROVAL_AMOUNT, null);
if (CollectionUtils.isEmpty(req.getAttachments())) {
variables.put(FORM_PAY_COMPLETE_CONFIRM_ATTACH, req.getAttachments());
}
variables.put(FORM_PAY_COMPLETE_CONFIRM_ATTACH, ListUtils.emptyIfNull(req.getAttachments()));
VisaChangeApproveCreateReq createReq = buildVisaChangeApproveCreateReqByVisaId(visaId);
Map<String, Object> visaFormVariables = buildStartFormVariables(createReq);