| | |
| | | import com.aps.core.domain.ApsPlateOrderPlanManager; |
| | | import com.aps.core.domain.ApsPlateOrderPlanRequireDate; |
| | | import com.aps.core.domain.ApsPlateStandardRequire; |
| | | import com.aps.core.enums.PLAN_TASK_STATUS; |
| | | import com.aps.core.mapper.ApsPlateOrderPlanManagerMapper; |
| | | import com.aps.core.service.ApsPlanTaskService; |
| | | import com.aps.core.service.IApsPlateOrderPlanManagerService; |
| | | import com.aps.core.service.IApsPlateStandardRequireBatchService; |
| | | import com.aps.core.service.IApsPlateStandardRequireService; |
| | | import jakarta.annotation.Resource; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | |
| | | |
| | | @Autowired |
| | | private IApsPlateStandardRequireService apsPlateStandardRequireService; |
| | | |
| | | @Resource |
| | | IApsPlateStandardRequireBatchService requireBatchService; |
| | | @Resource |
| | | ApsPlanTaskService planTaskService; |
| | | /** |
| | | * 查询钣金工单计划管理 |
| | | * |
| | |
| | | apsPlateOrderPlanManagerMapper.updatePlanDateByBatch(planRequireDate); |
| | | }); |
| | | } |
| | | apsPlateStandardRequireService.generatorPlan(); |
| | | String batchNum= requireBatchService.getNewBatchNumber(); |
| | | planTaskService.savePlanTask(batchNum); |
| | | apsPlateStandardRequireService.generatorPlan(batchNum); |
| | | planTaskService.updateTaskStatus(batchNum, PLAN_TASK_STATUS.FINISHED); |
| | | } |
| | | } |