OMS-GW-企业国别

This commit is contained in:
zhaoqing
2026-05-07 18:49:37 +08:00
parent 9b67df1e88
commit 8c3d44d7da
4 changed files with 20 additions and 13 deletions
@@ -5,6 +5,7 @@ import com.mhd.common.core.web.controller.BaseController;
import com.mhd.common.core.web.domain.AjaxResult;
import com.mhd.common.core.web.page.TableDataInfo;
import com.mhd.oms.application.service.erpCountry.ErpCountryApplicationService;
import com.mhd.oms.domain.erpCountry.entity.ErpCountry;
import com.mhd.oms.interfaces.dto.erpCountry.ErpCountryDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
@@ -59,4 +60,14 @@ public class ErpCountryApi extends BaseController{
return erpCountryApplicationService.batchPush(dtoList);
}
@ApiOperation("获取企业国别详情")
@GetMapping("/getInfo")
public AjaxResult getInfo(Long id) {
if (id == null) {
return AjaxResult.error("ID不能为空");
}
ErpCountry erpCountry = erpCountryApplicationService.getById(id);
return AjaxResult.success(erpCountry);
}
}