| | |
| | | import java.util.List; |
| | | import java.util.stream.Collectors; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.jcdm.common.core.domain.AjaxResult; |
| | | import com.jcdm.common.utils.DateUtils; |
| | |
| | | public AjaxResult receivingWorkOrders() { |
| | | return null; |
| | | } |
| | | |
| | | @Override |
| | | public AjaxResult trolleyYardBinDing(OmProductionOrdeInfo omProductionOrdeInfo) { |
| | | OmProductionOrdeInfo one = omProductionOrdeInfoService.getOne(new LambdaQueryWrapper<OmProductionOrdeInfo>().eq(OmProductionOrdeInfo::getProductNum, omProductionOrdeInfo.getProductNum())); |
| | | one.setTrolleyYard(omProductionOrdeInfo.getTrolleyYard()); |
| | | omProductionOrdeInfoService.saveOrUpdate(one); |
| | | return AjaxResult.success(); |
| | | } |
| | | |
| | | @Override |
| | | public AjaxResult getCarCodeSize(OmProductionOrdeInfo omProductionOrdeInfo) { |
| | | // omProductionOrdeInfo. |
| | | return null; |
| | | } |
| | | |
| | | @Override |
| | | public AjaxResult findBytrolleyYardGetOne(OmProductionOrdeInfo omProductionOrdeInfo) { |
| | | OmProductionOrdeInfo one = omProductionOrdeInfoService.getOne(new LambdaQueryWrapper<OmProductionOrdeInfo>().eq(OmProductionOrdeInfo::getTrolleyYard, omProductionOrdeInfo.getTrolleyYard())); |
| | | return AjaxResult.success(one.getProductNum()); |
| | | } |
| | | } |