package nckd.jxccl.hr.hstu.plugin.form;

import kd.bos.dataentity.entity.DynamicObject;
import kd.bos.dataentity.entity.DynamicObjectCollection;
import kd.bos.form.events.BeforeDoOperationEventArgs;
import kd.bos.form.operate.FormOperate;
import kd.bos.form.plugin.AbstractFormPlugin;
import kd.sdk.plugin.Plugin;
import nckd.jxccl.base.common.constant.FormConstant;
import nckd.jxccl.hr.hstu.common.HonorStudentConstant;

/**
* 【优秀生】-综合测评答卷
* @author W.Y.C
* @date 2025/7/31 15:05
* @version 1.0
*/
public class EvalResultFormPlugin extends AbstractFormPlugin implements Plugin {


    @Override
    public void beforeDoOperation(BeforeDoOperationEventArgs e) {
        String operateKey = ((FormOperate) e.getSource()).getOperateKey();
        if(FormConstant.AUDIT_OP.equals(operateKey)){
            DynamicObject dataEntity = this.getModel().getDataEntity();
            DynamicObjectCollection entrys = dataEntity.getDynamicObjectCollection(HonorStudentConstant.NCKD_EVALRESULTENTRY);
            System.out.println();
        }
    }
}