gao109214 |
|
||
慎独 主敬 求仁 习劳 |
2019年3月28日
摘要:
select 'insert into Base_VehiclesInformation (ID,CarModelID,FistRegTime,ScrappageDate, Creator,CreateTime,LastModifier,LastModifyTime,CustType,Enable, 阅读全文
摘要:
优点: resultMap可以实现一种功能 当你是1对多 这种多张表查询的时候 你没办法 通过表连接来实现一个集合设置到一个实例里,但是通过resultMap里可以做到 根据关联的字段 查询到一个集合 然后吧集合设置到 那个对象的对应属性。 缺点:当改变resultMap中的映射关系,必须改变所有用 阅读全文
|
Copyright © 2024 憋玩意
Powered by .NET 8.0 on Kubernetes |