Commit e6222325 authored by wujipeng's avatar wujipeng
Browse files

优化接口

parent bb165784
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruzhoukj.rx.dao.EquipmentDao">
<select id="getDeviceInfoByDeviceId" resultType="com.ruzhoukj.rx.pojo.vo.EquipmentVO">
select
id,
......@@ -21,6 +20,7 @@
where
device_id = #{deviceId};
</select>
<select id="getDeviceInfoList" resultType="com.ruzhoukj.rx.pojo.vo.EquipmentVO">
select
id,
......@@ -45,4 +45,5 @@
</if>
</where>
</select>
</mapper>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment