remove -list
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
kamonwan taengsuk
2023-08-18 13:02:23 +07:00
parent 36bf183c4a
commit 00d5f86d10

View File

@@ -1747,13 +1747,9 @@ namespace rmutr_report.Controllers
detail.unique_feature2 = null;
detail.unique_feature3 = null;
}
if (detail.topic_type == 2)
{
detail.topic = "- " + detail.topic;
}
if (detail.topic_type == 5)
{
if (detail.conform_1 == true)
{
detail.conform1 = "P";
@@ -1829,26 +1825,22 @@ namespace rmutr_report.Controllers
return Ok();
}
[SwaggerOperation("สรุปภาพรวมการเสนอแผนการปรับปรุงอาคารสถานที่/แผนการจัดหาที่ดินและสิ่งก่อสร้าง")]
[SwaggerOperation("สรุปภาพรวมการเสนอแผนการปรับปรุงอาคารสถานที่/แผนการจัดหาที่ดินและสิ่งก่อสร้าง")]
[HttpPost, Route("reports/summary_overview_building/{type}")]
[ApiExplorerSettings(GroupName = "reports")]
public IActionResult GetSumDemandReport([FromRoute] string type,
[FromBody] summary_overview_building summaryOverviewBuilding)
{
foreach (var detail in summaryOverviewBuilding.data)
{
if (detail.topic_type != 5)
{
detail.row_no = null;
}
if (detail.topic_type == 2)
{
detail.topic = "- " + detail.topic;
}
if (detail.topic_type == 5)
{
if (detail.readiness_action_1 == true)
{
detail.readiness_action1 = "P";
@@ -1869,7 +1861,7 @@ namespace rmutr_report.Controllers
detail.readiness_action4 = "P";
}
if (detail.appearance_equipment_1 == true)
{
detail.appearance_equipment1 = "P";