Commit 8f142964 authored by fangxinjiang's avatar fangxinjiang

户拆分任务:批量导入、批量更新、导出、新增、编辑-fxj

parent 863bc6aa
......@@ -386,8 +386,10 @@ public class SysHouseHoldInfoServiceImpl extends ServiceImpl<SysHouseHoldInfoMap
@Override
public R<SysHouseHoldInfo> getByIdAtta(String id) {
SysHouseHoldInfo sysHouseHoldInfo = baseMapper.selectById(id);
List<TAttaInfo> attaInfos = attaInfoService.list(Wrappers.<TAttaInfo>query().lambda().eq(TAttaInfo::getDomainId, id)
.last(CommonConstants.LAST_ONE_SQL));
if (null == sysHouseHoldInfo){
return R.failed(CommonConstants.PARAM_INFO_ERROR);
}
List<TAttaInfo> attaInfos = attaInfoService.list(Wrappers.<TAttaInfo>query().lambda().eq(TAttaInfo::getDomainId, id));
if (Common.isNotNull(attaInfos)) {
URL url;
List<TAttaInfo> attaList = new ArrayList<>();
......
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