From 7e82191358076217ce0f21598d8cfda5f20dcffe Mon Sep 17 00:00:00 2001 From: sin <2943460818@qq.com> Date: Sat, 6 Apr 2019 14:45:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=20target?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../classes/mapper/OrderRecipientMapper.xml | 35 ---------- .../convert/OrderRecipientConvertImpl.java | 65 ------------------- 2 files changed, 100 deletions(-) delete mode 100644 order/order-service-impl/target/classes/mapper/OrderRecipientMapper.xml delete mode 100644 order/order-service-impl/target/generated-sources/annotations/cn/iocoder/mall/order/biz/convert/OrderRecipientConvertImpl.java diff --git a/order/order-service-impl/target/classes/mapper/OrderRecipientMapper.xml b/order/order-service-impl/target/classes/mapper/OrderRecipientMapper.xml deleted file mode 100644 index b2d9f675b..000000000 --- a/order/order-service-impl/target/classes/mapper/OrderRecipientMapper.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - id, order_id, `area_no`, `name`, mobile, address, - create_time, update_time - - - - - INSERT INTO `order_recipient` ( - order_id, `area_no`, `name`, mobile, address, - create_time, update_time - ) VALUES ( - #{orderId}, #{areaNo}, #{name}, #{mobile}, #{address}, - #{createTime}, #{updateTime} - ) - - - - - diff --git a/order/order-service-impl/target/generated-sources/annotations/cn/iocoder/mall/order/biz/convert/OrderRecipientConvertImpl.java b/order/order-service-impl/target/generated-sources/annotations/cn/iocoder/mall/order/biz/convert/OrderRecipientConvertImpl.java deleted file mode 100644 index f09bb1316..000000000 --- a/order/order-service-impl/target/generated-sources/annotations/cn/iocoder/mall/order/biz/convert/OrderRecipientConvertImpl.java +++ /dev/null @@ -1,65 +0,0 @@ -package cn.iocoder.mall.order.biz.convert; - -import cn.iocoder.mall.order.api.bo.OrderRecipientBO; -import cn.iocoder.mall.order.api.dto.OrderCreateDTO; -import cn.iocoder.mall.order.biz.dataobject.OrderRecipientDO; -import java.util.ArrayList; -import java.util.List; -import javax.annotation.Generated; - -@Generated( - value = "org.mapstruct.ap.MappingProcessor", - date = "2019-04-05T22:26:02+0800", - comments = "version: 1.3.0.Final, compiler: javac, environment: Java 11.0.1 (Oracle Corporation)" -) -public class OrderRecipientConvertImpl implements OrderRecipientConvert { - - @Override - public OrderRecipientDO convert(OrderCreateDTO orderCreateDTO) { - if ( orderCreateDTO == null ) { - return null; - } - - OrderRecipientDO orderRecipientDO = new OrderRecipientDO(); - - orderRecipientDO.setAreaNo( orderCreateDTO.getAreaNo() ); - orderRecipientDO.setName( orderCreateDTO.getName() ); - orderRecipientDO.setMobile( orderCreateDTO.getMobile() ); - orderRecipientDO.setAddress( orderCreateDTO.getAddress() ); - - return orderRecipientDO; - } - - @Override - public List convert(List orderRecipientDOList) { - if ( orderRecipientDOList == null ) { - return null; - } - - List list = new ArrayList( orderRecipientDOList.size() ); - for ( OrderRecipientDO orderRecipientDO : orderRecipientDOList ) { - list.add( orderRecipientDOToOrderRecipientBO( orderRecipientDO ) ); - } - - return list; - } - - protected OrderRecipientBO orderRecipientDOToOrderRecipientBO(OrderRecipientDO orderRecipientDO) { - if ( orderRecipientDO == null ) { - return null; - } - - OrderRecipientBO orderRecipientBO = new OrderRecipientBO(); - - orderRecipientBO.setCreateTime( orderRecipientDO.getCreateTime() ); - orderRecipientBO.setUpdateTime( orderRecipientDO.getUpdateTime() ); - orderRecipientBO.setId( orderRecipientDO.getId() ); - orderRecipientBO.setOrderId( orderRecipientDO.getOrderId() ); - orderRecipientBO.setAreaNo( orderRecipientDO.getAreaNo() ); - orderRecipientBO.setName( orderRecipientDO.getName() ); - orderRecipientBO.setMobile( orderRecipientDO.getMobile() ); - orderRecipientBO.setAddress( orderRecipientDO.getAddress() ); - - return orderRecipientBO; - } -}