微调
This commit is contained in:
@@ -13,4 +13,11 @@ import java.util.List;
|
||||
*/
|
||||
public interface DictTreeMapper extends BaseMapper<DictTree> {
|
||||
List<DictTreeVO> queryLastLevelById(@Param("id") String id);
|
||||
|
||||
/**
|
||||
* 获取电压相角、电流相角的id列表
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
List<String> getPhaseAngleIds();
|
||||
}
|
||||
|
||||
@@ -16,4 +16,7 @@
|
||||
WHERE
|
||||
b.pids LIKE concat('%',#{id},'%') and a.id = b.pid)
|
||||
</select>
|
||||
<select id="getPhaseAngleIds" resultType="java.lang.String">
|
||||
select id from sys_dict_tree where name like '电压相角' or name like '电流相角'
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user