Browse Source

报修保存控制手机号不能为空

塔里木分支
北京泉江 11 months ago
parent
commit
f22cd8ead3
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/RepairReport/RepairReportStudentApi.cs
  2. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/RepairReport/RepairReportTeacherApi.cs

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

@@ -101,6 +101,7 @@ namespace Learun.Application.WebApi
ReqFormEntity parameter = this.GetReqData<ReqFormEntity>();

RepairReport_StudentEntity entity = parameter.strEntity.ToObject<RepairReport_StudentEntity>();
if (string.IsNullOrWhiteSpace(entity.Contact)) return Fail("联系电话不能为空!");
repairreportStudentIBLL.SaveEntity(parameter.keyValue, entity);
//entity.Status = 2;
if (entity.Status == 2)


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

@@ -101,6 +101,7 @@ namespace Learun.Application.WebApi
ReqFormEntity parameter = this.GetReqData<ReqFormEntity>();

RepairReport_TeacherEntity entity = parameter.strEntity.ToObject<RepairReport_TeacherEntity>();
if (string.IsNullOrWhiteSpace(entity.Contact)) return Fail("联系电话不能为空!");
repairreportTeacherIBLL.SaveEntity(parameter.keyValue, entity);
//entity.Status = 2;
if (entity.Status == 2)


Loading…
Cancel
Save