幼儿评估-图表
This commit is contained in:
@ -54,6 +54,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<include refid="selectDictDataVo"/>
|
||||
where dict_code = #{dictCode}
|
||||
</select>
|
||||
|
||||
<!--获取评估代码 根据幼儿id,幼儿id暂且用sort代替一下 传参-->
|
||||
<select id="selectDictDataByChildId" parameterType="Long" resultMap="SysDictDataResult">
|
||||
select dict_code, dict_sort, dict_label, dict_value, dict_type, css_class, list_class, is_default, status, create_by, create_time, remark from sys_dict_data where dict_type='sys_dm_pgyssyfw'
|
||||
and dict_value in ( select distinct scope from by_assessmentchild where childid= #{dictSort})
|
||||
order by dict_sort desc
|
||||
</select>
|
||||
|
||||
<select id="countDictDataByType" resultType="Integer">
|
||||
select count(1) from sys_dict_data where dict_type=#{dictType}
|
||||
|
Reference in New Issue
Block a user