|
|
@@ -102,6 +102,7 @@ namespace Learun.Application.WebApi |
|
|
|
|
|
|
|
RepairReport_TeacherEntity entity = parameter.strEntity.ToObject<RepairReport_TeacherEntity>(); |
|
|
|
if (string.IsNullOrWhiteSpace(entity.Contact)) return Fail("联系电话不能为空!"); |
|
|
|
if (entity.Status == 2 && string.IsNullOrWhiteSpace(entity.Repairname)) return Fail("维修人不能为空!"); |
|
|
|
repairreportTeacherIBLL.SaveEntity(parameter.keyValue, entity); |
|
|
|
//entity.Status = 2; |
|
|
|
if (entity.Status == 2) |
|
|
|