夏文涛 hai 1 ano
pai
achega
071536a6ca

+ 5 - 0
src/main/java/com/sqx/modules/errand/service/impl/TbIndentServiceImpl.java

@@ -9,6 +9,7 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
 import com.baomidou.mybatisplus.core.metadata.IPage;
 import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.google.gson.Gson;
 import com.sqx.common.constant.RedisKey;
 import com.sqx.common.exception.SqxException;
 import com.sqx.common.sms.SmsSendResult;
@@ -707,7 +708,9 @@ public class TbIndentServiceImpl extends ServiceImpl<TbIndentDao, TbIndent> impl
                     tr.setReceveTime(format);
                     //获取站点内容
                     RiderStation station = riderStationService.stationById(userEntity1.getRiderStationId());
+                    log.error("第一次接单station1:" + new Gson().toJson(station));
                     if(station != null){
+                        log.error("第一次接单station2:" + new Gson().toJson(station));
                         tr.setStationName(userEntity1.getStationName());
                     }
                     tr.setDeleteFlag(0);
@@ -727,7 +730,9 @@ public class TbIndentServiceImpl extends ServiceImpl<TbIndentDao, TbIndent> impl
                     tr.setReceveTime(format);
                     //获取站点内容
                     RiderStation station = riderStationService.stationById(userEntity1.getRiderStationId());
+                    log.error("第一次接单station:" + new Gson().toJson(station));
                     if(station != null){
+                        log.error("第一次接单station2:" + new Gson().toJson(station));
                         tr.setStationName(userEntity1.getStationName());
                     }
                     tr.setDeleteFlag(0);