feat(wms): 删除空字符串校验

- 移除参数非空校验注解
- 保留基础参数校验逻辑
- 支持通过planId和coilIds查询钢卷操作信息
- 接口路径为/getCoilOperate
- 返回数据结构为WmsDeliveryPlanCoilOperateVo列表
This commit is contained in:
2025-12-17 15:37:37 +08:00
parent 629725add0
commit 70493b58f4

View File

@@ -99,8 +99,8 @@ public class WmsDeliveryPlanCoilOperateController extends BaseController {
//新增一个接口用来查询钢卷列表信息以及操作内容 参数分别是planId和coilIds(逗号分隔得字符串) get请求
@GetMapping("/coilOperate")
public R<List<WmsDeliveryPlanCoilOperateVo>> getCoilOperate(@RequestParam @NotNull(message = "planId不能为空") Long planId,
@RequestParam @NotNull(message = "coilIds不能为空") String coilIds) {
public R<List<WmsDeliveryPlanCoilOperateVo>> getCoilOperate(@RequestParam Long planId,
@RequestParam String coilIds) {
List<WmsDeliveryPlanCoilOperateVo> list = iWmsDeliveryPlanCoilOperateService.getCoilOperate(planId, coilIds);
return R.ok(list);
}