|
|
|
@ -94,14 +94,14 @@ public class PdaApiController {
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@PostMapping("/check/query")
|
|
|
|
|
public AjaxResult checkQuery(String code) {
|
|
|
|
|
public AjaxResult checkQuery(String code, String station) {
|
|
|
|
|
String boxName = service.selectBoxNameByCode(code);
|
|
|
|
|
if (boxName == null) {
|
|
|
|
|
// boxName = "固定数据";
|
|
|
|
|
return error("箱壳条码扫描错误");
|
|
|
|
|
}
|
|
|
|
|
//检验前一工位是否已完成质检
|
|
|
|
|
|
|
|
|
|
System.out.println(code + ":" + station);
|
|
|
|
|
List<ReportQualityInspection> list = service.checkSelectRepairInfo(code);
|
|
|
|
|
return success(boxName, list);
|
|
|
|
|
|
|
|
|
|