Selaa lähdekoodia

新增泵列表信息增加是否撤泵参数

wangzl 3 kuukautta sitten
vanhempi
commit
f0dec5fa1d

+ 2 - 0
pump-web/src/main/java/com/tuoren/web/layer/vo/PumpNewParam.java

@@ -80,6 +80,8 @@ public class PumpNewParam {
 
     @ApiModelProperty(value = "提示",hidden = true)
     private List<String> tipList;
+    @ApiModelProperty(value = "是否撤泵,0 已撤泵 1未撤泵")
+    private Boolean isRemove;
 
     public void setTimeRange(List<String> timeRange) {
         this.timeRange = new ArrayList<>();

+ 3 - 0
pump-web/src/main/resources/mapper/BusPumpEntityMapper.xml

@@ -372,6 +372,9 @@
                     #{item}
                 </foreach>
             </if>
+            <if test="pumpParam.isRemove != null">
+                AND result.is_remove = #{pumpParam.isRemove}
+            </if>
         </where>
         <if test="pumpParam.sort != null and !pumpParam.sort ">
             ORDER BY result.patientInfoBedNo asc