Skip to content

Instantly share code, notes, and snippets.

fankai fankaidev

Block or report user

Report or block fankaidev

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View DemoGenericAutowireService.java
package dev.fankai;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.DependsOn;
import org.springframework.stereotype.Service;
import javax.annotation.PostConstruct;
View gist:cebeaca3d65ca30319d344f55ffa78a2
const log = require('../../src/utils/log.js')
const store = require('./store')
const db = store.db
const dbget = store.dbget
const dbrun = store.dbrun
const createRecordTableSql = 'CREATE TABLE IF NOT EXISTS record (' +
'uid INTEGER,' +
'hid INTEGER,' +
'createdTime INTEGER, ' +
You can’t perform that action at this time.