fix 修复 代码生成导入报错问题

2.X
疯狂的狮子Li 2 years ago
parent 7de8529b5b
commit ccaea31b6d

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

Loading…
Cancel
Save