MeetingScript.java 911 Bytes
package com.hotent.runtime.script;

import com.hotent.base.feign.PortalFeignService;
import com.hotent.base.groovy.IScript;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * 会议室脚本
 * @author liangjc
 * @company 广州宏天软件股份有限公司
 * @email liangjc@jee-soft.cn
 * @date 2022-07-27 17:27
 */
@Component
public class MeetingScript implements IScript {

    @Resource
    PortalFeignService portalFeignService;

    /**
     * 1. 更新会议室申请状态 2.表单数据映射到会议申请
     * @param instId 实例id
     * @param status  当status=agree时,会议申请状态改为审批通过,否则为审批拒绝
     * @param busData  表单数据
     */
    public void updateMeetingApplyStatus(String instId,String status,String busData){
        portalFeignService.updateMeetingApplyStatus(instId, status, busData);
    }

}