package com.zy.asrs.service; import com.baomidou.mybatisplus.service.IService; import com.zy.asrs.entity.BasCrnDepthRule; import com.zy.asrs.entity.RowLastno; import com.zy.asrs.entity.param.BasCrnDepthRuleTemplateParam; import com.zy.common.model.CrnDepthRuleProfile; import java.util.List; public interface BasCrnDepthRuleService extends IService { void validateRule(BasCrnDepthRule rule); BasCrnDepthRule findEnabledRule(Integer whsType, Integer crnNo); CrnDepthRuleProfile resolveProfile(RowLastno rowLastno, Integer crnNo, Integer preferredNearRow); List previewTemplate(BasCrnDepthRuleTemplateParam param); void saveTemplate(BasCrnDepthRuleTemplateParam param, Long userId); }