|
|
@ -1,10 +1,6 @@ |
|
|
|
package com.epmet.service.impl; |
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.epmet.commons.mybatis.service.impl.BaseServiceImpl; |
|
|
|
import com.epmet.commons.tools.constant.FieldConstant; |
|
|
|
import com.epmet.commons.tools.constant.NumConstant; |
|
|
|
import com.epmet.commons.tools.dto.result.CustomerStaffInfoCacheResult; |
|
|
|
import com.epmet.commons.tools.enums.DictTypeEnum; |
|
|
@ -19,7 +15,6 @@ import com.epmet.commons.tools.utils.ConvertUtils; |
|
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
|
import com.epmet.dao.IcMoveInRecordDao; |
|
|
|
import com.epmet.dto.ChangeWelfareDTO; |
|
|
|
import com.epmet.dto.IcBirthRecordDTO; |
|
|
|
import com.epmet.dto.IcMoveInRecordDTO; |
|
|
|
import com.epmet.dto.form.IcMoveInAddEditFormDTO; |
|
|
|
import com.epmet.dto.form.IcMoveInListFormDTO; |
|
|
@ -27,7 +22,6 @@ import com.epmet.dto.form.IcResiUserTransferFormDTO; |
|
|
|
import com.epmet.dto.result.HouseInfoDTO; |
|
|
|
import com.epmet.dto.result.IcMoveInListResultDTO; |
|
|
|
import com.epmet.dto.result.SyncResiResDTO; |
|
|
|
import com.epmet.entity.IcBirthRecordEntity; |
|
|
|
import com.epmet.entity.IcMoveInRecordEntity; |
|
|
|
import com.epmet.entity.IcResiUserEntity; |
|
|
|
import com.epmet.feign.EpmetAdminOpenFeignClient; |
|
|
@ -71,15 +65,6 @@ public class IcMoveInRecordServiceImpl extends BaseServiceImpl<IcMoveInRecordDao |
|
|
|
private ChangeWelfareService changeWelfareService; |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
public PageData<IcMoveInRecordDTO> page(Map<String, Object> params) { |
|
|
|
IPage<IcMoveInRecordEntity> page = baseDao.selectPage( |
|
|
|
getPage(params, FieldConstant.CREATED_TIME, false), |
|
|
|
getWrapper(params) |
|
|
|
); |
|
|
|
return getPageData(page, IcMoveInRecordDTO.class); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public PageData<IcMoveInListResultDTO> list(IcMoveInListFormDTO formDTO) { |
|
|
|
//列表/导出查询
|
|
|
@ -123,15 +108,6 @@ public class IcMoveInRecordServiceImpl extends BaseServiceImpl<IcMoveInRecordDao |
|
|
|
return new PageData<>(list, pageInfo.getTotal()); |
|
|
|
} |
|
|
|
|
|
|
|
private QueryWrapper<IcMoveInRecordEntity> getWrapper(Map<String, Object> params){ |
|
|
|
String id = (String)params.get(FieldConstant.ID_HUMP); |
|
|
|
|
|
|
|
QueryWrapper<IcMoveInRecordEntity> wrapper = new QueryWrapper<>(); |
|
|
|
wrapper.eq(StringUtils.isNotBlank(id), FieldConstant.ID, id); |
|
|
|
|
|
|
|
return wrapper; |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public IcMoveInRecordDTO get(String id) { |
|
|
|
IcMoveInRecordEntity entity = baseDao.selectById(id); |
|
|
|