| | |
| | | import com.lf.server.entity.ctrl.NameValueEntity; |
| | | import com.lf.server.helper.RestHelper; |
| | | import com.lf.server.helper.WebHelper; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.web.client.RestTemplate; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.ArrayList; |
| | |
| | | private String fmeUrl; |
| | | |
| | | /** |
| | | * 获取任务状态 |
| | | */ |
| | | public Object getTaskStatus(String id, HttpServletRequest req) { |
| | | String url = getUrl("datax/task/get", req) + "&id=" + id; |
| | | |
| | | return RestHelper.getForRest(url, Object.class); |
| | | } |
| | | |
| | | /** |
| | | * 1.OSGB检查:.osgb + *倾斜摄影*.xls/.xlsx |
| | | */ |
| | | public String checkOsgb(FmeReqEntity fme, HttpServletRequest req) { |