供应商代码格式统一 up by dh

This commit is contained in:
duhe
2025-03-18 16:02:40 +08:00
parent cc80209329
commit 5f1c710296
3 changed files with 4 additions and 4 deletions

View File

@@ -83,7 +83,7 @@ public interface ISupplierManagementAppService {
* @param id 查询条件
* @return 厂商/产地查询结果
*/
R<?> getSupplierDetail(@PathVariable("id") Long id);
R<?> getSupplierDetail(Long id);
/**
* 厂商/产地停用

View File

@@ -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);

View File

@@ -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);
}