|
@@ -11,7 +11,9 @@ import com.github.zuihou.business.productionReadyCenter.dto.MMeterialReceiveLogU
|
|
|
import com.github.zuihou.business.productionReadyCenter.dto.PlatePageDTO;
|
|
|
import com.github.zuihou.business.productionReadyCenter.entity.MMeterialReceiveLog;
|
|
|
import com.github.zuihou.business.productionReadyCenter.entity.Plate;
|
|
|
+import com.github.zuihou.business.productionReadyCenter.entity.TrayPosition;
|
|
|
import com.github.zuihou.business.productionReadyCenter.service.MMeterialReceiveLogService;
|
|
|
+import com.github.zuihou.database.mybatis.conditions.Wraps;
|
|
|
import com.github.zuihou.database.mybatis.conditions.query.LbqWrapper;
|
|
|
import com.github.zuihou.database.mybatis.conditions.query.QueryWrap;
|
|
|
import io.swagger.annotations.Api;
|
|
@@ -19,6 +21,7 @@ import io.swagger.annotations.ApiOperation;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
@@ -65,4 +68,10 @@ public class MMeterialReceiveLogController extends SuperController<MMeterialRece
|
|
|
return success(MMeterialReceiveLog);
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "查询托盘", notes = "查询托盘")
|
|
|
+ @PostMapping("/getBymeterialId")
|
|
|
+ public R<List<MMeterialReceiveLog>> getBymeterialId(@RequestBody MMeterialReceiveLog log) {
|
|
|
+ return success(baseService.list(Wraps.<MMeterialReceiveLog>lbQ().eq(MMeterialReceiveLog::getMeterialId,log.getMeterialId())));
|
|
|
+ }
|
|
|
+
|
|
|
}
|