Explorar el Código

xml配置文件多了USERID 配置代码生成的时候多写了参数已修正

shiyj hace 6 años
padre
commit
74369ff193

+ 1 - 1
WebService/src/main/java/com/java110/web/smo/impl/BusinessTypeServiceSMOImpl.java

@@ -69,7 +69,7 @@ public class BusinessTypeServiceSMOImpl extends BaseComponentSMO implements IBus
         responseEntity = this.callCenterService(restTemplate, pd, "",
                 apiUrl,
                 HttpMethod.GET);
-
+        System.out.println("我就看看获取到的数据"+responseEntity.toString());
         return responseEntity;
     }
 

+ 2 - 2
WebService/src/main/resources/components/list_business_type/listBusinessType.html

@@ -71,8 +71,8 @@
             name="editOwner"
             notifyLoadDataComponentName="listOwner"
 
-    ></vc:create>-->
-    <vc:create name="deleteBusinessType"
     ></vc:create>
+    <vc:create name="deleteBusinessType"
+    ></vc:create>-->
 
 </div>

+ 0 - 1
java110-core/src/main/java/com/java110/core/smo/businessytpe/IC_business_typeInnerServiceSMO.java

@@ -20,7 +20,6 @@ import java.util.List;
 @FeignClient(name = "store-service", configuration = {FeignConfiguration.class})
 @RequestMapping("/c_business_typeApi")
 public interface IC_business_typeInnerServiceSMO {
-
     /**
      * <p>查询小区楼信息</p>
      *

+ 2 - 5
java110-db/src/main/resources/mapper/businesstye/C_business_typeServiceDaoImplMapper.xml

@@ -72,7 +72,7 @@ business_type_cd,name,description,id,user_id
 
     <!-- 查询BusinessType信息 add by wuxw 2018-07-03 -->
     <select id="getC_business_typeInfo" parameterType="Map" resultType="Map">
-        select  t.business_type_cd,t.business_type_cd businessTypeCd,t.name,t.description,t.id,t.user_id,t.user_id userId 
+        select  t.business_type_cd,t.business_type_cd businessTypeCd,t.name,t.description,t.id
 from c_business_type t 
 where 1 =1 
 <if test="businessTypeCd !=null and businessTypeCd != ''">
@@ -86,10 +86,7 @@ where 1 =1
 </if> 
 <if test="id !=null and id != ''">
    and t.id= #{id}
-</if> 
-<if test="userId !=null and userId != ''">
-   and t.user_id= #{userId}
-</if> 
+</if>
 <if test="page != -1 and page != null ">
    limit #{page}, #{row}
 </if>