| | |
| | | import java.util.List; |
| | | import java.util.stream.Collectors; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.jcdm.common.core.domain.AjaxResult; |
| | | import com.jcdm.common.utils.DateUtils; |
| | | import com.jcdm.main.om.productionOrde.domain.OmProductionOrdeInfo; |
| | |
| | | * @date 2023-12-11 |
| | | */ |
| | | @Service |
| | | public class OmProductionOrdeInfoServiceImpl implements IOmProductionOrdeInfoService |
| | | public class OmProductionOrdeInfoServiceImpl extends ServiceImpl<OmProductionOrdeInfoMapper,OmProductionOrdeInfo> implements IOmProductionOrdeInfoService |
| | | { |
| | | @Autowired |
| | | private OmProductionOrdeInfoMapper omProductionOrdeInfoMapper; |
| | |
| | | omProductionOrdeInfoService.updateOmProductionOrdeInfo(currentOrdeInfos.get(0)); |
| | | return AjaxResult.success("移动成功"); |
| | | } |
| | | |
| | | @Override |
| | | public void overrideSaveBatch(List<OmProductionOrdeInfo> omProductionOrdeInfoList) { |
| | | try { |
| | | this.saveBatch(omProductionOrdeInfoList); |
| | | }catch (Exception e){ |
| | | return; |
| | | } |
| | | } |
| | | } |