修改话费定时任务问题

dev-discount
袁野 2 years ago
parent 32bf956b44
commit a40ece69fa
  1. 7
      hai-cweb/src/main/java/com/cweb/controller/HighOrderController.java

@ -442,10 +442,11 @@ public class HighOrderController {
}
}
SecRegion region = commonService.getParentByRegion(Long.valueOf(request.getHeader("regionId")));
BsCompany bsCompany = bsCompanyService.selectCompanyByRegion(region.getRegionId().toString());
if (bsCompany != null) {
if (request.getHeader("regionId") != null) {
SecRegion region = commonService.getParentByRegion(Long.valueOf(request.getHeader("regionId")));
BsCompany bsCompany = bsCompanyService.selectCompanyByRegion(region.getRegionId().toString());
highOrder.setCompanyId(bsCompany.getId());
}

Loading…
Cancel
Save