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, ' + |