feat(wms): 新增钢卷操作查询接口
- 新增getCoilOperate接口用于查询钢卷列表信息及操作内容 - 支持通过planId和coilIds参数进行查询 - 将请求参数设置为非必填项 - 返回结果封装为R<List<WmsDeliveryPlanCoilOperateVo>>格式
This commit is contained in:
@@ -99,8 +99,8 @@ public class WmsDeliveryPlanCoilOperateController extends BaseController {
|
||||
|
||||
//新增一个接口用来查询钢卷列表信息以及操作内容 参数分别是planId和coilIds(逗号分隔得字符串) get请求
|
||||
@GetMapping("/coilOperate")
|
||||
public R<List<WmsDeliveryPlanCoilOperateVo>> getCoilOperate(@RequestParam Long planId,
|
||||
@RequestParam String coilIds) {
|
||||
public R<List<WmsDeliveryPlanCoilOperateVo>> getCoilOperate(@RequestParam(required = false) Long planId,
|
||||
@RequestParam(required = false) String coilIds) {
|
||||
List<WmsDeliveryPlanCoilOperateVo> list = iWmsDeliveryPlanCoilOperateService.getCoilOperate(planId, coilIds);
|
||||
return R.ok(list);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user