|
|
@@ -296,7 +296,7 @@ public class KindConcernServiceImpl implements KindConcernService {
|
|
|
public Page<KindConcern> getKindByPage(PageParams pageParams, String keyword, Long enUU) {
|
|
|
Map<String, Object> params = new HashMap<>();
|
|
|
String sql = "select ki_name as nameCn, kc_id as id, kc_date as date,kc_enuu as enUU, kc_name_en as nameEn, kc_status as status " +
|
|
|
- "from (select ki_name from product$kind) a left join (select * from product$kind_concern where kc_enuu = :enUU) b on a.ki_name = b.kc_name ";
|
|
|
+ "from (select ki_name from product$kind where ki_isleaf = 1) a left join (select * from product$kind_concern where kc_enuu = :enUU) b on a.ki_name = b.kc_name ";
|
|
|
params.put("enUU", enUU);
|
|
|
if (!StringUtils.isEmpty(keyword)) {
|
|
|
sql += " where ki_name LIKE '%' :keyword '%' ";
|