Browse Source

remove sub resultType

pull/503/MERGE
RuoYi 5 months ago
parent
commit
c6c8f8b3fb
  1. 2
      ruoyi-generator/src/main/resources/vm/xml/mapper.xml.vm

2
ruoyi-generator/src/main/resources/vm/xml/mapper.xml.vm

@ -81,7 +81,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select> </select>
#if($table.sub) #if($table.sub)
<select id="select${subClassName}List" resultType="${subClassName}" resultMap="${subClassName}Result"> <select id="select${subClassName}List" resultMap="${subClassName}Result">
select#foreach ($column in $subTable.columns) $column.columnName#if($foreach.count != $subTable.columns.size()),#end#end select#foreach ($column in $subTable.columns) $column.columnName#if($foreach.count != $subTable.columns.size()),#end#end
from ${subTableName} from ${subTableName}
where ${subTableFkName} = #{${subTableFkName}} where ${subTableFkName} = #{${subTableFkName}}

Loading…
Cancel
Save