供应商代码格式统一 up by dh
This commit is contained in:
@@ -83,7 +83,7 @@ public interface ISupplierManagementAppService {
|
||||
* @param id 查询条件
|
||||
* @return 厂商/产地查询结果
|
||||
*/
|
||||
R<?> getSupplierDetail(@PathVariable("id") Long id);
|
||||
R<?> getSupplierDetail(Long id);
|
||||
|
||||
/**
|
||||
* 厂商/产地停用
|
||||
|
||||
@@ -144,7 +144,7 @@ public class SupplierManagementAppServiceImpl implements ISupplierManagementAppS
|
||||
* @return 厂商/产地查询结果
|
||||
*/
|
||||
@Override
|
||||
public R<?> getSupplierDetail(@PathVariable("id") Long id) {
|
||||
public R<?> getSupplierDetail(Long id) {
|
||||
SupplierDto supplierDto = new SupplierDto();
|
||||
// 根据ID查询【供应商信息】
|
||||
Supplier supplier = supplierService.getById(id);
|
||||
|
||||
@@ -88,8 +88,8 @@ public class SupplierManagementController {
|
||||
* @param id 查询条件
|
||||
* @return 厂商/产地查询结果
|
||||
*/
|
||||
@GetMapping(value = "/get-supplier-detail/{id}")
|
||||
public R<?> getSupplierDetail(@PathVariable("id") Long id) {
|
||||
@GetMapping(value = "/get-supplier-detail")
|
||||
public R<?> getSupplierDetail(@RequestParam Long id) {
|
||||
return supplierManagementAppService.getSupplierDetail(id);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user