|
|
@ -27,6 +27,7 @@ package com.yxt.anrui.oa.biz.adnoexpatriateshostelapply; |
|
|
|
|
|
|
|
import cn.hutool.core.bean.BeanUtil; |
|
|
|
import com.yxt.anrui.oa.biz.adexpatriatesdetail.AdExpatriatesDetailVo; |
|
|
|
import com.yxt.anrui.oa.biz.adnoexpatriateshosteldetail.AdNoexpatriatesHostelDetailDto; |
|
|
|
import com.yxt.anrui.oa.biz.adnoexpatriateshosteldetail.AdNoexpatriatesHostelDetailService; |
|
|
|
import com.yxt.anrui.oa.biz.adnoexpatriateshosteldetail.AdNoexpatriatesHostelDetailVo; |
|
|
|
import com.yxt.anrui.oa.biz.oaappendix.OaAppendixService; |
|
|
@ -89,6 +90,10 @@ public class AdNoexpatriatesHostelApplyService extends MybatisBaseService<AdNoex |
|
|
|
list.removeAll(Collections.singleton(null)); |
|
|
|
if (!list.isEmpty()) { |
|
|
|
list.stream().forEach(details -> { |
|
|
|
FormCommon userObj = FormCommon.of(details.getUserKey(), details.getUserValue()); |
|
|
|
details.setUserObj(userObj); |
|
|
|
FormCommon deptObj = FormCommon.of(details.getDeptKey(), details.getDeptValue()); |
|
|
|
details.setDeptObj(deptObj); |
|
|
|
FormCommon jobObj = FormCommon.of(details.getJobKey(), details.getJobValue()); |
|
|
|
details.setJobObj(jobObj); |
|
|
|
}); |
|
|
@ -106,7 +111,7 @@ public class AdNoexpatriatesHostelApplyService extends MybatisBaseService<AdNoex |
|
|
|
String sid = dto.getSid(); |
|
|
|
List<String> files = dto.getFiles(); |
|
|
|
List<String> appes = dto.getAppes(); |
|
|
|
List<AdNoexpatriatesHostelDetailVo> list = dto.getList(); |
|
|
|
List<AdNoexpatriatesHostelDetailDto> list = dto.getList(); |
|
|
|
if (StringUtils.isBlank(sid)) { |
|
|
|
// 新建操作
|
|
|
|
AdNoexpatriatesHostelApply entity = new AdNoexpatriatesHostelApply(); |
|
|
|