feat: There is no way the, 体系的展示能否体现每一层,比如设计标准/电子电控/车联网系统 标准入库流程
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
package com.adc.da.sys.sarMenuStandard.dao;
|
||||
|
||||
import com.adc.da.sys.sarMenuStandard.entity.SarMenuStandard;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.apache.ibatis.annotations.Select;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
@@ -11,6 +17,19 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
* @author super_liu
|
||||
* @since 2021-07-07
|
||||
*/
|
||||
@Repository
|
||||
public interface SarMenuStandardDao extends BaseMapper<SarMenuStandard> {
|
||||
|
||||
String updateStateScheduledSql = "SELECT " +
|
||||
"ID,DISPLAY_SEQ,SOR_DIVIDE,CREATION_TIME,VALID_FLAG,PARENT_IDS,MENU_NAME,DIC_ID,PARENT_ID,MODIFY_TIME,HREF,REMARKS " +
|
||||
"FROM sar_menu_standard ${ew.customSqlSegment} order by find_in_set(ID,#{topIds})";
|
||||
|
||||
/**
|
||||
* 自动更新文本状态通用查询
|
||||
* @param queryWrapper
|
||||
* @return
|
||||
*/
|
||||
@Select(updateStateScheduledSql)
|
||||
List<SarMenuStandard> selectTopList(@Param("ew") QueryWrapper queryWrapper,@Param("topIds") String topIds);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user