package com.yem.wm.im.intauditbusa.validator;

import kd.bos.entity.ExtendedDataEntity;
import kd.bos.entity.validate.AbstractValidator;

/**
 * @author xwudd
 * @date 17:35
 * @Description
 **/
public class IntAuditBuSaDelValidator extends AbstractValidator {
    @Override
    public void validate() {
        ExtendedDataEntity[] dataEntities = this.getDataEntities();
//        for(ExtendedDataEntity dataEntitie : dataEntities){
//            DynamicObject dataEntity = dataEntitie.getDataEntity();
//            String needBillIntAuditNo = dataEntity.getString("yem_needbillintauditno");
//            if(YEM.isNotEmpty(needBillIntAuditNo)){
//                this.addErrorMessage(dataEntitie,"此内审预算单存在父内审预算单不允许删除！");
//            }
//        }

        // disabled 2024 02 20 XQ-CLYX-20231011-0136_19
    }
}
