FengChaoYu преди 10 месеца
родител
ревизия
06cb7e7d1b
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      mall-server-api/src/main/java/com/gree/mall/manager/logic/worker/WorkerTeamLogic.java

+ 2 - 2
mall-server-api/src/main/java/com/gree/mall/manager/logic/worker/WorkerTeamLogic.java

@@ -157,8 +157,8 @@ public class WorkerTeamLogic {
             workerTeam.setCompanyWechatId(companyWechatId)
                     .setCompanyWechatName(companyName)
                     .setWebsitId(row.get(0).toString().trim())
-                    .setMasterWorkerId(row.get(0).toString().trim())
-                    .setAssistantWorkerId(row.get(0).toString().trim())
+                    .setMasterWorkerId(row.get(1).toString().trim())
+                    .setAssistantWorkerId(row.get(2).toString().trim())
                     .setStatus(StateEnum.ON.getKey());
             workerTeamList.add(workerTeam);
         }