| | |
| | | <?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.ruoyi.requier.mapper.FePowerStableMapper"> |
| | | <mapper namespace="com.ruoyi.require.mapper.FePowerStableMapper"> |
| | | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="BaseResultMap" type="com.ruoyi.requier.pojo.FePowerStable"> |
| | | <resultMap id="BaseResultMap" type="com.ruoyi.require.pojo.FePowerStable"> |
| | | <id column="power_stable_id" property="powerStableId" /> |
| | | <result column="test_location" property="testLocation" /> |
| | | <result column="test_date" property="testDate" /> |
| | |
| | | <result column="update_time" property="updateTime" /> |
| | | </resultMap> |
| | | |
| | | <select id="getLaboratoryFacilityPowerStablePage" resultType="com.ruoyi.requier.dto.FePowerStableDto"> |
| | | <select id="getLaboratoryFacilityPowerStablePage" resultType="com.ruoyi.require.dto.FePowerStableDto"> |
| | | SELECT cfps.*, d.*, u1.name checker_user, u2.name tester_user, dv.device_name, dv.management_number |
| | | FROM cnas_fe_power_stable cfps |
| | | left join device dv on dv.id = cfps.device_id |
| | |
| | | </select> |
| | | |
| | | <!-- 查询电源稳定性 --> |
| | | <select id="selectPowerStable" resultType="com.ruoyi.requier.dto.FePowerStableExportDto"> |
| | | <select id="selectPowerStable" resultType="com.ruoyi.require.dto.FePowerStableExportDto"> |
| | | SELECT cfps.*, |
| | | dv.device_name, |
| | | dv.management_number, |