作用:用于需要拓展另一个表的一个字段(dto类跟do实体类的互转)
jar包:
<dependency> <groupId>com.github.dozermapper</groupId> <artifactId>dozer-core</artifactId> <version>6.4.0</version> </dependency>
编辑(进入页面需要显示数据如:上一步)
Mapper mapper = DozerBeanMapperBuilder.buildDefault();
更新bid_bidproject
BidBidprojectDO bidBidprojectDO=new BidBidprojectDO();
Mapper mapper = DozerBeanMapperBuilder.buildDefault();
bidBidprojectDO = mapper.map(bidBidprojectDTO, BidBidprojectDO.class);
bidBidprojectService.update(bidBidprojectDO);