fix 修复 Mapper 多参数未加 @Param注解问题

This commit is contained in:
疯狂的狮子Li
2023-06-16 00:24:12 +08:00
parent cf4bc969be
commit ec2cbac35d
2 changed files with 6 additions and 4 deletions

View File

@ -2,6 +2,7 @@ package org.dromara.generator.mapper;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.generator.domain.GenTableColumn;
@ -22,6 +23,6 @@ public interface GenTableColumnMapper extends BaseMapperPlus<GenTableColumn, Gen
* @return 列信息
*/
@DS("#dataName")
List<GenTableColumn> selectDbTableColumnsByName(String tableName, String dataName);
List<GenTableColumn> selectDbTableColumnsByName(@Param("tableName") String tableName, String dataName);
}