基本配置增加csv和excel导出
This commit is contained in:
@@ -49,4 +49,6 @@ public interface SpecificServiceCfgDao extends CrudDao<SpecificServiceCfg> {
|
||||
SpecificServiceCfg getRepeat(@Param("specServiceCode")Integer code, @Param("cfgType")Integer cfgType,@Param("parentId")Integer parentId);
|
||||
Integer getMaxServiceCode(@Param("maxCode")Integer code, @Param("cfgType")Integer cfgType,@Param("addFlag")Integer addFlag);
|
||||
|
||||
List<SpecificServiceCfg> findBySpecificServiceCfg(@Param("ids")String ids);
|
||||
|
||||
}
|
||||
@@ -213,4 +213,13 @@
|
||||
<select id="getChildrenById" resultMap="CFGResultMap" parameterType="java.lang.Integer">
|
||||
SELECT * FROM specific_service_cfg s WHERE s.is_valid = 1 and s.parent_id = #{specServiceId}
|
||||
</select>
|
||||
|
||||
<!-- 查询符合条件的所有数据 -->
|
||||
<select id="findBySpecificServiceCfg" resultMap="CFGResultMap" >
|
||||
SELECT * from specific_service_cfg
|
||||
where is_valid = 1
|
||||
and spec_service_id in(${ids})
|
||||
ORDER BY field ( spec_service_id, ${ids})
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user