Commit 3506f392876d24a31134ff2a2acbb796486c2963

Authored by panzhaov5
1 parent 760743f2

update...

src/main/java/com/bsth/service/realcontrol/impl/ScheduleRealInfoServiceImpl.java
... ... @@ -3473,7 +3473,15 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf
3473 3473 }
3474 3474  
3475 3475 if (StringUtils.isNotEmpty(cpc.getJsy())) {
3476   - jGh = cpc.getJsy().split("/")[0];
  3476 + try{
  3477 + jGh = cpc.getJsy().split("/")[0];
  3478 + }catch (Exception e){
  3479 + logger.error("", e);
  3480 + rs.put("msg", "驾驶员参数异常!!");
  3481 + rs.put("status", ResponseCode.ERROR);
  3482 + return rs;
  3483 + }
  3484 +
3477 3485 jName = getPersonName(sch.getGsBm(), jGh);
3478 3486 if (StringUtils.isEmpty(jName)) {
3479 3487 rs.put("msg", sch.getXlName() + "所属的公司编码下找不到工号为【" + jGh + "】的驾驶员");
... ...