package com.zy.asrs.service.impl; 
 | 
  
 | 
import com.zy.asrs.entity.param.ArmPrecomputeParam; 
 | 
import com.zy.asrs.mapper.BasArmRulesMapper; 
 | 
import com.zy.asrs.entity.BasArmRules; 
 | 
import com.zy.asrs.service.BasArmRulesService; 
 | 
import com.baomidou.mybatisplus.service.impl.ServiceImpl; 
 | 
import org.springframework.stereotype.Service; 
 | 
  
 | 
import java.util.List; 
 | 
  
 | 
@Service("basArmRulesService") 
 | 
public class BasArmRulesServiceImpl extends ServiceImpl<BasArmRulesMapper, BasArmRules> implements BasArmRulesService { 
 | 
  
 | 
  
 | 
    @Override 
 | 
    public List<BasArmRules> AllStatusSatisfyBasArmRules(int status){ 
 | 
        return this.baseMapper.AllStatusSatisfyBasArmRules(status); 
 | 
    } 
 | 
  
 | 
    @Override 
 | 
    public boolean updateStatus(ArmPrecomputeParam.CombMat combMat){ 
 | 
        return this.baseMapper.updateStatus( 
 | 
                combMat.getMaterial_length(), 
 | 
                combMat.getMaterial_width(), 
 | 
                combMat.getMaterial_height(), 
 | 
                combMat.getMaterial_weight(), 
 | 
                combMat.getMaterial_number(), 
 | 
                1); 
 | 
    } 
 | 
  
 | 
    @Override 
 | 
    public boolean updateStatus(Double materialLength,Double materialWidth,Double materialHeight,Double materialWeight,Double materialNumber,int status){ 
 | 
        return this.baseMapper.updateStatus(materialLength,materialWidth,materialHeight,materialWeight,materialNumber,status); 
 | 
    } 
 | 
  
 | 
    @Override 
 | 
    public Integer getNumber(Double weight,Double volume,Double length,Double width,Double height){ 
 | 
        return this.baseMapper.getNumber(weight,volume,length,width,height); 
 | 
    } 
 | 
} 
 |