liujie
2025-08-26 4a7dbd7bcba982826abf7b0fa0c05a695bbda947
8.26
1个文件已修改
18 ■■■■ 已修改文件
DriverOKTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/smallLogistics/server/impl/OrderLogisticsServiceImpl.java 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DriverOKTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/smallLogistics/server/impl/OrderLogisticsServiceImpl.java
@@ -8,11 +8,9 @@
import com.stylefeng.guns.modular.smallLogistics.model.OrderLogisticsSpread;
import com.stylefeng.guns.modular.smallLogistics.server.IOrderLogisticsService;
import com.stylefeng.guns.modular.smallLogistics.server.IOrderLogisticsSpreadService;
import com.stylefeng.guns.modular.system.dao.CarMapper;
import com.stylefeng.guns.modular.system.dao.RegionMapper;
import com.stylefeng.guns.modular.system.model.Company;
import com.stylefeng.guns.modular.system.model.Driver;
import com.stylefeng.guns.modular.system.model.Income;
import com.stylefeng.guns.modular.system.model.Region;
import com.stylefeng.guns.modular.system.model.*;
import com.stylefeng.guns.modular.system.service.*;
import com.stylefeng.guns.modular.system.util.*;
import com.stylefeng.guns.modular.taxi.model.OrderTaxi;
@@ -68,10 +66,8 @@
    @Autowired
    private ITransactionDetailsService transactionDetailsService;
    @Autowired
    private CarMapper carMapper;
    /**
@@ -428,8 +424,12 @@
        }
        orderLogistics.setPickUpCode(random);
        this.updateById(orderLogistics);
        Integer driverId = orderLogistics.getDriverId();
        Driver driver = driverService.selectById(driverId);
        Integer carId = driver.getCarId();
        Car car = carMapper.selectById(carId);
        //发送短信
        SMSUtil.send(orderLogistics.getRecipientPhone(), "您的验证码:" + random + ",您正在进行身份验证,请勿泄露于他人!", "2431012312835");
        SMSUtil.send(orderLogistics.getRecipientPhone(), "您好!您的小件物流订单已被车辆"+car.getCarLicensePlate()+"接单,司机电话:"+driver.getPhone()+",取件码为"+random+",请在取货是出示取件码。", "2431012324056");
//        aLiSendSms.sendSms(orderLogistics.getRecipientPhone(), "SMS_482775061", "{\"code\":\"" + random + "\"}");
    }