|
@@ -221,7 +221,7 @@
|
|
|
<select id="queryByGroupProductCategoryId" resultMap="queryByGroupProductCategoryIdMap">
|
|
|
select product_category_id pci,
|
|
|
product_category_name,
|
|
|
- p.create_person_tenant_id pCreatePersonTenantId,
|
|
|
+ create_person_tenant_id as createPersonTenantId,
|
|
|
ifnull(#{orderBy}, '') orderBy,
|
|
|
ifnull(#{orderType}, '') orderType,
|
|
|
ifnull(#{productName}, '') productName,
|
|
@@ -263,7 +263,7 @@
|
|
|
<collection property="products" ofType="cn.cslg.pas.common.model.vo.ProductVO"
|
|
|
select="queryByGroupProductCategoryId2"
|
|
|
column="{pci=pci, orderBy=orderBy, orderType=orderType, productName=productName, companyName=companyName,
|
|
|
- patentNo=patentNo, productCategoryId=productCategoryId, productCategoryName=productCategoryName, pCreatePersonTenantId=pCreatePersonTenantId}">
|
|
|
+ patentNo=patentNo, productCategoryId=productCategoryId, productCategoryName=productCategoryName, createPersonTenantId=createPersonTenantId}">
|
|
|
</collection>
|
|
|
</resultMap>
|
|
|
|
|
@@ -303,7 +303,7 @@
|
|
|
and product_category_id = #{pci}
|
|
|
</if>
|
|
|
<if test="true">
|
|
|
- and p.create_person_tenant_id = #{pCreatePersonTenantId}
|
|
|
+ and p.create_person_tenant_id = #{createPersonTenantId}
|
|
|
</if>
|
|
|
</where>
|
|
|
order by
|
|
@@ -321,7 +321,7 @@
|
|
|
<!--List<ProductGroupVO> queryByGroupCompanyName(ProductQueryPageDTO productQueryPageDTO);-->
|
|
|
<select id="queryByGroupCompanyName" resultMap="queryByGroupCompanyNameMap">
|
|
|
select company_name cn,
|
|
|
- create_person_tenant_id CreatePersonTenantId,
|
|
|
+ create_person_tenant_id as createPersonTenantId,
|
|
|
ifnull(#{orderBy}, '') orderBy,
|
|
|
ifnull(#{orderType}, '') orderType,
|
|
|
ifnull(#{productName}, '') productName,
|
|
@@ -362,13 +362,13 @@
|
|
|
<resultMap id="queryByGroupCompanyNameMap" type="cn.cslg.pas.common.model.vo.ProductGroupVO">
|
|
|
<result column="cn" property="companyName"/>
|
|
|
<collection property="products" ofType="cn.cslg.pas.common.model.vo.ProductVO"
|
|
|
- select="queryByGroupCompanyNameMap2"
|
|
|
+ select="queryByGroupCompanyName2"
|
|
|
column="{cn=cn, orderBy=orderBy, orderType=orderType, productName=productName, companyName=companyName,
|
|
|
- patentNo=patentNo, productCategoryId=productCategoryId, productCategoryName=productCategoryName, CreatePersonTenantId=CreatePersonTenantId}">
|
|
|
+ patentNo=patentNo, productCategoryId=productCategoryId, productCategoryName=productCategoryName, createPersonTenantId=createPersonTenantId}">
|
|
|
</collection>
|
|
|
</resultMap>
|
|
|
|
|
|
- <select id="queryByGroupCompanyNameMap2" resultMap="queryMap">
|
|
|
+ <select id="queryByGroupCompanyName2" resultMap="queryMap">
|
|
|
select p.id p_id,
|
|
|
product_name,
|
|
|
market_time,
|
|
@@ -404,7 +404,7 @@
|
|
|
and company_name = #{cn}
|
|
|
</if>
|
|
|
<if test="true">
|
|
|
- and p.create_person_tenant_id = #{CreatePersonTenantId}
|
|
|
+ and p.create_person_tenant_id = #{createPersonTenantId}
|
|
|
</if>
|
|
|
</where>
|
|
|
order by
|