add report and SwaggerOperation
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
kamonwan taengsuk
2023-08-15 17:53:36 +07:00
parent 171ec756e4
commit 7132b7c4ed
14 changed files with 2229 additions and 24 deletions

View File

@@ -1,6 +1,6 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.ComponentModel;
using System.IO;
using System.Linq;
using ClosedXML.Excel;
@@ -11,7 +11,6 @@ using FastReport.Export.OoXML;
using FastReport.Export.Pdf;
using Microsoft.AspNetCore.Mvc;
using rmutr_report.Models;
using rmutr_report.Models.Hr;
using rmutr_report.Models.Personnel;
using Swashbuckle.AspNetCore.Annotations;
@@ -24,9 +23,9 @@ namespace rmutr_report.Controllers
public Budget(Setting setting)
{
this._setting = setting;
_setting = setting;
}
[SwaggerOperation(Summary = "รายงานงบประมาณแยกตามพื้นที่")]
[HttpPost, Route("reports/budget_report/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetSum1Report([FromRoute] string type, [FromBody] List<budget_report> budget_reports)
@@ -81,7 +80,7 @@ namespace rmutr_report.Controllers
return Ok();
}
[SwaggerOperation(Summary = "รายงานสรุปงบประมาณรายจ่าย")]
[HttpPost, Route("reports/budget_summary_report/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetSumReport([FromRoute] string type,
@@ -245,7 +244,7 @@ namespace rmutr_report.Controllers
return Ok();
}
[SwaggerOperation("สรุปรายการสิ่งก่อสร้างที่เสนอขอ")]
[HttpPost, Route("reports/summary_building_table/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetSumbuildingReport([FromRoute] string type,
@@ -307,7 +306,7 @@ namespace rmutr_report.Controllers
return Ok();
}
[SwaggerOperation("สรุปรายการครุภัณฑ์ที่เสนอขอ")]
[HttpPost, Route("reports/summary_durable_articles_table/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetSumDurableArticlesReport([FromRoute] string type,
@@ -352,7 +351,7 @@ namespace rmutr_report.Controllers
return Ok();
}
[SwaggerOperation("ตารางและรายงานสรุปคำขอในส่วนของโครงการทั้งหมด")]
[HttpPost, Route("reports/summary_all_project_table/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetSumAllProjectReport([FromRoute] string type,
@@ -397,7 +396,7 @@ namespace rmutr_report.Controllers
return Ok();
}
[SwaggerOperation("สรุปการเสนอของบประมาณโครงการประจำปีงบประมาณ")]
[HttpPost, Route("reports/summary_project_budget_proposals/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetSumPReport([FromRoute] string type, [FromBody] summary_project_budget_proposals eleven)
@@ -450,7 +449,7 @@ namespace rmutr_report.Controllers
return Ok();
}
[SwaggerOperation("งบประมาณแผ่นดิน พื้นฐาน")]
[HttpPost, Route("reports/basic_plan/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetBasicPlanReport([FromRoute] string type,
@@ -770,7 +769,7 @@ namespace rmutr_report.Controllers
return Ok();
}
}
[SwaggerOperation("งบประมาณแผ่นดิน แผนบูรณาการ+แผนยุทธศาสตร์")]
[HttpPost, Route("reports/integration_strategic_plan/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetInStrPlanReport([FromRoute] string type,
@@ -1164,7 +1163,7 @@ namespace rmutr_report.Controllers
"integration_strategic_plan_" + date + ".xlsx");
}
}
[SwaggerOperation("งบประมาณแผ่นดิน รวมทุกแผน")]
[HttpPost, Route("reports/basic_plan_all/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetBasicPlanAllReport([FromRoute] string type,
@@ -1706,7 +1705,7 @@ namespace rmutr_report.Controllers
"basic_plan_all_" + date + ".xlsx");
}
}
[SwaggerOperation("ตารางสรุปประเด็นยุทธศาสตร์ เป้าหมายหลัก ตัวชี้วัดและกลยุทธ์")]
[HttpPost, Route("reports/summary_strategic/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetSumStrategicReport([FromRoute] string type,
@@ -1744,7 +1743,7 @@ namespace rmutr_report.Controllers
return Ok();
}
[SwaggerOperation("ร.15 ประมาณการรายรับจากการจัดการศึกษา")]
[HttpPost, Route("reports/budget_expenditure_from_revenue/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetBudgetReport([FromRoute] string type,
@@ -1968,7 +1967,7 @@ namespace rmutr_report.Controllers
return Ok();
}
[SwaggerOperation("สรุปรายรับและจัดสรรตามเกณฑ์")]
[HttpPost, Route("reports/revenue_estimates/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetRevenueEstimatesReport([FromRoute] string type,
@@ -2432,7 +2431,7 @@ namespace rmutr_report.Controllers
"revenue_estimates_" + date + ".xlsx");
}
}
[SwaggerOperation("ตารางสรุปงบประมาณประจำปี แยกตามผลผลิตของมหาวิทยาลัย")]
[HttpPost, Route("reports/summary_budget_university/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetSumBudgetUniReport([FromRoute] string type,
@@ -2469,7 +2468,7 @@ namespace rmutr_report.Controllers
return Ok();
}
[SwaggerOperation("แผนงานบุคลากรภาครัฐ")]
[HttpPost, Route("reports/budget_expenditure_report_from_revenue/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetBudgetExpenditureRevenueReport([FromRoute] string type,
@@ -2512,6 +2511,7 @@ namespace rmutr_report.Controllers
return Ok();
}
[SwaggerOperation("สรุปงบประมาณแผนปฏิบัติราชการประจำปี")]
[HttpPost, Route("reports/summary_government_budget_plan/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
@@ -2656,7 +2656,7 @@ namespace rmutr_report.Controllers
return Ok();
}
[SwaggerOperation("แผนงาน/ผลผลิตของมหาวิทยาลัยฯ")]
[HttpPost, Route("reports/budget_projects/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetBudgetProjectsReport([FromRoute] string type,
@@ -2693,7 +2693,7 @@ namespace rmutr_report.Controllers
return Ok();
}
[SwaggerOperation("ข้อมูลงบประมาณเงินแผ่นดิน งบประมาณเงินรายได้")]
[HttpPost, Route("reports/total_budget/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetBudgetTotalReport([FromRoute] string type,
@@ -2731,7 +2731,7 @@ namespace rmutr_report.Controllers
return Ok();
}
[SwaggerOperation("งบประมาณรายจ่ายจากเงินรายได้ งบเงินอุดหนุน")]
[HttpPost, Route("reports/summary_subsidy_projects/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetBudgetSubsidySummaryReport([FromRoute] string type,
@@ -2785,6 +2785,314 @@ namespace rmutr_report.Controllers
"project_summary_subsidy" + ".xlsx");
}
return Ok();
}
[SwaggerOperation("ตารางเป้าหมายผลผลิต")]
[HttpPost, Route("reports/target_budget_project/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetTargetBudgetReport([FromRoute] string type,
[FromBody] List<target_budget_project> targetBudgetProjectsbudget)
{
Report report = new Report();
report.Load(_setting.report_path + "target_budget_project.frx");
report.RegisterData(targetBudgetProjectsbudget, "target_budget_project");
report.Prepare();
MemoryStream stream = new MemoryStream();
switch (type)
{
case "pdf":
PDFExport pdf = new PDFExport();
report.Export(pdf, stream);
stream.Seek(0, SeekOrigin.Begin);
return File(stream, "application/pdf");
case "xls":
case "xlsx":
Excel2007Export excel = new Excel2007Export();
report.Export(excel, stream);
stream.Seek(0, SeekOrigin.Begin);
return File(
stream,
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"target_budget_project" + ".xlsx");
}
return Ok();
}
[SwaggerOperation("แผนการรับนักศึกษา")]
[HttpPost, Route("reports/student_admission_plan/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetStdAdmissionReport([FromRoute] string type,
[FromBody] student_admission_plan studentAdmission)
{
if (studentAdmission.student_type_code==1)
{
studentAdmission.student_type_name = "นักศึกษารับใหม่";
studentAdmission.text = "ภาคสมทบ";
}
if (studentAdmission.student_type_code==2)
{
studentAdmission.student_type_name = "นักศึกษาทั้งหมด";
studentAdmission.text = "ภาคสมทบ/ภาคพิเศษ";
}
if (studentAdmission.student_type_code==3)
{
studentAdmission.student_type_name = "นักศึกษาสำเร็จ";
studentAdmission.text = "ภาคสมทบ/ภาคพิเศษ";
}
foreach (var detail in studentAdmission.data)
{
if (detail.topic_type == 4)
{
detail.topic = "- "+detail.topic;
}
}
var studentAdmissionPlans = new List<student_admission_plan>() { studentAdmission };
Report report = new Report();
report.Load(_setting.report_path + "student_admission_plan.frx");
report.RegisterData(studentAdmissionPlans, "student_admission_plan");
report.Prepare();
MemoryStream stream = new MemoryStream();
switch (type)
{
case "pdf":
PDFExport pdf = new PDFExport();
report.Export(pdf, stream);
stream.Seek(0, SeekOrigin.Begin);
return File(stream, "application/pdf");
case "xls":
case "xlsx":
Excel2007Export excel = new Excel2007Export();
report.Export(excel, stream);
stream.Seek(0, SeekOrigin.Begin);
return File(
stream,
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"student_admission_plan" + ".xlsx");
}
return Ok();
}
[SwaggerOperation("รายงานภาพรวมนักศึกษา")]
[HttpPost, Route("reports/student_overview/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetStdoverviewReport([FromRoute] string type,
[FromBody] student_overview studentOverview)
{
if (studentOverview.student_type_code==1)
{
studentOverview.student_type_name = "นักศึกษาทั้งหมด";
}
if (studentOverview.student_type_code==2)
{
studentOverview.student_type_name = "นักศึกษารับใหม่";
}
if (studentOverview.student_type_code==3)
{
studentOverview.student_type_name = "นักศึกษาสำเร็จ";
}
if (studentOverview.student_type_code==4)
{
studentOverview.student_type_name = "นักศึกษาปกติทั้งหมด";
}
if (studentOverview.student_type_code==5)
{
studentOverview.student_type_name = "นักศึกษาปกติรับใหม่";
}
if (studentOverview.student_type_code==6)
{
studentOverview.student_type_name = "นักศึกษาปกติสำเร็จ";
}
if (studentOverview.student_type_code==7)
{
studentOverview.student_type_name = "นักศึกษาสมทบ/พิเศษทั้งหมด";
}
if (studentOverview.student_type_code==8)
{
studentOverview.student_type_name = "นักศึกษาสมทบ/พิเศษรับใหม่";
}
if (studentOverview.student_type_code==9)
{
studentOverview.student_type_name = "นักศึกษาสมทบ/พิเศษสำเร็จ";
}
var sum1 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ba_degree_science_1);
var sum2 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ba_degree_social_1);
var sum3 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ba_degree_total_1);
var sum4 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ma_degree_science_1);
var sum5 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ma_degree_social_1);
var sum6 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ma_degree_total_1);
var sum7 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.doctor_degree_science_1);
var sum8 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.doctor_degree_social_1);
var sum9 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.doctor_degree_total_1);
var sum10 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.total_science_1);
var sum11 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.total_social_1);
var sum12 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.total_1);
var sum13 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ba_degree_science_2);
var sum14 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ba_degree_social_2);
var sum15 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ba_degree_total_2);
var sum16 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ma_degree_science_2);
var sum17 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ma_degree_social_2);
var sum18 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ma_degree_total_2);
var sum19 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.doctor_degree_science_2);
var sum20 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.doctor_degree_social_2);
var sum21 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.doctor_degree_total_2);
var sum22 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.total_science_2);
var sum23 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.total_social_2);
var sum24 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.total_2);
var sum25 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ba_degree_science_3);
var sum26 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ba_degree_social_3);
var sum27 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ba_degree_total_3);
var sum28 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ma_degree_science_3);
var sum29 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ma_degree_social_3);
var sum30 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ma_degree_total_3);
var sum31 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.doctor_degree_science_3);
var sum32 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.doctor_degree_social_3);
var sum33 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.doctor_degree_total_3);
var sum34 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.total_science_3);
var sum35 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.total_social_3);
var sum36 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.total_3);
var sum37 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ba_degree_science_4);
var sum38 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ba_degree_social_4);
var sum39 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ba_degree_total_4);
var sum40 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ma_degree_science_4);
var sum41 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ma_degree_social_4);
var sum42 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ma_degree_total_4);
var sum43 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.doctor_degree_science_4);
var sum44 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.doctor_degree_social_4);
var sum45 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.doctor_degree_total_4);
var sum46 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.total_science_4);
var sum47 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.total_social_4);
var sum48 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.total_4);
var sum49 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ba_degree_science_5);
var sum50 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ba_degree_social_5);
var sum51 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ba_degree_total_5);
var sum52 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ma_degree_science_5);
var sum53 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ma_degree_social_5);
var sum54 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ma_degree_total_5);
var sum55 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.doctor_degree_science_5);
var sum56 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.doctor_degree_social_5);
var sum57 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.doctor_degree_total_5);
var sum58 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.total_science_5);
var sum59 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.total_social_5);
var sum60 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.total_5);
var sum61 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ba_degree_science_6);
var sum62 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ba_degree_social_6);
var sum63 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ba_degree_total_6);
var sum64 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ma_degree_science_6);
var sum65 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ma_degree_social_6);
var sum66 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.ma_degree_total_6);
var sum67 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.doctor_degree_science_6);
var sum68 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.doctor_degree_social_6);
var sum69 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.doctor_degree_total_6);
var sum70 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.total_science_6);
var sum71 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.total_social_6);
var sum72 = studentOverview.data.Where(g=>g.topic_type==1).Sum(d => d.total_6);
studentOverview.ba_degree_science_1 = sum1;
studentOverview.ba_degree_social_1 = sum2;
studentOverview.ba_degree_total_1 = sum3;
studentOverview.ma_degree_science_1 = sum4;
studentOverview.ma_degree_social_1 = sum5;
studentOverview.ma_degree_total_1 = sum6;
studentOverview.doctor_degree_science_1 = sum7;
studentOverview.doctor_degree_social_1 = sum8;
studentOverview.doctor_degree_total_1 = sum9;
studentOverview.total_science_1 = sum10;
studentOverview.total_social_1 = sum11;
studentOverview.total_1 = sum12;
studentOverview.ba_degree_science_2 = sum13;
studentOverview.ba_degree_social_2 = sum14;
studentOverview.ba_degree_total_2 = sum15;
studentOverview.ma_degree_science_2 = sum16;
studentOverview.ma_degree_social_2 = sum17;
studentOverview.ma_degree_total_2 = sum18;
studentOverview.doctor_degree_science_2 = sum19;
studentOverview.doctor_degree_social_2 = sum20;
studentOverview.doctor_degree_total_2 = sum21;
studentOverview.total_science_2 = sum22;
studentOverview.total_social_2 = sum23;
studentOverview.total_2 = sum24;
studentOverview.ba_degree_science_3 = sum25;
studentOverview.ba_degree_social_3 = sum26;
studentOverview.ba_degree_total_3 = sum27;
studentOverview.ma_degree_science_3 = sum28;
studentOverview.ma_degree_social_3 = sum29;
studentOverview.ma_degree_total_3 = sum30;
studentOverview.doctor_degree_science_3 = sum31;
studentOverview.doctor_degree_social_3 = sum32;
studentOverview.doctor_degree_total_3 = sum33;
studentOverview.total_science_3 = sum34;
studentOverview.total_social_3 = sum35;
studentOverview.total_3 = sum36;
studentOverview.ba_degree_science_4 = sum37;
studentOverview.ba_degree_social_4 = sum38;
studentOverview.ba_degree_total_4 = sum39;
studentOverview.ma_degree_science_4 = sum40;
studentOverview.ma_degree_social_4 = sum41;
studentOverview.ma_degree_total_4 = sum42;
studentOverview.doctor_degree_science_4 = sum43;
studentOverview.doctor_degree_social_4 = sum44;
studentOverview.doctor_degree_total_4 = sum45;
studentOverview.total_science_4 = sum46;
studentOverview.total_social_4 = sum47;
studentOverview.total_4 = sum48;
studentOverview.ba_degree_science_5 = sum49;
studentOverview.ba_degree_social_5 = sum50;
studentOverview.ba_degree_total_5 = sum51;
studentOverview.ma_degree_science_5 = sum52;
studentOverview.ma_degree_social_5 = sum53;
studentOverview.ma_degree_total_5 = sum54;
studentOverview.doctor_degree_science_5 = sum55;
studentOverview.doctor_degree_social_5 = sum56;
studentOverview.doctor_degree_total_5 = sum57;
studentOverview.total_science_5 = sum58;
studentOverview.total_social_5 = sum59;
studentOverview.total_5 = sum60;
studentOverview.ba_degree_science_6 = sum61;
studentOverview.ba_degree_social_6 = sum62;
studentOverview.ba_degree_total_6 = sum63;
studentOverview.ma_degree_science_6 = sum64;
studentOverview.ma_degree_social_6 = sum65;
studentOverview.ma_degree_total_6 = sum66;
studentOverview.doctor_degree_science_6 = sum67;
studentOverview.doctor_degree_social_6 = sum68;
studentOverview.doctor_degree_total_6 = sum69;
studentOverview.total_science_6 = sum70;
studentOverview.total_social_6 = sum71;
studentOverview.total_6 = sum72;
var studentOverviews = new List<student_overview>() { studentOverview };
Report report = new Report();
report.Load(_setting.report_path + "student_overview.frx");
report.RegisterData(studentOverviews, "student_overview");
report.Prepare();
MemoryStream stream = new MemoryStream();
switch (type)
{
case "pdf":
PDFExport pdf = new PDFExport();
report.Export(pdf, stream);
stream.Seek(0, SeekOrigin.Begin);
return File(stream, "application/pdf");
case "xls":
case "xlsx":
Excel2007Export excel = new Excel2007Export();
report.Export(excel, stream);
stream.Seek(0, SeekOrigin.Begin);
return File(
stream,
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"student_overview" + ".xlsx");
}
return Ok();
}
}

View File

@@ -20,7 +20,7 @@ namespace rmutr_report.Controllers
{
this._setting = setting;
}
[SwaggerOperation("รับเงินแผ่นดิน")]
[HttpPost, Route("reports/receive_government/{type}")] //รับเงินแผ่นดิน
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetGovernmentBudgetReport([FromRoute] string type,
@@ -62,7 +62,7 @@ namespace rmutr_report.Controllers
return Ok();
}
[SwaggerOperation("การจัดสรรงบประมาณแผ่นดิน พื้นฐาน+ยุทธศาตร์")]
[HttpPost, Route("reports/budget_government_allocate/{type}")] // (พื้นฐาน+ยุทธศาตร์)
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetInStrAllocateReport([FromRoute] string type,

View File

@@ -0,0 +1,53 @@
using System.Collections.Generic;
namespace rmutr_report.Models
{
public class student_admission_plan
{
public int? student_type_code { get; set; } //1นักศึกษารับใหม่ 2นักศึกษาทั้งหมด 3นักศึกษาสำเร็จ
public string student_type_name { get; set; }
public string academic_year_from { get; set; }
public string academic_year_to{ get; set; }
public string faculty_name_th { get; set; }
public string level { get; set; }
public string course_name_th { get; set; }
public string major_name_th { get; set; }
public string budget_project_name_th { get; set; }
public string agency_name_th { get; set; }
public string budget_location_name_th { get; set; }
//
public string year_1 { get; set; }
public string year_2 { get; set; }
public string year_3 { get; set; }
public string year_4 { get; set; }
public string year_5 { get; set; }
public string year_6 { get; set; }
public string text { get; set; }
public List<student_admission_plan_detail> data { get; set; }
}
public class student_admission_plan_detail
{
public int? topic_type { get; set; }
public string topic { get; set; }
public decimal? sector_normal_year_1 { get; set; }
public decimal? sector_normal_year_2 { get; set; }
public decimal? sector_normal_year_3 { get; set; }
public decimal? sector_normal_year_4 { get; set; }
public decimal? sector_normal_year_5 { get; set; }
public decimal? sector_normal_year_6 { get; set; }
public decimal? sector_associate_year_1 { get; set; }
public decimal? sector_associate_year_2 { get; set; }
public decimal? sector_associate_year_3 { get; set; }
public decimal? sector_associate_year_4 { get; set; }
public decimal? sector_associate_year_5 { get; set; }
public decimal? sector_associate_year_6 { get; set; }
public decimal? total_year_1 { get; set; }
public decimal? total_year_2 { get; set; }
public decimal? total_year_3 { get; set; }
public decimal? total_year_4 { get; set; }
public decimal? total_year_5 { get; set; }
public decimal? total_year_6 { get; set; }
}
}

View File

@@ -0,0 +1,182 @@
using System.Collections.Generic;
namespace rmutr_report.Models
{
public class student_overview
{
public int? student_type_code { get; set; } //1นักศึกษารับใหม่ 2นักศึกษาทั้งหมด 3นักศึกษาสำเร็จ
public string student_type_name { get; set; }
public string academic_year_from { get; set; }
public string academic_year_to{ get; set; }
//
public string year_1 { get; set; }
public string year_2 { get; set; }
public string year_3 { get; set; }
public string year_4 { get; set; }
public string year_5 { get; set; }
public string year_6 { get; set; }
public List<student_overview_detail> data { get; set; }
public decimal? ba_degree_science_1 { get; set; }
public decimal? ba_degree_social_1{ get; set; }
public decimal? ba_degree_total_1 { get; set; }
public decimal? ma_degree_science_1 { get; set; }
public decimal? ma_degree_social_1 { get; set; }
public decimal? ma_degree_total_1 { get; set; }
public decimal? doctor_degree_science_1 { get; set; }
public decimal? doctor_degree_social_1 { get; set; }
public decimal? doctor_degree_total_1 { get; set; }
public decimal? total_science_1 { get; set; }
public decimal? total_social_1 { get; set; }
public decimal? total_1 { get; set; }
//
public decimal? ba_degree_science_2 { get; set; }
public decimal? ba_degree_social_2{ get; set; }
public decimal? ba_degree_total_2 { get; set; }
public decimal? ma_degree_science_2 { get; set; }
public decimal? ma_degree_social_2 { get; set; }
public decimal? ma_degree_total_2 { get; set; }
public decimal? doctor_degree_science_2 { get; set; }
public decimal? doctor_degree_social_2 { get; set; }
public decimal? doctor_degree_total_2 { get; set; }
public decimal? total_science_2 { get; set; }
public decimal? total_social_2 { get; set; }
public decimal? total_2 { get; set; }
//
public decimal? ba_degree_science_3 { get; set; }
public decimal? ba_degree_social_3{ get; set; }
public decimal? ba_degree_total_3 { get; set; }
public decimal? ma_degree_science_3 { get; set; }
public decimal? ma_degree_social_3 { get; set; }
public decimal? ma_degree_total_3 { get; set; }
public decimal? doctor_degree_science_3 { get; set; }
public decimal? doctor_degree_social_3 { get; set; }
public decimal? doctor_degree_total_3 { get; set; }
public decimal? total_science_3 { get; set; }
public decimal? total_social_3 { get; set; }
public decimal? total_3 { get; set; }
//
public decimal? ba_degree_science_4 { get; set; }
public decimal? ba_degree_social_4{ get; set; }
public decimal? ba_degree_total_4 { get; set; }
public decimal? ma_degree_science_4 { get; set; }
public decimal? ma_degree_social_4 { get; set; }
public decimal? ma_degree_total_4 { get; set; }
public decimal? doctor_degree_science_4 { get; set; }
public decimal? doctor_degree_social_4 { get; set; }
public decimal? doctor_degree_total_4 { get; set; }
public decimal? total_science_4 { get; set; }
public decimal? total_social_4 { get; set; }
public decimal? total_4 { get; set; }
//
public decimal? ba_degree_science_5 { get; set; }
public decimal? ba_degree_social_5{ get; set; }
public decimal? ba_degree_total_5 { get; set; }
public decimal? ma_degree_science_5 { get; set; }
public decimal? ma_degree_social_5 { get; set; }
public decimal? ma_degree_total_5 { get; set; }
public decimal? doctor_degree_science_5 { get; set; }
public decimal? doctor_degree_social_5 { get; set; }
public decimal? doctor_degree_total_5 { get; set; }
public decimal? total_science_5 { get; set; }
public decimal? total_social_5 { get; set; }
public decimal? total_5 { get; set; }
//
public decimal? ba_degree_science_6 { get; set; }
public decimal? ba_degree_social_6{ get; set; }
public decimal? ba_degree_total_6 { get; set; }
public decimal? ma_degree_science_6 { get; set; }
public decimal? ma_degree_social_6 { get; set; }
public decimal? ma_degree_total_6 { get; set; }
public decimal? doctor_degree_science_6 { get; set; }
public decimal? doctor_degree_social_6 { get; set; }
public decimal? doctor_degree_total_6 { get; set; }
public decimal? total_science_6 { get; set; }
public decimal? total_social_6 { get; set; }
public decimal? total_6 { get; set; }
}
public class student_overview_detail
{
public int? topic_type { get; set; }
public string row_no { get; set; }
public string topic { get; set; }
public decimal? ba_degree_science_1 { get; set; }
public decimal? ba_degree_social_1{ get; set; }
public decimal? ba_degree_total_1 { get; set; }
public decimal? ma_degree_science_1 { get; set; }
public decimal? ma_degree_social_1 { get; set; }
public decimal? ma_degree_total_1 { get; set; }
public decimal? doctor_degree_science_1 { get; set; }
public decimal? doctor_degree_social_1 { get; set; }
public decimal? doctor_degree_total_1 { get; set; }
public decimal? total_science_1 { get; set; }
public decimal? total_social_1 { get; set; }
public decimal? total_1 { get; set; }
//
public decimal? ba_degree_science_2 { get; set; }
public decimal? ba_degree_social_2{ get; set; }
public decimal? ba_degree_total_2 { get; set; }
public decimal? ma_degree_science_2 { get; set; }
public decimal? ma_degree_social_2 { get; set; }
public decimal? ma_degree_total_2 { get; set; }
public decimal? doctor_degree_science_2 { get; set; }
public decimal? doctor_degree_social_2 { get; set; }
public decimal? doctor_degree_total_2 { get; set; }
public decimal? total_science_2 { get; set; }
public decimal? total_social_2 { get; set; }
public decimal? total_2 { get; set; }
//
public decimal? ba_degree_science_3 { get; set; }
public decimal? ba_degree_social_3{ get; set; }
public decimal? ba_degree_total_3 { get; set; }
public decimal? ma_degree_science_3 { get; set; }
public decimal? ma_degree_social_3 { get; set; }
public decimal? ma_degree_total_3 { get; set; }
public decimal? doctor_degree_science_3 { get; set; }
public decimal? doctor_degree_social_3 { get; set; }
public decimal? doctor_degree_total_3 { get; set; }
public decimal? total_science_3 { get; set; }
public decimal? total_social_3 { get; set; }
public decimal? total_3 { get; set; }
//
public decimal? ba_degree_science_4 { get; set; }
public decimal? ba_degree_social_4{ get; set; }
public decimal? ba_degree_total_4 { get; set; }
public decimal? ma_degree_science_4 { get; set; }
public decimal? ma_degree_social_4 { get; set; }
public decimal? ma_degree_total_4 { get; set; }
public decimal? doctor_degree_science_4 { get; set; }
public decimal? doctor_degree_social_4 { get; set; }
public decimal? doctor_degree_total_4 { get; set; }
public decimal? total_science_4 { get; set; }
public decimal? total_social_4 { get; set; }
public decimal? total_4 { get; set; }
//
public decimal? ba_degree_science_5 { get; set; }
public decimal? ba_degree_social_5{ get; set; }
public decimal? ba_degree_total_5 { get; set; }
public decimal? ma_degree_science_5 { get; set; }
public decimal? ma_degree_social_5 { get; set; }
public decimal? ma_degree_total_5 { get; set; }
public decimal? doctor_degree_science_5 { get; set; }
public decimal? doctor_degree_social_5 { get; set; }
public decimal? doctor_degree_total_5 { get; set; }
public decimal? total_science_5 { get; set; }
public decimal? total_social_5 { get; set; }
public decimal? total_5 { get; set; }
//
public decimal? ba_degree_science_6 { get; set; }
public decimal? ba_degree_social_6{ get; set; }
public decimal? ba_degree_total_6 { get; set; }
public decimal? ma_degree_science_6 { get; set; }
public decimal? ma_degree_social_6 { get; set; }
public decimal? ma_degree_total_6 { get; set; }
public decimal? doctor_degree_science_6 { get; set; }
public decimal? doctor_degree_social_6 { get; set; }
public decimal? doctor_degree_total_6 { get; set; }
public decimal? total_science_6 { get; set; }
public decimal? total_social_6 { get; set; }
public decimal? total_6 { get; set; }
}
}

View File

@@ -0,0 +1,27 @@
using System.Collections.Generic;
namespace rmutr_report.Models
{
public class target_budget_project
{
public string budget_project_name_th { get; set; }
public string plan_year_1 { get; set; }
public string plan_year_2 { get; set; }
public string plan_year_3 { get; set; }
public string plan_year_4 { get; set; }
public string plan_year_5 { get; set; }
public List<target_budget_project_detail> data { get; set; }
}
public class target_budget_project_detail
{
public string indicators_money_source { get; set; }
public string unit { get; set; }
public string plan_value_1 { get; set; }
public string plan_value_2 { get; set; }
public string plan_value_3 { get; set; }
public string plan_value_4 { get; set; }
public string plan_value_5 { get; set; }
}
}

View File

@@ -1 +1 @@
4d0f1df7896c70c97a1bff4f0233f6b6c499c19c
8a21b47cb8ccf1667e9a1e072a5dd8d9abbe5dc0

View File

@@ -1 +1 @@
16917407168862588
16920967126989349

View File

@@ -0,0 +1,305 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="09/14/2021 15:20:39" ReportInfo.Modified="08/15/2023 15:27:26" ReportInfo.CreatorVersion="2021.1.0.0">
<Dictionary>
<BusinessObjectDataSource Name="student_admission_plan" ReferenceName="student_admission_plan" DataType="null" Enabled="true">
<Column Name="student_type_name" DataType="System.String"/>
<Column Name="academic_year_from" DataType="System.String"/>
<Column Name="academic_year_to" DataType="System.String"/>
<Column Name="faculty_name_th" DataType="System.String"/>
<Column Name="level" DataType="System.String"/>
<Column Name="course_name_th" DataType="System.String"/>
<Column Name="major_name_th" DataType="System.String"/>
<Column Name="budget_project_name_th" DataType="System.String"/>
<Column Name="agency_name_th" DataType="System.String"/>
<Column Name="budget_location_name_th" DataType="System.String"/>
<Column Name="year_1" DataType="System.String"/>
<Column Name="year_2" DataType="System.String"/>
<Column Name="year_3" DataType="System.String"/>
<Column Name="year_4" DataType="System.String"/>
<Column Name="year_5" DataType="System.String"/>
<Column Name="year_6" DataType="System.String"/>
<Column Name="text" DataType="System.String"/>
<BusinessObjectDataSource Name="data" DataType="null" Enabled="true">
<Column Name="topic_type" DataType="System.Int32"/>
<Column Name="topic" DataType="System.String"/>
<Column Name="sector_normal_year_1" DataType="System.Decimal"/>
<Column Name="sector_normal_year_2" DataType="System.Decimal"/>
<Column Name="sector_normal_year_3" DataType="System.Decimal"/>
<Column Name="sector_normal_year_4" DataType="System.Decimal"/>
<Column Name="sector_normal_year_5" DataType="System.Decimal"/>
<Column Name="sector_normal_year_6" DataType="System.Decimal"/>
<Column Name="sector_associate_year_1" DataType="System.Decimal"/>
<Column Name="sector_associate_year_2" DataType="System.Decimal"/>
<Column Name="sector_associate_year_3" DataType="System.Decimal"/>
<Column Name="sector_associate_year_4" DataType="System.Decimal"/>
<Column Name="sector_associate_year_5" DataType="System.Decimal"/>
<Column Name="sector_associate_year_6" DataType="System.Decimal"/>
<Column Name="total_year_1" DataType="System.Decimal"/>
<Column Name="total_year_2" DataType="System.Decimal"/>
<Column Name="total_year_3" DataType="System.Decimal"/>
<Column Name="total_year_4" DataType="System.Decimal"/>
<Column Name="total_year_5" DataType="System.Decimal"/>
<Column Name="total_year_6" DataType="System.Decimal"/>
</BusinessObjectDataSource>
</BusinessObjectDataSource>
</Dictionary>
<ReportPage Name="Page1" Landscape="true" PaperWidth="540" PaperHeight="250" Watermark.Font="Arial, 60pt">
<PageHeaderBand Name="PageHeader5" Width="1965.6" Height="217.35">
<TableObject Name="Table10" Top="141.75" Width="1965.6" Height="75.6">
<TableColumn Name="Column83" Width="434.7"/>
<TableColumn Name="Column84" Width="510.3"/>
<TableColumn Name="Column85" Width="1020.6"/>
<TableRow Name="Row10" Height="75.6">
<TableCell Name="Cell76" Border.Lines="All" Text="รายการ" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 15pt, style=Bold"/>
<TableCell Name="Cell77" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 15pt, style=Bold">
<TextObject Name="Text172" Width="510.3" Height="37.8" Border.Lines="All" Text="ภาคปกติ" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 15pt, style=Bold"/>
<TextObject Name="Text143" Top="37.8" Width="85.05" Height="37.8" Border.Lines="Left, Bottom" Text="[student_admission_plan.year_1]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text144" Left="85.05" Top="37.8" Width="85.05" Height="37.8" Border.Lines="Left, Right, Bottom" Text="[student_admission_plan.year_2]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text145" Left="170.1" Top="37.8" Width="85.05" Height="37.8" Border.Lines="Left, Right, Bottom" Text="[student_admission_plan.year_3]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text162" Left="255.15" Top="37.8" Width="85.05" Height="37.8" Border.Lines="Left, Bottom" Text="[student_admission_plan.year_4]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text163" Left="340.2" Top="37.8" Width="85.05" Height="37.8" Border.Lines="Left, Right, Bottom" Text="[student_admission_plan.year_5]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text161" Left="425.25" Top="37.8" Width="85.05" Height="37.8" Border.Lines="Left, Right, Bottom" Text="[student_admission_plan.year_6]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
</TableCell>
<TableCell Name="Cell78" Border.Lines="All" HorzAlign="Center" Font="TH Sarabun New, 15pt, style=Bold">
<TextObject Name="Text176" Width="510.3" Height="37.8" Border.Lines="All" Text="[student_admission_plan.text]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 15pt, style=Bold"/>
<TextObject Name="Text177" Top="37.8" Width="85.05" Height="37.8" Border.Lines="Left, Bottom" Text="[student_admission_plan.year_1]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text178" Left="85.05" Top="37.8" Width="85.05" Height="37.8" Border.Lines="Left, Right, Bottom" Text="[student_admission_plan.year_2]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text179" Left="170.1" Top="37.8" Width="85.05" Height="37.8" Border.Lines="Left, Right, Bottom" Text="[student_admission_plan.year_3]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text180" Left="255.15" Top="37.8" Width="85.05" Height="37.8" Border.Lines="Left, Bottom" Text="[student_admission_plan.year_4]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text181" Left="340.2" Top="37.8" Width="85.05" Height="37.8" Border.Lines="Left, Right, Bottom" Text="[student_admission_plan.year_5]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text182" Left="425.25" Top="37.8" Width="85.05" Height="37.8" Border.Lines="Left, Right, Bottom" Text="[student_admission_plan.year_6]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text183" Left="510.3" Width="510.3" Height="37.8" Border.Lines="All" Text="รวม" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 15pt, style=Bold"/>
<TextObject Name="Text184" Left="510.3" Top="37.8" Width="85.05" Height="37.8" Border.Lines="Left, Bottom" Text="[student_admission_plan.year_1]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text185" Left="595.35" Top="37.8" Width="85.05" Height="37.8" Border.Lines="Left, Right, Bottom" Text="[student_admission_plan.year_2]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text186" Left="680.4" Top="37.8" Width="85.05" Height="37.8" Border.Lines="Left, Right, Bottom" Text="[student_admission_plan.year_3]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text187" Left="765.45" Top="37.8" Width="85.05" Height="37.8" Border.Lines="Left, Bottom" Text="[student_admission_plan.year_4]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text188" Left="850.5" Top="37.8" Width="85.05" Height="37.8" Border.Lines="Left, Right, Bottom" Text="[student_admission_plan.year_5]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
<TextObject Name="Text189" Left="935.55" Top="37.8" Width="85.05" Height="37.8" Border.Lines="Left, Right, Bottom" Text="[student_admission_plan.year_6]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 12pt, style=Bold"/>
</TableCell>
</TableRow>
</TableObject>
<TextObject Name="Text132" Width="1965.6" Height="28.35" Text="เป้าหมาย[student_admission_plan.student_type_name]ระดับปริญญาตรี ปีการศึกษา [student_admission_plan.academic_year_from] - [student_admission_plan.academic_year_to]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 15pt, style=Bold"/>
<TextObject Name="Text133" Top="28.35" Width="1965.6" Height="28.35" Text="จำแนกตาม[student_admission_plan.faculty_name_th] [student_admission_plan.level] [student_admission_plan.course_name_th] และ[student_admission_plan.major_name_th]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 15pt, style=Bold"/>
<TextObject Name="Text173" Top="56.7" Width="1965.6" Height="28.35" Text="[student_admission_plan.student_type_name]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 15pt, style=Bold"/>
<TextObject Name="Text174" Top="94.5" Width="396.9" Height="28.35" Text="[student_admission_plan.budget_project_name_th]" VertAlign="Center" Font="TH Sarabun New, 15pt, style=Bold"/>
<TextObject Name="Text175" Top="94.5" Width="1965.6" Height="28.35" Text="[student_admission_plan.agency_name_th] [student_admission_plan.budget_location_name_th]" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 15pt, style=Bold"/>
</PageHeaderBand>
<DataBand Name="Data9" Top="225.68" Width="1965.6">
<DataBand Name="Data10" Top="234.02" Width="1965.6" Height="37.8" DataSource="data">
<TableObject Name="Table11" Width="1965.6" Height="37.8" Border.Lines="All">
<TableColumn Name="Column170" Width="434.7"/>
<TableColumn Name="Column171" Width="85.05"/>
<TableColumn Name="Column172" Width="85.05"/>
<TableColumn Name="Column173" Width="85.05"/>
<TableColumn Name="Column174" Width="85.05"/>
<TableColumn Name="Column175" Width="85.05"/>
<TableColumn Name="Column176" Width="85.05"/>
<TableColumn Name="Column177" Width="85.05"/>
<TableColumn Name="Column184" Width="85.05"/>
<TableColumn Name="Column185" Width="85.05"/>
<TableColumn Name="Column186" Width="85.05"/>
<TableColumn Name="Column187" Width="85.05"/>
<TableColumn Name="Column188" Width="85.05"/>
<TableColumn Name="Column206" Width="85.05"/>
<TableColumn Name="Column207" Width="85.05"/>
<TableColumn Name="Column208" Width="85.05"/>
<TableColumn Name="Column209" Width="85.05"/>
<TableColumn Name="Column210" Width="85.05"/>
<TableColumn Name="Column211" Width="85.05"/>
<TableRow Name="Row11" Height="37.8">
<TableCell Name="Cell89" Border.Lines="All" Text="[student_admission_plan.data.topic]" VertAlign="Center" Font="TH Sarabun New, 14pt">
<Highlight>
<Condition Expression="[student_admission_plan.data.topic_type]== 1" Fill.Color="253, 233, 217" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 2" Fill.Color="218, 238, 243" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 3" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 4" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 5" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 6" Fill.Color="242, 220, 219" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell90" Border.Lines="All" Text="[student_admission_plan.data.sector_normal_year_1]" AutoShrink="FontSize" AutoShrinkMinSize="10.5" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt">
<Highlight>
<Condition Expression="[student_admission_plan.data.topic_type]== 1" Fill.Color="253, 233, 217" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 2" Fill.Color="218, 238, 243" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 3" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 4" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 5" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 6" Fill.Color="242, 220, 219" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell91" Border.Lines="All" Text="[student_admission_plan.data.sector_normal_year_2]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt">
<Highlight>
<Condition Expression="[student_admission_plan.data.topic_type]== 1" Fill.Color="253, 233, 217" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 2" Fill.Color="218, 238, 243" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 3" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 4" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 5" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 6" Fill.Color="242, 220, 219" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell92" Border.Lines="All" Text="[student_admission_plan.data.sector_normal_year_3]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt">
<Highlight>
<Condition Expression="[student_admission_plan.data.topic_type]== 1" Fill.Color="253, 233, 217" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 2" Fill.Color="218, 238, 243" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 3" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 4" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 5" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 6" Fill.Color="242, 220, 219" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell93" Border.Lines="All" Text="[student_admission_plan.data.sector_normal_year_4]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt">
<Highlight>
<Condition Expression="[student_admission_plan.data.topic_type]== 1" Fill.Color="253, 233, 217" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 2" Fill.Color="218, 238, 243" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 3" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 4" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 5" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 6" Fill.Color="242, 220, 219" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell94" Border.Lines="All" Text="[student_admission_plan.data.sector_normal_year_5]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt">
<Highlight>
<Condition Expression="[student_admission_plan.data.topic_type]== 1" Fill.Color="253, 233, 217" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 2" Fill.Color="218, 238, 243" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 3" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 4" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 5" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 6" Fill.Color="242, 220, 219" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell95" Border.Lines="All" Text="[student_admission_plan.data.sector_normal_year_6]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt">
<Highlight>
<Condition Expression="[student_admission_plan.data.topic_type]== 1" Fill.Color="253, 233, 217" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 2" Fill.Color="218, 238, 243" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 3" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 4" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 5" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 6" Fill.Color="242, 220, 219" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell96" Border.Lines="All" Text="[student_admission_plan.data.sector_associate_year_1]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt">
<Highlight>
<Condition Expression="[student_admission_plan.data.topic_type]== 1" Fill.Color="253, 233, 217" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 2" Fill.Color="218, 238, 243" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 3" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 4" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 5" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 6" Fill.Color="242, 220, 219" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell103" Border.Lines="All" Text="[student_admission_plan.data.sector_associate_year_2]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt">
<Highlight>
<Condition Expression="[student_admission_plan.data.topic_type]== 1" Fill.Color="253, 233, 217" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 2" Fill.Color="218, 238, 243" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 3" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 4" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 5" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 6" Fill.Color="242, 220, 219" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell104" Border.Lines="All" Text="[student_admission_plan.data.sector_associate_year_3]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt">
<Highlight>
<Condition Expression="[student_admission_plan.data.topic_type]== 1" Fill.Color="253, 233, 217" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 2" Fill.Color="218, 238, 243" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 3" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 4" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 5" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 6" Fill.Color="242, 220, 219" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell105" Border.Lines="All" Text="[student_admission_plan.data.sector_associate_year_4]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt">
<Highlight>
<Condition Expression="[student_admission_plan.data.topic_type]== 1" Fill.Color="253, 233, 217" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 2" Fill.Color="218, 238, 243" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 3" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 4" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 5" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 6" Fill.Color="242, 220, 219" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell106" Border.Lines="All" Text="[student_admission_plan.data.sector_associate_year_5]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt">
<Highlight>
<Condition Expression="[student_admission_plan.data.topic_type]== 1" Fill.Color="253, 233, 217" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 2" Fill.Color="218, 238, 243" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 3" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 4" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 5" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 6" Fill.Color="242, 220, 219" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell107" Border.Lines="All" Text="[student_admission_plan.data.sector_associate_year_6]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt">
<Highlight>
<Condition Expression="[student_admission_plan.data.topic_type]== 1" Fill.Color="253, 233, 217" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 2" Fill.Color="218, 238, 243" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 3" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 4" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 5" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 6" Fill.Color="242, 220, 219" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell206" Border.Lines="All" Text="[student_admission_plan.data.total_year_1]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt">
<Highlight>
<Condition Expression="[student_admission_plan.data.topic_type]== 1" Fill.Color="253, 233, 217" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 2" Fill.Color="218, 238, 243" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 3" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 4" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 5" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 6" Fill.Color="242, 220, 219" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell207" Border.Lines="All" Text="[student_admission_plan.data.total_year_2]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt">
<Highlight>
<Condition Expression="[student_admission_plan.data.topic_type]== 1" Fill.Color="253, 233, 217" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 2" Fill.Color="218, 238, 243" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 3" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 4" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 5" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 6" Fill.Color="242, 220, 219" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell208" Border.Lines="All" Text="[student_admission_plan.data.total_year_3]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt">
<Highlight>
<Condition Expression="[student_admission_plan.data.topic_type]== 1" Fill.Color="253, 233, 217" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 2" Fill.Color="218, 238, 243" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 3" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 4" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 5" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 6" Fill.Color="242, 220, 219" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell209" Border.Lines="All" Text="[student_admission_plan.data.total_year_4]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt">
<Highlight>
<Condition Expression="[student_admission_plan.data.topic_type]== 1" Fill.Color="253, 233, 217" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 2" Fill.Color="218, 238, 243" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 3" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 4" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 5" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 6" Fill.Color="242, 220, 219" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell210" Border.Lines="All" Text="[student_admission_plan.data.total_year_5]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt">
<Highlight>
<Condition Expression="[student_admission_plan.data.topic_type]== 1" Fill.Color="253, 233, 217" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 2" Fill.Color="218, 238, 243" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 3" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 4" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 5" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 6" Fill.Color="242, 220, 219" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
<TableCell Name="Cell211" Border.Lines="All" Text="[student_admission_plan.data.total_year_6]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Right" VertAlign="Center" Font="TH Sarabun New, 14pt">
<Highlight>
<Condition Expression="[student_admission_plan.data.topic_type]== 1" Fill.Color="253, 233, 217" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 2" Fill.Color="218, 238, 243" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 3" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt, style=Bold" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 4" Fill.Color="228, 223, 236" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 5" Font="TH Sarabun New, 14.25pt" ApplyTextFill="false" ApplyFont="true"/>
<Condition Expression="[student_admission_plan.data.topic_type]== 6" Fill.Color="242, 220, 219" Font="TH Sarabun New, 14.25pt" ApplyFill="true" ApplyTextFill="false" ApplyFont="true"/>
</Highlight>
</TableCell>
</TableRow>
</TableObject>
</DataBand>
</DataBand>
</ReportPage>
</Report>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,66 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="09/14/2021 15:20:39" ReportInfo.Modified="08/15/2023 13:38:02" ReportInfo.CreatorVersion="2021.1.0.0">
<Dictionary>
<BusinessObjectDataSource Name="target_budget_project" ReferenceName="target_budget_project" DataType="null" Enabled="true">
<Column Name="budget_project_name_th" DataType="System.String"/>
<Column Name="plan_year_1" DataType="System.String"/>
<Column Name="plan_year_2" DataType="System.String"/>
<Column Name="plan_year_3" DataType="System.String"/>
<Column Name="plan_year_4" DataType="System.String"/>
<Column Name="plan_year_5" DataType="System.String"/>
<BusinessObjectDataSource Name="data" DataType="null" Enabled="true">
<Column Name="indicators_money_source" DataType="System.String"/>
<Column Name="unit" DataType="System.String"/>
<Column Name="plan_value_1" DataType="System.String"/>
<Column Name="plan_value_2" DataType="System.String"/>
<Column Name="plan_value_3" DataType="System.String"/>
<Column Name="plan_value_4" DataType="System.String"/>
<Column Name="plan_value_5" DataType="System.String"/>
</BusinessObjectDataSource>
</BusinessObjectDataSource>
</Dictionary>
<ReportPage Name="Page1" Landscape="true" PaperWidth="270" PaperHeight="210" Watermark.Font="Arial, 60pt">
<DataBand Name="Data1" Width="945" Height="160.65" DataSource="target_budget_project">
<TextObject Name="Text1" Width="945" Height="37.8" Text="ผลผลิตที่ [Row#] : [target_budget_project.budget_project_name_th]" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TextObject Name="Text2" Top="37.8" Width="945" Height="37.8" Text="เป้าหมายผลผลิต งบประมาณ และกรอบงบประมาณรายจ่ายล่วงหน้าระยะปานกลางของผลผลิต จำแนกตามแหล่งเงิน" VertAlign="Center" Font="TH Sarabun New, 16pt, style=Bold"/>
<TableObject Name="Table15" Top="75.6" Width="945" Height="85.05" Border.Lines="All">
<TableColumn Name="Column77" Width="311.85"/>
<TableColumn Name="Column78" Width="85.05"/>
<TableColumn Name="Column79" Width="113.4"/>
<TableColumn Name="Column80" Width="113.4"/>
<TableColumn Name="Column81" Width="113.4"/>
<TableColumn Name="Column82" Width="103.95"/>
<TableColumn Name="Column83" Width="103.95"/>
<TableRow Name="Row15" Height="85.05">
<TableCell Name="Cell137" Text="ตัวชี้วัด/แหล่งเงิน" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell138" Border.Lines="All" Text="หน่วยนับ" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell139" Border.Lines="All" Text="พรบ. ปี [target_budget_project.plan_year_1]&#13;&#10;แผน &#13;&#10;(ผล)*" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell140" Border.Lines="All" Text="ปี [target_budget_project.plan_year_2]&#13;&#10;แผน" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell141" Border.Lines="All" Text="ปี [target_budget_project.plan_year_3]&#13;&#10;แผน" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell142" Border.Lines="All" Text="ปี [target_budget_project.plan_year_4]&#13;&#10;แผน" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
<TableCell Name="Cell143" Border.Lines="All" Text="ปี [target_budget_project.plan_year_5]&#13;&#10;แผน" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt, style=Bold"/>
</TableRow>
</TableObject>
<DataBand Name="Data2" Top="165.84" Width="945" Height="28.35" DataSource="data">
<TableObject Name="Table14" Width="945" Height="28.35" Border.Lines="All">
<TableColumn Name="Column70" Width="311.85"/>
<TableColumn Name="Column71" Width="85.05"/>
<TableColumn Name="Column72" Width="113.4"/>
<TableColumn Name="Column73" Width="113.4"/>
<TableColumn Name="Column74" Width="113.4"/>
<TableColumn Name="Column75" Width="103.95"/>
<TableColumn Name="Column76" Width="103.95"/>
<TableRow Name="Row14" Height="28.35">
<TableCell Name="Cell110" Text="[target_budget_project.data.indicators_money_source]" AutoShrink="FontSize" AutoShrinkMinSize="12" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell111" Border.Lines="All" Text="[target_budget_project.data.unit]" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell112" Border.Lines="All" Text="[target_budget_project.data.plan_value_1]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell113" Border.Lines="All" Text="[target_budget_project.data.plan_value_2]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell114" Border.Lines="All" Text="[target_budget_project.data.plan_value_3]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell135" Border.Lines="All" Text="[target_budget_project.data.plan_value_4]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
<TableCell Name="Cell136" Border.Lines="All" Text="[target_budget_project.data.plan_value_5]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="0" AutoShrink="FontSize" AutoShrinkMinSize="12" HorzAlign="Center" VertAlign="Center" Font="TH Sarabun New, 14pt"/>
</TableRow>
</TableObject>
</DataBand>
</DataBand>
</ReportPage>
</Report>