|
|
|
@ -16,8 +16,10 @@ import com.jfinal.ext.interceptor.GET;
|
|
|
|
|
import com.jfinal.ext.interceptor.POST;
|
|
|
|
|
import com.jfinal.kit.Kv;
|
|
|
|
|
import com.jfinal.kit.StrKit;
|
|
|
|
|
import com.jfinal.plugin.activerecord.Db;
|
|
|
|
|
import com.jfinal.plugin.activerecord.Page;
|
|
|
|
|
import com.jfinal.plugin.activerecord.Record;
|
|
|
|
|
import com.jfinal.plugin.activerecord.SqlPara;
|
|
|
|
|
import com.jfinal.upload.UploadFile;
|
|
|
|
|
import org.apache.poi.openxml4j.util.ZipSecureFile;
|
|
|
|
|
import org.apache.poi.ss.usermodel.IndexedColors;
|
|
|
|
@ -479,8 +481,6 @@ public class CollectController extends Controller {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 功能:获取任务列表,支持关键字查询
|
|
|
|
|
*
|
|
|
|
|
* @param job_name /QingLong/collect/getJobList?page=1&limit=10
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
@Before({GET.class})
|
|
|
|
@ -489,4 +489,59 @@ public class CollectController extends Controller {
|
|
|
|
|
Page<Record> list = cm.getJobList(job_name, page, limit);
|
|
|
|
|
renderJson(CommonUtil.renderJsonForLayUI(list));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 功能:获取学校类型
|
|
|
|
|
*
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@Before({GET.class})
|
|
|
|
|
@IsLoginInterface({})
|
|
|
|
|
public void getSchoolType() {
|
|
|
|
|
List<Record> list = cm.getSchoolType();
|
|
|
|
|
renderJson(CommonUtil.renderJsonForLayUI(list));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 功能:获取单位类型
|
|
|
|
|
*
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@Before({GET.class})
|
|
|
|
|
@IsLoginInterface({})
|
|
|
|
|
public void getBureauType() {
|
|
|
|
|
List<Record> list = cm.getBureauType();
|
|
|
|
|
renderJson(CommonUtil.renderJsonForLayUI(list));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 市直属下拉框
|
|
|
|
|
*
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@Before({GET.class})
|
|
|
|
|
@IsLoginInterface({})
|
|
|
|
|
public void getShiZhiType() {
|
|
|
|
|
List<Record> list = cm.getShiZhiType();
|
|
|
|
|
renderJson(CommonUtil.renderJsonForLayUI(list));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 功能:获取单位列表
|
|
|
|
|
*
|
|
|
|
|
* @param org_type_id
|
|
|
|
|
* @param school_type_id
|
|
|
|
|
* @param level_id
|
|
|
|
|
* @param city_id
|
|
|
|
|
* @param area_id
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@Before({GET.class})
|
|
|
|
|
@IsLoginInterface({})
|
|
|
|
|
public void getBureauList(int org_type_id, int school_type_id,
|
|
|
|
|
int level_id, String city_id, String area_id,
|
|
|
|
|
int page, int limit) {
|
|
|
|
|
Page<Record> list = cm.getBureauList(org_type_id, school_type_id, level_id, city_id, area_id, page, limit);
|
|
|
|
|
renderJson(CommonUtil.renderJsonForLayUI(list));
|
|
|
|
|
}
|
|
|
|
|
}
|