opt:增加拣选单重修改

This commit is contained in:
2024-12-09 13:23:12 +08:00
parent c6de941ee4
commit 8d1cee4867

View File

@@ -1,6 +1,7 @@
package org.nl.wms.base_manage.material.controller;
import cn.dev33.satoken.annotation.SaIgnore;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import org.apache.commons.lang3.StringUtils;
import org.nl.common.TableDataInfo;
@@ -65,7 +66,9 @@ public class BmMaterialController {
updateWrapper.set(MdMeMaterialbase::getNearby_weight, dto.getSingle_weight());
updateWrapper.eq(MdMeMaterialbase::getMaterial_id, dto.getMaterial_id());
materialService.update(updateWrapper);
return new ResponseEntity<>(HttpStatus.OK);
JSONObject result = new JSONObject();
result.put("code", "200");
return new ResponseEntity<>(result, HttpStatus.OK);
}