202305291、修改奖励通知单、奖惩通知单。

This commit is contained in:
2023-05-29 09:09:30 +08:00
parent cd3d51ae3f
commit 9c804196e7
43 changed files with 3070 additions and 3544 deletions
+2 -2
View File
@@ -80,11 +80,11 @@
var getUser = db.Person_Persons.FirstOrDefault(x => x.PersonId == personId);
if (getUser != null && !string.IsNullOrEmpty(getUser.OpenId))
{
if (thing2.Length > 20)
if (!string.IsNullOrEmpty(thing2) && thing2.Length > 20)
{
thing2 = thing2.Substring(0, 20);
}
if (name1.Length > 10)
if (!string.IsNullOrEmpty(name1) && name1.Length > 10)
{
name1 = name1.Substring(0, 10);
}