| | |
| | | |
| | | import com.java110.core.factory.GenerateCodeFactory; |
| | | import com.java110.dto.community.CommunityDto; |
| | | import com.java110.dto.maintainancePlan.MaintainancePlanDto; |
| | | import com.java110.dto.maintainancePlanMachine.MaintainancePlanMachineDto; |
| | | import com.java110.dto.maintainancePlanStaff.MaintainancePlanStaffDto; |
| | | import com.java110.dto.maintainanceTask.MaintainanceTaskDto; |
| | | import com.java110.dto.maintainanceTaskDetail.MaintainanceTaskDetailDto; |
| | | import com.java110.dto.scheduleClassesStaff.ScheduleClassesStaffDto; |
| | | import com.java110.dto.maintainance.MaintainancePlanDto; |
| | | import com.java110.dto.maintainance.MaintainancePlanMachineDto; |
| | | import com.java110.dto.maintainance.MaintainancePlanStaffDto; |
| | | import com.java110.dto.maintainance.MaintainanceTaskDto; |
| | | import com.java110.dto.maintainance.MaintainanceTaskDetailDto; |
| | | import com.java110.dto.classes.ScheduleClassesStaffDto; |
| | | import com.java110.dto.task.TaskDto; |
| | | import com.java110.intf.community.*; |
| | | import com.java110.intf.store.IScheduleClassesStaffV1InnerServiceSMO; |
| | | import com.java110.job.quartz.TaskSystemQuartz; |
| | | import com.java110.po.maintainanceTask.MaintainanceTaskPo; |
| | | import com.java110.po.maintainanceTaskDetail.MaintainanceTaskDetailPo; |
| | | import com.java110.po.maintainance.MaintainanceTaskPo; |
| | | import com.java110.po.maintainance.MaintainanceTaskDetailPo; |
| | | import com.java110.utils.util.DateUtil; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | |
| | | case MaintainancePlanDto.INSPECTION_PLAN_PERIOD_DAY: |
| | | hasCondition = hasGeneratorTaskConditionByDay(tmpMaintainancePlanDto, taskDto, communityDto, tmpMaintainancePlanStaffDto, maintainanceTaskPos, maintainanceTaskDetailPos); |
| | | break; |
| | | case MaintainancePlanDto.INSPECTION_PLAN_PERIOD_WEEK: |
| | | case MaintainancePlanDto.INSPECTION_PLAN_PERIOD_NEXT_DAY: |
| | | hasCondition = hasGeneratorTaskConditionByWeek(tmpMaintainancePlanDto, taskDto, communityDto, tmpMaintainancePlanStaffDto, maintainanceTaskPos, maintainanceTaskDetailPos); |
| | | break; |
| | | } |