查询query_type

This commit is contained in:
fuqingji
2022-04-18 11:01:56 +08:00
parent 76f9f448c6
commit fe0365cce6
2 changed files with 3 additions and 2 deletions

View File

@ -56,7 +56,7 @@ public class BizExportDict implements Serializable {
*
*/
@ApiModelProperty(value = "")
private Integer queryType;
private String queryType;
/**
* 使能0、不可用1、可用

View File

@ -9,6 +9,7 @@
<result column="path" jdbcType="VARCHAR" property="path"/>
<result column="level" jdbcType="VARCHAR" property="level"/>
<result column="url" jdbcType="VARCHAR" property="url"/>
<result column="query_type" jdbcType="VARCHAR" property="queryType"/>
<result column="active" jdbcType="VARCHAR" property="active"/>
<result column="method_dict" jdbcType="VARCHAR" property="methodDict"/>
</resultMap>
@ -22,7 +23,7 @@
</update>
<select id="selectDictList" parameterType="java.lang.String" resultMap="BaseResultMap">
SELECT `id`, `dic_name`, `path`, `level`, `url`
SELECT `id`, `dic_name`, `path`, `level`, `url`, `query_type`
FROM `biz_export_dict`
where active = 1 AND (method_dict = #{type} OR method_dict = '0')
ORDER BY id