|
|
@ -461,8 +461,13 @@ public class HighOrderController { |
|
|
|
|
|
|
|
|
|
|
|
if (request.getHeader("regionId") != null && request.getHeader("regionId").length() != 0) { |
|
|
|
if (request.getHeader("regionId") != null && request.getHeader("regionId").length() != 0) { |
|
|
|
SecRegion region = commonService.getParentByRegion(Long.valueOf(request.getHeader("regionId"))); |
|
|
|
SecRegion region = commonService.getParentByRegion(Long.valueOf(request.getHeader("regionId"))); |
|
|
|
BsCompany bsCompany = bsCompanyService.selectCompanyByRegion(region.getRegionId().toString()); |
|
|
|
if (region != null) { |
|
|
|
highOrder.setCompanyId(bsCompany.getId()); |
|
|
|
BsCompany bsCompany = bsCompanyService.selectCompanyByRegion(region.getRegionId().toString()); |
|
|
|
|
|
|
|
if (bsCompany != null) { |
|
|
|
|
|
|
|
highOrder.setCompanyId(bsCompany.getId()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
highOrder.setMerchId(request.getHeader("mchId")); |
|
|
|
highOrder.setMerchId(request.getHeader("mchId")); |
|
|
|