| | |
| | | import com.java110.core.event.cmd.Cmd; |
| | | import com.java110.core.event.cmd.CmdEvent; |
| | | import com.java110.core.log.LoggerFactory; |
| | | import com.java110.doc.annotation.*; |
| | | import com.java110.dto.fee.FeeDto; |
| | | import com.java110.dto.fee.PayFeeDto; |
| | | import com.java110.dto.payment.PaymentOrderDto; |
| | | import com.java110.dto.paymentPool.PaymentPoolDto; |
| | | import com.java110.dto.paymentPoolConfig.PaymentPoolConfigDto; |
| | | import com.java110.dto.payment.PaymentPoolDto; |
| | | import com.java110.dto.payment.PaymentPoolConfigDto; |
| | | import com.java110.intf.acct.IPaymentPoolConfigV1InnerServiceSMO; |
| | | import com.java110.intf.acct.IPaymentPoolV1InnerServiceSMO; |
| | | import com.java110.intf.fee.IPayFeeV1InnerServiceSMO; |
| | | import com.java110.utils.cache.CommonCache; |
| | | import com.java110.utils.cache.MappingCache; |
| | | import com.java110.utils.constant.MappingConstant; |
| | | import com.java110.utils.constant.WechatConstant; |
| | | import com.java110.utils.exception.CmdException; |
| | | import com.java110.utils.factory.ApplicationContextFactory; |
| | | import com.java110.utils.util.Assert; |
| | |
| | | |
| | | |
| | | // redis 中 保存 请求参数 |
| | | reqJson.put("remark","线上小程序业主端支付"); |
| | | CommonCache.setValue("unifiedPayment_" + paymentOrderDto.getOrderId(), reqJson.toJSONString(), CommonCache.PAY_DEFAULT_EXPIRE_TIME); |
| | | } |
| | | |
| | |
| | | paymentPoolDto = new PaymentPoolDto(); |
| | | paymentPoolDto.setCommunityId(communityId); |
| | | paymentPoolDto.setPayType(PaymentPoolDto.PAY_TYPE_COMMUNITY); |
| | | paymentPoolDto.setState("Y"); |
| | | List<PaymentPoolDto> paymentPoolDtos = paymentPoolV1InnerServiceSMOImpl.queryPaymentPools(paymentPoolDto); |
| | | if (paymentPoolDtos == null || paymentPoolDtos.isEmpty()) { |
| | | throw new IllegalArgumentException("小区未配置支付信息"); |
| | |
| | | PaymentPoolDto paymentPoolDto = new PaymentPoolDto(); |
| | | paymentPoolDto.setCommunityId(communityId); |
| | | paymentPoolDto.setPayType(PaymentPoolDto.PAY_TYPE_TEMP_CAT); |
| | | paymentPoolDto.setState("Y"); |
| | | List<PaymentPoolDto> paymentPoolDtos = paymentPoolV1InnerServiceSMOImpl.queryPaymentPools(paymentPoolDto); |
| | | if (paymentPoolDtos == null || paymentPoolDtos.isEmpty()) { |
| | | return null; |
| | |
| | | paymentPoolDto.setPpId(paymentPoolConfigDtos.get(0).getPpId()); |
| | | paymentPoolDto.setCommunityId(paymentPoolConfigDtos.get(0).getCommunityId()); |
| | | paymentPoolDto.setPayType(PaymentPoolDto.PAY_TYPE_FEE_CONFIG); |
| | | paymentPoolDto.setState("Y"); |
| | | List<PaymentPoolDto> paymentPoolDtos = paymentPoolV1InnerServiceSMOImpl.queryPaymentPools(paymentPoolDto); |
| | | if (paymentPoolDtos == null || paymentPoolDtos.isEmpty()) { |
| | | return null; |