|  |  |  | 
|---|
|  |  |  | xzx_score_goods_category a | 
|---|
|  |  |  | WHERE 1 = 1 | 
|---|
|  |  |  | <if test="record.name != null and record.name != ''"> | 
|---|
|  |  |  | and a.name=#{record.name} | 
|---|
|  |  |  | and a.name like concat('%',#{record.name},'%') | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="record.categoryIden != null and record.categoryIden != ''"> | 
|---|
|  |  |  | and a.category_iden=#{record.categoryIden} | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <select id="viewGoodsCategoryList" resultType="com.xzx.gc.shop.vo.ViewGoodsCategoryListVo"> | 
|---|
|  |  |  | SELECT | 
|---|
|  |  |  | a.*,, | 
|---|
|  |  |  | a.*, | 
|---|
|  |  |  | a.CREATED_TIME createTime, | 
|---|
|  |  |  | (select name from xzx_score_goods_category where a.parent_id = id) parentName | 
|---|
|  |  |  | FROM | 
|---|