|
@ -3110,7 +3110,7 @@ public class ImService {
|
|
|
public void doctorReplyUpdateYktState(String consult,String doctor,String wxId){
|
|
|
if (wxId.equalsIgnoreCase("xm_ykyy_wx")){
|
|
|
String sql ="SELECT * FROM topics t where " +
|
|
|
"t.id='"+consult+"' and t.reply_user='"+doctor+"' and t.reply=1 and t.status=0 ";
|
|
|
"t.id='"+consult+"' and t.reply_user='"+doctor+"' and t.reply=1 and t.status IN(0,1) ";
|
|
|
List<Map<String,Object>> mapList = jdbcTemplate.queryForList(sql);
|
|
|
logger.info("sql======"+sql);
|
|
|
if (mapList!=null&&mapList.size()!=0&&mapList.size()==1){
|