Revert "mgruser"

This reverts commit ab986c3c41.
This commit is contained in:
sxu 2025-03-19 19:49:25 +08:00
parent ab986c3c41
commit d2119b0cbc
1 changed files with 1 additions and 9 deletions

View File

@ -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<OrderInfoMapper, OrderInfo
return CollUtil.newArrayList(new OrderListAndroidVO[0]);
} else {
List<LocalDate> dateRange = LeOrderUtil.queryDateRange(orderIds, orderDates);
List<OrderListAndroidVO> 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;
}
}
//