package com.product.org.admin.test;
|
|
import java.util.HashMap;
|
import java.util.Map;
|
|
import com.product.common.utils.HttpTest;
|
/**
|
* Copyright LX-BASE
|
* @Title: CompanyTimeZoneTest
|
* @Project: LX-BASE-SERVER
|
* @Date: 2020年5月29日 上午11:08:31
|
* @Author: 郑盟
|
* @Description:单位时区配置,对应单位时区表
|
*/
|
public class CompanyTimeZoneTest extends HttpTest{
|
public static void main(String[] args) {
|
// CompanyTimeZoneTest.findTimeZone();// 单位时区信息详情
|
// CompanyTimeZoneTest.addTimeZone();//单位时区信息
|
// CompanyTimeZoneTest.updateTimeZone();// 单位时区信息
|
CompanyTimeZoneTest.deleteTimeZone();//单位时区信息
|
}
|
|
public static void deleteTimeZone() {
|
Map m = new HashMap();
|
m.put("~table~", "product_sys_company_time_zone");
|
m.put("url/api", "/api/company_time_zone/delete-timezone/v1");
|
m.put("org_level_uuid", "002");
|
testPost(m);
|
}
|
|
public static void findTimeZone() {
|
Map m = new HashMap();
|
m.put("~table~", "product_sys_company_time_zone");
|
m.put("url/api", "/api/company_time_zone/find-timezone/v1");
|
m.put("org_level_uuid", "002");
|
testPost(m);
|
}
|
|
public static void addTimeZone() {
|
Map m = new HashMap();
|
m.put("~table~", "product_sys_company_time_zone");
|
m.put("url/api", "/api/company_time_zone/add-update-timezone/v1");
|
m.put("org_level_uuid", "002");
|
m.put("zone_uuid", "sasassasas");
|
testPost(m);
|
}
|
|
public static void updateTimeZone() {
|
Map m = new HashMap();
|
m.put("~table~", "product_sys_company_time_zone");
|
m.put("url/api", "/api/company_time_zone/add-update-timezone/v1");
|
m.put("uuid", "442d6de9-be97-428f-a547-17184c6535ba");
|
m.put("org_level_uuid", "002");
|
m.put("zone_uuid", "1111");
|
testPost(m);
|
}
|
}
|