main
黄海 2 years ago
parent 09170b87e5
commit e4bcf3cf33

@ -1097,8 +1097,6 @@ public class CollectModel {
*
*/
public void saveFormJob(int job_id, String bureau_id, String person_id, String table_name, String json) {
//需要根据前端传入数据的样例进行修改
// TODO
JSONObject jo = JSONObject.parseObject(json);
Record record = new Record();
record.set("job_id", job_id);
@ -1106,6 +1104,12 @@ public class CollectModel {
record.set("person_id", person_id);
for (Map.Entry<String, Object> entry : jo.entrySet()) {
String key = entry.getKey();
/**
blockquote
line
*/
if (key.equals("blockquote")) continue;
if (key.equals("line")) continue;
Object value = entry.getValue();
record.set(key, value);
}

Loading…
Cancel
Save