|  |  | 
 |  |  |  | 
 |  |  | import com.baomidou.mybatisplus.service.impl.ServiceImpl; | 
 |  |  | import com.core.common.Cools; | 
 |  |  | import com.core.exception.CoolException; | 
 |  |  | import com.zy.asrs.entity.LocMast; | 
 |  |  | import com.zy.asrs.mapper.LocMastMapper; | 
 |  |  | import com.zy.asrs.service.LocMastService; | 
 |  |  | 
 |  |  |     @Override | 
 |  |  |     public List<String> queryGroupEmptyStock(String sourceLocNo) { | 
 |  |  |         if (Cools.isEmpty(sourceLocNo)) { | 
 |  |  |             throw new CoolException("源库位不能为空"); | 
 |  |  |             return null; | 
 |  |  |         } | 
 |  |  |         LocMast sourceStock = this.selectById(sourceLocNo); | 
 |  |  |         if (Cools.isEmpty(sourceStock)) { | 
 |  |  |             throw new CoolException("源库位不存在"); | 
 |  |  |             return null; | 
 |  |  |         } | 
 |  |  |         return this.baseMapper.queryGroupEmptyStock(sourceStock.getCrnNo()); | 
 |  |  |     } |