|
@@ -356,7 +356,10 @@ public class FinancialExpenditureServiceImpl extends BaseServiceImpl<Long, Finan
|
|
financialExpenditure.setType(getExpenditureType(feeProjectEnum));
|
|
financialExpenditure.setType(getExpenditureType(feeProjectEnum));
|
|
//解析用户录入
|
|
//解析用户录入
|
|
this.setFinancialExpenditure(oaInputDto,hashMap,financialExpenditure);
|
|
this.setFinancialExpenditure(oaInputDto,hashMap,financialExpenditure);
|
|
- if(StringUtils.isEmpty(financialExpenditure.getMusicGroupId()) || financialExpenditure.getStudentId() == null){
|
|
|
|
|
|
+ if(StringUtils.isEmpty(financialExpenditure.getMusicGroupId()) && financialExpenditure.getVipGroupId() == null){
|
|
|
|
+ continue ;
|
|
|
|
+ }
|
|
|
|
+ if(financialExpenditure.getStudentId() == null){
|
|
continue ;
|
|
continue ;
|
|
}
|
|
}
|
|
if(financialExpenditure.getPaymentTime() == null){
|
|
if(financialExpenditure.getPaymentTime() == null){
|
|
@@ -372,7 +375,7 @@ public class FinancialExpenditureServiceImpl extends BaseServiceImpl<Long, Finan
|
|
//处理业务退费(vip退学、乐团退费.....)
|
|
//处理业务退费(vip退学、乐团退费.....)
|
|
this.processBusinessReturns(pWorkOrderInfo,financialExpenditureList,realName,fileUrl);
|
|
this.processBusinessReturns(pWorkOrderInfo,financialExpenditureList,realName,fileUrl);
|
|
if(CollectionUtils.isEmpty(financialExpenditureList)){
|
|
if(CollectionUtils.isEmpty(financialExpenditureList)){
|
|
- businessLogger.info("oa业务流程处理失败,请检查");
|
|
|
|
|
|
+ businessLogger.error("oa业务流程处理失败,请检查");
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
financialExpenditureDao.batchInsert(financialExpenditureList);
|
|
financialExpenditureDao.batchInsert(financialExpenditureList);
|