‘linchangsheng’ 1 month ago
parent
commit
1492120a40

+ 1 - 1
mall-server-api/src/main/java/com/gree/mall/manager/logic/comlist/WorkerComListLogic.java

@@ -194,7 +194,7 @@ public class WorkerComListLogic {
         }
         WorkerComList workerComList = workerComListService.getById(id);
 
-        if (adminUser.getType() == 1 || workerComList.getCreateBy().contains(adminUser.getNickName())) {
+        if (adminUser.getType() == 1 || adminUser.getNickName().contains(workerComList.getCreateBy())) {
             log.info("【中心文件下发下载】:{}", JSONObject.toJSONString(adminUser));
             CommonUtils.downloadFile(workerComList.getFileUrl(),workerComList.getTitle()+".xlsx" , response);
         } else {