|
@@ -152,12 +152,13 @@
|
|
|
where id = #{productId}
|
|
|
</update>
|
|
|
<select id="getProductList" resultType="com.caimei.model.vo.ProductListVo">
|
|
|
- select p.id as productId,if(p.productTypeId is null,p.name,t.name) as productName,
|
|
|
+ select p.id as productId,a.authUserId, if(p.productTypeId is null,p.name,t.name) as productName,
|
|
|
snCode,p.status,p.auditStatus,p.shopAuditStatus, p.createTime,
|
|
|
if(p.createSource = 1,cu.name,cbcu.mobile) as createBy,
|
|
|
au.name as auditBy,p.auditTime,p.invalidReason,au1.name as shopAuditBy,p.shopAuditTime
|
|
|
from cm_brand_auth_product p
|
|
|
left join cm_brand_product_type t on p.productTypeId = t.id and t.delFlag = 0
|
|
|
+ left join cm_brand_auth a on p.authId = a.id
|
|
|
left join cm_brand_auth_user cu on p.createBy = cu.authUserId
|
|
|
left join cm_brand_auth_user au on p.auditBy = au.authUserId
|
|
|
left join cm_brand_auth_user au1 on p.shopAuditBy = au1.authUserId
|