From e50d8c30b43dd30daa77da27101ce21d8ef2fcef Mon Sep 17 00:00:00 2001 From: whycxzp <glperry@163.com> Date: 星期一, 17 三月 2025 17:20:10 +0800 Subject: [PATCH] 锂电设备相关代码更新 --- src/main/resources/mapper/DevLithiumInfMapper.xml | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/resources/mapper/DevInfMapper.xml b/src/main/resources/mapper/DevLithiumInfMapper.xml similarity index 94% rename from src/main/resources/mapper/DevInfMapper.xml rename to src/main/resources/mapper/DevLithiumInfMapper.xml index ef16f5b..540adb0 100644 --- a/src/main/resources/mapper/DevInfMapper.xml +++ b/src/main/resources/mapper/DevLithiumInfMapper.xml @@ -1,8 +1,8 @@ <?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.whyc.mapper.DevInfMapper"> +<mapper namespace="com.whyc.mapper.DevLithiumInfMapper"> - <select id="getAllInf" resultType="com.whyc.pojo.db_lithium_ram_db.DevInf"> + <select id="getAllInf" resultType="com.whyc.pojo.db_lithium_ram_db.DevLithiumInf"> select * from db_lithium_ram_db.tb_dev_inf <where> dev_type=#{dto.devType} @@ -33,7 +33,7 @@ </where> limit 1 </select> - <select id="getLine" resultType="com.whyc.pojo.db_lithium_ram_db.DevInf"> + <select id="getLine" resultType="com.whyc.pojo.db_lithium_ram_db.DevLithiumInf"> select * from db_lithium_ram_db.tb_dev_inf <where> dev_id in ( @@ -48,7 +48,7 @@ </where> </select> - <select id="getDevType" resultType="com.whyc.pojo.db_lithium_ram_db.DevInf"> + <select id="getDevType" resultType="com.whyc.pojo.db_lithium_ram_db.DevLithiumInf"> select * from db_lithium_ram_db.tb_dev_inf <where> dev_type=#{devType} @@ -63,7 +63,7 @@ ) </where> </select> - <select id="getDevStaticByType" resultType="com.whyc.pojo.db_lithium_ram_db.DevInf"> + <select id="getDevStaticByType" resultType="com.whyc.pojo.db_lithium_ram_db.DevLithiumInf"> select * from db_lithium_ram_db.tb_dev_inf <where> dev_id in ( -- Gitblit v1.9.1