OMS-GW推送-商业合作伙伴
This commit is contained in:
+7
@@ -48,5 +48,12 @@ public class BusinessPartnerDTO {
|
||||
@ApiModelProperty(value = "每页数量")
|
||||
private Integer pageSize = 10;
|
||||
|
||||
@ApiModelProperty(value = "合作伙伴代码")
|
||||
private String corpCode;
|
||||
|
||||
@ApiModelProperty(value = "公司中文名称")
|
||||
private String corpName;
|
||||
|
||||
@ApiModelProperty(value = "货主id")
|
||||
private String shipperId;
|
||||
}
|
||||
+8
-3
@@ -1,15 +1,15 @@
|
||||
package com.mhd.oms.interfaces.facade.businessPartner;
|
||||
|
||||
|
||||
import com.mhd.common.core.web.domain.AjaxResult;
|
||||
import com.mhd.common.core.web.page.TableDataInfo;
|
||||
import com.mhd.oms.application.service.businessPartner.BusinessPartnerApplicationService;
|
||||
import com.mhd.oms.interfaces.dto.businessPartner.BusinessPartnerDTO;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@RestController
|
||||
@@ -26,5 +26,10 @@ public class BusinessPartnerApi {
|
||||
|
||||
}
|
||||
|
||||
@ApiOperation("商业合作伙伴-批量推送")
|
||||
@PostMapping("/batchPush")
|
||||
public AjaxResult batchPush(@RequestBody List<BusinessPartnerDTO> businessPartnerDTOList){
|
||||
return businessPartnerApplicationService.batchPush(businessPartnerDTOList);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user