|
|
|
@ -10,7 +10,6 @@ import cn.hutool.json.JSONUtil;
|
|
|
|
|
import com.dsideal.QingLong.Gtzz.Model.GtzzModel;
|
|
|
|
|
import com.dsideal.QingLong.Util.CommonUtil;
|
|
|
|
|
import com.dsideal.QingLong.Util.PgSqlUtil;
|
|
|
|
|
import com.jfinal.kit.LogKit;
|
|
|
|
|
import com.jfinal.kit.PropKit;
|
|
|
|
|
import com.jfinal.plugin.activerecord.ActiveRecordPlugin;
|
|
|
|
|
import com.jfinal.plugin.activerecord.CaseInsensitiveContainerFactory;
|
|
|
|
@ -25,7 +24,6 @@ import java.io.File;
|
|
|
|
|
import java.io.IOException;
|
|
|
|
|
import java.net.URISyntaxException;
|
|
|
|
|
import java.nio.charset.Charset;
|
|
|
|
|
import java.sql.Time;
|
|
|
|
|
import java.util.*;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -321,7 +319,7 @@ public class FillSubject {
|
|
|
|
|
Record r = new Record();
|
|
|
|
|
r.set("org_code", record.getStr("org_code"));
|
|
|
|
|
r.set("org_name", record.getStr("xmdw"));
|
|
|
|
|
r.set("subject_id", record.getStr("subject_id"));
|
|
|
|
|
r.set("subject_id", record.getInt("subject_id"));
|
|
|
|
|
r.set("subject_name", record.getStr("xmmc"));
|
|
|
|
|
r.set("subject_type_id", record.getStr("subject_type_id"));
|
|
|
|
|
String subject_type_name = "未知";
|
|
|
|
@ -335,11 +333,11 @@ public class FillSubject {
|
|
|
|
|
r.set("end_time", null);
|
|
|
|
|
r.set("begin_time", DateTime.now());
|
|
|
|
|
r.set("action_bureau", "长春市教育技术装备与信息中心");
|
|
|
|
|
r.set("lixiang_time", record.getStr("lixiang_time"));
|
|
|
|
|
r.set("lixiang_time", record.getDate("lixiang_time"));
|
|
|
|
|
r.set("task_number", record.getStr("task_number"));
|
|
|
|
|
r.set("data_type", record.getInt("data_type"));
|
|
|
|
|
Db.save("t_gtzz_progress", "progress_id", r);
|
|
|
|
|
LogKit.info("正在生成项目记录,第" + cnt + "个,共" + list.size() + "个");
|
|
|
|
|
CommonUtil.log("正在生成项目记录,第" + cnt + "个,共" + list.size() + "个");
|
|
|
|
|
cnt++;
|
|
|
|
|
}
|
|
|
|
|
//4、修改为已扫描完成
|
|
|
|
|