Pārlūkot izejas kodu

增加查询条件

gaodd 4 mēneši atpakaļ
vecāks
revīzija
23d0bd6a1c

+ 3 - 0
unis-plugin/unis-plugin-biz/src/main/java/com/unis/mobileInfo/modular/crk/mapper/mapping/CrkMapper.xml

@@ -195,6 +195,9 @@
195 195
         <if test="businessRecordParam.endCrksj != null">
196 196
             and zykssj &lt;= #{businessRecordParam.endCrksj}
197 197
         </if>
198
+        <if test="businessRecordParam.orgId != null">
199
+            and UnitID = #{businessRecordParam.orgId}
200
+        </if>
198 201
     </select>
199 202
 
200 203
     <select id="getBusinessRecordDetail" parameterType="com.unis.mobileInfo.modular.crk.param.BusinessRecordParam" resultType="java.util.Map">

+ 5 - 0
unis-plugin/unis-plugin-biz/src/main/java/com/unis/mobileInfo/modular/crk/param/BusinessRecordParam.java

@@ -53,4 +53,9 @@ public class BusinessRecordParam {
53 53
     @ApiModelProperty(value = "业务类型 1入库 2出库")
54 54
     private Integer ywlx ;
55 55
 
56
+    @ApiModelProperty(value = "单位id")
57
+    private Integer orgId ;
58
+
59
+
60
+
56 61
 }