|
@@ -287,7 +287,7 @@ public class CameraServiceImpl extends ServiceImpl<ICameraMapper, Camera> implem
|
|
public void bind(Integer cameraType, String snCodes, String username) {
|
|
public void bind(Integer cameraType, String snCodes, String username) {
|
|
User user = userService.getByUserName(username);
|
|
User user = userService.getByUserName(username);
|
|
if(user == null){
|
|
if(user == null){
|
|
- throw new BusinessException(AppConstant.FAILURE_CODE_4007,AppConstant.FAILURE_MSG_4007);
|
|
|
|
|
|
+ throw new BusinessException(LoginConstant.FAILURE_CODE_3015,LoginConstant.FAILURE_MSG_3015);
|
|
}
|
|
}
|
|
String[] snCodeArr = snCodes.split(",");
|
|
String[] snCodeArr = snCodes.split(",");
|
|
List<Long> cameraIds = new ArrayList<>();
|
|
List<Long> cameraIds = new ArrayList<>();
|