| | |
| | | package com.dy.pipIrrRemote.monitor.p202404V201.cdA3; |
| | | |
| | | import com.dy.pipIrrGlobal.daoPr.PrWaterPriceMapper; |
| | | import com.dy.pipIrrGlobal.daoRm.RmCommandOpenMapper; |
| | | import com.dy.pipIrrGlobal.daoSe.SeVirtualCardMapper; |
| | | import com.dy.pipIrrGlobal.pojoRm.RmCommandOpen; |
| | | import com.dy.pipIrrGlobal.pojoSe.SeVirtualCard; |
| | | import com.dy.pipIrrGlobal.voSe.VoVirtualCard; |
| | | import com.dy.pipIrrRemote.monitor.common.ComSv; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @Author: liurunyu |
| | |
| | | |
| | | @Autowired |
| | | protected SeVirtualCardMapper seVirtualCardDao ; |
| | | |
| | | @Autowired |
| | | protected PrWaterPriceMapper prWaterPriceDao ; |
| | | |
| | | @Autowired |
| | | protected RmCommandOpenMapper rmCommandOpenDao ; |
| | | /** |
| | | * 解除虚拟卡被占用 |
| | | */ |
| | |
| | | public Long getVcIdByNum(String vcNum){ |
| | | return seVirtualCardDao.getVcIdByNum(vcNum) ; |
| | | } |
| | | |
| | | |
| | | public RmCommandOpen getCommandOpen(Long intakeId){ |
| | | List<RmCommandOpen> list = rmCommandOpenDao.selectByIntakeId(intakeId) ; |
| | | if(list != null && list.size() > 0){ |
| | | return list.get(0) ; |
| | | } |
| | | return null ; |
| | | } |
| | | } |