Closed zjiajun1996 closed 10 months ago
我的mapper里面的resultMap是这样的
<resultMap id="BaseResultMap" type="com.ccjr.suvs.core.instruction.dto.InstructStrategyDTO" extends="com.ccjr.suvs.core.instruction.mapper.InstructStrategyMapper.BaseResultMap"> <!--@Table instruct_strategy tm--> </resultMap>
因为是继承的别的mapper,所以生成sql的时候所有的字段都是null 比如我的方法名是findByHedgingType 生成的sql是这样的:
<select id="findByHedgingType" resultMap="BaseResultMap"> select <include refid="Base_Column_List"/> from instruct_strategy tm where null=#{hedgingType} </select>
希望能支持一个继承的resultMap,谢谢!!!
3.2.3 已支持
我的mapper里面的resultMap是这样的
因为是继承的别的mapper,所以生成sql的时候所有的字段都是null 比如我的方法名是findByHedgingType 生成的sql是这样的:
希望能支持一个继承的resultMap,谢谢!!!