feat: There is no way the, 跑跑跑 跑数据 重置es

This commit is contained in:
super_liu
2022-03-08 16:33:33 +08:00
parent f1ac00a8dc
commit c1eeea3f1f
19 changed files with 2190 additions and 127 deletions
@@ -66,7 +66,7 @@ public interface DicTypeEODao extends BaseMapper<DicTypeEO> {
public List<SelectionResult> getDicTypeByDicId(@Param("dicId") String dicId);
public String getDicNamesByCodes(@Param("codeList") List<String> codeList);
public String getDicNamesByCodes(@Param("codeList") List<String> codeList, @Param("dicId") String dicId);
public int insertSelective(DicTypeEO dictionaryEO);
@@ -64,7 +64,7 @@ public interface IDicTypeEOService extends IService<DicTypeEO> {
public List<SelectionResult> getDicTypeByDicId(String dicId);
public String getDicNamesByCodes(List<String> codeList);
public String getDicNamesByCodes(List<String> codeList,String dicId);
public int insertSelective(DicTypeEO dictionaryEO);
@@ -391,8 +391,8 @@ public class DicTypeEOServiceImpl extends ServiceImpl<DicTypeEODao,DicTypeEO> im
}
@Override
public String getDicNamesByCodes(List<String> codeList) {
return dicTypeEODao.getDicNamesByCodes(codeList);
public String getDicNamesByCodes(List<String> codeList,String dicId) {
return dicTypeEODao.getDicNamesByCodes(codeList,dicId);
}
@Override
@@ -587,10 +587,13 @@
FROM
TS_DICTYPE
WHERE
TS_DICTYPE.VALID_FLAG=0 and PARENT_ID is null and DIC_TYPE_CODE in
TS_DICTYPE.VALID_FLAG=0 and TS_DICTYPE.PARENT_ID is null and TS_DICTYPE.DIC_TYPE_CODE in
<foreach collection="codeList" index="index" item="item" open="(" separator="," close=")">
#{item}
</foreach>
<if test="dicId != null and dicId != ''">
and TS_DICTYPE.DIC_ID = #{dicId}
</if>
</select>