1
This commit is contained in:
parent
6e49c7e779
commit
05262a35ea
@ -7,14 +7,7 @@ import com.shgx.moldmanagement.domain.dto.MoldQueryDTO;
|
|||||||
import com.shgx.moldmanagement.service.IMoldInfoService;
|
import com.shgx.moldmanagement.service.IMoldInfoService;
|
||||||
import org.springframework.security.access.prepost.PreAuthorize;
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.*;
|
||||||
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 com.shgx.common.annotation.Log;
|
import com.shgx.common.annotation.Log;
|
||||||
import com.shgx.common.core.controller.BaseController;
|
import com.shgx.common.core.controller.BaseController;
|
||||||
import com.shgx.common.core.domain.AjaxResult;
|
import com.shgx.common.core.domain.AjaxResult;
|
||||||
@ -117,7 +110,7 @@ public class MoldInfoController extends BaseController
|
|||||||
* PDA获取模具基本信息详细信息
|
* PDA获取模具基本信息详细信息
|
||||||
*/
|
*/
|
||||||
@GetMapping("moldInfo/{moldCode}")
|
@GetMapping("moldInfo/{moldCode}")
|
||||||
public AjaxResult getMoldInfo(@PathVariable("moldCode") String moldCode)
|
public AjaxResult getMoldInfo(@RequestParam("moldCode") String moldCode)
|
||||||
{
|
{
|
||||||
return success(moldInfoService.selectMoldInfoByMoldCode(moldCode));
|
return success(moldInfoService.selectMoldInfoByMoldCode(moldCode));
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user