| | |
| | | <result property="remark" column="remark" /> |
| | | <result property="maxEntry" column="max_entry" /> |
| | | <result property="companyName" column="company_name" /> |
| | | <result property="riskType" column="risk_type"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectHazmatBasicVo"> |
| | | select a.id, a.name, a.cas, a.hazmat_type,a.min_package, a.kind,a.hazmat_character,a.supplier,a.manufacturer,a.hazmat_format,a.metering, |
| | | a.unit,a.price,a.per_box,a.safe_num,a.threshold,a.product_sn,a.company_id,a.version,a.peculiarity_type,a.peculiarity_number, a.create_by, a.create_time, |
| | | a.update_by, a.update_time, a.remark,a.max_entry,b.name as company_name |
| | | a.update_by, a.update_time, a.remark,a.max_entry,b.name as company_name,hs.risk_type |
| | | from hz_hazmat_basic a |
| | | left join sys_company b on b.id=a.company_id |
| | | LEFT JOIN hz_secientific hs ON a.secientific_id = hs.id |
| | | </sql> |
| | | |
| | | <update id="deleteHazmatBasicById" parameterType="java.lang.Long"> |