Przeglądaj źródła

注释错误修改 加筛选条件错误提交

wangzl 3 miesięcy temu
rodzic
commit
21fb90cf83

+ 1 - 1
tr-modules/tr-module-smartFollowUp/src/main/java/cn/tr/module/smart/common/dto/BizPatientQueryDTO.java

@@ -33,7 +33,7 @@ public class BizPatientQueryDTO implements Serializable {
     @ApiModelProperty(value = "当前登录人", position = 3)
     private String userId;
 
-    @ApiModelProperty("是否绑泵  0、未绑泵,1、绑泵")
+    @ApiModelProperty("是否绑泵  false、未绑泵,true、绑泵")
     private Boolean bindDevice;
 
     public void setClinicTime(List<Date> clinicTime) {

+ 2 - 2
tr-modules/tr-module-smartFollowUp/src/main/resources/mapper/smart/BizPatientMapper.xml

@@ -116,10 +116,10 @@
                 and bcrmu.user_id = #{query.userId,jdbcType=VARCHAR}
             </if>
             <if test="query.bindDevice != null and query.bindDevice == true">
-                and bp.current_clinic_id is not null and bic.device_id is not null
+                 and bic.device_id is not null
             </if>
             <if test="query.bindDevice != null and query.bindDevice == false">
-
+                and bic.device_id is null
             </if>
         </where>
         order by bp.create_time desc