|  |  | 
 |  |  | import com.zy.common.web.BaseController; | 
 |  |  | import io.swagger.models.auth.In; | 
 |  |  | import lombok.Synchronized; | 
 |  |  | import org.slf4j.Logger; | 
 |  |  | import org.slf4j.LoggerFactory; | 
 |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
 |  |  | import org.springframework.transaction.annotation.Transactional; | 
 |  |  | import org.springframework.web.bind.annotation.*; | 
 |  |  | 
 |  |  | public class AgvMobileController extends BaseController  { | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     private static final Logger log = LoggerFactory.getLogger(AgvMobileController.class); | 
 |  |  |     @Autowired | 
 |  |  |     private AgvMobileService agvMobileService; | 
 |  |  |     @Autowired | 
 |  |  | 
 |  |  |         if (mT.equals("unAuto")) { | 
 |  |  |             moveType = "2"; | 
 |  |  |             ioType = 111; | 
 |  |  |             int count = agvWrkMastService.selectCount(new EntityWrapper<AgvWrkMast>().eq("io_type", ioType)); | 
 |  |  |             if (count>3){ | 
 |  |  |                 log.equals("111任务堵塞,稍后再试!!!当前限制数量3条,限制条件:io_type = 111"); | 
 |  |  |                 throw new CoolException("111任务堵塞,稍后再试!"); | 
 |  |  |             } | 
 |  |  |         } else { | 
 |  |  |             moveType = "1"; | 
 |  |  |             ioType = 108; |