java.lang.StringIndexOutOfBoundsException: String index out of range: -1
找了半天最后发现是
public interface SccBaseDataTargetMapper extends BaseMapper<Object>{
List<TemplateQueryFieldVo> selectTypeAndName();
List<SccManageFieldVo> selectQueryField(@Param("templateId") Long templateId);
BaseMapper里的泛型不能是Object!!!!