static public OperatorLog getInctance() { if (m_instance == null) { m_instance = new OperatorLog(); } return(m_instance); }
protected void writeOperatorLog(int billType, OperatorLogType type, string billNumber) { string logDesc = ""; if (type == OperatorLogType.Add) { logDesc = "新增单据["; } else if (type == OperatorLogType.Review) { logDesc = "审核单据["; } else { logDesc = "单据入账["; } logDesc += billNumber + "]"; OperatorLog.getInctance().insert(billType, logDesc); }