瀏覽代碼

代码修改

LAPTOP-KB9HII50\70708 1 年之前
父節點
當前提交
3cf8a1f13e

+ 1 - 3
svr/svr-base/src/main/java/com/yihu/jw/base/service/specialist/SpecialistScreenResultService.java

@ -8,7 +8,6 @@ import com.yihu.jw.util.common.IdCardUtil;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.jdbc.core.BeanPropertyRowMapper;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Service;
@ -24,8 +23,7 @@ import java.util.*;
public class SpecialistScreenResultService {
    @Autowired
    private JdbcTemplate jdbcTemplate;
    @Value("${basedb.name}")
    private String basedb;
    private String basedb="base";

+ 1 - 4
svr/svr-base/src/main/java/com/yihu/jw/base/service/specialist/SpecialistService.java

@ -2,7 +2,6 @@ package com.yihu.jw.base.service.specialist;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.yihu.jw.base.dao.specialist.PatientHospitalRecordDao;
import com.yihu.jw.base.dao.specialist.SpecialistPatientRelationDao;
import com.yihu.jw.base.dao.specialist.rehabilitation.*;
@ -21,7 +20,6 @@ import com.yihu.jw.util.common.IdCardUtil;
import com.yihu.jw.util.date.DateUtil;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.jdbc.core.BeanPropertyRowMapper;
import org.springframework.jdbc.core.JdbcTemplate;
@ -46,8 +44,7 @@ public class SpecialistService{
    private PatientHospitalRecordDao patientHospitalRecordDao;
    @Autowired
    private JdbcTemplate jdbcTemplate;
    @Value("${basedb.name}")
    private String basedb;
    private String basedb="base";
    @Autowired
    private StringRedisTemplate redisTemplate;
    @Autowired

+ 1 - 3
svr/svr-base/src/main/java/com/yihu/jw/base/service/specialist/rehabilitation/RehabilitationManageService.java

@ -17,7 +17,6 @@ import org.apache.commons.collections.map.HashedMap;
import org.apache.commons.lang3.StringUtils;
import org.json.JSONArray;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.jdbc.core.BeanPropertyRowMapper;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Service;
@ -33,8 +32,7 @@ import java.util.*;
@Transactional
public class RehabilitationManageService {
    @Value("${basedb.name}")
    private String basedb;
    private String basedb="base";
    @Autowired
    private JdbcTemplate jdbcTemplate;
    @Autowired

+ 1 - 4
svr/svr-base/src/main/java/com/yihu/jw/base/service/specialist/rehabilitation/RehabilitationPlanService.java

@ -27,7 +27,6 @@ import com.yihu.jw.util.http.HttpClientUtil;
import org.apache.commons.collections.map.HashedMap;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@ -45,10 +44,8 @@ import java.util.stream.Collectors;
public class RehabilitationPlanService extends BaseJpaService<RehabilitationPlanningDO, RehabilitationPlanTemplateDao> {
    @Value("${base.url}")
    private String baseUrl;
    @Value("${basedb.name}")
    private String basedb;
    private String basedb="base";
    @Autowired