| | |
| | | //根据配置调取存储过程 将临时表数据存入预约表2023.12.12 |
| | | final String getInfoFromSqlData = sysConfigService.selectConfigByKey("getInfoFromSqlData"); |
| | | if ("Y".equals(getInfoFromSqlData)){ |
| | | final LtkjTjPat tjPatByIdCard = testMapper.getTjPatByIdCard(cusIdcard); |
| | | if (tjPatByIdCard!=null){ |
| | | testMapper.getTjPatByCusId(cusIdcard); |
| | | }else { |
| | | return error("身份证号不存在"); |
| | | } |
| | | // LtkjTjPat tjPatByIdCard = testMapper.getTjPatByIdCard(cusIdcard); |
| | | testMapper.getTjPatByCusId(cusIdcard); |
| | | } |
| | | //end2023.12.12 |
| | | |
| | | |
| | | //end====2023.12.12 |
| | | LambdaQueryWrapper<TjReservation> wq = new LambdaQueryWrapper<>(); |
| | | wq.eq(TjReservation::getIdCard, cusIdcard); |
| | | wq.eq(TjReservation::getIsExpire, 2); |