app仓储订单列表;

This commit is contained in:
王奎兴
2026-05-07 09:43:11 +08:00
parent 02da883a6b
commit 4c32d4032e
@@ -7,13 +7,7 @@ import com.mhd.system.api.domain.cache.AssociationWarehouseCacheDO;
import com.mhd.system.api.model.LoginUser;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import com.mhd.basic.interfaces.dto.associationWarehouse.AssociationWarehouseDTO;
import com.mhd.basic.domain.associationWarehouse.repository.todo.AssociationWarehouseDO;
import com.mhd.basic.domain.associationWarehouse.repository.po.AssociationWarehousePO;
@@ -139,7 +133,7 @@ public class AssociationWarehouseApi extends BaseController{
*/
@ApiOperation("获取当前登录用户设置的仓库")
@GetMapping("/getWarehouseInfoByUserId")
public AjaxResult getWarehouseInfoByUserId(@PathVariable("userId") Long userId) {
public AjaxResult getWarehouseInfoByUserId(@RequestParam("userId") Long userId) {
//转换实体
LoginUser loginUser = SecurityUtils.getLoginUser();
if (userId != null) {