ZeroLiYi před 1 rokem
rodič
revize
b6f117e7ad

+ 2 - 2
src/main/java/com/chinaitop/depot/sqr/mapper/BizSqrEnterpriseApplyMapper.xml

@@ -94,7 +94,7 @@
94 94
 
95 95
     <select id="findByPage" resultType="Map" resultMap="BaseResultMap">
96 96
         SELECT
97
-            bgqa.id,A.id unitInfoId,A.dwmc,A.dwdm,A.fddbr,A.dwlx,A.DICT_LABEL,bgqa.apply_status,bgqa.apply_type,bgq.audit_status
97
+            bgqa.id,A.id unitInfoId,A.dwmc,A.dwdm,A.fddbr,A.dwlx,A.DICT_LABEL,bgqa.apply_status,bgqa.apply_type,bgq.audit_status,bgqa.sqr_enterprise_id
98 98
         FROM
99 99
             province_all.biz_sqr_enterprise_apply bgqa
100 100
                 LEFT JOIN(select bui.id,bui.dwmc,bui.dwdm,bui.fddbr,bui.dwlx,bui.zcdz,bui.cfs,bui.ygs,dict.DICT_LABEL  from province_all.biz_unit_info bui left join province_all.dev_dict dict on bui.dwlx = dict.id)A ON bgqa.unit_info_id = A.id
@@ -126,7 +126,7 @@
126 126
             bse.attachment attachment,
127 127
             SUM(oi.depot_area) depotArea,
128 128
             SUM(bs.actual_capacity)actualCapacity,
129
-            bgqa.apply_status,bgqa.apply_type,bse.id
129
+            bgqa.apply_status,bgqa.apply_type,bgqa.id
130 130
         FROM
131 131
             province_all.biz_unit_info bui
132 132
                 LEFT JOIN province_all.dev_dict dict ON bui.dwlx = dict.id