给销售出库增加销售人员
This commit is contained in:
@@ -100,7 +100,7 @@ public class PersonController {
|
|||||||
* @param request
|
* @param request
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@PostMapping(value = "/getPersonByNumType")
|
@GetMapping(value = "/getPersonByNumType")
|
||||||
public JSONArray getPersonByNumType(@RequestParam("type") String typeNum,
|
public JSONArray getPersonByNumType(@RequestParam("type") String typeNum,
|
||||||
HttpServletRequest request)throws Exception {
|
HttpServletRequest request)throws Exception {
|
||||||
JSONArray dataArray = new JSONArray();
|
JSONArray dataArray = new JSONArray();
|
||||||
@@ -117,8 +117,8 @@ public class PersonController {
|
|||||||
if (null != personList) {
|
if (null != personList) {
|
||||||
for (Person person : personList) {
|
for (Person person : personList) {
|
||||||
JSONObject item = new JSONObject();
|
JSONObject item = new JSONObject();
|
||||||
item.put("id", person.getId());
|
item.put("value", person.getId().toString());
|
||||||
item.put("name", person.getName());
|
item.put("text", person.getName());
|
||||||
dataArray.add(item);
|
dataArray.add(item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user