修改相关bug
This commit is contained in:
+7
-1
@@ -177,8 +177,14 @@ public class OnboardingElectronicSignService : IOnboardingElectronicSignService
|
||||
throw Oops.Bah($"公司“{companyName}”未配置契约锁默认业务分类 Id,请先到公司与岗位中编辑公司资料");
|
||||
if (string.IsNullOrWhiteSpace(sealId))
|
||||
throw Oops.Bah($"公司“{companyName}”未配置契约锁企业印章 Id,请先到公司与岗位中编辑公司资料");
|
||||
if (!categoryId.All(char.IsDigit)
|
||||
|| !sealId.All(char.IsDigit))
|
||||
{
|
||||
throw Oops.Bah($"公司“{companyName}”的契约锁业务分类或企业印章 Id 只能填写纯数字");
|
||||
}
|
||||
|
||||
if (!long.TryParse(categoryId, out _) || !long.TryParse(sealId, out _))
|
||||
throw Oops.Bah($"公司“{companyName}”的契约锁业务分类或印章 Id 格式不正确");
|
||||
throw Oops.Bah($"公司“{companyName}”的契约锁业务分类或企业印章 Id 超出有效范围(最大支持19位长整数)");
|
||||
|
||||
var taskContracts = await _db.Queryable<ObTaskContract>()
|
||||
.Where(item => item.TaskId == task.Id)
|
||||
|
||||
Reference in New Issue
Block a user