基础信息-物料管理-新增页面 添加新下拉框数据
This commit is contained in:
@@ -40,4 +40,8 @@ public interface OmsServiceFeign {
|
||||
@ApiOperation("查询企业单位列表-新增物料时显示下拉框数据")
|
||||
@GetMapping("/erpEnterpriseUnitApi/unitList")
|
||||
public AjaxResult getUnitList(ErpEnterpriseUnitDTO erpEnterpriseUnitDTO);
|
||||
|
||||
@ApiOperation("查询企业国别列表-新增物料时显示下拉框数据")
|
||||
@GetMapping("/erpCountryApi/countryList")
|
||||
public AjaxResult getCountryList(ErpCountryDTO erpCountryDTO);
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.mhd.system.api.domain;
|
||||
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@ApiModel(description = "企业国别DTO")
|
||||
public class ErpCountryDTO {
|
||||
|
||||
@ApiModelProperty("主键id")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("ERP国别编码")
|
||||
private String erpCountryCode;
|
||||
|
||||
@ApiModelProperty("ERP国别名称")
|
||||
private String erpCountryName;
|
||||
|
||||
@ApiModelProperty("所属组织ID")
|
||||
private Long organizationId;
|
||||
|
||||
}
|
||||
+5
@@ -58,6 +58,11 @@ public class RemoteOmsFeignFallbackFactory implements FallbackFactory<OmsService
|
||||
public AjaxResult getUnitList(ErpEnterpriseUnitDTO erpEnterpriseUnitDTO) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult getCountryList(ErpCountryDTO erpCountryDTO) {
|
||||
return null;
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user