main
黄海 2 years ago
parent 42eaa1e682
commit 8ed99004b4

@ -891,8 +891,8 @@ public class CollectController extends Controller {
*/
@Before({GET.class})
@IsLoginInterface({})
@IsNumericInterface({"job_id", "type_id"})
public void getJobBureauFillInfo(int job_id, String bureau_id, int type_id) throws Exception {
@IsNumericInterface({"job_id", "type_id","status_code"})
public void getJobBureauFillInfo(int job_id, String bureau_id, int type_id,int status_code) throws Exception {
if (StrKit.isBlank(bureau_id)) {
//操作人员
String person_id = SessionKit.get(getRequest(), getResponse(), "person_id");
@ -911,7 +911,7 @@ public class CollectController extends Controller {
String pdfName = job_name + "【" + bureau_name + "】";
//1、找到upload_excel_filename_user
Record record = cm.viewFilledJob(job_id, bureau_id);
Record record = cm.viewFilledJob(job_id, bureau_id,status_code);
String upload_excel_filename_user = record.getStr("upload_excel_filename_user");
if (StrKit.isBlank(upload_excel_filename_user)) {
Kv kv = Kv.by("success", false);

@ -733,9 +733,9 @@ public class CollectModel {
* @param target_id
* @return
*/
public Record viewFilledJob(int job_id, String target_id) {
String sql = "select * from t_collect_job_target where job_id=? and target_id=?";
return Db.findFirst(sql, job_id, target_id);
public Record viewFilledJob(int job_id, String target_id, int status_code) {
String sql = "select * from t_collect_job_target where job_id=? and target_id=? and status_code=?";
return Db.findFirst(sql, job_id, target_id, status_code);
}

Loading…
Cancel
Save