1.在接口写方法
public List<Employee> getEmpsTestInnerParameter(Employee employee);
2在映射文件中进行配置
<select >
where last_name like #{_parameter.lastName}
</if>
</if>
</select>
1.在接口写方法
public List<Employee> getEmpsTestInnerParameter(Employee employee);
2在映射文件中进行配置
<select >
where last_name like #{_parameter.lastName}
</if>
</if>
</select>
相关文章: