Commit 6becd605 by 陶光胜

门店保存修改

parent aaf8116f
......@@ -163,13 +163,14 @@ public class ClerkController extends DownloadUtils {
} else {
total = clerkQrcodeQO.getContent().size();
}
Integer enterpriseId = UserDetailUtils.getUserDetail().getEnterpriseId();
new QrcodeDownload(){
@Override
public List<QrcodeContent> getContent(int pageNum, int pageSize){
if(clerkQrcodeQO.getIsAll() == 1){
ClerkSearchDTO clerkSearchDTO = clerkQrcodeQO.getClerkSearchDTO();
clerkSearchDTO.setEnterpriseId(UserDetailUtils.getUserDetail().getEnterpriseId());
ServiceResponse<Page<ClerkStoreListDTO>> result = clerkApiService.listClerk(clerkSearchDTO.getEnterpriseId(), clerkSearchDTO, pageNum, 500);
clerkSearchDTO.setEnterpriseId(enterpriseId);
ServiceResponse<Page<ClerkStoreListDTO>> result = clerkApiService.listClerk(enterpriseId, clerkSearchDTO, pageNum, 500);
List<ClerkStoreListDTO> clerkStoreList = result.getResult().getResult();
List<QrcodeContent> clerkDTOS = new ArrayList<>();
for (ClerkStoreListDTO clerkStoreListDTO : clerkStoreList) {
......
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