jinlin
2024-09-06 3ecb68c427a627ad8e90d8c555655e7724be2d96
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?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.zt.life.modules.mainPart.taskReliability.dao.ReliabilityAssessDao">
    <select id="getProductPath" resultType="com.zt.life.modules.mainPart.basicInfo.model.XhProductModel">
        select a.*
        from product_model a
        where a.IS_DELETE = 0
          and a.ship_id = ${shipId}
    </select>
    <select id="getAssessDataList" resultType="com.zt.life.modules.mainPart.taskReliability.model.AssessItem">
        select a.name,a.id
        from assess_item a
        where a.IS_DELETE = 0
          and a.product_id = ${productId}
        order by CREATE_DATE desc
    </select>
</mapper>