| | |
| | | .eq("station_code", stationCode) |
| | | .like("dev_no", "0" + i + "@"); |
| | | |
| | | if("CS-305".equals(stationCode) || "CS-306".equals(stationCode) || "307".equals(stationCode)){ |
| | | if("CS-305".equals(stationCode) || "CS-306".equals(stationCode) || "CS-307".equals(stationCode)){ |
| | | wrapper.orderBy("dev_no",false); |
| | | } |
| | | |
| | |
| | | return this.selectOne(new EntityWrapper<AgvBasDevp>().eq("dev_no",devNo)); |
| | | } |
| | | |
| | | @Override |
| | | public AgvBasDevp selectEmptyDevpByStation(String stationCode) { |
| | | return this.selectOne(new EntityWrapper<AgvBasDevp>() |
| | | .eq("station_code", stationCode) |
| | | .eq("loc_sts", "O")); |
| | | } |
| | | |
| | | } |