Client eil_userid = BaseCmConfig.GetCustomSettings("EILUserId"); eil_pw = BaseCmConfig.GetCustomSettings("EILPassword"); eil_pw = FMSEncrypt.Decrypt(e ...
1. 基本描述 本章主要讲解各种子查询。 2. 基本样例 SELECT account_id, product_cd, cust_id, avail_balance FROM account WHERE account_id = (SELECT MAX(account_id) FROM accoun ...
分类:
其他好文 时间:
2019-11-26 10:44:31
阅读次数:
74
dashboard是k8s的可视化管理平台,是三种管理k8s集群方法之一 首先下载镜像上传到我们的私有仓库中:hdss7-200 编辑dashboard资源配置清单: 1、rbac.yaml 2、dp.yaml 3、svc.yaml 4、ingress.yaml 创建资源:任意node 添加域名解析 ...
分类:
Web程序 时间:
2019-11-25 20:41:14
阅读次数:
116
package com.hope.service.impl;import com.hope.dao.IAccountDao;import com.hope.domain.Account;import com.hope.service.IAccountService;import org.spring ...
分类:
编程语言 时间:
2019-11-25 20:36:19
阅读次数:
96
两个视图基类 APIView 是REST framework提供的所有视图的基类,继承自Django的 父类。 与`View`的不同之处在于: 传入到视图方法中的是REST framework的 对象,而不是Django的 对象; 视图方法可以返回REST framework的 对象,视图会为响应数 ...
分类:
其他好文 时间:
2019-11-24 18:00:01
阅读次数:
49
博客园 Open Live Writer 博客编辑工具&代码高亮显示插件 安装使用说明 背景说明 我们在写博客的时候,经常会插入一些代码块,博客园自带了一些代码块的插入风格。 但是,如果想让自己的代码块显示的比较 "fashion",需要使用相应的插件。 使用插件后,代码块效果如下: Open Li ...
分类:
其他好文 时间:
2019-11-24 10:06:20
阅读次数:
117
项目的架构为: 1、虚拟环境virtualenv 安装Django==2.1.3 安装pymysql 安装mysqlclient 安装其他等 2、项目结构为: 应用APP: blog 管理博客 account 管理用户注册/登录/等 后台数据库: mysql 路由分层及命名空间: 根据应用进行分层 ...
分类:
其他好文 时间:
2019-11-23 09:47:31
阅读次数:
69
在Django中需要向数据库中插入多条数据(list)。使用如下方法,每次save()的时候都会访问一次数据库。导致性能问题: for i in resultlist: p = Account(name=i) p.save() 在django1.4以后加入了新的特性。使用django.db.mode ...
分类:
其他好文 时间:
2019-11-22 00:34:15
阅读次数:
120
1.以system登录及输入自己设置口令; 2.更换sysdba身份; conn system/orcl as sysdba; 3.解锁scott用户(因装好默认是锁定的); alter user scott account unlock; 5.储存 commit; conn scott/tiger ...
分类:
数据库 时间:
2019-11-21 13:54:21
阅读次数:
90
//bean.xml配置文件 <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLS ...
分类:
移动开发 时间:
2019-11-19 00:40:14
阅读次数:
79