zhang
2 天以前 33664d7d7f8478fb961f8fbda44c885fd854bf3d
zy-acs-manager/src/main/java/com/zy/acs/manager/core/service/ValidService.java
@@ -59,7 +59,8 @@
//                task.setOriCode(oriLoc.getCode());
            }
            if (!Cools.isEmpty(taskDto.getOriSta())) {
                Sta oriSta = staService.selectByStaNo(taskDto.getOriSta());
                Sta oriSta = staService.selectByStaNoOrName(taskDto.getOriSta());
                if (null == oriSta) {
                    throw new BusinessException("oriSta: " + taskDto.getOriSta() + " doesn't exist!");
                }
@@ -76,7 +77,7 @@
                task.setDestCode(destLoc.getCode());
            }
            if (!Cools.isEmpty(taskDto.getDestSta())) {
                Sta destSta = staService.selectByStaNo(taskDto.getDestSta());
                Sta destSta = staService.selectByStaNoOrName(taskDto.getDestSta());
                if (null == destSta) {
                    throw new BusinessException("destSta: " + taskDto.getDestSta() + " doesn't exist!");
                }