Explorar el Código

储量验收-v2.0

hanqingsong hace 4 meses
padre
commit
777019b2be

+ 4 - 0
unis-plugin/unis-plugin-biz/src/main/java/com/unis/statisticalReport.info/modular/grainReserveInspection/entity/GrainReserveInspection.java

@@ -203,4 +203,8 @@ public class GrainReserveInspection {
203 203
     @ApiModelProperty(value = "检验项目及依据", position = 30)
204 204
     @TableField(exist = false)
205 205
     private List<GrainReserveInspectionItem> granItem;
206
+
207
+    @ApiModelProperty(value = "库区名称", position = 31)
208
+    @TableField(exist = false)
209
+    private String orgName;
206 210
 }

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/statisticalReport.info/modular/grainReserveInspection/service/impl/GrainReserveInspectionServiceImpl.java

@@ -61,7 +61,7 @@ public class GrainReserveInspectionServiceImpl extends ServiceImpl<GrainReserveI
61 61
         if (ObjectUtils.isNotEmpty(param.getStorehouseName()))
62 62
             wrapper.eq("bs.storehouse_name", param.getStorehouseName());
63 63
         if (ObjectUtils.isNotEmpty(param.getWarehouseName()))
64
-            wrapper.eq("bs.storehouse_name", param.getWarehouseName());
64
+            wrapper.eq("bw.warehouse_name", param.getWarehouseName());
65 65
         wrapper.lambda().orderByDesc(GrainReserveInspection::getId);
66 66
         return grainReserveInspectionMapper.page(new Page<>(param.getCurrent(), param.getSize()), wrapper);
67 67
     }