Commit 17daf057 by 墨竹

fix:多人活码任意取一个数据展示

parent 9567104c
...@@ -375,10 +375,13 @@ public class HmQrcodeApiServiceImpl implements HmQrcodeApiService { ...@@ -375,10 +375,13 @@ public class HmQrcodeApiServiceImpl implements HmQrcodeApiService {
*/ */
private List<String> setStoreClerk(HmQrcodeQDTO hmQrcodeQDTO, String wxEnterpriseId, Long hmId, Integer hmType) { private List<String> setStoreClerk(HmQrcodeQDTO hmQrcodeQDTO, String wxEnterpriseId, Long hmId, Integer hmType) {
List<String> clerkIdList = hmQrcodeQDTO.getClerkIdList(); List<String> clerkIdList = hmQrcodeQDTO.getClerkIdList();
if (CollectionUtils.isEmpty(clerkIdList)) {
return null;
}
if (hmType == 2) { if (hmType == 2) {
//多人活码 //多人活码
insertHmClerkRelation(hmQrcodeQDTO, wxEnterpriseId, hmId, clerkIdList); insertHmClerkRelation(hmQrcodeQDTO, wxEnterpriseId, hmId, clerkIdList);
} else if (hmType == 1) { }
//单人活码 //单人活码
String clerkId = clerkIdList.get(0); String clerkId = clerkIdList.get(0);
hmQrcodeQDTO.setClerkId(clerkId); hmQrcodeQDTO.setClerkId(clerkId);
...@@ -403,7 +406,6 @@ public class HmQrcodeApiServiceImpl implements HmQrcodeApiService { ...@@ -403,7 +406,6 @@ public class HmQrcodeApiServiceImpl implements HmQrcodeApiService {
hmQrcodeQDTO.setWxUserId(tabHaobanStaff.getWxUserId()); hmQrcodeQDTO.setWxUserId(tabHaobanStaff.getWxUserId());
} }
} }
}
return clerkIdList; return clerkIdList;
} }
......
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 to comment