mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
'v3.8.1.1'
This commit is contained in:
@@ -19,10 +19,10 @@ package gplx.dbs.diffs; import gplx.*; import gplx.dbs.*;
|
||||
import gplx.dbs.diffs.itms.*;
|
||||
import gplx.dbs.diffs.builds.*;
|
||||
public class Gdif_core {
|
||||
private final Db_conn conn;
|
||||
private final Gdif_job_tbl job_tbl;
|
||||
private final Gdif_cmd_tbl cmd_tbl;
|
||||
private final Gdif_txn_tbl txn_tbl;
|
||||
private final Db_conn conn;
|
||||
private final Gdif_job_tbl job_tbl;
|
||||
private final Gdif_cmd_tbl cmd_tbl;
|
||||
private final Gdif_txn_tbl txn_tbl;
|
||||
public Gdif_core(Db_conn conn) {
|
||||
this.conn = conn;
|
||||
this.db = new Gdif_db(conn);
|
||||
@@ -30,10 +30,10 @@ public class Gdif_core {
|
||||
this.cmd_tbl = db.Cmd_tbl();
|
||||
this.txn_tbl = db.Txn_tbl();
|
||||
}
|
||||
public Gdif_db Db() {return db;} private final Gdif_db db;
|
||||
public Gdif_db Db() {return db;} private final Gdif_db db;
|
||||
public Gdif_job_itm New_job(String name, String made_by) {
|
||||
int job_id = conn.Sys_mgr().Autonum_next(job_tbl.Tbl_name(), job_tbl.Fld_job_id());
|
||||
return job_tbl.Insert(job_id, name, made_by, DateAdp_.Now().XtoUtc(), "");
|
||||
return job_tbl.Insert(job_id, name, made_by, Datetime_now.Get().XtoUtc(), "");
|
||||
}
|
||||
public Gdif_cmd_itm New_cmd(Gdif_bldr_ctx ctx, int tid) {
|
||||
ctx.Cur_cmd_count++;
|
||||
|
||||
Reference in New Issue
Block a user