This commit is contained in:
杨晓东 2025-10-28 13:36:10 +08:00
parent 6e49c7e779
commit 05262a35ea

View File

@ -7,14 +7,7 @@ import com.shgx.moldmanagement.domain.dto.MoldQueryDTO;
import com.shgx.moldmanagement.service.IMoldInfoService;
import org.springframework.security.access.prepost.PreAuthorize;
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.PutMapping;
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.shgx.common.annotation.Log;
import com.shgx.common.core.controller.BaseController;
import com.shgx.common.core.domain.AjaxResult;
@ -117,7 +110,7 @@ public class MoldInfoController extends BaseController
* PDA获取模具基本信息详细信息
*/
@GetMapping("moldInfo/{moldCode}")
public AjaxResult getMoldInfo(@PathVariable("moldCode") String moldCode)
public AjaxResult getMoldInfo(@RequestParam("moldCode") String moldCode)
{
return success(moldInfoService.selectMoldInfoByMoldCode(moldCode));
}