@Select("select trade_id from ${tableName} where id =(select max(id) from ${tableName} );")
public Long getNewMinTradeId(@Param("tableName") String tableName);
dtoMapper.getNewMinTradeId("表名");
@Select("select trade_id from ${tableName} where id =(select max(id) from ${tableName} );")
public Long getNewMinTradeId(@Param("tableName") String tableName);
dtoMapper.getNewMinTradeId("表名");