change - 质量检测:查询物料名称、前工位返修数据

master
yinq 8 months ago
parent 76a2a125bc
commit e80756dadd

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

Loading…
Cancel
Save