|
@@ -12,10 +12,7 @@ import com.ydtech.constants.InsuranceEnum;
|
|
|
import com.ydtech.constants.enums.dict.agreement.ProductsType;
|
|
import com.ydtech.constants.enums.dict.agreement.ProductsType;
|
|
|
import com.ydtech.core.page.HttpResult;
|
|
import com.ydtech.core.page.HttpResult;
|
|
|
import com.ydtech.exception.SystemException;
|
|
import com.ydtech.exception.SystemException;
|
|
|
-import com.ydtech.modules.admin.model.report.financialReceivables.FinancialReceivablesAllVo;
|
|
|
|
|
-import com.ydtech.modules.admin.model.report.financialReceivables.FinancialReceivablesQueryMonthVo;
|
|
|
|
|
-import com.ydtech.modules.admin.model.report.financialReceivables.FinancialReceivablesQueryVo;
|
|
|
|
|
-import com.ydtech.modules.admin.model.report.financialReceivables.FinancialReceivablesVo;
|
|
|
|
|
|
|
+import com.ydtech.modules.admin.model.report.financialReceivables.*;
|
|
|
import com.ydtech.modules.admin.utils.SliceUpDateUtil;
|
|
import com.ydtech.modules.admin.utils.SliceUpDateUtil;
|
|
|
import com.ydtech.modules.base.controller.BaseController;
|
|
import com.ydtech.modules.base.controller.BaseController;
|
|
|
import com.ydtech.modules.esm.model.EsmInsCompany;
|
|
import com.ydtech.modules.esm.model.EsmInsCompany;
|
|
@@ -3312,7 +3309,19 @@ public class InsPlyIncomeServiceImpl extends ServiceImpl<InsPlyIncomeMapper, Ins
|
|
|
* @Description: 应收月份统计接口
|
|
* @Description: 应收月份统计接口
|
|
|
*/
|
|
*/
|
|
|
@Override
|
|
@Override
|
|
|
- public FinancialReceivablesAllVo queryDateByTypeByMonth(FinancialReceivablesQueryMonthVo financialReceivablesQueryVo) {
|
|
|
|
|
|
|
+ public FinancialReceivablesAllMonthVo queryDateByTypeByMonth(FinancialReceivablesQueryMonthVo financialReceivablesQueryVo) {
|
|
|
|
|
+ //检查参数
|
|
|
|
|
+ if(StringUtils.isBlank(financialReceivablesQueryVo.getType())){
|
|
|
|
|
+ throw new SystemException("应收类型不能为空,1为平台2为私有,默认传1");
|
|
|
|
|
+ }
|
|
|
|
|
+ //检查参数
|
|
|
|
|
+ if(StringUtils.isBlank(financialReceivablesQueryVo.getYearAndMonth())){
|
|
|
|
|
+ throw new SystemException("月份不能为空");
|
|
|
|
|
+ }
|
|
|
|
|
+ FinancialReceivablesAllMonthVo vo= baseMapper.queryDateByTypeByMonth(financialReceivablesQueryVo);
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
return null;
|
|
return null;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|