浏览代码

修复bug

lighter 7 月之前
父节点
当前提交
0a956b5c5e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/thyyxxk/wxservice_server/dao/api/PowersiPluginDao.java

+ 1 - 1
src/main/java/thyyxxk/wxservice_server/dao/api/PowersiPluginDao.java

@@ -26,7 +26,7 @@ public interface PowersiPluginDao extends BaseMapper<PowersiMipSetlinfo> {
             "openid=#{openid},ybzf=1 where his_order_num=#{hisOrdNum}")
     void lockYbOrder(String hisOrdNum, String openid, int flag);
 
-    @Select("select top 2 patient_id from mz_patient_mi where social_no={id} order by lv_date desc")
+    @Select("select top 2 patient_id from mz_patient_mi where social_no=#{id} order by lv_date desc")
     List<String> selectPatientCount(String id);
 
     @Select("select top 1 rtrim(code) from zd_unit_code " +