修改SAP暴露端口

master
Yangwl 1 year ago
parent b28a727d83
commit 37684cc7d5

@ -4,6 +4,7 @@ import com.op.common.core.constant.ServiceNameConstants;
import com.op.common.core.web.domain.AjaxResult;
import com.op.system.api.factory.RemoteOpenFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
@ -23,6 +24,6 @@ public interface RemoteOpenService {
/**获取流程信息**/
@PostMapping("/openInterface/GetOaNodeInfo")
@GetMapping("/openInterface/GetOaNodeInfo")
public AjaxResult GetOaNodeInfo(@RequestParam("requestId") String requestId);
}

@ -74,7 +74,7 @@ public interface RemoteSapService {
/**订单物料领料过账、原材料补料、订单物料退料过账接口MB1A**/
@PostMapping("/sap/sapMaterialPosting")
public R sapMaterialPosting(@RequestBody List<SapMaterialPosting> sapMaterialPostingList);
public R sapMaterialPosting(@RequestBody SapMaterialPosting sapMaterialPostingList);
/**智慧工厂储位信息*/
@PostMapping("/sap/sapLgortInfo")

@ -85,7 +85,7 @@ public class RemoteSapFallbackFactory implements FallbackFactory<RemoteSapServic
}
@Override
public R sapMaterialPosting(List<SapMaterialPosting> sapMaterialPostingList) {
public R sapMaterialPosting(SapMaterialPosting sapMaterialPostingList) {
return R.fail("订单物料领料过账、原材料补料、订单物料退料过账接口MB1A失败" + throwable.getMessage());
}

Loading…
Cancel
Save