123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579 |
- package com.fs.app.controller;
- import cn.hutool.core.net.URLDecoder;
- import cn.hutool.json.JSONUtil;
- import com.fs.app.param.ExcelParam;
- import com.fs.app.utils.JwtUtils;
- import com.fs.common.config.FSSysConfig;
- import com.fs.common.core.domain.R;
- import com.fs.common.utils.StringUtils;
- import com.fs.common.utils.poi.ExcelUtil;
- import com.fs.company.domain.CompanySmsLogs;
- import com.fs.company.domain.CompanyUser;
- import com.fs.company.service.ICompanySmsLogsService;
- import com.fs.company.service.ICompanyUserService;
- import com.fs.company.service.ICompanyVoiceLogsService;
- import com.fs.core.config.ServerConfig;
- import com.fs.crm.domain.CrmCustomer;
- import com.fs.crm.domain.CrmCustomerContacts;
- import com.fs.crm.domain.CrmCustomerHisOrder;
- import com.fs.crm.dto.CrmCustomerHisOrderDTO;
- import com.fs.crm.dto.CrmCustomerHisOrderItemDTO;
- import com.fs.crm.param.CrmCustomeReceiveParam;
- import com.fs.crm.service.*;
- import com.fs.jpush.service.JpushService;
- import com.fs.store.dto.ExpressNotifyDTO;
- import com.fs.store.dto.ExpressResultDTO;
- import com.fs.store.service.IFsAppVersionService;
- import com.fs.store.service.IFsCityService;
- import com.fs.store.service.IFsStoreOrderService;
- import com.fs.store.service.IPrescribeService;
- import com.fs.system.service.ISysConfigService;
- import com.fs.system.service.ISysDictDataService;
- import com.fs.system.vo.DictVO;
- import com.fs.voice.service.IVoiceService;
- import io.swagger.annotations.Api;
- import io.swagger.annotations.ApiOperation;
- import org.slf4j.Logger;
- import org.slf4j.LoggerFactory;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.scheduling.annotation.Async;
- import org.springframework.web.bind.annotation.*;
- import org.springframework.web.multipart.MultipartFile;
- import java.math.BigDecimal;
- import java.nio.charset.Charset;
- import java.sql.*;
- import java.time.LocalDateTime;
- import java.time.format.DateTimeFormatter;
- import java.util.ArrayList;
- import java.util.HashMap;
- import java.util.List;
- import java.util.Map;
- @Api("公共接口")
- @RestController
- @RequestMapping(value="/app/common")
- public class CommonController extends AppBaseController {
- Logger logger = LoggerFactory.getLogger(CommonController.class);
- @Autowired
- JwtUtils jwtUtils;
- @Autowired
- private ServerConfig serverConfig;
- @Autowired
- private ISysDictDataService dictDataService;
- @Autowired
- ICrmCustomerUserService crmCustomerUserService;
- @Autowired
- ICrmCustomerService crmCustomerService;
- @Autowired
- private ICrmMsgService msgService;
- @Autowired
- private ISysConfigService configService;
- @Autowired
- private ICrmEventService eventService;
- @Autowired
- private IVoiceService voiceService;
- @Autowired
- ICompanyUserService userService;
- @Autowired
- IPrescribeService prescribeService;
- @Autowired
- FSSysConfig fsSysConfig;
- @Autowired
- private IFsAppVersionService fsAppVersionService;
- @Autowired
- private IFsCityService fsCityService;
- @Autowired
- private JpushService jpushService;
- @Autowired
- private ICrmCustomerHisOrderService crmCustomerHisOrderService;
- @Autowired
- IFsStoreOrderService orderService;
- @Autowired
- private ICompanySmsLogsService smsLogsService;
- @Autowired
- private ICompanyVoiceLogsService voiceLogsService;
- @Autowired
- private ICompanyUserService companyUserService;
- @Autowired
- private ICrmCustomerContactsService crmCustomerContactsService;
- public static final Logger LOGGER = LoggerFactory.getLogger(CommonController.class);
- @ApiOperation("导入EXCEL")
- @PostMapping(value = "/importExcel")
- public R importExcel(MultipartFile file)
- {
- ExcelUtil<ExcelParam> util = new ExcelUtil<ExcelParam>(ExcelParam.class);
- try {
- List<ExcelParam> list = util.importExcel(file.getInputStream());
- Connection connection= DriverManager.getConnection("jdbc:mysql://localhost:3307/test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8","root","root");
- PreparedStatement ps=null;
- for(ExcelParam param:list){
- String sql="insert into pay_scriptdkl_fszh (nickname,short_id) values(?,?)";
- ps=connection.prepareStatement(sql);
- ps.setString(1, param.getNickname());
- ps.setString(2, param.getId());
- //4.excuteUpdate
- int resultSet=ps.executeUpdate();
- if(resultSet>0){
- //如果插入成功,则打印success
- System.out.println("Sucess");
- }else{
- //如果插入失败,则打印Failure
- System.out.println("Failure");
- }
- }
- } catch (Exception e) {
- e.printStackTrace();
- }
- return R.ok();
- }
- @ApiOperation("客户数据导入")
- @GetMapping(value = "/importCustomer")
- public R importCustomer(@RequestParam("id")Long id)
- {
- importCustomers(id);
- return R.ok();
- }
- @Async
- public void importCustomers(Long cid){
- List<DictVO> dict=dictDataService.selectDictDataListByType("crm_customer_source");
- Connection connection=null;
- try {
- connection = DriverManager.getConnection("jdbc:mysql://localhost:3306/t9-1?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8","root","19860213");
- Integer count=0;
- Integer pageIndex=0;
- while (true) {
- try {
- String sql="select * from jt_cs_entity where code_>"+cid+" order by code_ asc limit "+pageIndex+", 10";
- PreparedStatement preparedStatement = connection.prepareStatement(sql);
- ResultSet resultSet = preparedStatement.executeQuery();
- if(!resultSet.next()){
- break;
- }
- while (resultSet.next()) {
- CrmCustomer customer=new CrmCustomer();
- try {
- String id=resultSet.getString("id_");
- String code=resultSet.getString("code_");
- String name_=resultSet.getString("name_");
- String srcs_name_=resultSet.getString("srcs_name_");//渠道名
- String employee_id_=resultSet.getString("employee_id_");//员工ID
- //String weixin_=resultSet.getString("weixin_");
- String so_total_=resultSet.getString("so_total_");//消费总金额
- String so_count_=resultSet.getString("so_count_");//购物 - 订单数量
- Date last_follow_time_=resultSet.getDate("last_follow_time_");//最后跟进时间
- String gender_=resultSet.getString("gender_");//性别 男 女
- String desc_=resultSet.getString("desc_");//备注
- String entry_=resultSet.getString("entry_");//进线方式
- String pr_name_=resultSet.getString("pr_name_");
- String ci_name_=resultSet.getString("ci_name_");
- String ar_name_=resultSet.getString("ar_name_");
- String address_=resultSet.getString("decrypt_address_");
- String create_by_=resultSet.getString("create_by_");//创建者ID 1343427544115974144
- Timestamp create_time_=resultSet.getTimestamp("create_time_");
- customer.setCustomerCode(code);
- customer.setIsLine(0);
- for(DictVO dictVO:dict){
- if(dictVO.getDictLabel().trim().equals(srcs_name_.trim())){
- customer.setSource(Integer.parseInt(dictVO.getDictValue()));
- }
- }
- customer.setSourceCode(srcs_name_);
- customer.setRegisterType(entry_);
- if(StringUtils.isNotEmpty(so_count_)){
- customer.setBuyCount(Integer.parseInt(so_count_));
- }
- if(StringUtils.isNotEmpty(so_total_)){
- customer.setPayMoney(BigDecimal.valueOf(Float.parseFloat(so_total_)));
- }
- //标签处理
- String tagSql="select group_concat(co.name_ separator ',') as name from jt_cs_entity e INNER JOIN jt_gl_tag t on t.entity_id_=e.id_ INNER join jt_gl_cate_opt co on co.id_=t.opt_id_ where e.id_='"+id+"' ";
- PreparedStatement preparedStatementTag = connection.prepareStatement(tagSql);
- ResultSet resultSetTag = preparedStatementTag.executeQuery();
- while (resultSetTag.next()) {
- String tag=resultSetTag.getString("name");
- if(StringUtils.isNotEmpty(tag)){
- customer.setTags(tag);
- }
- }
- preparedStatementTag.close();
- resultSetTag.close();
- customer.setCustomerName(name_);
- if(StringUtils.isNotEmpty(gender_)){
- if(gender_.equals("男")){
- customer.setSex(1);
- }
- else if(gender_.equals("女")){
- customer.setSex(2);
- }
- }
- //customer.setWeixin(weixin_);
- customer.setRemark(desc_);
- StringBuilder address=new StringBuilder();
- if(StringUtils.isNotEmpty(pr_name_)){
- address.append(pr_name_+"-");
- }
- if(StringUtils.isNotEmpty(ci_name_)){
- address.append(ci_name_+"-");
- }
- if(StringUtils.isNotEmpty(ar_name_)){
- address.append(ar_name_+"-");
- }
- customer.setAddress(address.toString());
- customer.setDetailAddress(address_);
- customer.setStatus(1);
- customer.setIsReceive(0);
- customer.setIsPool(1);
- if(create_time_!=null){
- Date date = new Date(create_time_.getTime());
- customer.setCreateTime(date);
- }
- else{
- customer.setCreateTime(new java.util.Date());
- }
- if(last_follow_time_!=null){
- customer.setVisitTime(last_follow_time_);
- }
- //查员工表
- String userSql="select * from jt_ou_employee where id_ = '"+employee_id_+"' ";
- PreparedStatement preparedStatementUser = connection.prepareStatement(userSql);
- ResultSet resultSetUser = preparedStatementUser.executeQuery();
- CompanyUser user=null;
- while (resultSetUser.next()) {
- String user_name_=resultSetUser.getString("name_");//CQ纪文正001(已删除)
- //匹配员工 及 公司
- if(user_name_.substring(0,2).equals("CQ")){
- //重庆分公司
- customer.setCompanyId(12l);
- //查本公司下的员工
- user_name_=user_name_.replace("(已删除)","");
- user_name_ = user_name_.replaceAll("[0-9]","");
- user_name_=user_name_.substring(2);
- user=companyUserService.selectCompanyUserByCompanyIdAndNickName(12l,user_name_);
- if(user!=null){
- customer.setCreateUserId(user.getUserId());
- customer.setDeptId(user.getDeptId());
- }
- }
- else if(user_name_.substring(0,2).equals("SD")){
- //山东分公司
- customer.setCompanyId(16l);
- user_name_=user_name_.replace("(已删除)","");
- user_name_ = user_name_.replaceAll("[0-9]","");
- user_name_=user_name_.substring(2);
- user=companyUserService.selectCompanyUserByCompanyIdAndNickName(16l,user_name_);
- if(user!=null){
- customer.setCreateUserId(user.getUserId());
- customer.setDeptId(user.getDeptId());
- }
- }
- else if(user_name_.substring(0,2).equals("RY")){
- //山东分公司
- customer.setCompanyId(16l);
- user_name_=user_name_.replace("(已删除)","");
- user_name_ = user_name_.replaceAll("[0-9]","");
- user_name_=user_name_.substring(2);
- user=companyUserService.selectCompanyUserByCompanyIdAndNickName(16l,user_name_);
- if(user!=null){
- customer.setCreateUserId(user.getUserId());
- customer.setDeptId(user.getDeptId());
- }
- }
- else{
- //湖南润天嘉合医药科技有限公司
- user_name_=user_name_.replace("HN","");
- user_name_=user_name_.replace("(已删除)","");
- user_name_ = user_name_.replaceAll("[0-9]","");
- user=companyUserService.selectCompanyUserByCompanyIdAndNickName(55l,user_name_);
- if(user!=null){
- customer.setCompanyId(55l);
- customer.setCreateUserId(user.getUserId());
- customer.setDeptId(user.getDeptId());
- }
- else{
- //湖南润天悦派医药科技有限公司
- user=companyUserService.selectCompanyUserByCompanyIdAndNickName(58l,user_name_);
- if(user!=null){
- customer.setCompanyId(58l);
- customer.setCreateUserId(user.getUserId());
- customer.setDeptId(user.getDeptId());
- }
- else {
- customer.setCompanyId(37l);
- customer.setIsLine(0);
- customer.setIsPool(1);
- }
- }
- }
- }
- preparedStatementUser.close();
- resultSetUser.close();
- //处理进线
- String sqlResiter="select * from jt_cs_extend where id_='"+id+"' ";
- PreparedStatement preparedStatementReg = connection.prepareStatement(sqlResiter);
- ResultSet resultSetReg = preparedStatementReg.executeQuery();
- while (resultSetReg.next()) {
- String column2_=resultSetReg.getString("column2_");//客户填写时间
- customer.setRegisterSubmitTime(column2_);
- // if(StringUtils.isNotEmpty(column2_)){
- // try {
- // String strDateFormat = "yyyy-MM-dd HH:mm:ss";
- // SimpleDateFormat f = new SimpleDateFormat(strDateFormat);
- //
- // }
- // catch (Exception e){
- // LOGGER.info("导入ERROR:"+e.getMessage());
- // }
- //
- // }
- String column9_=resultSetReg.getString("column9_");//客户详情
- if(StringUtils.isNotEmpty(column9_)){
- customer.setRegisterDesc(column9_);
- }
- String column8_=resultSetReg.getString("column8_");//广告连接
- if(StringUtils.isNotEmpty(column8_)){
- customer.setRegisterLinkUrl(column8_);
- }
- String column6_=resultSetReg.getString("column6_");//推线时间
- if(StringUtils.isNotEmpty(column6_)){
- customer.setPushTime(column6_);
- customer.setRegisterDate(column6_);
- // try {
- // String strDateFormat = "yyyyMMdd";
- // SimpleDateFormat f = new SimpleDateFormat(strDateFormat);
- //
- // }
- // catch (Exception e){
- // LOGGER.info("导入ERROR:"+e.getMessage());
- // }
- }
- String column5_=resultSetReg.getString("column5_");//来源渠道编码
- if(StringUtils.isNotEmpty(column5_)){
- customer.setSourceCode(column5_);
- }
- String column4_=resultSetReg.getString("column4_");//推线编码
- if(StringUtils.isNotEmpty(column4_)){
- customer.setPushCode(column4_);
- }
- }
- preparedStatementReg.close();
- resultSetReg.close();
- //如果已存在,跳过
- // if(crmCustomerService.check(customer.getCustomerCode())>0){
- // continue;
- // }
- crmCustomerService.insertCrmCustomer(customer);
- //如果归属员工 自动认领
- if(customer.getCreateUserId()!=null&&customer.getCreateUserId()>0){
- CrmCustomeReceiveParam param=new CrmCustomeReceiveParam();
- param.setCompanyUserId(customer.getCreateUserId());
- param.setCustomerId(customer.getCustomerId());
- param.setCompanyId(customer.getCompanyId());
- param.setDeptId(customer.getDeptId());
- crmCustomerService.receive(param,user.getNickName());
- }
- //手机号
- String sqlPhone="select * from jt_cs_phone where cs_id_='"+id+"' ";
- PreparedStatement preparedStatementPhone = connection.prepareStatement(sqlPhone);
- ResultSet resultSetPhone = preparedStatementPhone.executeQuery();
- while (resultSetPhone.next()) {
- String phoneId=resultSetPhone.getString("id_");
- String mobile=resultSetPhone.getString("decrypt_mobile_");
- Timestamp phone_create_time_=resultSetPhone.getTimestamp("create_time_");
- CrmCustomerContacts contacts=new CrmCustomerContacts();
- contacts.setCustomerId(customer.getCustomerId());
- contacts.setName(customer.getCustomerName());
- contacts.setMobile(mobile);
- contacts.setIsDel(0);
- if(phone_create_time_!=null){
- Date date=new Date(phone_create_time_.getTime());
- contacts.setCreateTime(date);
- }
- else{
- contacts.setCreateTime(new java.util.Date());
- }
- crmCustomerContactsService.insertCrmCustomerContacts(contacts);
- customer.setMobile(contacts.getMobile());
- }
- preparedStatementPhone.close();
- resultSetPhone.close();
- //短信记录
- String sqlSms="select * from jt_sms_record where cs_id_='"+id+"' ";
- PreparedStatement preparedStatementSms = connection.prepareStatement(sqlSms);
- ResultSet resultSetSms = preparedStatementSms.executeQuery();
- while (resultSetSms.next()) {
- String content_=resultSetSms.getString("content_");
- String decrypt_mobile_=resultSetSms.getString("decrypt_mobile_");
- String result_=resultSetSms.getString("result_");//SUCCESS
- Timestamp sms_create_time_=resultSetSms.getTimestamp("create_time_");
- String sms_create_by_name_=resultSetSms.getString("create_by_name_");//发送者
- CompanySmsLogs logs=new CompanySmsLogs();
- logs.setCustomerId(customer.getCustomerId());
- if(result_.equals("SUCCESS")){
- logs.setStatus(1);
- }
- else{
- logs.setStatus(-1);
- }
- logs.setContent(content_);
- logs.setCompanyId(customer.getCompanyId());
- if(sms_create_time_!=null){
- Date date=new Date(sms_create_time_.getTime());
- logs.setSendTime(date);
- logs.setCreateTime(date);
- }
- else{
- logs.setSendTime(new java.util.Date());
- logs.setCreateTime(new java.util.Date());
- }
- logs.setPhone(decrypt_mobile_);
- smsLogsService.insertCompanySmsLogs(logs);
- }
- preparedStatementSms.close();
- resultSetSms.close();
- //订单表
- String orderSql="select * from jt_so_entity where cs_id_='"+id+"' ";
- PreparedStatement preparedStatementOrder = connection.prepareStatement(orderSql);
- ResultSet resultSetOrder = preparedStatementOrder.executeQuery();
- while (resultSetOrder.next()) {
- String id_=resultSetOrder.getString("id_");
- String so_no_=resultSetOrder.getString("so_no_");
- Integer prod_qty_=resultSetOrder.getInt("prod_qty_");
- BigDecimal prod_amount_=resultSetOrder.getBigDecimal("prod_amount_");//订单金额
- BigDecimal shipping_amount_=resultSetOrder.getBigDecimal("shipping_amount_");//运费
- BigDecimal sub_amount_=resultSetOrder.getBigDecimal("sub_amount_");//订金
- BigDecimal payed_amount_=resultSetOrder.getBigDecimal("payed_amount_");//支付金额
- String status_=resultSetOrder.getString("status_");
- String pay_status_=resultSetOrder.getString("pay_status_");
- String cs_id_=resultSetOrder.getString("cs_id_");
- String sc_tracking_no_=resultSetOrder.getString("sc_tracking_no_");//运单号
- Timestamp order_create_time_ = resultSet.getTimestamp("create_time_");
- CrmCustomerHisOrder order=new CrmCustomerHisOrder();
- CrmCustomerHisOrderDTO dto =new CrmCustomerHisOrderDTO();
- dto.setCount(prod_qty_);
- dto.setOrderCode(so_no_);
- dto.setOrderPrice(prod_amount_);
- dto.setDjPrice(sub_amount_);
- dto.setShippingNo(sc_tracking_no_);
- dto.setPayPrice(payed_amount_);
- dto.setShippingPrice(shipping_amount_);
- if (order_create_time_ != null){
- dto.setCreateTime(new java.util.Date(order_create_time_.getTime()));
- order.setCreateTime(new java.util.Date());
- }
- List<CrmCustomerHisOrderItemDTO> items=new ArrayList<>();
- String orderItemSql="select * from jt_so_item where so_id_ = '"+id_+"' ";
- PreparedStatement preparedStatementOrderItem = connection.prepareStatement(orderItemSql);
- ResultSet resultSetOrderItem = preparedStatementOrderItem.executeQuery();
- while (resultSetOrderItem.next()) {
- Integer count_=resultSetOrderItem.getInt("count_");
- String prod_name_=resultSetOrderItem.getString("prod_name_");
- CrmCustomerHisOrderItemDTO itemDTO=new CrmCustomerHisOrderItemDTO();
- itemDTO.setCount(count_);
- itemDTO.setProductName(prod_name_);
- items.add(itemDTO);
- }
- order.setCustomerCode(customer.getCustomerCode());
- order.setCustomerId(customer.getCustomerId());
- order.setOrderJson(JSONUtil.toJsonStr(dto));
- order.setItemJson(JSONUtil.toJsonStr(items));
- crmCustomerHisOrderService.insertCrmCustomerHisOrder(order);
- }
- preparedStatementOrder.close();
- resultSetOrder.close();
- crmCustomerService.updateCrmCustomer(customer);
- count++;
- LOGGER.info("导入NUMBER:"+count+"成功");
- LOGGER.info("导入ID:"+customer.getCustomerCode()+"成功");
- }
- catch (Exception e){
- count++;
- LOGGER.info("导入NUMBER:"+count+"失败"+e.getMessage());
- LOGGER.error("导入ERROR"+e.getMessage());
- continue;
- }
- }
- preparedStatement.close();
- resultSet.close();
- pageIndex=pageIndex+10;
- }
- catch (Exception e){
- LOGGER.error("导入ERROR"+e.getMessage());
- continue;
- }
- }
- LOGGER.info("导入已完成"+count+"个");
- } catch (Exception e) {
- e.printStackTrace();
- }
- finally {
- try {
- connection.close();
- } catch (SQLException e) {
- e.printStackTrace();
- }
- }
- }
- @ApiOperation("查询运单信息")
- @PostMapping(path = "/expressNotify" )
- public ExpressResultDTO expressNotify(@RequestBody ExpressNotifyDTO notifyDTO) throws Exception
- {
- logger.info("查询运单信息 {}",notifyDTO);
- //RequestData={"PushTime":"2022-09-06 09:59:26","EBusinessID":"1762981","Data":[{"StateEx":"0","LogisticCode":"SF1650775430012","ShipperCode":"SF","State":"0","OrderCode":"XCRTZH22090500435","EBusinessID":"1762981","Success":false}],"Count":"1"}&DataSign=YTEwMzAxMTAzNGI4ZjQ0OTU5MWE1Y2U0NzMzYTczNWM=&RequestType=102
- //RequestData={"PushTime":"2022-09-06 10:28:41","EBusinessID":"1762981","Data":[{"StateEx":"301","LogisticCode":"SF1372196615474","ShipperCode":"SF","Traces":[{"Action":"1","AcceptStation":"顺丰速运 已收取快件","AcceptTime":"2022-09-04 15:27:25","Remark":"","Location":"重庆"},{"Action":"1","AcceptStation":"顺丰速运 已收取快件","AcceptTime":"2022-09-04 15:34:27","Remark":"","Location":"重庆市"},{"Action":"2","AcceptStation":"快件在【重庆南岸区时代都汇营业点】完成分拣,准备发往 【重庆渝北中转场】","AcceptTime":"2022-09-04 17:17:16","Remark":"","Location":"重庆市"},{"Action":"2","AcceptStation":"快件已发车","AcceptTime":"2022-09-04 17:44:37","Remark":"","Location":"重庆市"},{"Action":"2","AcceptStation":"快件到达 【重庆渝北中转场】","AcceptTime":"2022-09-04 22:13:11","Remark":"","Location":"重庆市"},{"Action":"2","AcceptStation":"快件在【重庆渝北中转场】完成分拣,准备发往 【郑州港区中转场】","AcceptTime":"2022-09-05 00:04:51","Remark":"","Location":"重庆市"},{"Action":"2","AcceptStation":"快件已发车","AcceptTime":"2022-09-05 04:45:47","Remark":"","Location":"重庆市"},{"Action":"2","AcceptStation":"车辆当前所在位置道路管控,等待通行中,请您耐心等待\n","AcceptTime":"2022-09-05 19:35:55","Remark":"","Location":"重庆市"},{"Action":"2","AcceptStation":"快件到达 【郑州港区中转场】","AcceptTime":"2022-09-05 22:43:06","Remark":"","Location":"郑州市"},{"Action":"2","AcceptStation":"快件在【郑州港区中转场】完成分拣,准备发往 【焦作丰收集散点】","AcceptTime":"2022-09-05 23:16:24","Remark":"","Location":"郑州市"},{"Action":"2","AcceptStation":"快件已发车","AcceptTime":"2022-09-06 00:43:25","Remark":"","Location":"郑州市"},{"Action":"2","AcceptStation":"车辆当前所在位置道路管控,等待通行中,请您耐心等待\n","AcceptTime":"2022-09-06 01:03:39","Remark":"","Location":"郑州市"},{"Action":"2","AcceptStation":"快件到达 【焦作丰收集散点】","AcceptTime":"2022-09-06 03:03:35","Remark":"","Location":"焦作市"},{"Action":"2","AcceptStation":"快件在【焦作丰收集散点】完成分拣,准备发往 【济源市济源市汤帝路营业点】","AcceptTime":"2022-09-06 06:41:58","Remark":"","Location":"焦作市"},{"Action":"2","AcceptStation":"快件已发车","AcceptTime":"2022-09-06 06:42:17","Remark":"","Location":"焦作市"},{"Action":"2","AcceptStation":"车辆当前所在位置道路管控,等待通行中,请您耐心等待\n","AcceptTime":"2022-09-06 07:58:17","Remark":"","Location":"济源市"},{"Action":"2","AcceptStation":"快件到达 【济源市济源市汤帝路营业点】","AcceptTime":"2022-09-06 08:27:59","Remark":"","Location":"济源市"},{"Action":"202","AcceptStation":"正在派送途中,请您准备签收(派件人:刘亚飞,电话:18439188789)","AcceptTime":"2022-09-06 08:28:00","Remark":"","Location":"济源市"},{"Action":"202","AcceptStation":"快件交给刘亚飞,正在派送途中(联系电话:18439188789,顺丰已开启“安全呼叫”保护您的电话隐私,请放心接听!)(主单总件数:1件)","AcceptTime":"2022-09-06 08:38:03","Remark":"","Location":"济源市"},{"Action":"301","AcceptStation":"您的快件已签收,如有疑问请电联快递员【刘亚飞,电话:18439188789】。疫情期间顺丰每日对网点消毒、快递员每日测温、配戴口罩,感谢您使用顺丰,期待再次为您服务。(主单总件数:1件)","AcceptTime":"2022-09-06 08:54:05","Remark":"","Location":"济源市"}],"State":"3","OrderCode":"SKP012000681762","EBusinessID":"1762981","Success":true,"Location":"济源市"}],"Count":"1"}&DataSign=MTNlYTA5OTJmMjgxYjhiY2FjMTZjNTYyOGYxYjVhODA=&RequestType=102
- //https://api.hospital.ifeiyu100.com/app/common/expressNotify
- return orderService.updateDeliveryItem(notifyDTO);
- }
- }
|