| | |
| | | import com.zy.acs.manager.manager.mapper.BusMapper; |
| | | import com.zy.acs.manager.manager.service.BusService; |
| | | import com.zy.acs.framework.common.Cools; |
| | | import com.zy.acs.manager.manager.service.TaskService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.ArrayList; |
| | |
| | | @Slf4j |
| | | @Service("busService") |
| | | public class BusServiceImpl extends ServiceImpl<BusMapper, Bus> implements BusService { |
| | | |
| | | @Autowired |
| | | private TaskService taskService; |
| | | |
| | | @Override |
| | | public Bus selectByUuid(String uuid) { |
| | |
| | | return "Origin cannot be empty!"; |
| | | } |
| | | } |
| | | |
| | | if (Cools.isEmpty(dto.getSeqNum())) { |
| | | dto.setSeqNum(taskService.generateSeqNum()); |
| | | } |
| | | } |
| | | return null; |
| | | } |