package com.product.administration.test; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import com.product.administration.config.CmnConst; import com.product.common.utils.HttpTest; public class CustmoerInfoTest extends HttpTest{ public static void main(String[] args) { // addCustomerInfo(); //新增客户基本信息 } public void addCustomerInfo() { Mapmap=new HashMap<>(); map.put("~table~", CmnConst.PRODUCT_PROJECT_CUSTOMER); map.put("apli/url", "/api/customer/add-customer-info"); map.put("customer_name", ""); map.put("customer_superior_name", ""); map.put("area_province", ""); map.put("area_country", ""); map.put("area_city", ""); map.put("customer_category", ""); //客户类别 map.put("customer_category_sub", ""); //客户类别(细分) map.put("customer_address", ""); //客户单位地址 map.put("customer_level", ""); //客户级别 map.put("customer_properties", ""); //单位性质 map.put("customer_manager", ""); //区域负责人 map.put("customer_manager_leader", ""); //分管领导 map.put("customer_net", ""); //公司网址 map.put("remark", ""); //备注 List>listMap=new ArrayList<>(); Mapmap1=new HashMap<>(); map1.put("linkman", ""); map1.put("gender", ""); map1.put("department", ""); map1.put("post", ""); map1.put("mobile", ""); map1.put("tel", ""); map1.put("email", ""); map1.put("status", ""); map1.put("remark", ""); Mapmap2=new HashMap<>(); map1.put("linkman", ""); map1.put("gender", ""); map1.put("department", ""); map1.put("post", ""); map1.put("mobile", ""); map1.put("tel", ""); map1.put("email", ""); map1.put("status", ""); map1.put("remark", ""); listMap.add(map1); listMap.add(map2); map.put(CmnConst.PRODUCT_PROJECT_CUSTOMER_SUB, listMap); testPost(map); } }