|
|
|
@ -4,6 +4,7 @@ import cn.hutool.core.date.DateTime;
|
|
|
|
|
import com.dsideal.QingLong.Interceptor.IsLoginInterface;
|
|
|
|
|
import com.jfinal.aop.Before;
|
|
|
|
|
import com.jfinal.ext.interceptor.GET;
|
|
|
|
|
import com.jfinal.ext.interceptor.POST;
|
|
|
|
|
import com.jfinal.kit.Kv;
|
|
|
|
|
import com.jfinal.plugin.activerecord.Db;
|
|
|
|
|
import com.jfinal.plugin.activerecord.Record;
|
|
|
|
@ -148,4 +149,15 @@ public class CollectModel {
|
|
|
|
|
Db.batchSave("t_collect_job_sheet_col", writeList, 100);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 功能:确认job_id+sheet_index完成
|
|
|
|
|
*
|
|
|
|
|
* @param job_id
|
|
|
|
|
* @param sheet_index
|
|
|
|
|
*/
|
|
|
|
|
public void checkSheet(int job_id, int sheet_index) {
|
|
|
|
|
String sql = "update t_collect_job_sheet set is_check=1,check_time=? where job_id=? and sheet_index=?";
|
|
|
|
|
Db.update(sql, DateTime.now(), job_id, sheet_index);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|