|
|
|
@ -2033,8 +2033,8 @@ public class CollectModel {
|
|
|
|
|
* @param job_id 任务ID
|
|
|
|
|
*/
|
|
|
|
|
public void setForwardFinish(int job_id, int status_code, String bureau_id) {
|
|
|
|
|
String sql = "update t_collect_job_target set status_code=?,forward_finish_time=now() where job_id=? and target_id=?";
|
|
|
|
|
Db.update(sql, getNextStausCode(status_code), job_id, bureau_id);
|
|
|
|
|
String sql = "update t_collect_job_target set status_code=?,forward_finish_time=now() where job_id=? and target_id=? and status_code=?";
|
|
|
|
|
Db.update(sql, getNextStausCode(status_code), job_id, bureau_id, status_code);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/****下面的代码用于生成通用的EXCEL导出功能****/
|
|
|
|
|