sqls

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

* @Description: * @Autor: liujinyin * @Date: 2021-07-02 17:28:46 * @LastEditors: liujinyin * @LastEditTime: 2021-07-02 18:29:12

Index

Constants

View Source
const AddSecret = `
update sas_secret_conf t 
set t.%s = @secret, 
t.status = t.status | @status, 
t.update_time = now() 
where t.uid = @uid`
View Source
const DisableSecret = `update sas_secret_conf t set t.status = t.status & ~@status, t.update_time = now() where t.uid = @uid`
View Source
const EnableSecret = `update sas_secret_conf t set t.status = t.status | @status, t.update_time = now() where t.uid = @uid`
View Source
const GetPermissionByOutID = `` /* 368-byte string literal not displayed */
View Source
const InsetNewData = `
insert into sas_secret_conf 
(euid,status,expire_time) 
values 
(@euid,@status,'2099-12-31 00:00:00')`
View Source
const UpdateCertSecret = `` /* 492-byte string literal not displayed */
View Source
const UpdateRSASecret = `` /* 327-byte string literal not displayed */
View Source
const UpdateSecret = `` /* 175-byte string literal not displayed */

Variables

This section is empty.

Functions

func AddSecretSQL

func AddSecretSQL(paramName string) string

AddSecretSQL 添加新密钥sql

func UpdateSecretSQL

func UpdateSecretSQL(paramName string) string

UpdateSecretSQL 更新密钥sql

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL