| | |
| | | import com.ltkj.system.domain.SysUserPost; |
| | | import com.ltkj.system.service.*; |
| | | import com.ltkj.web.controller.his.HisApiGetMethodService; |
| | | import com.ltkj.web.wxUtils.HttpClientUtils; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiParam; |
| | |
| | | return AjaxResult.error("未查询到缴费记录"); |
| | | } |
| | | } |
| | | String s = configService.selectConfigByKey("is_request_common_his_api"); |
| | | if (null != s && s.equals("Y")) { |
| | | LambdaQueryWrapper<TjFlowingWater> wrapper1 = new LambdaQueryWrapper<>(); |
| | | wrapper1.eq(TjFlowingWater::getOrderId,tjOrder.getOrderId()); |
| | | wrapper1.eq(TjFlowingWater::getPayStasus,0L); |
| | | List<TjFlowingWater> list = tjFlowingWaterService.list(wrapper1); |
| | | if (!list.isEmpty()){ |
| | | return AjaxResult.error("存在未缴费项目"); |
| | | } |
| | | } |
| | | } |
| | | }else { |
| | | log.error("路泰科技--- "+DateUtil.date()+" 未对接his接口 "+" 体检号 "+tjOrder.getTjNumber()); |