|
|
|
@ -1192,7 +1192,7 @@ public class CollectModel {
|
|
|
|
|
Db.save(table_name, "id", record);
|
|
|
|
|
//保存原始JSON数据
|
|
|
|
|
sql = "update t_collect_job_bureau set form_fill_json=? where job_id=? and bureau_id=?";
|
|
|
|
|
Db.update(sql, form_json, job_id, bureau_id);
|
|
|
|
|
Db.update(sql, json, job_id, bureau_id);
|
|
|
|
|
|
|
|
|
|
//保存多选结果
|
|
|
|
|
//先删除
|
|
|
|
@ -1223,9 +1223,9 @@ public class CollectModel {
|
|
|
|
|
* @param job_id
|
|
|
|
|
* @param bureau_id
|
|
|
|
|
*/
|
|
|
|
|
public Record getFormFillJob(int job_id, String bureau_id) {
|
|
|
|
|
public String getFormFillJob(int job_id, String bureau_id) {
|
|
|
|
|
String sql = "select form_fill_json from t_collect_job_bureau where bureau_id=? and job_id=?";
|
|
|
|
|
return Db.findFirst(sql, bureau_id, job_id);
|
|
|
|
|
return Db.findFirst(sql, bureau_id, job_id).getStr("form_fill_json");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|