| | |
| | | |
| | | import com.lf.server.entity.ctrl.FmeReqEntity; |
| | | import com.lf.server.entity.ctrl.NameValueEntity; |
| | | import com.lf.server.entity.data.MetaEntity; |
| | | import com.lf.server.helper.RestHelper; |
| | | import com.lf.server.helper.StringHelper; |
| | | import com.lf.server.helper.WebHelper; |
| | |
| | | } |
| | | |
| | | /** |
| | | * 13.表格入库 |
| | | */ |
| | | public String excelLoader(MetaEntity meta, HttpServletRequest req) { |
| | | String url = getUrl("datax/task/run/表格入库", req); |
| | | |
| | | // S_RKBG:为入库表格的完整路径,多个以英文逗号隔开 |
| | | List<NameValueEntity> list = getKeyValues("表格入库"); |
| | | list.add(new NameValueEntity("S_RKBG", meta.getPath())); |
| | | list.add(new NameValueEntity("COORDSYS", meta.getGeom())); |
| | | list.add(new NameValueEntity("dirid", meta.getDirid())); |
| | | list.add(new NameValueEntity("depid", meta.getDepid())); |
| | | list.add(new NameValueEntity("verid", meta.getVerid())); |
| | | list.add(new NameValueEntity("createuser", meta.getCreateUser())); |
| | | list.add(new NameValueEntity("parentid", meta.getEventid())); |
| | | |
| | | return RestHelper.postForRest(url, list); |
| | | } |
| | | |
| | | /** |
| | | * 获取Url |
| | | */ |
| | | public String getUrl(String subUrl, HttpServletRequest req) { |