Commit 247b5382 by 王欣伟

测试用例增加:同步工单到包活干结果

1 parent 66d4c1e1
package cn.com.glsx.stdinterface.modules.service;
import cn.hutool.json.JSONUtil;
import com.glsx.plat.common.utils.HttpUtils;
import java.util.TreeMap;
/**
* @BelongsProject: ne-shield-standard-interfaces
* @BelongsPackage: cn.com.glsx.stdinterface.modules.service
* @Author: dell_xw
* @CreateTime: 2023-09-04 16:43
* @Description: TODO
* @Version: 1.0
*/
public class BhgWorkOrderSyncTest {
public static void main(String[] args) {
String bhgOrderServiceUrl = "http://bhg.didihu.com.cn/carservice/ordercenter/";
String url = bhgOrderServiceUrl + "api/standardOrder/save?";
TreeMap<String, Object> map = new TreeMap<>();
map.put("address", "苏州大道东456号");
map.put("carColor", "");
map.put("carOwner", "辰宇宁精密机械(昆山)有限公司");
map.put("carOwnerPhone", "");
map.put("carType", "小型轿车");
map.put("channel", "glsx_nes");
map.put("contact", "");
map.put("district", "");
map.put("expectInstallTime", "2023-09-05");
map.put("installContactNumber", "");
map.put("installContacts", "");
map.put("merchantName", "仲利国际电销组");
map.put("phoneNumber", "13160028059");
map.put("remark", "租赁公司-仲利国际租赁有限公司 申请编号—AP2023083184489 区域—无 设备组合—GPSC:700B:1;GPSW:703B:1 导入时间—2023-09-04 分公司—无 店面名称—仲利国际电销组 店面联系电话—13160028059 要求安装日期—2023-09-05 客户姓名—辰宇宁精密机械(昆山)有限公司 车架号—LVSHFFAL4JF726278 颜色—无 车型—小型轿车 贷款期限—无 租凭方式—无 安装地址—苏州大道东456号 备注—无 安装方式—广联安装");
map.put("serviceCode", "NES_ZLGJ011");
map.put("sign", "EE455CA6E1BE91D6F88AC9D412771BC2");
map.put("vinNo", "LVSHFFAL4JF726278");
map.put("workOrderNo", "AP2023083184489");
String body = JSONUtil.toJsonStr(map);
String result = HttpUtils.post(url, body);
System.out.println("同步工单 到包活干结果:{}" + result);
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!