main
黄海 1 year ago
parent 6a0fb63ebd
commit d3499596dc

@ -978,10 +978,10 @@ public class ZbdcController extends Controller {
*/
@IsLoginInterface({})
@IsNumericInterface({"page", "limit"})
public void CheckViewList() {
public void CheckViewListBySchool() {
//审核单位ID
String bureau_id = SessionKit.get(getRequest(), getResponse(), "bureau_id");
List<Record> list = zm.CheckViewList(bureau_id);
List<Record> list = zm.CheckViewListBySchool(bureau_id);
renderJson(CommonUtil.renderJsonForLayUI(list));
}
@ -990,10 +990,12 @@ public class ZbdcController extends Controller {
*/
@IsLoginInterface({})
@IsNumericInterface({"year"})
public void CheckViewDetail(int year) {
public void CheckViewDetailBySchool(int year) {
//审核单位ID
String bureau_id = SessionKit.get(getRequest(), getResponse(), "bureau_id");
List<Record> list = zm.CheckViewDetail(year, bureau_id);
List<Record> list = zm.CheckViewDetailBySchool(year, bureau_id);
renderJson(CommonUtil.renderJsonForLayUI(list));
}
//public void Check
}

@ -2302,16 +2302,16 @@ public class ZbdcModel {
/**
*
*/
public List<Record> CheckViewList(String bureau_id) {
public List<Record> CheckViewListBySchool(String bureau_id) {
Kv kv = Kv.by("bureau_id", bureau_id);
SqlPara sp = Db.getSqlPara("Zbdc.ViewCheckList", kv);
SqlPara sp = Db.getSqlPara("Zbdc.CheckViewListBySchool", kv);
return Db.find(sp);
}
/**
*
*/
public List<Record> CheckViewDetail(int year, String bureau_id) {
public List<Record> CheckViewDetailBySchool(int year, String bureau_id) {
String sql = "select *,(case check_type_id " +
" when 2 then '审核中'" +
" when -1 then '被退回'" +

@ -223,7 +223,7 @@
and t1.year=$year$ and t2.km_code='$km_code$' $blank$) as ta
#end
-- 单位查看自己上报数据的审核日志列表
#sql("ViewCheckList")
#sql("CheckViewListBySchool")
WITH RankedRows AS (
SELECT
area_id,area_name,bureau_id,bureau_name,year,check_type_id,message,create_time,

Loading…
Cancel
Save