202305291、修改奖励通知单、奖惩通知单。
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user