| | |
| | | import com.aps.core.mapper.ApsPartPlanMapper; |
| | | import com.aps.core.domain.ApsPartPlan; |
| | | import com.aps.core.service.IApsPartPlanService; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | /** |
| | | * 零件计划管理Service业务层处理 |
| | |
| | | return apsPartPlanMapper.deleteApsPartPlanById(id); |
| | | } |
| | | |
| | | @Transactional |
| | | @Override |
| | | public int confirmPart(ApsPartPlanTemp apsPartPlanTemp) { |
| | | |
| | | apsPartPlanMapper.removeAllPartPlans(); |
| | | //查询临时表数据 |
| | | List<ApsPartPlanTemp> apsPartPlanTemps=apsPartPlanTempMapper.selectApsPartPlanTempList(apsPartPlanTemp); |
| | | int count=0; |