OMS-GW-企业国别
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
package com.mhd.oms.interfaces.dto.erpCountry;
|
||||
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@ApiModel(description = "企业国别DTO")
|
||||
public class ErpCountryDTO {
|
||||
|
||||
@ApiModelProperty(value = "主键id")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty(value = "ERP国别编码")
|
||||
private String erpCountryCode;
|
||||
|
||||
@ApiModelProperty(value = "ERP国别名称")
|
||||
private String erpCountryName;
|
||||
|
||||
@ApiModelProperty(value = "推送状态:1-未推送,2-推送中,3-推送成功,4-推送失败")
|
||||
private Integer pushStatus;
|
||||
|
||||
@ApiModelProperty(value = "推送时间起")
|
||||
private String pushTimeFrom;
|
||||
|
||||
@ApiModelProperty(value = "推送时间止")
|
||||
private String pushTimeTo;
|
||||
|
||||
@ApiModelProperty(value = "所属组织ID")
|
||||
private Long organizationId;
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package com.mhd.oms.interfaces.facade.erpCountry;
|
||||
|
||||
|
||||
import com.mhd.common.core.web.controller.BaseController;
|
||||
import com.mhd.common.core.web.page.TableDataInfo;
|
||||
import com.mhd.oms.application.service.erpCountry.ErpCountryApplicationService;
|
||||
import com.mhd.oms.interfaces.dto.erpCountry.ErpCountryDTO;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
@Api(tags = "企业国别管理")
|
||||
@RestController
|
||||
@RequestMapping("/erpCountryApi")
|
||||
public class ErpCountryApi extends BaseController{
|
||||
@Autowired
|
||||
private ErpCountryApplicationService erpCountryApplicationService;
|
||||
|
||||
@ApiOperation("查询企业国别列表")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(ErpCountryDTO erpCountryDTO){
|
||||
startPage();
|
||||
return erpCountryApplicationService.queryList(erpCountryDTO);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user