|
@ -169,7 +169,7 @@ public class OutBusinessController { |
|
|
private AjaxResult outInsert1(TransportRequest transportRequest, String jsonData) throws Exception{ |
|
|
private AjaxResult outInsert1(TransportRequest transportRequest, String jsonData) throws Exception{ |
|
|
|
|
|
|
|
|
String ipcType = transportRequest.getHeader().getIpcType(); |
|
|
String ipcType = transportRequest.getHeader().getIpcType(); |
|
|
ServiceBusiness serviceBusiness = serviceBusinessService.selectServiceBusinessByOutName(ipcType+"_out"); |
|
|
|
|
|
|
|
|
ServiceBusiness serviceBusiness = serviceBusinessService.selectServiceBusinessByOutName(ipcType+"_OUT"); |
|
|
// validGrant(String.valueOf(serviceBusiness.getId())); |
|
|
// validGrant(String.valueOf(serviceBusiness.getId())); |
|
|
if(!BusinessServiceEnum.insert.getCode().equals(serviceBusiness.getType())) { |
|
|
if(!BusinessServiceEnum.insert.getCode().equals(serviceBusiness.getType())) { |
|
|
throw new BusinessException("接口类型异常,请检查接口文档"); |
|
|
throw new BusinessException("接口类型异常,请检查接口文档"); |
|
|