|
|
|
@@ -1,5 +1,6 @@ |
|
|
|
package com.iformall.controller.market; |
|
|
|
|
|
|
|
import com.aliyun.openservices.shade.org.apache.commons.lang3.StringUtils; |
|
|
|
import com.github.pagehelper.PageInfo; |
|
|
|
import com.iformall.annotation.SystemControllerLog; |
|
|
|
import com.iformall.common.ErrorCode; |
|
|
|
@@ -146,6 +147,12 @@ public class WxQuestionOneselfController extends BaseController { |
|
|
|
record = new WxQuestionOneselfUser(); |
|
|
|
} |
|
|
|
record.updateTenantInfo(getTenantInfo()); |
|
|
|
if (null != record.getUserName()) { |
|
|
|
record.setUserName(StringUtils.trimToNull(record.getUserName())); |
|
|
|
} |
|
|
|
if (null != record.getUserPhone()) { |
|
|
|
record.setUserPhone(StringUtils.trimToNull(record.getUserPhone())); |
|
|
|
} |
|
|
|
record.setSortColumns(BaseEntity.SortField.CreateDate_DESC); |
|
|
|
final PageInfo<WxQuestionOneselfUser> page = wxQuestionOneselfUserService.listAsPage(record, pageNum, pageSize); |
|
|
|
return new ResultData(page); |
|
|
|
@@ -169,6 +176,12 @@ public class WxQuestionOneselfController extends BaseController { |
|
|
|
throw new MallinkException(ErrorCode.SYS_PARAMETER_NOT_NULL); |
|
|
|
} |
|
|
|
record.updateTenantInfo(getTenantInfo()); |
|
|
|
if (null != record.getUserName()) { |
|
|
|
record.setUserName(StringUtils.trimToNull(record.getUserName())); |
|
|
|
} |
|
|
|
if (null != record.getUserPhone()) { |
|
|
|
record.setUserPhone(StringUtils.trimToNull(record.getUserPhone())); |
|
|
|
} |
|
|
|
record.setSortColumns(BaseEntity.SortField.CreateDate_DESC); |
|
|
|
wxQuestionOneselfUserService.exportData(record, request, response); |
|
|
|
} |
|
|
|
|