| | |
| | | BigDecimal bigDecimal = new BigDecimal(0.0); |
| | | // 保存详情数据 |
| | | for (ServiceFunddetailVO serviceFunddetailVO : serviceFunddetails) { |
| | | //去掉身份证的首尾空格 |
| | | if (StringUtils.isNotEmpty(serviceFunddetailVO.getIdcardno())) { |
| | | serviceFunddetailVO.setIdcardno(serviceFunddetailVO.getIdcardno().trim()); |
| | | } |
| | | |
| | | if (StringUtils.isEmpty(serviceFunddetailVO.getBankcardno())) { |
| | | throw new BaseException("请检查银行卡号是否为空,姓名:" + serviceFunddetailVO.getBeneficiaryname()); |
| | |
| | | where a.FundID = b.id |
| | | and a.tax_time < #{taxTime} |
| | | and a.tax_time >= #{firstDay} |
| | | and a.IDCardNo = #{IDCard} |
| | | and TRIM(a.IDCardNo) = #{IDCard} |
| | | and a.del_flag != 1 |
| | | and b.id != #{fundID} |
| | | and b.fundtaxtime < #{taxTime} |