@@ -105,6 +105,7 @@ public enum ResultCode {
RTK_USERNAME_EXIST(50082, "用户名称已存在"),
+ RTK_USERNAME_TEMPLATE_EMPTY(50083, "批量导入数据为空或账号不存在"),
;
private Integer code;
@@ -348,7 +348,7 @@ public class RtkAccountServiceImpl extends ServiceImpl<IRtkAccountMapper, RtkAcc
excelService.toExcelError(errorIndex);
if(params.size() <=0){
- throw new BusinessException(ResultCode.RTK_DEVICEIN_TEMPLATE_EMPTY);
+ throw new BusinessException(ResultCode.RTK_USERNAME_TEMPLATE_EMPTY);
}
return this.updateFailureTime(params);