|
|
@@ -45,7 +45,7 @@ public class ErpQueryController {
|
|
|
/**
|
|
|
* ERP对企业进行查询
|
|
|
*/
|
|
|
- @RequestMapping(value = "/queryEn",method = RequestMethod.GET)
|
|
|
+ @RequestMapping(value = "/queryEn",method = RequestMethod.POST)
|
|
|
public ModelMap queryEn(String json) {
|
|
|
ModelMap modelMap = new ModelMap();
|
|
|
EnterpriseQuery erpQuery = new EnterpriseQuery();
|
|
|
@@ -53,6 +53,7 @@ public class ErpQueryController {
|
|
|
String query = URLDecoder.decode(json, "utf-8");
|
|
|
erpQuery = JSON.parseObject(query, EnterpriseQuery.class);
|
|
|
} catch (UnsupportedEncodingException e) {
|
|
|
+
|
|
|
e.printStackTrace();
|
|
|
}
|
|
|
if (erpQuery != null) {
|
|
|
@@ -75,7 +76,7 @@ public class ErpQueryController {
|
|
|
/**
|
|
|
* erp对个人进行查询
|
|
|
*/
|
|
|
- @RequestMapping(value = "/queryPe",method = RequestMethod.GET)
|
|
|
+ @RequestMapping(value = "/queryPe",method = RequestMethod.POST)
|
|
|
public ModelMap queryPerson(String json) {
|
|
|
ModelMap modelMap = new ModelMap();
|
|
|
PersonQuery erpQuery = new PersonQuery();
|