|
|
|
@ -855,16 +855,16 @@ public class CollectController extends Controller {
|
|
|
|
|
*/
|
|
|
|
|
@Before({POST.class, RepeatIntercetpor.class})
|
|
|
|
|
@IsLoginInterface({})
|
|
|
|
|
@IsNumericInterface({"job_id","status_code"})
|
|
|
|
|
@IsNumericInterface({"job_id"})
|
|
|
|
|
@EmptyInterface({"deadline_time"})
|
|
|
|
|
public void extensionJob(int job_id, String deadline_time, int status_code) throws ParseException {
|
|
|
|
|
public void extensionJob(int job_id, String deadline_time) throws ParseException {
|
|
|
|
|
//操作人员
|
|
|
|
|
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.extensionJob(job_id, deadline_time, bureau_id, status_code);
|
|
|
|
|
cm.extensionJob(job_id, deadline_time, bureau_id);
|
|
|
|
|
Map<String, Object> map = new HashMap<>();
|
|
|
|
|
map.put("success", true);
|
|
|
|
|
map.put("message", "保存成功!");
|
|
|
|
|