| New file | 
 |  |  | 
 |  |  | package com.dy.pipIrrProject.flowMonitoring; | 
 |  |  |  | 
 |  |  | import com.dy.pipIrrGlobal.pojoPr.PrMonitoringFlowmeter; | 
 |  |  | import org.mapstruct.Mapper; | 
 |  |  | import org.mapstruct.Mapping; | 
 |  |  | import org.mapstruct.ReportingPolicy; | 
 |  |  | import org.mapstruct.factory.Mappers; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * @author ZhuBaoMin | 
 |  |  |  * @date 2024-01-05 10:43 | 
 |  |  |  * @LastEditTime 2024-01-05 10:43 | 
 |  |  |  * @Description 流量监测站、流量计Dto转Pojo | 
 |  |  |  */ | 
 |  |  |  | 
 |  |  | @Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE) | 
 |  |  | public interface DtoToMoniFlowPojo { | 
 |  |  |     DtoToMoniFlowPojo INSTANCT = Mappers.getMapper(DtoToMoniFlowPojo.class); | 
 |  |  |     @Mapping(target = "monitoringid", source = "monitoringId") | 
 |  |  |     @Mapping(target = "flowmeterid", source = "flowmeterId") | 
 |  |  |     @Mapping(target = "operator", source = "operator") | 
 |  |  |     @Mapping(target = "remarks", source = "remarks") | 
 |  |  |     PrMonitoringFlowmeter po2vo(DtoMoniFlow po); | 
 |  |  | } |