|
@@ -36,11 +36,15 @@ import com.sqx.modules.errand.dto.RiderDeliveryDTO;
|
|
|
import com.sqx.modules.errand.dto.RiderTransferByOrderIdDTO;
|
|
import com.sqx.modules.errand.dto.RiderTransferByOrderIdDTO;
|
|
|
import com.sqx.modules.errand.dto.RiderTransferOrderDTO;
|
|
import com.sqx.modules.errand.dto.RiderTransferOrderDTO;
|
|
|
import com.sqx.modules.errand.dto.WaitForAcceptOrderQueryDTO;
|
|
import com.sqx.modules.errand.dto.WaitForAcceptOrderQueryDTO;
|
|
|
-import com.sqx.modules.errand.entity.*;
|
|
|
|
|
|
|
+import com.sqx.modules.errand.entity.ErrandAddress;
|
|
|
|
|
+import com.sqx.modules.errand.entity.ErrandEvaluate;
|
|
|
|
|
+import com.sqx.modules.errand.entity.ErrandRedPacket;
|
|
|
|
|
+import com.sqx.modules.errand.entity.TbIndent;
|
|
|
|
|
+import com.sqx.modules.errand.entity.TbIndentSmsSendLog;
|
|
|
|
|
+import com.sqx.modules.errand.entity.TransferRecordEntity;
|
|
|
import com.sqx.modules.errand.service.TbIndentService;
|
|
import com.sqx.modules.errand.service.TbIndentService;
|
|
|
import com.sqx.modules.errand.service.TbIndentSmsSendLogService;
|
|
import com.sqx.modules.errand.service.TbIndentSmsSendLogService;
|
|
|
import com.sqx.modules.errand.service.TbIndentSmsTemplateService;
|
|
import com.sqx.modules.errand.service.TbIndentSmsTemplateService;
|
|
|
-import com.sqx.modules.errand.service.TransferRecordService;
|
|
|
|
|
import com.sqx.modules.errand.util.LonLatUtil;
|
|
import com.sqx.modules.errand.util.LonLatUtil;
|
|
|
import com.sqx.modules.errand.vo.ShopWaitAcceptOrderVO;
|
|
import com.sqx.modules.errand.vo.ShopWaitAcceptOrderVO;
|
|
|
import com.sqx.modules.errand.vo.queryOrderInfoVo;
|
|
import com.sqx.modules.errand.vo.queryOrderInfoVo;
|
|
@@ -58,7 +62,6 @@ import com.sqx.modules.pay.controller.app.AliPayController;
|
|
|
import com.sqx.modules.pay.dao.PayDetailsDao;
|
|
import com.sqx.modules.pay.dao.PayDetailsDao;
|
|
|
import com.sqx.modules.pay.entity.PayDetails;
|
|
import com.sqx.modules.pay.entity.PayDetails;
|
|
|
import com.sqx.modules.pay.service.WxService;
|
|
import com.sqx.modules.pay.service.WxService;
|
|
|
-import com.sqx.modules.printInfo.entity.PrintInfo;
|
|
|
|
|
import com.sqx.modules.riderStation.entity.RiderStation;
|
|
import com.sqx.modules.riderStation.entity.RiderStation;
|
|
|
import com.sqx.modules.riderStation.service.RiderStationService;
|
|
import com.sqx.modules.riderStation.service.RiderStationService;
|
|
|
import com.sqx.modules.shop.service.ShopMessageService;
|
|
import com.sqx.modules.shop.service.ShopMessageService;
|
|
@@ -599,8 +602,11 @@ public class TbIndentServiceImpl extends ServiceImpl<TbIndentDao, TbIndent> impl
|
|
|
queryDTO.setDistances(Double.valueOf(one.getValue()));
|
|
queryDTO.setDistances(Double.valueOf(one.getValue()));
|
|
|
indent = baseMapper.findNewIndentByDistancesGroupByShop(pages, queryDTO);
|
|
indent = baseMapper.findNewIndentByDistancesGroupByShop(pages, queryDTO);
|
|
|
} else {
|
|
} else {
|
|
|
-// String city = getCurrentCityByLngAndLat(queryDTO.getRiderLng(), queryDTO.getRiderLat());
|
|
|
|
|
-// queryDTO.setCity(city);
|
|
|
|
|
|
|
+ // 如果city为空,则根据骑手经纬度获取当前城市
|
|
|
|
|
+ if (StrUtil.isBlank(queryDTO.getCity())) {
|
|
|
|
|
+ String city = getCurrentCityByLngAndLat(queryDTO.getRiderLng(), queryDTO.getRiderLat());
|
|
|
|
|
+ queryDTO.setCity(city);
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
indent = baseMapper.findNewIndentByCityGroupByShop(pages, queryDTO);
|
|
indent = baseMapper.findNewIndentByCityGroupByShop(pages, queryDTO);
|
|
|
}
|
|
}
|