Przeglądaj źródła

设备分页列表返回数据去掉之前添加的comId字段

zhaishaofeng 2 lat temu
rodzic
commit
1b8da22279

+ 2 - 2
imcs-bt-be/imcs-business-biz/src/main/resources/mapper_business/base/productionresource/ProductionresourceMapper.xml

@@ -46,10 +46,10 @@
 
     <select id="pageList" resultMap="BaseResultMap">
         select
-        <include refid="Base_Column_List"/>, longitude,latitude,areaIds,tenantDesc,pic, category,address,comId
+        <include refid="Base_Column_List"/>, longitude,latitude,areaIds,tenantDesc,pic, category,address
         from (
         SELECT
-        a.*,b.label as lineDesc,v.longitude,v.latitude,v.pic,v.category,v.tenantDesc,b.com_id as comId,
+        a.*,b.label as lineDesc,v.longitude,v.latitude,v.pic,v.category,v.tenantDesc,
         v.areaIds,v.placeName,v.address from imcs_tenant_productionresource a
         left join c_core_org b on a.org_id = b.id
         left join view_productionresource v on a.id = v.id

+ 0 - 7
imcs-bt-be/imcs-business-entity/src/main/java/com/github/zuihou/business/productionresource/entity/ProductionResource.java

@@ -336,13 +336,6 @@ public class ProductionResource extends Entity<Long> {
     @TableField(exist = false)
     private Integer lackCount;
 
-    /**
-     * 所属企业ID
-     */
-    @ApiModelProperty(value = "所属企业ID")
-    @TableField(exist = false)
-    private Long comId;
-
     /**
      * 设备人员关系
      */