diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/order/common/service/impl/OrderInfoServiceImpl.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/order/common/service/impl/OrderInfoServiceImpl.java index 876b5c55..40c5dc80 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/order/common/service/impl/OrderInfoServiceImpl.java +++ b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/order/common/service/impl/OrderInfoServiceImpl.java @@ -26,7 +26,6 @@ import com.bonus.canteen.core.order.web.vo.OrderDeliveryDetailVO; import com.bonus.canteen.core.order.web.vo.OrderListWebVO; import com.bonus.canteen.core.order.web.vo.OrderRefundWebVO; import com.bonus.common.core.exception.ServiceException; -import com.bonus.common.core.utils.encryption.Sm4Utils; import com.bonus.common.houqin.constant.LeConstants; import com.bonus.canteen.core.common.constant.LeRetCodeEnum; import com.bonus.canteen.core.order.android.vo.OrderListAndroidVO; @@ -54,7 +53,6 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Lazy; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; -import org.springframework.util.CollectionUtils; import javax.annotation.Resource; import java.lang.invoke.SerializedLambda; @@ -537,14 +535,8 @@ public class OrderInfoServiceImpl extends ServiceImpl dateRange = LeOrderUtil.queryDateRange(orderIds, orderDates); - List list = ((OrderInfoMapper)this.baseMapper).listOrderForAndroid(orderIds, (LocalDate)dateRange.get(0), + return ((OrderInfoMapper)this.baseMapper).listOrderForAndroid(orderIds, (LocalDate)dateRange.get(0), (LocalDate)dateRange.get(1)); - if (!CollectionUtils.isEmpty(list)) { - for (OrderListAndroidVO vo : list) { - vo.setMobile(Sm4Utils.decrypt(vo.getMobile())); - } - } - return list; } } //