| File was renamed from hangzhoumesParent/moduleService/GlassStorageModule/src/main/java/com/mes/rawglassstation/service/impl/RawGlassStorageStationServiceImpl.java |
| | |
| | | public List<RawGlassStorageStation> selectStations() { |
| | | return list(); |
| | | } |
| | | |
| | | @Override |
| | | public boolean updateRawGlassStorageStation(String slot) { |
| | | UpdateWrapper<RawGlassStorageStation> wrapper = new UpdateWrapper<>(); //这个类型定义错了,不应该是tasking |
| | | wrapper.set("slot","105") |
| | | .eq( "slot",slot); |
| | | wrapper.set("slot", "105") |
| | | .eq("slot", slot); |
| | | return update(wrapper); |
| | | } |
| | | |
| | |
| | | return this.save(rw); |
| | | } |
| | | |
| | | @Override |
| | | public List<RawGlassStorageDetails> listRawGlassDetails() { |
| | | @Override |
| | | public List<RawGlassStorageDetails> listRawGlassDetails() { |
| | | return baseMapper.listRawGlassDetails(); |
| | | } |
| | | |
| | | @Override |
| | | public boolean updateSlotState(Integer slot, Integer enableState) { |
| | | return update( |
| | | new LambdaUpdateWrapper<RawGlassStorageStation>() |
| | | .set(RawGlassStorageStation::getEnableState, enableState) |
| | | .eq(RawGlassStorageStation::getSlot, slot)); |
| | | } |
| | | @Override |
| | | public boolean updateSlotState(Integer slot, Integer enableState) { |
| | | return update( |
| | | new LambdaUpdateWrapper<RawGlassStorageStation>() |
| | | .set(RawGlassStorageStation::getEnableState, enableState) |
| | | .eq(RawGlassStorageStation::getSlot, slot)); |
| | | } |
| | | } |