@@ -14,7 +14,7 @@ import lombok.experimental.Accessors; | |||
* @email: huminghao@mail.taiji.com.cn | |||
* @version: 1.0 | |||
*/ | |||
@ApiModel(description = "用户车辆信息分页查询") | |||
@ApiModel(description = "用户车辆信息查看详情") | |||
@Getter | |||
@Setter | |||
@Accessors(chain = true) |
@@ -1,157 +0,0 @@ | |||
package cn.com.taiji.managew.tools; | |||
import cn.com.taiji.core.entity.issue.IssueOrderRefund; | |||
import cn.com.taiji.core.model.comm.protocol.bls.CardQueryModel; | |||
import cn.com.taiji.core.model.comm.protocol.bls.ObuQueryModel; | |||
import cn.com.taiji.managew.model.bls.BlackCardQueryModel; | |||
import cn.com.taiji.managew.model.bls.BlackObuQueryModel; | |||
import cn.com.taiji.managew.model.excel.IssueOrderRefundExcelModel; | |||
import java.util.ArrayList; | |||
import java.util.List; | |||
import javax.annotation.processing.Generated; | |||
@Generated( | |||
value = "org.mapstruct.ap.MappingProcessor", | |||
date = "2025-07-16T16:07:11+0800", | |||
comments = "version: 1.5.5.Final, compiler: javac, environment: Java 11.0.2 (Oracle Corporation)" | |||
) | |||
public class SourceTargetMapperImpl implements SourceTargetMapper { | |||
@Override | |||
public List<BlackCardQueryModel> resultListToBlackCardQueryModelList(List<CardQueryModel> model) { | |||
if ( model == null ) { | |||
return null; | |||
} | |||
List<BlackCardQueryModel> list = new ArrayList<BlackCardQueryModel>( model.size() ); | |||
for ( CardQueryModel cardQueryModel : model ) { | |||
list.add( cardQueryModelToBlackCardQueryModel( cardQueryModel ) ); | |||
} | |||
return list; | |||
} | |||
@Override | |||
public List<BlackObuQueryModel> resultListToBlackObuQueryModelList(List<ObuQueryModel> model) { | |||
if ( model == null ) { | |||
return null; | |||
} | |||
List<BlackObuQueryModel> list = new ArrayList<BlackObuQueryModel>( model.size() ); | |||
for ( ObuQueryModel obuQueryModel : model ) { | |||
list.add( obuQueryModelToBlackObuQueryModel( obuQueryModel ) ); | |||
} | |||
return list; | |||
} | |||
@Override | |||
public List<IssueOrderRefundExcelModel> orderRefundToModelList(List<IssueOrderRefund> model) { | |||
if ( model == null ) { | |||
return null; | |||
} | |||
List<IssueOrderRefundExcelModel> list = new ArrayList<IssueOrderRefundExcelModel>( model.size() ); | |||
for ( IssueOrderRefund issueOrderRefund : model ) { | |||
list.add( issueOrderRefundToIssueOrderRefundExcelModel( issueOrderRefund ) ); | |||
} | |||
return list; | |||
} | |||
protected BlackCardQueryModel cardQueryModelToBlackCardQueryModel(CardQueryModel cardQueryModel) { | |||
if ( cardQueryModel == null ) { | |||
return null; | |||
} | |||
BlackCardQueryModel blackCardQueryModel = new BlackCardQueryModel(); | |||
blackCardQueryModel.setType( cardQueryModel.getType() ); | |||
blackCardQueryModel.setCardId( cardQueryModel.getCardId() ); | |||
blackCardQueryModel.setStatus( cardQueryModel.getStatus() ); | |||
blackCardQueryModel.setCreateTime( cardQueryModel.getCreateTime() ); | |||
blackCardQueryModel.setReleaseTime( cardQueryModel.getReleaseTime() ); | |||
blackCardQueryModel.setReasonIn( cardQueryModel.getReasonIn() ); | |||
blackCardQueryModel.setReasonOut( cardQueryModel.getReasonOut() ); | |||
blackCardQueryModel.setStaffIdIn( cardQueryModel.getStaffIdIn() ); | |||
blackCardQueryModel.setStaffIdOut( cardQueryModel.getStaffIdOut() ); | |||
blackCardQueryModel.setSolution( cardQueryModel.getSolution() ); | |||
blackCardQueryModel.setSourceIn( cardQueryModel.getSourceIn() ); | |||
blackCardQueryModel.setSourceOut( cardQueryModel.getSourceOut() ); | |||
blackCardQueryModel.setAgencyId( cardQueryModel.getAgencyId() ); | |||
return blackCardQueryModel; | |||
} | |||
protected BlackObuQueryModel obuQueryModelToBlackObuQueryModel(ObuQueryModel obuQueryModel) { | |||
if ( obuQueryModel == null ) { | |||
return null; | |||
} | |||
BlackObuQueryModel blackObuQueryModel = new BlackObuQueryModel(); | |||
blackObuQueryModel.setType( obuQueryModel.getType() ); | |||
blackObuQueryModel.setObuId( obuQueryModel.getObuId() ); | |||
blackObuQueryModel.setStatus( obuQueryModel.getStatus() ); | |||
blackObuQueryModel.setCreateTime( obuQueryModel.getCreateTime() ); | |||
blackObuQueryModel.setReleaseTime( obuQueryModel.getReleaseTime() ); | |||
blackObuQueryModel.setReasonIn( obuQueryModel.getReasonIn() ); | |||
blackObuQueryModel.setReasonOut( obuQueryModel.getReasonOut() ); | |||
blackObuQueryModel.setStaffIdIn( obuQueryModel.getStaffIdIn() ); | |||
blackObuQueryModel.setStaffIdOut( obuQueryModel.getStaffIdOut() ); | |||
blackObuQueryModel.setSolution( obuQueryModel.getSolution() ); | |||
blackObuQueryModel.setSourceIn( obuQueryModel.getSourceIn() ); | |||
blackObuQueryModel.setSourceOut( obuQueryModel.getSourceOut() ); | |||
blackObuQueryModel.setAgencyId( obuQueryModel.getAgencyId() ); | |||
return blackObuQueryModel; | |||
} | |||
protected IssueOrderRefundExcelModel issueOrderRefundToIssueOrderRefundExcelModel(IssueOrderRefund issueOrderRefund) { | |||
if ( issueOrderRefund == null ) { | |||
return null; | |||
} | |||
IssueOrderRefundExcelModel issueOrderRefundExcelModel = new IssueOrderRefundExcelModel(); | |||
issueOrderRefundExcelModel.setOrderNo( issueOrderRefund.getOrderNo() ); | |||
issueOrderRefundExcelModel.setCardId( issueOrderRefund.getCardId() ); | |||
issueOrderRefundExcelModel.setVehiclePlate( issueOrderRefund.getVehiclePlate() ); | |||
issueOrderRefundExcelModel.setVehiclePlatecolor( issueOrderRefund.getVehiclePlatecolor() ); | |||
issueOrderRefundExcelModel.setVehicleId( issueOrderRefund.getVehicleId() ); | |||
issueOrderRefundExcelModel.setAmount( issueOrderRefund.getAmount() ); | |||
issueOrderRefundExcelModel.setRefundReason( issueOrderRefund.getRefundReason() ); | |||
issueOrderRefundExcelModel.setStatus( issueOrderRefund.getStatus() ); | |||
issueOrderRefundExcelModel.setFailReason( issueOrderRefund.getFailReason() ); | |||
issueOrderRefundExcelModel.setBusinessPort( issueOrderRefund.getBusinessPort() ); | |||
issueOrderRefundExcelModel.setSalesmanOpenId( issueOrderRefund.getSalesmanOpenId() ); | |||
issueOrderRefundExcelModel.setAuditTime( issueOrderRefund.getAuditTime() ); | |||
issueOrderRefundExcelModel.setUserName( issueOrderRefund.getUserName() ); | |||
issueOrderRefundExcelModel.setUserMobile( issueOrderRefund.getUserMobile() ); | |||
issueOrderRefundExcelModel.setRefundTime( issueOrderRefund.getRefundTime() ); | |||
issueOrderRefundExcelModel.setBankType( issueOrderRefund.getBankType() ); | |||
issueOrderRefundExcelModel.setProvince( issueOrderRefund.getProvince() ); | |||
issueOrderRefundExcelModel.setSell( issueOrderRefund.getSell() ); | |||
issueOrderRefundExcelModel.setCusName( issueOrderRefund.getCusName() ); | |||
issueOrderRefundExcelModel.setCusTel( issueOrderRefund.getCusTel() ); | |||
issueOrderRefundExcelModel.setCusType( issueOrderRefund.getCusType() ); | |||
issueOrderRefundExcelModel.setOperateType( issueOrderRefund.getOperateType() ); | |||
issueOrderRefundExcelModel.setBranchName( issueOrderRefund.getBranchName() ); | |||
issueOrderRefundExcelModel.setRefundAmount( issueOrderRefund.getRefundAmount() ); | |||
issueOrderRefundExcelModel.setBankCardId( issueOrderRefund.getBankCardId() ); | |||
issueOrderRefundExcelModel.setPayConfigId( issueOrderRefund.getPayConfigId() ); | |||
issueOrderRefundExcelModel.setExternalOrderNo( issueOrderRefund.getExternalOrderNo() ); | |||
issueOrderRefundExcelModel.setExternalRefundNo( issueOrderRefund.getExternalRefundNo() ); | |||
issueOrderRefundExcelModel.setApplyNum( issueOrderRefund.getApplyNum() ); | |||
issueOrderRefundExcelModel.setSettlementOpenId( issueOrderRefund.getSettlementOpenId() ); | |||
issueOrderRefundExcelModel.setPaymentBankType( issueOrderRefund.getPaymentBankType() ); | |||
issueOrderRefundExcelModel.setPaymentBankCardId( issueOrderRefund.getPaymentBankCardId() ); | |||
if ( issueOrderRefund.getPayReturnType() != null ) { | |||
issueOrderRefundExcelModel.setPayReturnType( issueOrderRefund.getPayReturnType().name() ); | |||
} | |||
issueOrderRefundExcelModel.setDeviceType( issueOrderRefund.getDeviceType() ); | |||
issueOrderRefundExcelModel.setInsertTime( issueOrderRefund.getInsertTime() ); | |||
return issueOrderRefundExcelModel; | |||
} | |||
} |
@@ -1,65 +0,0 @@ | |||
package cn.com.taiji.bls.tools; | |||
import cn.com.taiji.core.entity.basic.QtkBlackCardHis; | |||
import cn.com.taiji.core.entity.basic.QtkBlackObuHis; | |||
import cn.com.taiji.core.model.comm.protocol.bls.CardQueryModel; | |||
import cn.com.taiji.core.model.comm.protocol.bls.ObuQueryModel; | |||
import javax.annotation.processing.Generated; | |||
@Generated( | |||
value = "org.mapstruct.ap.MappingProcessor", | |||
date = "2025-07-11T19:38:01+0800", | |||
comments = "version: 1.5.5.Final, compiler: javac, environment: Java 11.0.2 (Oracle Corporation)" | |||
) | |||
public class SourceTargetMapperImpl implements SourceTargetMapper { | |||
@Override | |||
public CardQueryModel toCardModel(QtkBlackCardHis source) { | |||
if ( source == null ) { | |||
return null; | |||
} | |||
CardQueryModel cardQueryModel = new CardQueryModel(); | |||
cardQueryModel.setCreateTime( source.getCreationTime() ); | |||
cardQueryModel.setType( source.getType() ); | |||
cardQueryModel.setCardId( source.getCardId() ); | |||
cardQueryModel.setStatus( source.getStatus() ); | |||
cardQueryModel.setReleaseTime( source.getReleaseTime() ); | |||
cardQueryModel.setReasonIn( source.getReasonIn() ); | |||
cardQueryModel.setReasonOut( source.getReasonOut() ); | |||
cardQueryModel.setStaffIdIn( source.getStaffIdIn() ); | |||
cardQueryModel.setStaffIdOut( source.getStaffIdOut() ); | |||
cardQueryModel.setSolution( source.getSolution() ); | |||
cardQueryModel.setSourceIn( source.getSourceIn() ); | |||
cardQueryModel.setSourceOut( source.getSourceOut() ); | |||
cardQueryModel.setAgencyId( source.getAgencyId() ); | |||
return cardQueryModel; | |||
} | |||
@Override | |||
public ObuQueryModel toObuModel(QtkBlackObuHis source) { | |||
if ( source == null ) { | |||
return null; | |||
} | |||
ObuQueryModel obuQueryModel = new ObuQueryModel(); | |||
obuQueryModel.setCreateTime( source.getCreationTime() ); | |||
obuQueryModel.setType( source.getType() ); | |||
obuQueryModel.setObuId( source.getObuId() ); | |||
obuQueryModel.setStatus( source.getStatus() ); | |||
obuQueryModel.setReleaseTime( source.getReleaseTime() ); | |||
obuQueryModel.setReasonIn( source.getReasonIn() ); | |||
obuQueryModel.setReasonOut( source.getReasonOut() ); | |||
obuQueryModel.setStaffIdIn( source.getStaffIdIn() ); | |||
obuQueryModel.setStaffIdOut( source.getStaffIdOut() ); | |||
obuQueryModel.setSolution( source.getSolution() ); | |||
obuQueryModel.setSourceIn( source.getSourceIn() ); | |||
obuQueryModel.setSourceOut( source.getSourceOut() ); | |||
obuQueryModel.setAgencyId( source.getAgencyId() ); | |||
return obuQueryModel; | |||
} | |||
} |
@@ -1,141 +0,0 @@ | |||
package cn.com.taiji.ias.tools; | |||
import cn.com.taiji.core.model.comm.protocol.ias.province.model.Attachment; | |||
import cn.com.taiji.core.model.comm.protocol.ias.province.model.GetHandleRecordsLocalModel; | |||
import cn.com.taiji.core.model.comm.protocol.ias.province.model.GetOriginListResModel; | |||
import cn.com.taiji.core.model.comm.protocol.ias.province.model.QueryNewRefundResModel; | |||
import cn.com.taiji.ias.model.province.model.GetHandleRecordsModel; | |||
import cn.com.taiji.ias.model.province.model.GetOriginListAsyncModel; | |||
import cn.com.taiji.ias.model.province.model.QueryNewRefundAsyncModel; | |||
import java.util.ArrayList; | |||
import java.util.List; | |||
import javax.annotation.processing.Generated; | |||
@Generated( | |||
value = "org.mapstruct.ap.MappingProcessor", | |||
date = "2025-07-03T17:27:39+0800", | |||
comments = "version: 1.5.5.Final, compiler: javac, environment: Java 11.0.2 (Oracle Corporation)" | |||
) | |||
public class SourceTargetMapperImpl implements SourceTargetMapper { | |||
@Override | |||
public GetOriginListResModel GetOriginListAsyncModelToModel(GetOriginListAsyncModel asyncModel) { | |||
if ( asyncModel == null ) { | |||
return null; | |||
} | |||
GetOriginListResModel getOriginListResModel = new GetOriginListResModel(); | |||
getOriginListResModel.setPassId( asyncModel.getPassId() ); | |||
getOriginListResModel.setYgzListNo( asyncModel.getYgzListNo() ); | |||
getOriginListResModel.setCardId( asyncModel.getCardId() ); | |||
getOriginListResModel.setEnVehPlate( asyncModel.getEnVehPlate() ); | |||
getOriginListResModel.setExVehPlate( asyncModel.getExVehPlate() ); | |||
getOriginListResModel.setEnTime( asyncModel.getEnTime() ); | |||
getOriginListResModel.setExTime( asyncModel.getExTime() ); | |||
getOriginListResModel.setEnTollStationName( asyncModel.getEnTollStationName() ); | |||
getOriginListResModel.setExTollStationName( asyncModel.getExTollStationName() ); | |||
getOriginListResModel.setUnionPayTransFlag( asyncModel.getUnionPayTransFlag() ); | |||
getOriginListResModel.setExVehClass( asyncModel.getExVehClass() ); | |||
getOriginListResModel.setTollAmount( asyncModel.getTollAmount() ); | |||
getOriginListResModel.setRecordType( asyncModel.getRecordType() ); | |||
getOriginListResModel.setOwnerId( asyncModel.getOwnerId() ); | |||
getOriginListResModel.setOwnerName( asyncModel.getOwnerName() ); | |||
getOriginListResModel.setRoadName( asyncModel.getRoadName() ); | |||
getOriginListResModel.setRoad( asyncModel.getRoad() ); | |||
getOriginListResModel.setManageName( asyncModel.getManageName() ); | |||
getOriginListResModel.setManageUnit( asyncModel.getManageUnit() ); | |||
getOriginListResModel.setHexCardId( asyncModel.getHexCardId() ); | |||
getOriginListResModel.setMultiProvince( asyncModel.getMultiProvince() ); | |||
getOriginListResModel.setIsFind( asyncModel.getIsFind() ); | |||
getOriginListResModel.setRefundType( asyncModel.getRefundType() ); | |||
getOriginListResModel.setRoadTime( asyncModel.getRoadTime() ); | |||
getOriginListResModel.setHandleMessage( asyncModel.getHandleMessage() ); | |||
getOriginListResModel.setHandleResult( asyncModel.getHandleResult() ); | |||
getOriginListResModel.setHandlerType( asyncModel.getHandlerType() ); | |||
getOriginListResModel.setSubmitAccount( asyncModel.getSubmitAccount() ); | |||
return getOriginListResModel; | |||
} | |||
@Override | |||
public QueryNewRefundResModel QueryNewRefundAsyncModelToModel(QueryNewRefundAsyncModel asyncModel) { | |||
if ( asyncModel == null ) { | |||
return null; | |||
} | |||
QueryNewRefundResModel queryNewRefundResModel = new QueryNewRefundResModel(); | |||
queryNewRefundResModel.setOwnerName( asyncModel.getOwnerName() ); | |||
queryNewRefundResModel.setManageName( asyncModel.getManageName() ); | |||
queryNewRefundResModel.setFormNo( asyncModel.getFormNo() ); | |||
queryNewRefundResModel.setYgzListNo( asyncModel.getYgzListNo() ); | |||
queryNewRefundResModel.setPassId( asyncModel.getPassId() ); | |||
queryNewRefundResModel.setCardId( asyncModel.getCardId() ); | |||
queryNewRefundResModel.setHexCardId( asyncModel.getHexCardId() ); | |||
queryNewRefundResModel.setExVehPlate( asyncModel.getExVehPlate() ); | |||
queryNewRefundResModel.setEnTollStationName( asyncModel.getEnTollStationName() ); | |||
queryNewRefundResModel.setEnTime( asyncModel.getEnTime() ); | |||
queryNewRefundResModel.setExTollStationName( asyncModel.getExTollStationName() ); | |||
queryNewRefundResModel.setExTime( asyncModel.getExTime() ); | |||
queryNewRefundResModel.setTollAmount( asyncModel.getTollAmount() ); | |||
queryNewRefundResModel.setRefundFee( asyncModel.getRefundFee() ); | |||
queryNewRefundResModel.setExVehClass( asyncModel.getExVehClass() ); | |||
queryNewRefundResModel.setUnionPayTransFlag( asyncModel.getUnionPayTransFlag() ); | |||
queryNewRefundResModel.setRefundType( asyncModel.getRefundType() ); | |||
queryNewRefundResModel.setPrintName( asyncModel.getPrintName() ); | |||
queryNewRefundResModel.setFormType( asyncModel.getFormType() ); | |||
queryNewRefundResModel.setCreateTime( asyncModel.getCreateTime() ); | |||
queryNewRefundResModel.setStatus( asyncModel.getStatus() ); | |||
queryNewRefundResModel.setHandleStatus( asyncModel.getHandleStatus() ); | |||
queryNewRefundResModel.setHandleTime( asyncModel.getHandleTime() ); | |||
return queryNewRefundResModel; | |||
} | |||
@Override | |||
public GetHandleRecordsLocalModel GetHandleRecordsModelToModel(GetHandleRecordsModel asyncModel) { | |||
if ( asyncModel == null ) { | |||
return null; | |||
} | |||
GetHandleRecordsLocalModel getHandleRecordsLocalModel = new GetHandleRecordsLocalModel(); | |||
getHandleRecordsLocalModel.setCreateTime( asyncModel.getCreateTime() ); | |||
getHandleRecordsLocalModel.setHandleResult( asyncModel.getHandleResult() ); | |||
getHandleRecordsLocalModel.setHandleMessage( asyncModel.getHandleMessage() ); | |||
getHandleRecordsLocalModel.setHandlerType( asyncModel.getHandlerType() ); | |||
getHandleRecordsLocalModel.setAttachments( attachmentListToAttachmentList( asyncModel.getAttachments() ) ); | |||
getHandleRecordsLocalModel.setSubmitAccount( asyncModel.getSubmitAccount() ); | |||
return getHandleRecordsLocalModel; | |||
} | |||
protected Attachment attachmentToAttachment(cn.com.taiji.ias.model.province.model.Attachment attachment) { | |||
if ( attachment == null ) { | |||
return null; | |||
} | |||
Attachment attachment1 = new Attachment(); | |||
attachment1.setId( attachment.getId() ); | |||
attachment1.setFileName( attachment.getFileName() ); | |||
attachment1.setUrl( attachment.getUrl() ); | |||
attachment1.setHandleRecordId( attachment.getHandleRecordId() ); | |||
return attachment1; | |||
} | |||
protected List<Attachment> attachmentListToAttachmentList(List<cn.com.taiji.ias.model.province.model.Attachment> list) { | |||
if ( list == null ) { | |||
return null; | |||
} | |||
List<Attachment> list1 = new ArrayList<Attachment>( list.size() ); | |||
for ( cn.com.taiji.ias.model.province.model.Attachment attachment : list ) { | |||
list1.add( attachmentToAttachment( attachment ) ); | |||
} | |||
return list1; | |||
} | |||
} |