fix(watch,consultation,db): 修复达梦数据库兼容性及 SQL 脚本问题
- 将 ArchivesBodyTypeMapper.xml 中的双引号字符串 \"5\" 改为单引号 '5',修复达梦数据库语法兼容问题 - 更新 ConDoctorMapper.java(具体变更见 diff) - 更新 consult.sql 数据库脚本
This commit is contained in:
+4
-4
@@ -195,21 +195,21 @@ public interface ConDoctorMapper extends BaseMapper<ConDoctor> , MPJBaseMapper<C
|
||||
Boolean insertConDoctorSatisfyQhByDoctorNew(ConDoctorSatisfy conDoctorSatisfy);
|
||||
|
||||
|
||||
@Update("update qh_con_doctor_satisfy set reply_num = reply_num + 1 WHERE id = #{id}")
|
||||
@Update("update QH_CON_DOC_SATISFY set reply_num = reply_num + 1 WHERE id = #{id}")
|
||||
int addDoctorReplyNumBackUp(String id);
|
||||
|
||||
|
||||
@Update("update ${tableName} set reply_num = reply_num + 1 WHERE id = #{id}")
|
||||
int addDoctorReplyNumNotQh(String id,String tableName);
|
||||
|
||||
@Update("update qh_con_doctor_satisfy set user_score_num = user_score_num +1 ,user_score = user_score + #{userScore} WHERE id = #{doctorId}")
|
||||
@Update("update QH_CON_DOC_SATISFY set user_score_num = user_score_num +1 ,user_score = user_score + #{userScore} WHERE id = #{doctorId}")
|
||||
public int updateDoctorScoreAnfNumQh(String userScore, String doctorId);
|
||||
|
||||
|
||||
@Update("update qh_con_doctor_satisfy set show_score = show_score + #{showScore} WHERE id = #{doctorId}")
|
||||
@Update("update QH_CON_DOC_SATISFY set show_score = show_score + #{showScore} WHERE id = #{doctorId}")
|
||||
public int updateDoctorShowScoreAnfNumQh(String showScore, String doctorId);
|
||||
|
||||
@Update("update qh_con_doctor_satisfy set message_num = message_num + 1 WHERE id = #{id}")
|
||||
@Update("update QH_CON_DOC_SATISFY set message_num = message_num + 1 WHERE id = #{id}")
|
||||
int addDoctorMessageNumQh(String id);
|
||||
|
||||
List<ConDoctor> selectRecommendDoctorNewAnother(IPage<ConDoctor> page);
|
||||
|
||||
Reference in New Issue
Block a user