|
|
|
@ -1058,14 +1058,14 @@ public class CollectController extends Controller {
|
|
|
|
|
@IsNumericInterface({"job_id"})
|
|
|
|
|
@EmptyInterface({"json"})
|
|
|
|
|
public void saveFormJob(int job_id, String json) {
|
|
|
|
|
String table_name = cm.getJob(job_id).getStr("form_table_name");
|
|
|
|
|
|
|
|
|
|
//操作人员
|
|
|
|
|
String person_id = SessionKit.get(getRequest(), getResponse(), "person_id");
|
|
|
|
|
//根据人员ID,获取人员所在的单位ID
|
|
|
|
|
LoginPersonModel personModel = new LoginPersonModel();
|
|
|
|
|
Record rs = personModel.getLoginInfoByPersonId(person_id);
|
|
|
|
|
String bureau_id = rs.get("bureau_id");
|
|
|
|
|
cm.saveFormJob(job_id, bureau_id, person_id, table_name, json);
|
|
|
|
|
cm.saveFormJob(job_id, bureau_id, person_id, json);
|
|
|
|
|
|
|
|
|
|
//回写完成标记
|
|
|
|
|
cm.writeJobFinish(job_id, bureau_id, null);
|
|
|
|
|