Browse Source

获取机关维度

master
zhaoqifeng 5 years ago
parent
commit
00b298ecfb
  1. 3
      epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/stats/DimAgencyDao.xml

3
epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/stats/DimAgencyDao.xml

@ -22,6 +22,7 @@
dim_agency dim_agency
WHERE WHERE
del_flag = '0' del_flag = '0'
AND AGENCY_DIM_TYPE = 'all'
<if test="customerId != null and customerId.trim() != ''"> <if test="customerId != null and customerId.trim() != ''">
AND customer_id = #{customerId} AND customer_id = #{customerId}
</if> </if>
@ -119,6 +120,7 @@
WHERE WHERE
DEL_FLAG = '0' DEL_FLAG = '0'
AND CUSTOMER_ID = #{customerId,jdbcType=VARCHAR} AND CUSTOMER_ID = #{customerId,jdbcType=VARCHAR}
AND AGENCY_DIM_TYPE = 'all'
</select> </select>
@ -234,6 +236,7 @@
dim_agency dim_agency
WHERE WHERE
del_flag = '0' del_flag = '0'
AND AGENCY_DIM_TYPE = 'all'
AND customer_id = #{customerId} AND customer_id = #{customerId}
</select> </select>

Loading…
Cancel
Save