Forráskód Böngészése

归集数据分析

wangzhe 2 éve
szülő
commit
2fa01b1c2d

+ 1 - 0
mybusiness/src/main/java/com/sooka/system/service/impl/TUInterfaceinfoServiceImpl.java

@@ -464,6 +464,7 @@ public class TUInterfaceinfoServiceImpl implements ITUInterfaceinfoService
                     TUInterfaceinfo tuInterfaceinfo = new TUInterfaceinfo();
                     tuInterfaceinfo.setDeptId(deptId);
                     tuInterfaceinfo.setStatus("0");//状态(0可用,2禁用)
+                    tuInterfaceinfo.setShareType("share_type_2");//数据来源 只统计市归集类型接口对应表中数据条数综合
                     /*
                     t_guiji_gas_zenner_gas_purchase_center_infor 真兰中心计费信息
                      */

+ 1 - 1
mybusiness/src/main/resources/mapper/system/TUInterfaceinfoMapper.xml

@@ -72,7 +72,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     <select id="selectTUInterfaceinfoDataNumList" parameterType="TUInterfaceinfo" resultMap="TUInterfaceinfoResult">
         select id, status, remark, del_flag, create_by, create_time, update_by, update_time, table_name, interface_name, info_item, usage_scenarios, share_type, interface_type, env, sign_serveraddress, interface_address, type_iam, type_aksk,dept_id,dept_name,code,callsuccnum,callfailnum
         from t_u_interfaceinfo_datanum
-        where dept_id = #{deptId} and status = '0' and table_name != '' and table_name is not null
+        where dept_id = #{deptId} and status = '0' and share_type = 'share_type_2' and table_name != '' and table_name is not null
     </select>
 
     <select id="selectTUInterfaceinfoListByIds" parameterType="String" resultMap="TUInterfaceinfoResult">