|
@ -21,6 +21,7 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
import com.epmet.commons.mybatis.service.impl.BaseServiceImpl; |
|
|
import com.epmet.commons.mybatis.service.impl.BaseServiceImpl; |
|
|
import com.epmet.commons.tools.constant.FieldConstant; |
|
|
import com.epmet.commons.tools.constant.FieldConstant; |
|
|
|
|
|
import com.epmet.commons.tools.constant.StrConstant; |
|
|
import com.epmet.commons.tools.page.PageData; |
|
|
import com.epmet.commons.tools.page.PageData; |
|
|
import com.epmet.commons.tools.utils.ConvertUtils; |
|
|
import com.epmet.commons.tools.utils.ConvertUtils; |
|
|
import com.epmet.dao.IcFormItemDao; |
|
|
import com.epmet.dao.IcFormItemDao; |
|
@ -33,6 +34,7 @@ import com.epmet.service.IcFormItemService; |
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
import org.springframework.stereotype.Service; |
|
|
import org.springframework.stereotype.Service; |
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
|
|
import org.springframework.util.CollectionUtils; |
|
|
|
|
|
|
|
|
import java.util.ArrayList; |
|
|
import java.util.ArrayList; |
|
|
import java.util.Arrays; |
|
|
import java.util.Arrays; |
|
@ -123,9 +125,18 @@ public class IcFormItemServiceImpl extends BaseServiceImpl<IcFormItemDao, IcForm |
|
|
//list.add(new TableHeaderResultDTO("楼栋","BUILD_NAME","input"));
|
|
|
//list.add(new TableHeaderResultDTO("楼栋","BUILD_NAME","input"));
|
|
|
//list.add(new TableHeaderResultDTO("单元","UNIT_NAME","input"));
|
|
|
//list.add(new TableHeaderResultDTO("单元","UNIT_NAME","input"));
|
|
|
//list.add(new TableHeaderResultDTO("所在家庭","HOME_NAME","input"));
|
|
|
//list.add(new TableHeaderResultDTO("所在家庭","HOME_NAME","input"));
|
|
|
list.addAll(baseDao.queryTableHeaderList(formDto.getCustomerId(),formDto.getFormCode())); |
|
|
List<TableHeaderResultDTO> result=baseDao.queryTableHeaderList(formDto.getCustomerId(),formDto.getFormCode()); |
|
|
|
|
|
if(!CollectionUtils.isEmpty(result)){ |
|
|
|
|
|
list.addAll(result); |
|
|
|
|
|
} |
|
|
//list.add(new TableHeaderResultDTO("需求分类","DEMAND_NAME","input"));
|
|
|
//list.add(new TableHeaderResultDTO("需求分类","DEMAND_NAME","input"));
|
|
|
list.add(new TableHeaderResultDTO("房屋类型","HOUSE_TYPE","input")); |
|
|
TableHeaderResultDTO houseType=new TableHeaderResultDTO(); |
|
|
|
|
|
houseType.setItemType("input"); |
|
|
|
|
|
houseType.setItemId(StrConstant.EPMETY_STR); |
|
|
|
|
|
houseType.setColumnName("HOUSE_TYPE"); |
|
|
|
|
|
houseType.setLabel("房屋类型"); |
|
|
|
|
|
houseType.setOptions(new ArrayList<>()); |
|
|
|
|
|
list.add(houseType); |
|
|
return list; |
|
|
return list; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|