| | |
| | | import com.zy.common.model.LocDto; |
| | | import com.zy.common.model.TaskDto; |
| | | import com.zy.common.web.BaseController; |
| | | import com.zy.system.entity.User; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | |
| | | } |
| | | |
| | | List<Integer> staNos = staDescService.queryOutStaNosByLocNo(locNo, ioType); |
| | | User user = getUser(); |
| | | if(user != null) { |
| | | Integer defaultOutSta = user.getDefaultOutSta(); |
| | | if(defaultOutSta != null) { |
| | | if (staNos.contains(defaultOutSta)) { |
| | | staNos.remove(defaultOutSta); |
| | | staNos.add(0, defaultOutSta); |
| | | } |
| | | } |
| | | } |
| | | |
| | | locStaNosMap.put(locNo, staNos); |
| | | } |
| | | |