|
@@ -1346,6 +1346,16 @@ namespace OASystem.API.OAMethodLib.QiYeWeChatAPI
|
|
|
int size = 100,
|
|
int size = 100,
|
|
|
List<IQiYeWeChatApiService.FilterCondition> filters = null)
|
|
List<IQiYeWeChatApiService.FilterCondition> filters = null)
|
|
|
{
|
|
{
|
|
|
|
|
+ //申请人企业微信Id验证
|
|
|
|
|
+ var creator = filters?.FirstOrDefault(f => f.key == "creator")?.value ?? "";
|
|
|
|
|
+ if (string.IsNullOrEmpty(creator))
|
|
|
|
|
+ {
|
|
|
|
|
+ return new ApprovalInfoView
|
|
|
|
|
+ {
|
|
|
|
|
+ errcode = -1,
|
|
|
|
|
+ errmsg = "OA用户信息中未填写申请人企业微信ID!"
|
|
|
|
|
+ };
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
long starttime = (long)(startTime - _1970).TotalSeconds;
|
|
long starttime = (long)(startTime - _1970).TotalSeconds;
|
|
|
long endtime = (long)(endTime - _1970).TotalSeconds;
|
|
long endtime = (long)(endTime - _1970).TotalSeconds;
|