zoukankan      html  css  js  c++  java
  • 接口

    DROP TABLE IF EXISTS `APIINFO`;
    CREATE TABLE `APIINFO`  (
      `ANF_ID` INT(4) NOT NULL AUTO_INCREMENT,
      `ANF_PID` INT(4) NULL DEFAULT NULL,
      `ANF_NAME` VARCHAR(100) CHARACTER SET UTF8MB4 COLLATE UTF8MB4_GENERAL_CI NULL DEFAULT NULL,
      `ANF_HOSTNAME` VARCHAR(200) CHARACTER SET UTF8MB4 COLLATE UTF8MB4_GENERAL_CI NULL DEFAULT NULL,
      `ANF_PATH` VARCHAR(100) CHARACTER SET UTF8MB4 COLLATE UTF8MB4_GENERAL_CI NULL DEFAULT NULL,
    	`ANF_METHOD` INT(4) NOT NULL DEFAULT 1,
      `ANF_DELETED_FLAG` BIT(1) NULL DEFAULT B'0',
      `ANF_MEMO` VARCHAR(200) CHARACTER SET UTF8MB4 COLLATE UTF8MB4_GENERAL_CI NULL DEFAULT NULL,
      `ANF_CREATEDT` DATETIME(0) NOT NULL,
      `ANF_UPDATEDT` DATETIME(0) NOT NULL,
    	`ANF_CREATEUID` VARCHAR(100) CHARACTER SET UTF8MB4 COLLATE UTF8MB4_GENERAL_CI NULL DEFAULT NULL,
    	`ANF_UPDATEUID` VARCHAR(100) CHARACTER SET UTF8MB4 COLLATE UTF8MB4_GENERAL_CI NULL DEFAULT NULL,
      PRIMARY KEY (`ANF_ID`) USING BTREE
    ) ENGINE = INNODB AUTO_INCREMENT = 1 CHARACTER SET = UTF8MB4 COLLATE = UTF8MB4_GENERAL_CI ROW_FORMAT = DYNAMIC;
    
    
    show tables
    
    DROP TABLE IF EXISTS `PROJECT`;
    CREATE TABLE `PROJECT`  (
      `PROJECT_ID` INT(4) NOT NULL AUTO_INCREMENT,
      `PROJECT_NAME` VARCHAR(100) CHARACTER SET UTF8MB4 COLLATE UTF8MB4_GENERAL_CI NULL DEFAULT NULL,
      `PROJECT_IMAGE` VARCHAR(100) CHARACTER SET UTF8MB4 COLLATE UTF8MB4_GENERAL_CI NULL DEFAULT NULL,		
    	 PRIMARY KEY (`PROJECT_ID`) USING BTREE
    	) ENGINE = INNODB AUTO_INCREMENT = 1 CHARACTER SET = UTF8MB4 COLLATE = UTF8MB4_GENERAL_CI ROW_FORMAT = DYNAMIC;
    
    select * from project
    insert project(PROJECT_NAME,PROJECT_IMAGE) values('优酷','youku.jpg');
    insert project(PROJECT_NAME,PROJECT_IMAGE) values('饿了么','eleme.jpg');
    insert project(PROJECT_NAME,PROJECT_IMAGE) values('抖音','douyin.jpg');
    insert project(PROJECT_NAME,PROJECT_IMAGE) values('快播','kuaibo.jpg');
    insert project(PROJECT_NAME,PROJECT_IMAGE) values('快手','kuaishou.jpg');
    insert project(PROJECT_NAME,PROJECT_IMAGE) values('携程','xiecheng.jpg');
    insert project(PROJECT_NAME,PROJECT_IMAGE) values('平安','pingan.jpg');
    insert project(PROJECT_NAME,PROJECT_IMAGE) values('淘宝','taobao.jpg');
    insert project(PROJECT_NAME,PROJECT_IMAGE) values('天猫','tmall.jpg');
    insert project(PROJECT_NAME,PROJECT_IMAGE) values('京东','jingdong.jpg');
    
    
    Select * from apiinfo
    
    insert APIINFO(anf_pid,anf_name,anf_hostname,anf_path,anf_method,anf_deleted_flag,anf_memo,anf_createdt,anf_updatedt,anf_createuid,anf_updateuid)
    values(1,'register','localhost:8087','/register',1,0,'memo',now(),now(),'123','123')
    
    
    select * from qa_employ
    
    update qa_employ set employ_email = ''
    

      

  • 相关阅读:
    idea控制台乱码问题解决
    部署springboot项目到云服务器的两种方式(jar+war)
    case...when...then....(else...)....end的使用小案例
    多线程学习(二)
    多线程学习(一)
    Swagger学习笔记
    Docker进阶篇
    Docker入门基础篇
    Markdown语法学习(推荐使用Typora编辑器)
    git(六)——IDEA中使用git
  • 原文地址:https://www.cnblogs.com/qianjinyan/p/11386253.html
Copyright © 2011-2022 走看看