Commit a2fdd079 by 杨树贤

优化状态判断

parent 5ac33614
Showing with 4 additions and 0 deletions
......@@ -348,6 +348,10 @@ class SyncSupplierService
$logService = new LogService();
$logService->AddAdminLog($supplierId, LogModel::UPDATE_OPERATE, '实体名单设置', $logContent);
//原始状态一定要是实体或者非实体才要发邮件
if (!in_array($originIsEntity, [1, -1])) {
continue;
}
//不属于加入实体名单和移除实体名单不去发邮件
if (!in_array($result, [1, -1])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment