|
@@ -9,6 +9,7 @@ import com.baomidou.mybatisplus.core.toolkit.StringUtils;
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import com.tofly.common.core.entity.ResultRespone;
|
|
|
import com.tofly.common.log.annotation.ToFlyAppLog;
|
|
|
+import com.tofly.fees.common.dbhelper.PageSortHelper;
|
|
|
import com.tofly.fees.common.enums.UserStatusEnum;
|
|
|
import com.tofly.fees.common.util.GuidGenerator;
|
|
|
import com.tofly.fees.financialmgt.mapper.SfRecMapper;
|
|
@@ -72,12 +73,13 @@ public class DaBtLogController {
|
|
|
@ApiImplicitParam(name = "searchText", value = "模糊查询(编号、姓名、电话、地址)", dataType = "String")
|
|
|
})
|
|
|
public ResultRespone getDaBtLogPage(Page page, String searchText, String companyBranch, String mrArea, String mrBook, String operatorDate_Start, String operatorDate_End) {
|
|
|
+ PageSortHelper.setPageSort(DaBtLog.class, page);
|
|
|
|
|
|
IPage<DaBtLog> yhdaPage = daBtLogMapper.selectDaCustomerBtPage(page, companyBranch, mrArea, mrBook, operatorDate_Start, operatorDate_End, searchText);
|
|
|
|
|
|
List<DaBtLog> yhbtList = yhdaPage.getRecords();
|
|
|
for (DaBtLog yhbt : yhbtList) {
|
|
|
- if (yhbt.getHfysFlag().equals("0")) {
|
|
|
+ if (yhbt.getHfysFlag() != null && yhbt.getHfysFlag().equals("0")) {
|
|
|
yhbt.setHfysFlag("未恢复");
|
|
|
} else {
|
|
|
yhbt.setHfysFlag("已恢复");
|