| | |
| | | import com.zy.common.model.enums.WorkNoType; |
| | | import com.zy.common.service.CommonService; |
| | | import com.zy.common.utils.HttpHandler; |
| | | import com.zy.system.entity.Config; |
| | | import com.zy.system.service.impl.ConfigServiceImpl; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | private BasStationService basStationService; |
| | | @Autowired |
| | | private BasContainerService basContainerService; |
| | | @Autowired |
| | | private ConfigServiceImpl configService; |
| | | |
| | | @Override |
| | | @Transactional |
| | |
| | | Date date = new Date(); |
| | | String s = ""; |
| | | if (param.getBarcode().charAt(0) == '3'){ |
| | | s = "Z-307"; |
| | | s = "307"; |
| | | }else if (param.getBarcode().charAt(0) == '4'){ |
| | | s = "Z-402"; |
| | | s = "402"; |
| | | }else if (param.getBarcode().charAt(0) == '5'){ |
| | | s = "Z-401"; |
| | | s = "401"; |
| | | } |
| | | String TaskNo = param.getBarcode()+"aa"+date.getTime(); |
| | | task.setWrkNo((int) date.getTime()) |
| | |
| | | //滑块库 |
| | | if(locMast.getLocType3()==1){ |
| | | if(locMast.getLocType2()==1){ |
| | | sta = "Z-402"; |
| | | sta = "402"; |
| | | }else if(locMast.getLocType2()==2){ |
| | | sta = "Z-401"; |
| | | sta = "401"; |
| | | } |
| | | }else if(locMast.getLocType3()==2){ |
| | | sta="Z-307"; |
| | | sta="307"; |
| | | } |
| | | |
| | | // 获取路径 |