| | |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.ruoyi.basic.mapper.StandardMethodListMapper"> |
| | | |
| | | <resultMap id="BaseResultMap" type="com.ruoyi.basic.pojo.StandardMethodList"> |
| | | <resultMap id="BaseResultMap" type="com.ruoyi.inspect.pojo.StandardMethodList"> |
| | | <id property="id" column="id" jdbcType="INTEGER"/> |
| | | <result property="code" column="code" jdbcType="VARCHAR"/> |
| | | <result property="name" column="name" jdbcType="VARCHAR"/> |
| | |
| | | from user |
| | | where id = #{id} |
| | | </select> |
| | | <select id="selectStandardMethodLists" resultType="com.ruoyi.basic.pojo.StandardMethodList"> |
| | | <select id="selectStandardMethodLists" resultType="com.ruoyi.inspect.pojo.StandardMethodList"> |
| | | select id, code, name, remark |
| | | from standard_method |
| | | where is_use = 1 |
| | | and is_product = 1 |
| | | and structure_test_object_id LIKE CONCAT('%[', #{tree}, ']%') |
| | | </select> |
| | | <select id="selectParameterList" resultType="com.ruoyi.basic.pojo.StandardProductList"> |
| | | <select id="selectParameterList" resultType="com.ruoyi.inspect.pojo.StandardProductList"> |
| | | select inspection_item, |
| | | inspection_item_subclass, |
| | | laboratory, |
| | |
| | | from structure_item_parameter |
| | | where method = #{code} |
| | | </select> |
| | | <select id="selectStandardMethodLists2" resultType="com.ruoyi.basic.pojo.StandardMethodList"> |
| | | <select id="selectStandardMethodLists2" resultType="com.ruoyi.inspect.pojo.StandardMethodList"> |
| | | select sml.id, sml.code, sml.name,sml.remark, sml.create_time, u.name create_user_name |
| | | from standard_method_list sml |
| | | left join user u on u.id = sml.create_user |
| | |
| | | and model = #{data5} |
| | | </if> |
| | | </select> |
| | | <select id="selectStandardMethodLists3" resultType="com.ruoyi.basic.pojo.StandardMethodList"> |
| | | <select id="selectStandardMethodLists3" resultType="com.ruoyi.inspect.pojo.StandardMethodList"> |
| | | select id, code, name, remark |
| | | from standard_method |
| | | where is_use = 1 |
| | | and is_product = 1 |
| | | and structure_test_object_id LIKE CONCAT('%', #{tree}, '%') |
| | | </select> |
| | | <select id="selectListEnum" resultType="com.ruoyi.basic.pojo.StandardMethodList"> |
| | | <select id="selectListEnum" resultType="com.ruoyi.inspect.pojo.StandardMethodList"> |
| | | select id,code,name from standard_method |
| | | where is_product = 1 |
| | | and is_use = 1 |
| | | </select> |
| | | <select id="selectStandardMethodListsByNull" resultType="com.ruoyi.basic.pojo.StandardMethodList"> |
| | | <select id="selectStandardMethodListsByNull" resultType="com.ruoyi.inspect.pojo.StandardMethodList"> |
| | | select id, code, name, remark |
| | | from standard_method |
| | | where is_use = 1 |