Browse Source

sys/dict/data/dictlist限制sys_dict_data.del_flag='0'

dev
yinzuomei 4 years ago
parent
commit
880f21c9b4
  1. 8
      epmet-admin/epmet-admin-server/src/main/resources/mapper/SysDictDataDao.xml

8
epmet-admin/epmet-admin-server/src/main/resources/mapper/SysDictDataDao.xml

@ -14,8 +14,8 @@
FROM
sys_dict_data a
INNER JOIN sys_dict_type b ON a.dict_type_id = b.id
WHERE
b.dict_type = #{dictType}
WHERE a.del_flag='0'
and b.dict_type = #{dictType}
ORDER BY
a.sort ASC
</select>
@ -27,8 +27,8 @@
FROM
sys_dict_data a
INNER JOIN sys_dict_type b ON a.dict_type_id = b.id
WHERE
b.dict_type = #{dictType}
WHERE a.del_flag='0'
and b.dict_type = #{dictType}
ORDER BY
a.sort asc
</select>

Loading…
Cancel
Save