Quellcode durchsuchen

健康文章接口BUG修改

huangwenjie vor 7 Jahren
Ursprung
Commit
d176ddaed5

+ 1 - 1
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/service/jimeiJkEdu/JMJkEduArticleService.java

@ -1096,7 +1096,7 @@ public class JMJkEduArticleService extends BaseService {
    
        page = (page - 1) * pagesize;
    
        String sql = "SELECT * FROM " + esType + "  where patientCode= '" + patientCode + "' and adminTeamCode = '"+teamCode+"' doctorCode='" + uid + "' and userType = 1";
        String sql = "SELECT * FROM " + esType + "  where patientCode= '" + patientCode + "' and adminTeamCode = '"+teamCode+"' and doctorCode='" + uid + "' and userType = 1";
    
        if(!StringUtils.isEmpty(level1Type)){
            sql= sql + " and firstLevelCategoryId = '"+level1Type+"' ";