| | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.java110.core.factory.GenerateCodeFactory; |
| | | import com.java110.dto.account.AccountDto; |
| | | import com.java110.dto.chargeMachine.ChargeMachineDto; |
| | | import com.java110.dto.chargeMachine.ChargeMachineFactoryDto; |
| | | import com.java110.dto.chargeMachine.ChargeMachineOrderDto; |
| | | import com.java110.dto.chargeMachine.NotifyChargeOrderDto; |
| | | import com.java110.dto.chargeMachine.ChargeMachineOrderCouponDto; |
| | | import com.java110.dto.chargeMachine.ChargeMachinePortDto; |
| | | import com.java110.dto.chargeMachine.ChargeRuleFeeDto; |
| | | import com.java110.dto.chargeMonthOrder.ChargeMonthOrderDto; |
| | | import com.java110.dto.user.UserDto; |
| | | import com.java110.dto.charge.ChargeMachineDto; |
| | | import com.java110.dto.charge.ChargeMachineFactoryDto; |
| | | import com.java110.dto.charge.ChargeMachineOrderDto; |
| | | import com.java110.dto.charge.NotifyChargeOrderDto; |
| | | import com.java110.dto.charge.ChargeMachineOrderCouponDto; |
| | | import com.java110.dto.charge.ChargeMachinePortDto; |
| | | import com.java110.dto.charge.ChargeRuleFeeDto; |
| | | import com.java110.dto.charge.ChargeMonthOrderDto; |
| | | import com.java110.intf.acct.IAccountInnerServiceSMO; |
| | | import com.java110.intf.common.*; |
| | | import com.java110.po.accountDetail.AccountDetailPo; |
| | | import com.java110.po.chargeMachineOrder.ChargeMachineOrderPo; |
| | | import com.java110.po.chargeMachineOrderAcct.ChargeMachineOrderAcctPo; |
| | | import com.java110.po.chargeMachineOrderCoupon.ChargeMachineOrderCouponPo; |
| | | import com.java110.po.chargeMachinePort.ChargeMachinePortPo; |
| | | import com.java110.po.account.AccountDetailPo; |
| | | import com.java110.po.charge.ChargeMachineOrderPo; |
| | | import com.java110.po.charge.ChargeMachineOrderAcctPo; |
| | | import com.java110.po.charge.ChargeMachineOrderCouponPo; |
| | | import com.java110.po.charge.ChargeMachinePortPo; |
| | | import com.java110.utils.exception.CmdException; |
| | | import com.java110.utils.factory.ApplicationContextFactory; |
| | | import com.java110.utils.util.Assert; |
| | |
| | | return true; |
| | | } |
| | | |
| | | @Autowired |
| | | @Override |
| | | public boolean ifStartMonthCard(String personTel, String communityId ) { |
| | | |
| | | ChargeMonthOrderDto chargeMonthOrderDto = new ChargeMonthOrderDto(); |
| | |
| | | chargeMachinePortV1InnerServiceSMOImpl.updateChargeMachinePort(chargeMachinePortPo); |
| | | |
| | | ChargeMachineOrderDto chargeMachineOrderDto = new ChargeMachineOrderDto(); |
| | | chargeMachineOrderDto.setMachineId(chargeMachineDto.getMachineId()); |
| | | chargeMachineOrderDto.setPortId(chargeMachinePortDto.getPortId()); |
| | | chargeMachineOrderDto.setMachineId(chargeMachineDtos.get(0).getMachineId()); |
| | | chargeMachineOrderDto.setPortId(chargeMachinePortDtos.get(0).getPortId()); |
| | | chargeMachineOrderDto.setState(ChargeMachineOrderDto.STATE_DOING); |
| | | List<ChargeMachineOrderDto> chargeMachineOrderDtos = chargeMachineOrderV1InnerServiceSMOImpl.queryChargeMachineOrders(chargeMachineOrderDto); |
| | | |