db_timer.js 434 B

12345678910111213141516
  1. 'use strict';
  2. const modelBase = require('./model_base');
  3. const F = require('../common/function');
  4. module.exports = function (tableName, modelManager) {
  5. modelBase.call(this);
  6. this.table = tableName;
  7. let modelMap = modelManager.model_map;
  8. var model_map = modelMap;
  9. //状态 0:待执行 1:执行中 2:执行成功 3:执行失败'
  10. this.status = {noexcute: 0, excuting: 1, excuteSuc: 2, excuteFail:3};
  11. };