|  |  | 
 |  |  | package com.zy.asrs.service.impl; | 
 |  |  |  | 
 |  |  | import com.alibaba.fastjson.JSON; | 
 |  |  | import com.alibaba.fastjson.JSONObject; | 
 |  |  | import com.baomidou.mybatisplus.mapper.EntityWrapper; | 
 |  |  | import com.baomidou.mybatisplus.service.impl.ServiceImpl; | 
 |  |  | import com.core.common.Cools; | 
 |  |  | import com.core.common.R; | 
 |  |  | import com.zy.asrs.entity.LocMast; | 
 |  |  | import com.zy.asrs.entity.WmsLocStatus; | 
 |  |  | import com.zy.asrs.mapper.LocMastMapper; | 
 |  |  | import com.zy.asrs.service.ApiLogService; | 
 |  |  | import com.zy.asrs.service.LocMastService; | 
 |  |  | import com.zy.asrs.utils.Utils; | 
 |  |  | import com.zy.common.utils.HttpHandler; | 
 |  |  | import lombok.extern.slf4j.Slf4j; | 
 |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
 |  |  | import org.springframework.beans.factory.annotation.Value; | 
 |  |  | import org.springframework.stereotype.Service; | 
 |  |  |  | 
 |  |  | import java.util.HashMap; | 
 |  |  | import java.util.List; | 
 |  |  |  | 
 |  |  | import java.util.Map; | 
 |  |  | @Slf4j | 
 |  |  | @Service("locMastService") | 
 |  |  | public class LocMastServiceImpl extends ServiceImpl<LocMastMapper, LocMast> implements LocMastService { | 
 |  |  |     @Value("${wms.url}") | 
 |  |  |     private String wmsUrl; | 
 |  |  |     @Autowired | 
 |  |  |     private ApiLogService apiLogService; | 
 |  |  |  | 
 |  |  |     @Override | 
 |  |  |     public List<Integer> queryDistinctRow(Integer crnNo) { | 
 |  |  | 
 |  |  |  | 
 |  |  |     @Override | 
 |  |  |     public LocMast selectByLocNo(String locNo) { | 
 |  |  |         return this.baseMapper.selectByLocNo(locNo); | 
 |  |  |         return this.selectOne(new EntityWrapper<LocMast>().eq("loc_no",locNo)); | 
 |  |  |  | 
 |  |  |         //return this.baseMapper.selectByLocNo(locNo); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @Override | 
 |  |  |     public List<LocMast> selectLocByLev(Integer lev) { | 
 |  |  |         return this.baseMapper.selectLocByLev(lev); | 
 |  |  |     } | 
 |  |  | } |