|
|
@ -54,9 +54,7 @@ public class ApiController {
|
|
|
|
@PostMapping("/instore/submit")
|
|
|
|
@PostMapping("/instore/submit")
|
|
|
|
public AjaxResult instoreSubmit(@RequestBody InStoreDto inStore) {
|
|
|
|
public AjaxResult instoreSubmit(@RequestBody InStoreDto inStore) {
|
|
|
|
List<String> epcList = inStore.getEpcList();
|
|
|
|
List<String> epcList = inStore.getEpcList();
|
|
|
|
|
|
|
|
|
|
|
|
int size = epcList.size();
|
|
|
|
int size = epcList.size();
|
|
|
|
|
|
|
|
|
|
|
|
System.out.println("数据条数:"+size);
|
|
|
|
System.out.println("数据条数:"+size);
|
|
|
|
Iterator<String> iterator = epcList.iterator();
|
|
|
|
Iterator<String> iterator = epcList.iterator();
|
|
|
|
while (iterator.hasNext()) {
|
|
|
|
while (iterator.hasNext()) {
|
|
|
@ -178,6 +176,14 @@ public class ApiController {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return success(list);
|
|
|
|
return success(list);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@PostMapping("/xj/selectLite")
|
|
|
|
|
|
|
|
public String xjSelectLite(String user) {
|
|
|
|
|
|
|
|
List<StockDto> list = apiService.xjSelect(user);
|
|
|
|
|
|
|
|
if (list == null) {
|
|
|
|
|
|
|
|
return "null";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return JSONObject.toJSONString(list);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
@Autowired
|
|
|
|
private IRecordInspectionService inspectionService;
|
|
|
|
private IRecordInspectionService inspectionService;
|
|
|
|