mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-10-13 16:57:10 +08:00
style: 移除 ` 符号的使用,保持数据库无关性
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="top.charles7c.continew.admin.system.mapper.DictItemMapper">
|
||||
<select id="listByDictCode" resultType="top.charles7c.continew.admin.common.model.resp.LabelValueResp">
|
||||
SELECT t1.`label`, t1.`value`, t1.`color`
|
||||
FROM `sys_dict_item` AS t1
|
||||
LEFT JOIN `sys_dict` AS t2 ON t1.`dict_id` = t2.`id`
|
||||
WHERE t2.`code` = #{dictCode}
|
||||
ORDER BY t1.`sort` ASC
|
||||
SELECT t1.label, t1.value, t1.color
|
||||
FROM sys_dict_item AS t1
|
||||
LEFT JOIN sys_dict AS t2 ON t1.dict_id = t2.id
|
||||
WHERE t2.code = #{dictCode}
|
||||
ORDER BY t1.sort ASC
|
||||
</select>
|
||||
</mapper>
|
Reference in New Issue
Block a user