shiyue преди 9 месеца
родител
ревизия
85bf80b706

+ 0 - 2
energy-manage-service/src/main/resources/mybatis/windfield/WindFieldMapper.xml

@@ -46,8 +46,6 @@
         </if>
         <if test="item.fieldName!=null or item.beginTime != null or item.endTime!=null">
             and
-            wf.create_by = #{item.userId}
-            and
             wf.field_code in (select code_number from sys_organization_auth where role_id =#{item.roleId} and code_type = 'field')
         </if>
         <if test="item.fieldName == null and item.beginTime == null and item.beginTime == null">

+ 0 - 2
energy-manage-service/src/main/resources/mybatis/windrelation/WindRelationMapper.xml

@@ -58,8 +58,6 @@
         <if test="state!=null or companyName!=null">
             and
             wc.company_code in (select code_number from sys_organization_auth where role_id =#{roleId} and code_type = 'company')
-            and
-            wc.create_by = #{userId}
         </if>
         <if test="state==null and companyName==null">
             and