自动化立体仓库 - WMS系统
#
mrzhssss
2022-09-12 126c31c4e088602d76b559bc7ab4add27c18963f
src/main/java/com/zy/asrs/controller/ManLocDetlController.java
@@ -6,9 +6,11 @@
import com.core.common.DateUtils;
import com.core.common.R;
import com.zy.asrs.entity.ManLocDetl;
import com.zy.asrs.entity.param.LocDetlAdjustParam;
import com.zy.asrs.service.ManLocDetlService;
import com.zy.common.web.BaseController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
@@ -68,5 +70,12 @@
        return R.ok(outPage);
    }
    @RequestMapping("/manLocDetl/adjust/start")
    @ManagerAuth(memo = "库存调整")
    public R locDetlAdjustStart(@RequestBody LocDetlAdjustParam param) {
        manLocDetlService.adjustLocDetl(param, getUserId());
        return R.ok("库存调整成功");
    }
}