|
@@ -17,6 +17,8 @@ import com.jeeplus.test.reimbursementAccountant.mapper.AccountantReimbursementBu
|
|
|
import com.jeeplus.test.reimbursementAccountant.mapper.AccountantReimbursementUserMapper;
|
|
|
import com.jeeplus.test.reimbursementAccountant.service.AccountantReimbursementUserService;
|
|
|
import com.jeeplus.test.reimbursementProject.domain.dto.ProjectReimbursementBusinessDTO;
|
|
|
+import com.jeeplus.test.reimbursementsys.domain.dto.ReimbursementAddressDTO;
|
|
|
+import com.jeeplus.test.reimbursementsys.domain.dto.ReimbursementBusinessDTO;
|
|
|
import com.jeeplus.test.reimbursementsys.domain.dto.ReimbursementUserDTO;
|
|
|
import org.apache.commons.collections4.CollectionUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -185,10 +187,18 @@ public class AccountantReimbursementUserServiceImpl implements AccountantReimbur
|
|
|
reimbursementBusiness.setEndDate(reimbursementBusinessReturn.getEndDate());
|
|
|
reimbursementBusiness.setBeginReimbursementQuota(reimbursementBusinessReturn.getBeginReimbursementQuota());
|
|
|
reimbursementBusiness.setEndReimbursementQuota(reimbursementBusinessReturn.getEndReimbursementQuota());
|
|
|
+ reimbursementBusiness.setReimbursementFsalary(reimbursementBusinessReturn.getReimbursementFsalary());
|
|
|
|
|
|
AccountantReimbursementBusinessReturnDTO reimbursementBusinessReturnDTO = new AccountantReimbursementBusinessReturnDTO();
|
|
|
List<AccountantReimbursementBusinessDTO> showList = businessMapper.findListByUserIdAndYear(reimbursementBusiness);
|
|
|
|
|
|
+ //获取实发类型集合
|
|
|
+ List<ReimbursementAddressDTO> reimbursementFsalaryList = businessMapper.getReimbursementFsalaryByUserIdAndYear(reimbursementBusiness);
|
|
|
+ reimbursementBusinessReturnDTO.setReimbursementFsalaryList(reimbursementFsalaryList);
|
|
|
+
|
|
|
+ for (AccountantReimbursementBusinessDTO info : showList) {
|
|
|
+ info.setReimbursementFsalary(DictUtils.getDictLabel(info.getReimbursementFsalary(), "reimbursement_fsalary", null));
|
|
|
+ }
|
|
|
//获取人员年度报销详情
|
|
|
AccountantReimbursementUserDTO reimbursementUserInfo = mapper.queryByUserIdAndYear(reimbursementUserDTO);
|
|
|
reimbursementBusinessReturnDTO.setList(showList);
|