Browse Source

Merge branch '塔里木分支' of http://123.57.209.16:3000/bjquanjiang/DigitalScholl into 塔里木分支

塔里木分支
wwp 1 year ago
parent
commit
58ba7ffb2f
2 changed files with 10 additions and 0 deletions
  1. +5
    -0
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/RepairReport/RepairReportStudentApi.cs
  2. +5
    -0
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/RepairReport/RepairReportTeacherApi.cs

+ 5
- 0
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/RepairReport/RepairReportStudentApi.cs View File

@@ -128,6 +128,11 @@ namespace Learun.Application.WebApi
string keyValue = this.GetReqData();
//repairreportStudentIBLL.ModifyStatus(keyValue, 1,"");

int existcount = repairreportStudentIBLL.Waitevaluatecount();
if (existcount > 0)
{
return Fail("您有待评价的保修单,请评价后在提交!");
}
//修改状态
repairreportStudentIBLL.ModifyStatus(keyValue, 1, "");



+ 5
- 0
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/RepairReport/RepairReportTeacherApi.cs View File

@@ -128,6 +128,11 @@ namespace Learun.Application.WebApi
string keyValue = this.GetReqData();
//repairreportTeacherIBLL.ModifyStatus(keyValue, 1,"");

int existcount = repairreportTeacherIBLL.Waitevaluatecount();
if (existcount > 0)
{
return Fail("您有待评价的保修单,请评价后在提交!");
}
//修改状态
repairreportTeacherIBLL.ModifyStatus(keyValue, 1, "");



Loading…
Cancel
Save