Browse Source

nzy接口开发

liutao 3 weeks ago
parent
commit
aaf7307681

+ 5 - 1
YHYZT/server/src/main/java/com/zjugis/yzt/controller/StNzydkController.java

@@ -44,7 +44,8 @@ public class StNzydkController {
                                          @RequestParam(required = false) String pzrqStart,
                                          @RequestParam(required = false) String pzrqEnd,
                                          @RequestParam(required = false) BigDecimal pzmj,
-                                         @RequestParam(required = false) String nmjf) {
+                                         @RequestParam(required = false) String nmjf,
+                                         @RequestParam(required = false) String pcbh) {
         QueryWrapper<StNzydk> queryWrapper = new QueryWrapper<>();
 
         if (pch != null && !pch.isEmpty()) {
@@ -68,6 +69,9 @@ public class StNzydkController {
         if (nmjf != null && !nmjf.isEmpty()) {
             queryWrapper.eq("nmjf", nmjf);
         }
+        if (pcbh != null && !pcbh.isEmpty()) {
+            queryWrapper.eq("pcbh", pcbh);
+        }
 
         List<StNzydk> list = stNzydkService.list(queryWrapper);