| | |
| | | public String checkMath(String taskGuid, String xmmc, String sjzy, String filePath, HttpServletRequest req) { |
| | | String url = getUrl("datax/task/run/B1入库质检_数学基础检查", req); |
| | | |
| | | List<NameValueEntity> list = getKeyVals(); |
| | | list.add(new NameValueEntity("_name", taskGuid)); |
| | | List<NameValueEntity> list = getKeyValues(taskGuid); |
| | | list.add(new NameValueEntity("XMMC", xmmc)); |
| | | list.add(new NameValueEntity("SJZY", sjzy)); |
| | | list.add(new NameValueEntity("GCXMYSB", filePath)); |
| | |
| | | * |
| | | * @return 名称值对集合 |
| | | */ |
| | | public List<NameValueEntity> getKeyVals() { |
| | | public List<NameValueEntity> getKeyValues(String taskGuid) { |
| | | List<NameValueEntity> list = new ArrayList<>(); |
| | | list.add(new NameValueEntity("_name", taskGuid)); |
| | | list.add(new NameValueEntity("_priority", 100)); |
| | | list.add(new NameValueEntity("_terminate_on_error", true)); |
| | | list.add(new NameValueEntity("IID", "")); |
| | | list.add(new NameValueEntity("FANOUT_DIR", "$(OrgResultStorage)")); |
| | | list.add(new NameValueEntity("IID_JL", "$(OrgUserStorage)\\质检配置文件\\IID记录表.xlsx")); |
| | | list.add(new NameValueEntity("S_ZJXZ", "$(OrgUserStorage)\\质检配置文件\\质检细则总.xlsx")); |
| | | list.add(new NameValueEntity("S_BZPZB", "$(OrgUserStorage)\\质检配置文件\\质检配置表总.xlsx")); |
| | | list.add(new NameValueEntity("S_ZJXZ", "$(OrgUserStorage)\\质检配置文件\\质检细则总.xlsx")); |
| | | |
| | | return list; |
| | | } |