| | |
| | | |
| | | import com.dy.common.webUtil.BaseResponseUtils; |
| | | import com.dy.pipIrrGlobal.daoPr.PrWaterPriceMapper; |
| | | import com.dy.pipIrrGlobal.daoSe.SeCardOperateMapper; |
| | | import com.dy.pipIrrGlobal.daoSe.SeClientCardMapper; |
| | | import com.dy.pipIrrGlobal.daoSe.SeClientMapper; |
| | | import com.dy.pipIrrGlobal.daoSe.SeRechargeHistoryMapper; |
| | | import com.dy.pipIrrGlobal.daoSe.*; |
| | | import com.dy.pipIrrGlobal.pojoSe.SeCardOperate; |
| | | import com.dy.pipIrrGlobal.pojoSe.SeClientCard; |
| | | import com.dy.pipIrrGlobal.pojoSe.SeRechargeHistory; |
| | | import com.dy.pipIrrGlobal.voSe.VoAfterRecharge; |
| | | import com.dy.pipIrrGlobal.voSe.VoTermActiveCard; |
| | | import com.dy.pipIrrGlobal.voSe.VoTermCard; |
| | | import com.dy.pipIrrGlobal.voSe.VoTermCommon; |
| | | import com.dy.pipIrrTerminal.card.dto.*; |
| | | import com.dy.pipIrrTerminal.card.enums.CardStateENUM; |
| | |
| | | |
| | | @Autowired |
| | | private SeRechargeHistoryMapper seRechargeHistoryMapper; |
| | | |
| | | @Autowired |
| | | private SeManagerCardMapper seManagerCardMapper; |
| | | |
| | | @Value("${project.projectNo}") |
| | | private Integer projectNo; |
| | |
| | | } |
| | | return false; |
| | | } |
| | | |
| | | /** |
| | | * 读取水卡信息 |
| | | * @param cardAddr |
| | | * @return |
| | | */ |
| | | public VoTermCard readCard(String cardAddr) { |
| | | VoTermCard voTermCard = seClientCardMapper.getTermCardInfo(cardAddr); |
| | | if(voTermCard != null) { |
| | | return voTermCard; |
| | | } |
| | | |
| | | VoTermCard voTermManagerCard = seManagerCardMapper.getTermManagerCardInfo(cardAddr); |
| | | if(voTermManagerCard != null) { |
| | | return voTermManagerCard; |
| | | } |
| | | |
| | | return null; |
| | | } |
| | | } |