master
Cui YongXing 2024-08-23 01:31:07 +08:00
parent 2b31da281e
commit 8c2a7c6263
2 changed files with 6 additions and 4 deletions

View File

@ -2,6 +2,7 @@ package com.muyu.gen.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.muyu.gen.domain.GenTableColumn;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@ -18,7 +19,7 @@ public interface GenTableColumnMapper extends BaseMapper<GenTableColumn> {
*
* @return
*/
List<GenTableColumn> selectDbTableColumnsByName (String tableName);
List<GenTableColumn> selectDbTableColumnsByName (@Param("tableName") String tableName);
/**
*
@ -27,7 +28,7 @@ public interface GenTableColumnMapper extends BaseMapper<GenTableColumn> {
*
* @return
*/
List<GenTableColumn> selectGenTableColumnListByTableId (Long tableId);
List<GenTableColumn> selectGenTableColumnListByTableId (@Param("tableId") Long tableId);
/**
*

View File

@ -2,6 +2,7 @@ package com.muyu.gen.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.muyu.gen.domain.GenTable;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@ -52,7 +53,7 @@ public interface GenTableMapper extends BaseMapper<GenTable> {
*
* @return
*/
GenTable selectGenTableById (Long id);
GenTable selectGenTableById (@Param("id") Long id);
/**
*
@ -61,7 +62,7 @@ public interface GenTableMapper extends BaseMapper<GenTable> {
*
* @return
*/
GenTable selectGenTableByName (String tableName);
GenTable selectGenTableByName (@Param("tableName") String tableName);
/**
*