forked from xxhjsb/security-knowledge-base
Merge pull request 'feat: 修改查询化学品信息' (#1) from zhangyu/security-knowledge-base:master into master
Reviewed-on: http://81.70.119.104:3000/xxhjsb/security-knowledge-base/pulls/1master^2
commit
93ca711fa9
|
@ -8,6 +8,7 @@ import com.hbt.security.knowledge.base.msds.mapper.MsdsMapper;
|
|||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Repository;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.util.CollectionUtils;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
@ -37,7 +38,11 @@ public class MsdsDaoImpl implements MsdsDao {
|
|||
*/
|
||||
@Override
|
||||
public Msds selectMsdsByName(String name) {
|
||||
return msdsMapper.selectMsdsByName(name);
|
||||
List<Msds> list = msdsMapper.selectMsdsByName(name);
|
||||
if(CollectionUtils.isEmpty(list)) {
|
||||
return new Msds();
|
||||
}
|
||||
return list.get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -4,19 +4,18 @@ import java.util.List;
|
|||
|
||||
import com.hbt.msds.api.domain.Msds;
|
||||
import com.hbt.msds.api.domain.MsdsMaterial;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* 化学品安全信息Mapper接口
|
||||
*
|
||||
*
|
||||
* @author hbt
|
||||
*/
|
||||
public interface MsdsMapper
|
||||
public interface MsdsMapper
|
||||
{
|
||||
/**
|
||||
* 查询化学品安全信息
|
||||
*
|
||||
*
|
||||
* @param id 化学品安全信息主键
|
||||
* @return 化学品安全信息
|
||||
*/
|
||||
|
@ -28,7 +27,7 @@ public interface MsdsMapper
|
|||
* @param name 化学品名称
|
||||
* @return 化学品安全信息
|
||||
*/
|
||||
Msds selectMsdsByName(String name);
|
||||
List<Msds> selectMsdsByName(String name);
|
||||
|
||||
/**
|
||||
* 查询化学品安全信息列表
|
||||
|
@ -41,7 +40,7 @@ public interface MsdsMapper
|
|||
|
||||
/**
|
||||
* 新增化学品安全信息
|
||||
*
|
||||
*
|
||||
* @param msds 化学品安全信息
|
||||
* @return 结果
|
||||
*/
|
||||
|
@ -51,7 +50,7 @@ public interface MsdsMapper
|
|||
|
||||
/**
|
||||
* 修改化学品安全信息
|
||||
*
|
||||
*
|
||||
* @param msds 化学品安全信息
|
||||
* @return 结果
|
||||
*/
|
||||
|
@ -59,7 +58,7 @@ public interface MsdsMapper
|
|||
|
||||
/**
|
||||
* 删除化学品安全信息
|
||||
*
|
||||
*
|
||||
* @param id 化学品安全信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
|
@ -67,7 +66,7 @@ public interface MsdsMapper
|
|||
|
||||
/**
|
||||
* 通过化学品安全信息主键删除${subTable.functionName}信息
|
||||
*
|
||||
*
|
||||
* @param id 化学品安全信息ID
|
||||
*/
|
||||
void deleteMsdsMaterialByMsds(@Param("id") int id);
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.hbt.security.knowledge.base.msds.mapper.MsdsMapper">
|
||||
|
||||
|
||||
<resultMap type="Msds" id="MsdsResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="chemicalCn" column="chemical_cn" />
|
||||
|
@ -192,25 +192,25 @@
|
|||
|
||||
<select id="selectMsdsById" parameterType="Integer" resultMap="MsdsMsdsMaterialResult">
|
||||
select a.id, a.chemical_cn, a.other_chemical_cn, a.chemical_en, a.other_chemical_en, a.cas, a.type, a.detonator_profession1, a.detonator_profession1_concentration, a.detonator_profession1_CAS_No, a.detonator_profession2, a.detonator_profession2_concentration, a.detonator_profession2_CAS_No, a.detonator_profession3, a.detonator_profession3_concentration, a.detonator_profession3_CAS_No, a.detonator_profession4, a.detonator_profession4_concentration, a.detonator_profession4_CAS_No, a.detonator_profession5, a.detonator_profession5_concentration, a.detonator_profession5_CAS_No, a.hazard_category, a.Invasion_route, a.health_hazards, a.environmental_hazards, a.explosion_hazard, a.skin_contact, a.eye_contact, a.inhalation, a.ingestion, a.hazard_characteristics, a.hazardous_combustion_products, a.fire_extinguishing_method, a.fire_fighting, a.emergency_actions, a.operational_considerations, a.storage_precautions, a.MAC, a.PC_TWA, a.PC_STEL, a.TLV_C, a.TLV_TWA, a.TLV_STEL, a.monitoring_methods, a.engineering_control, a.respiratory_protection, a.eye_protection, a.physical_protection, a.hand_protection, a.other_protection, a.appearance_and_shape, a.ph_value, a.melting_point, a.boiling_point, a.relative_density, a.relative_vapor_density, a.saturated_vapor_pressure, a.heat_of_combustion, a.critical, a.critical_pressure, a.octanol_water_partition_coefficient, a.flash_point, a.Ignition_temperature, a.lower_explosion_limit, a.upper_explosion_limit, a.solubility, a.main_uses, a.stability, a.forbidden_mixtures, a.avoid_contact_conditions, a.aggregation_hazards, a.decomposition_products, a.nature_of_waste, a.disposal_methods, a.deprecation_considerations, a.dangerous_goods_number, a.un_number, a.packaging_category, a.packaging_logo, a.packaging_method, a.shipping_precautions, a.regulatory_information, a.critical_value,
|
||||
b.id as id, b.msds as msds, b.acute_toxicity as acute_toxicity, b.rats_oral_LD as rats_oral_LD, b.rats_percutaneous_LD as rats_percutaneous_LD, b.rats_subcutaneous_LD as rats_subcutaneous_LD, b.rats_venous_LD as rats_venous_LD, b.rats_intraperitoneal_LD as rats_intraperitoneal_LD, b.mice_oral_LD as mice_oral_LD, b.mice_percutaneous_LD as mice_percutaneous_LD, b.mice_venous_LD as mice_venous_LD, b.mice_intraperitoneal_LD as mice_intraperitoneal_LD, b.guinea_pigs_oral_LD as guinea_pigs_oral_LD, b.guinea_pigs_percutaneous_LD as guinea_pigs_percutaneous_LD, b.guinea_pigs_subcutaneous_LD as guinea_pigs_subcutaneous_LD, b.guinea_pigs_venous_LD as guinea_pigs_venous_LD, b.guinea_pigs_intraperitoneal_LD as guinea_pigs_intraperitoneal_LD, b.rabbit_oral_LD as rabbit_oral_LD, b.rabbit_percutaneous_LD as rabbit_percutaneous_LD, b.rabbit_subcutaneous_LD as rabbit_subcutaneous_LD, b.rabbit_venous_LD as rabbit_venous_LD, b.rabbit_intraperitoneal_LD as rabbit_intraperitoneal_LD, b.other_animal_LD as other_animal_LD, b.LD as LD, b.LDL0 as LDL0, b.TDL0 as TDL0, b.rats_inhale_LC as rats_inhale_LC, b.rats_inhale_LCL0 as rats_inhale_LCL0, b.mice_inhale_LC as mice_inhale_LC, b.mice_inhale_LCL0 as mice_inhale_LCL0, b.mice_inhale_TDL0 as mice_inhale_TDL0, b.people_inhale_LCL0 as people_inhale_LCL0, b.people_inhale_TDL0 as people_inhale_TDL0, b.IDLH as IDLH, b.other_animal_LC_50 as other_animal_LC_50, b.other_animal_LC_100 as other_animal_LC_100, b.other_animal_LCL0 as other_animal_LCL0, b.other_animal_TCL0 as other_animal_TCL0, b.rabbit_percutaneous as rabbit_percutaneous, b.rabbit_meridians as rabbit_meridians, b.rats_percutaneous as rats_percutaneous, b.rats_meridians as rats_meridians, b.guinea_pigs_percutaneous as guinea_pigs_percutaneous, b.guinea_pigs_meridians as guinea_pigs_meridians, b.men_percutaneous as men_percutaneous, b.men_meridians as men_meridians, b.human_percutaneous as human_percutaneous, b.human_meridians as human_meridians, b.subacute_versus_chronic_toxicity as subacute_versus_chronic_toxicity, b.sensitization as sensitization, b.mutagenicity as mutagenicity, b.teratogenicity as teratogenicity, b.carcinogenicity as carcinogenicity, b.other as other, b.absolute_lethal_amount_LD as absolute_lethal_amount_LD, b.half_lethal_dose_LD as half_lethal_dose_LD, b.half_lethal_concentration_LC as half_lethal_concentration_LC, b.half_of_the_effect_concentration_EC as half_of_the_effect_concentration_EC, b.half_of_the_inhibitory_concentration_IC as half_of_the_inhibitory_concentration_IC, b.no_action_dose_NOEL as no_action_dose_NOEL, b.half_of_the_resistance_to_limited_amount_TLm as half_of_the_resistance_to_limited_amount_TLm, b.bod5 as bod5, b.soil_half_life_high as soil_half_life_high, b.soil_half_life_low as soil_half_life_low, b.air_half_life_high as air_half_life_high, b.air_half_life_low as air_half_life_low, b.surface_water_half_life_high as surface_water_half_life_high, b.surface_water_half_life_low as surface_water_half_life_low, b.groundwater_half_life_high as groundwater_half_life_high, b.groundwater_half_life_low as groundwater_half_life_low, b.aqueous_biodegradation_aerobic_high as aqueous_biodegradation_aerobic_high, b.aqueous_biodegradation_aerobic_low as aqueous_biodegradation_aerobic_low, b.aqueous_biodegradation_anaerobics_high as aqueous_biodegradation_anaerobics_high, b.aqueous_biodegradation_anaerobics_low as aqueous_biodegradation_anaerobics_low, b.aqueous_biodegradation_secondary_sedimentation_treatment_high as aqueous_biodegradation_secondary_sedimentation_treatment_high, b.aqueous_biodegradation_secondary_sedimentation_treatment_low as aqueous_biodegradation_secondary_sedimentation_treatment_low, b.aqueous_photolysis_half_life_high as aqueous_photolysis_half_life_high, b.aqueous_photolysis_half_life_low as aqueous_photolysis_half_life_low, b.photolysis_maximal_light_absorption_high as photolysis_maximal_light_absorption_high, b.photolysis_maximal_light_absorption_low as photolysis_maximal_light_absorption_low, b.photooxidation_half_life_in_water_high as photooxidation_half_life_in_water_high, b.photooxidation_half_life_in_water_low as photooxidation_half_life_in_water_low, b.photooxidative_half_life_in_air_high as photooxidative_half_life_in_air_high, b.photooxidative_half_life_in_air_low as photooxidative_half_life_in_air_low, b.reduction_half_life_high as reduction_half_life_high, b.reduction_half_life_low as reduction_half_life_low, b.primary_hydrolysis_half_life as primary_hydrolysis_half_life, b.hydrolysis_in_air_high as hydrolysis_in_air_high, b.hydrolysis_in_air_low as hydrolysis_in_air_low, b.cod as cod, b.bioconcentration_or_bioaccumulation as bioconcentration_or_bioaccumulation, b.other_harmful_effects as other_harmful_effects
|
||||
b.id as id, b.msds as msds, b.acute_toxicity as acute_toxicity, b.rats_oral_LD as rats_oral_LD, b.rats_percutaneous_LD as rats_percutaneous_LD, b.rats_subcutaneous_LD as rats_subcutaneous_LD, b.rats_venous_LD as rats_venous_LD, b.rats_intraperitoneal_LD as rats_intraperitoneal_LD, b.mice_oral_LD as mice_oral_LD, b.mice_percutaneous_LD as mice_percutaneous_LD, b.mice_venous_LD as mice_venous_LD, b.mice_intraperitoneal_LD as mice_intraperitoneal_LD, b.guinea_pigs_oral_LD as guinea_pigs_oral_LD, b.guinea_pigs_percutaneous_LD as guinea_pigs_percutaneous_LD, b.guinea_pigs_subcutaneous_LD as guinea_pigs_subcutaneous_LD, b.guinea_pigs_venous_LD as guinea_pigs_venous_LD, b.guinea_pigs_intraperitoneal_LD as guinea_pigs_intraperitoneal_LD, b.rabbit_oral_LD as rabbit_oral_LD, b.rabbit_percutaneous_LD as rabbit_percutaneous_LD, b.rabbit_subcutaneous_LD as rabbit_subcutaneous_LD, b.rabbit_venous_LD as rabbit_venous_LD, b.rabbit_intraperitoneal_LD as rabbit_intraperitoneal_LD, b.other_animal_LD as other_animal_LD, b.LD as LD, b.LDL0 as LDL0, b.TDL0 as TDL0, b.rats_inhale_LC as rats_inhale_LC, b.rats_inhale_LCL0 as rats_inhale_LCL0, b.mice_inhale_LC as mice_inhale_LC, b.mice_inhale_LCL0 as mice_inhale_LCL0, b.mice_inhale_TDL0 as mice_inhale_TDL0, b.people_inhale_LCL0 as people_inhale_LCL0, b.people_inhale_TDL0 as people_inhale_TDL0, b.IDLH as IDLH, b.other_animal_LC_50 as other_animal_LC_50, b.other_animal_LC_100 as other_animal_LC_100, b.other_animal_LCL0 as other_animal_LCL0, b.other_animal_TCL0 as other_animal_TCL0, b.rabbit_percutaneous as rabbit_percutaneous, b.rabbit_meridians as rabbit_meridians, b.rats_percutaneous as rats_percutaneous, b.rats_meridians as rats_meridians, b.guinea_pigs_percutaneous as guinea_pigs_percutaneous, b.guinea_pigs_meridians as guinea_pigs_meridians, b.men_percutaneous as men_percutaneous, b.men_meridians as men_meridians, b.human_percutaneous as human_percutaneous, b.human_meridians as human_meridians, b.subacute_versus_chronic_toxicity as subacute_versus_chronic_toxicity, b.sensitization as sensitization, b.mutagenicity as mutagenicity, b.teratogenicity as teratogenicity, b.carcinogenicity as carcinogenicity, b.other as other, b.absolute_lethal_amount_LD as absolute_lethal_amount_LD, b.half_lethal_dose_LD as half_lethal_dose_LD, b.half_lethal_concentration_LC as half_lethal_concentration_LC, b.half_of_the_effect_concentration_EC as half_of_the_effect_concentration_EC, b.half_of_the_inhibitory_concentration_IC as half_of_the_inhibitory_concentration_IC, b.no_action_dose_NOEL as no_action_dose_NOEL, b.half_of_the_resistance_to_limited_amount_TLm as half_of_the_resistance_to_limited_amount_TLm, b.bod5 as bod5, b.soil_half_life_high as soil_half_life_high, b.soil_half_life_low as soil_half_life_low, b.air_half_life_high as air_half_life_high, b.air_half_life_low as air_half_life_low, b.surface_water_half_life_high as surface_water_half_life_high, b.surface_water_half_life_low as surface_water_half_life_low, b.groundwater_half_life_high as groundwater_half_life_high, b.groundwater_half_life_low as groundwater_half_life_low, b.aqueous_biodegradation_aerobic_high as aqueous_biodegradation_aerobic_high, b.aqueous_biodegradation_aerobic_low as aqueous_biodegradation_aerobic_low, b.aqueous_biodegradation_anaerobics_high as aqueous_biodegradation_anaerobics_high, b.aqueous_biodegradation_anaerobics_low as aqueous_biodegradation_anaerobics_low, b.aqueous_biodegradation_secondary_sedimentation_treatment_high as aqueous_biodegradation_secondary_sedimentation_treatment_high, b.aqueous_biodegradation_secondary_sedimentation_treatment_low as aqueous_biodegradation_secondary_sedimentation_treatment_low, b.aqueous_photolysis_half_life_high as aqueous_photolysis_half_life_high, b.aqueous_photolysis_half_life_low as aqueous_photolysis_half_life_low, b.photolysis_maximal_light_absorption_high as photolysis_maximal_light_absorption_high, b.photolysis_maximal_light_absorption_low as photolysis_maximal_light_absorption_low, b.photooxidation_half_life_in_water_high as photooxidation_half_life_in_water_high, b.photooxidation_half_life_in_water_low as photooxidation_half_life_in_water_low, b.photooxidative_half_life_in_air_high as photooxidative_half_life_in_air_high, b.photooxidative_half_life_in_air_low as photooxidative_half_life_in_air_low, b.reduction_half_life_high as reduction_half_life_high, b.reduction_half_life_low as reduction_half_life_low, b.primary_hydrolysis_half_life as primary_hydrolysis_half_life, b.hydrolysis_in_air_high as hydrolysis_in_air_high, b.hydrolysis_in_air_low as hydrolysis_in_air_low, b.cod as cod, b.bioconcentration_or_bioaccumulation as bioconcentration_or_bioaccumulation, b.other_harmful_effects as other_harmful_effects
|
||||
from msds a
|
||||
left join msds_material b on b.msds = a.id
|
||||
left join msds_material b on b.msds = a.id
|
||||
where a.id = #{id}
|
||||
</select>
|
||||
|
||||
|
||||
<select id="selectMsdsByName" parameterType="String" resultMap="MsdsMsdsMaterialResult">
|
||||
select a.id, a.chemical_cn, a.other_chemical_cn, a.chemical_en, a.other_chemical_en, a.cas, a.type, a.detonator_profession1, a.detonator_profession1_concentration, a.detonator_profession1_CAS_No, a.detonator_profession2, a.detonator_profession2_concentration, a.detonator_profession2_CAS_No, a.detonator_profession3, a.detonator_profession3_concentration, a.detonator_profession3_CAS_No, a.detonator_profession4, a.detonator_profession4_concentration, a.detonator_profession4_CAS_No, a.detonator_profession5, a.detonator_profession5_concentration, a.detonator_profession5_CAS_No, a.hazard_category, a.Invasion_route, a.health_hazards, a.environmental_hazards, a.explosion_hazard, a.skin_contact, a.eye_contact, a.inhalation, a.ingestion, a.hazard_characteristics, a.hazardous_combustion_products, a.fire_extinguishing_method, a.fire_fighting, a.emergency_actions, a.operational_considerations, a.storage_precautions, a.MAC, a.PC_TWA, a.PC_STEL, a.TLV_C, a.TLV_TWA, a.TLV_STEL, a.monitoring_methods, a.engineering_control, a.respiratory_protection, a.eye_protection, a.physical_protection, a.hand_protection, a.other_protection, a.appearance_and_shape, a.ph_value, a.melting_point, a.boiling_point, a.relative_density, a.relative_vapor_density, a.saturated_vapor_pressure, a.heat_of_combustion, a.critical, a.critical_pressure, a.octanol_water_partition_coefficient, a.flash_point, a.Ignition_temperature, a.lower_explosion_limit, a.upper_explosion_limit, a.solubility, a.main_uses, a.stability, a.forbidden_mixtures, a.avoid_contact_conditions, a.aggregation_hazards, a.decomposition_products, a.nature_of_waste, a.disposal_methods, a.deprecation_considerations, a.dangerous_goods_number, a.un_number, a.packaging_category, a.packaging_logo, a.packaging_method, a.shipping_precautions, a.regulatory_information, a.critical_value
|
||||
select DISTINCT a.id, a.chemical_cn, a.other_chemical_cn, a.chemical_en, a.other_chemical_en, a.cas, a.type, a.detonator_profession1, a.detonator_profession1_concentration, a.detonator_profession1_CAS_No, a.detonator_profession2, a.detonator_profession2_concentration, a.detonator_profession2_CAS_No, a.detonator_profession3, a.detonator_profession3_concentration, a.detonator_profession3_CAS_No, a.detonator_profession4, a.detonator_profession4_concentration, a.detonator_profession4_CAS_No, a.detonator_profession5, a.detonator_profession5_concentration, a.detonator_profession5_CAS_No, a.hazard_category, a.Invasion_route, a.health_hazards, a.environmental_hazards, a.explosion_hazard, a.skin_contact, a.eye_contact, a.inhalation, a.ingestion, a.hazard_characteristics, a.hazardous_combustion_products, a.fire_extinguishing_method, a.fire_fighting, a.emergency_actions, a.operational_considerations, a.storage_precautions, a.MAC, a.PC_TWA, a.PC_STEL, a.TLV_C, a.TLV_TWA, a.TLV_STEL, a.monitoring_methods, a.engineering_control, a.respiratory_protection, a.eye_protection, a.physical_protection, a.hand_protection, a.other_protection, a.appearance_and_shape, a.ph_value, a.melting_point, a.boiling_point, a.relative_density, a.relative_vapor_density, a.saturated_vapor_pressure, a.heat_of_combustion, a.critical, a.critical_pressure, a.octanol_water_partition_coefficient, a.flash_point, a.Ignition_temperature, a.lower_explosion_limit, a.upper_explosion_limit, a.solubility, a.main_uses, a.stability, a.forbidden_mixtures, a.avoid_contact_conditions, a.aggregation_hazards, a.decomposition_products, a.nature_of_waste, a.disposal_methods, a.deprecation_considerations, a.dangerous_goods_number, a.un_number, a.packaging_category, a.packaging_logo, a.packaging_method, a.shipping_precautions, a.regulatory_information, a.critical_value
|
||||
from msds a
|
||||
where a.chemical_cn = #{name}
|
||||
where a.chemical_cn = #{name} or FIND_IN_SET(#{name} ,REPLACE(a.other_chemical_cn, ';', ',') )
|
||||
</select>
|
||||
|
||||
|
||||
<select id="selectMsdsList" resultMap="MsdsMsdsMaterialResult">
|
||||
select a.id, a.chemical_cn, a.other_chemical_cn, a.chemical_en, a.other_chemical_en, a.cas, a.type, a.detonator_profession1, a.detonator_profession1_concentration, a.detonator_profession1_CAS_No, a.detonator_profession2, a.detonator_profession2_concentration, a.detonator_profession2_CAS_No, a.detonator_profession3, a.detonator_profession3_concentration, a.detonator_profession3_CAS_No, a.detonator_profession4, a.detonator_profession4_concentration, a.detonator_profession4_CAS_No, a.detonator_profession5, a.detonator_profession5_concentration, a.detonator_profession5_CAS_No, a.hazard_category, a.Invasion_route, a.health_hazards, a.environmental_hazards, a.explosion_hazard, a.skin_contact, a.eye_contact, a.inhalation, a.ingestion, a.hazard_characteristics, a.hazardous_combustion_products, a.fire_extinguishing_method, a.fire_fighting, a.emergency_actions, a.operational_considerations, a.storage_precautions, a.MAC, a.PC_TWA, a.PC_STEL, a.TLV_C, a.TLV_TWA, a.TLV_STEL, a.monitoring_methods, a.engineering_control, a.respiratory_protection, a.eye_protection, a.physical_protection, a.hand_protection, a.other_protection, a.appearance_and_shape, a.ph_value, a.melting_point, a.boiling_point, a.relative_density, a.relative_vapor_density, a.saturated_vapor_pressure, a.heat_of_combustion, a.critical, a.critical_pressure, a.octanol_water_partition_coefficient, a.flash_point, a.Ignition_temperature, a.lower_explosion_limit, a.upper_explosion_limit, a.solubility, a.main_uses, a.stability, a.forbidden_mixtures, a.avoid_contact_conditions, a.aggregation_hazards, a.decomposition_products, a.nature_of_waste, a.disposal_methods, a.deprecation_considerations, a.dangerous_goods_number, a.un_number, a.packaging_category, a.packaging_logo, a.packaging_method, a.shipping_precautions, a.regulatory_information, a.critical_value,
|
||||
b.msds as msds, b.acute_toxicity as acute_toxicity, b.rats_oral_LD as rats_oral_LD, b.rats_percutaneous_LD as rats_percutaneous_LD, b.rats_subcutaneous_LD as rats_subcutaneous_LD, b.rats_venous_LD as rats_venous_LD, b.rats_intraperitoneal_LD as rats_intraperitoneal_LD, b.mice_oral_LD as mice_oral_LD, b.mice_percutaneous_LD as mice_percutaneous_LD, b.mice_venous_LD as mice_venous_LD, b.mice_intraperitoneal_LD as mice_intraperitoneal_LD, b.guinea_pigs_oral_LD as guinea_pigs_oral_LD, b.guinea_pigs_percutaneous_LD as guinea_pigs_percutaneous_LD, b.guinea_pigs_subcutaneous_LD as guinea_pigs_subcutaneous_LD, b.guinea_pigs_venous_LD as guinea_pigs_venous_LD, b.guinea_pigs_intraperitoneal_LD as guinea_pigs_intraperitoneal_LD, b.rabbit_oral_LD as rabbit_oral_LD, b.rabbit_percutaneous_LD as rabbit_percutaneous_LD, b.rabbit_subcutaneous_LD as rabbit_subcutaneous_LD, b.rabbit_venous_LD as rabbit_venous_LD, b.rabbit_intraperitoneal_LD as rabbit_intraperitoneal_LD, b.other_animal_LD as other_animal_LD, b.LD as LD, b.LDL0 as LDL0, b.TDL0 as TDL0, b.rats_inhale_LC as rats_inhale_LC, b.rats_inhale_LCL0 as rats_inhale_LCL0, b.mice_inhale_LC as mice_inhale_LC, b.mice_inhale_LCL0 as mice_inhale_LCL0, b.mice_inhale_TDL0 as mice_inhale_TDL0, b.people_inhale_LCL0 as people_inhale_LCL0, b.people_inhale_TDL0 as people_inhale_TDL0, b.IDLH as IDLH, b.other_animal_LC_50 as other_animal_LC_50, b.other_animal_LC_100 as other_animal_LC_100, b.other_animal_LCL0 as other_animal_LCL0, b.other_animal_TCL0 as other_animal_TCL0, b.rabbit_percutaneous as rabbit_percutaneous, b.rabbit_meridians as rabbit_meridians, b.rats_percutaneous as rats_percutaneous, b.rats_meridians as rats_meridians, b.guinea_pigs_percutaneous as guinea_pigs_percutaneous, b.guinea_pigs_meridians as guinea_pigs_meridians, b.men_percutaneous as men_percutaneous, b.men_meridians as men_meridians, b.human_percutaneous as human_percutaneous, b.human_meridians as human_meridians, b.subacute_versus_chronic_toxicity as subacute_versus_chronic_toxicity, b.sensitization as sensitization, b.mutagenicity as mutagenicity, b.teratogenicity as teratogenicity, b.carcinogenicity as carcinogenicity, b.other as other, b.absolute_lethal_amount_LD as absolute_lethal_amount_LD, b.half_lethal_dose_LD as half_lethal_dose_LD, b.half_lethal_concentration_LC as half_lethal_concentration_LC, b.half_of_the_effect_concentration_EC as half_of_the_effect_concentration_EC, b.half_of_the_inhibitory_concentration_IC as half_of_the_inhibitory_concentration_IC, b.no_action_dose_NOEL as no_action_dose_NOEL, b.half_of_the_resistance_to_limited_amount_TLm as half_of_the_resistance_to_limited_amount_TLm, b.bod5 as bod5, b.soil_half_life_high as soil_half_life_high, b.soil_half_life_low as soil_half_life_low, b.air_half_life_high as air_half_life_high, b.air_half_life_low as air_half_life_low, b.surface_water_half_life_high as surface_water_half_life_high, b.surface_water_half_life_low as surface_water_half_life_low, b.groundwater_half_life_high as groundwater_half_life_high, b.groundwater_half_life_low as groundwater_half_life_low, b.aqueous_biodegradation_aerobic_high as aqueous_biodegradation_aerobic_high, b.aqueous_biodegradation_aerobic_low as aqueous_biodegradation_aerobic_low, b.aqueous_biodegradation_anaerobics_high as aqueous_biodegradation_anaerobics_high, b.aqueous_biodegradation_anaerobics_low as aqueous_biodegradation_anaerobics_low, b.aqueous_biodegradation_secondary_sedimentation_treatment_high as aqueous_biodegradation_secondary_sedimentation_treatment_high, b.aqueous_biodegradation_secondary_sedimentation_treatment_low as aqueous_biodegradation_secondary_sedimentation_treatment_low, b.aqueous_photolysis_half_life_high as aqueous_photolysis_half_life_high, b.aqueous_photolysis_half_life_low as aqueous_photolysis_half_life_low, b.photolysis_maximal_light_absorption_high as photolysis_maximal_light_absorption_high, b.photolysis_maximal_light_absorption_low as photolysis_maximal_light_absorption_low, b.photooxidation_half_life_in_water_high as photooxidation_half_life_in_water_high, b.photooxidation_half_life_in_water_low as photooxidation_half_life_in_water_low, b.photooxidative_half_life_in_air_high as photooxidative_half_life_in_air_high, b.photooxidative_half_life_in_air_low as photooxidative_half_life_in_air_low, b.reduction_half_life_high as reduction_half_life_high, b.reduction_half_life_low as reduction_half_life_low, b.primary_hydrolysis_half_life as primary_hydrolysis_half_life, b.hydrolysis_in_air_high as hydrolysis_in_air_high, b.hydrolysis_in_air_low as hydrolysis_in_air_low, b.cod as cod, b.bioconcentration_or_bioaccumulation as bioconcentration_or_bioaccumulation, b.other_harmful_effects as other_harmful_effects
|
||||
b.msds as msds, b.acute_toxicity as acute_toxicity, b.rats_oral_LD as rats_oral_LD, b.rats_percutaneous_LD as rats_percutaneous_LD, b.rats_subcutaneous_LD as rats_subcutaneous_LD, b.rats_venous_LD as rats_venous_LD, b.rats_intraperitoneal_LD as rats_intraperitoneal_LD, b.mice_oral_LD as mice_oral_LD, b.mice_percutaneous_LD as mice_percutaneous_LD, b.mice_venous_LD as mice_venous_LD, b.mice_intraperitoneal_LD as mice_intraperitoneal_LD, b.guinea_pigs_oral_LD as guinea_pigs_oral_LD, b.guinea_pigs_percutaneous_LD as guinea_pigs_percutaneous_LD, b.guinea_pigs_subcutaneous_LD as guinea_pigs_subcutaneous_LD, b.guinea_pigs_venous_LD as guinea_pigs_venous_LD, b.guinea_pigs_intraperitoneal_LD as guinea_pigs_intraperitoneal_LD, b.rabbit_oral_LD as rabbit_oral_LD, b.rabbit_percutaneous_LD as rabbit_percutaneous_LD, b.rabbit_subcutaneous_LD as rabbit_subcutaneous_LD, b.rabbit_venous_LD as rabbit_venous_LD, b.rabbit_intraperitoneal_LD as rabbit_intraperitoneal_LD, b.other_animal_LD as other_animal_LD, b.LD as LD, b.LDL0 as LDL0, b.TDL0 as TDL0, b.rats_inhale_LC as rats_inhale_LC, b.rats_inhale_LCL0 as rats_inhale_LCL0, b.mice_inhale_LC as mice_inhale_LC, b.mice_inhale_LCL0 as mice_inhale_LCL0, b.mice_inhale_TDL0 as mice_inhale_TDL0, b.people_inhale_LCL0 as people_inhale_LCL0, b.people_inhale_TDL0 as people_inhale_TDL0, b.IDLH as IDLH, b.other_animal_LC_50 as other_animal_LC_50, b.other_animal_LC_100 as other_animal_LC_100, b.other_animal_LCL0 as other_animal_LCL0, b.other_animal_TCL0 as other_animal_TCL0, b.rabbit_percutaneous as rabbit_percutaneous, b.rabbit_meridians as rabbit_meridians, b.rats_percutaneous as rats_percutaneous, b.rats_meridians as rats_meridians, b.guinea_pigs_percutaneous as guinea_pigs_percutaneous, b.guinea_pigs_meridians as guinea_pigs_meridians, b.men_percutaneous as men_percutaneous, b.men_meridians as men_meridians, b.human_percutaneous as human_percutaneous, b.human_meridians as human_meridians, b.subacute_versus_chronic_toxicity as subacute_versus_chronic_toxicity, b.sensitization as sensitization, b.mutagenicity as mutagenicity, b.teratogenicity as teratogenicity, b.carcinogenicity as carcinogenicity, b.other as other, b.absolute_lethal_amount_LD as absolute_lethal_amount_LD, b.half_lethal_dose_LD as half_lethal_dose_LD, b.half_lethal_concentration_LC as half_lethal_concentration_LC, b.half_of_the_effect_concentration_EC as half_of_the_effect_concentration_EC, b.half_of_the_inhibitory_concentration_IC as half_of_the_inhibitory_concentration_IC, b.no_action_dose_NOEL as no_action_dose_NOEL, b.half_of_the_resistance_to_limited_amount_TLm as half_of_the_resistance_to_limited_amount_TLm, b.bod5 as bod5, b.soil_half_life_high as soil_half_life_high, b.soil_half_life_low as soil_half_life_low, b.air_half_life_high as air_half_life_high, b.air_half_life_low as air_half_life_low, b.surface_water_half_life_high as surface_water_half_life_high, b.surface_water_half_life_low as surface_water_half_life_low, b.groundwater_half_life_high as groundwater_half_life_high, b.groundwater_half_life_low as groundwater_half_life_low, b.aqueous_biodegradation_aerobic_high as aqueous_biodegradation_aerobic_high, b.aqueous_biodegradation_aerobic_low as aqueous_biodegradation_aerobic_low, b.aqueous_biodegradation_anaerobics_high as aqueous_biodegradation_anaerobics_high, b.aqueous_biodegradation_anaerobics_low as aqueous_biodegradation_anaerobics_low, b.aqueous_biodegradation_secondary_sedimentation_treatment_high as aqueous_biodegradation_secondary_sedimentation_treatment_high, b.aqueous_biodegradation_secondary_sedimentation_treatment_low as aqueous_biodegradation_secondary_sedimentation_treatment_low, b.aqueous_photolysis_half_life_high as aqueous_photolysis_half_life_high, b.aqueous_photolysis_half_life_low as aqueous_photolysis_half_life_low, b.photolysis_maximal_light_absorption_high as photolysis_maximal_light_absorption_high, b.photolysis_maximal_light_absorption_low as photolysis_maximal_light_absorption_low, b.photooxidation_half_life_in_water_high as photooxidation_half_life_in_water_high, b.photooxidation_half_life_in_water_low as photooxidation_half_life_in_water_low, b.photooxidative_half_life_in_air_high as photooxidative_half_life_in_air_high, b.photooxidative_half_life_in_air_low as photooxidative_half_life_in_air_low, b.reduction_half_life_high as reduction_half_life_high, b.reduction_half_life_low as reduction_half_life_low, b.primary_hydrolysis_half_life as primary_hydrolysis_half_life, b.hydrolysis_in_air_high as hydrolysis_in_air_high, b.hydrolysis_in_air_low as hydrolysis_in_air_low, b.cod as cod, b.bioconcentration_or_bioaccumulation as bioconcentration_or_bioaccumulation, b.other_harmful_effects as other_harmful_effects
|
||||
from msds a
|
||||
left join msds_material b on b.msds = a.id
|
||||
left join msds_material b on b.msds = a.id
|
||||
where 1=1
|
||||
<if test="type == 0">
|
||||
and a.chemical_cn like "%"#{selectValue}"%"
|
||||
|
@ -231,95 +231,95 @@
|
|||
and a.dangerous_goods_number like "%"#{selectValue}"%"
|
||||
</if>
|
||||
</select>
|
||||
|
||||
|
||||
<insert id="insertMsds" parameterType="Msds" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into msds (
|
||||
chemical_cn,
|
||||
other_chemical_cn,
|
||||
chemical_en,
|
||||
other_chemical_en,
|
||||
cas,
|
||||
type,
|
||||
detonator_profession1,
|
||||
detonator_profession1_concentration,
|
||||
detonator_profession1_CAS_No,
|
||||
detonator_profession2,
|
||||
detonator_profession2_concentration,
|
||||
detonator_profession2_CAS_No,
|
||||
detonator_profession3,
|
||||
detonator_profession3_concentration,
|
||||
detonator_profession3_CAS_No,
|
||||
detonator_profession4,
|
||||
detonator_profession4_concentration,
|
||||
detonator_profession4_CAS_No,
|
||||
detonator_profession5,
|
||||
detonator_profession5_concentration,
|
||||
detonator_profession5_CAS_No,
|
||||
hazard_category,
|
||||
Invasion_route,
|
||||
health_hazards,
|
||||
environmental_hazards,
|
||||
explosion_hazard,
|
||||
skin_contact,
|
||||
eye_contact,
|
||||
inhalation,
|
||||
ingestion,
|
||||
hazard_characteristics,
|
||||
hazardous_combustion_products,
|
||||
fire_extinguishing_method,
|
||||
fire_fighting,
|
||||
emergency_actions,
|
||||
operational_considerations,
|
||||
storage_precautions,
|
||||
MAC,
|
||||
PC_TWA,
|
||||
PC_STEL,
|
||||
TLV_C,
|
||||
TLV_TWA,
|
||||
TLV_STEL,
|
||||
monitoring_methods,
|
||||
engineering_control,
|
||||
respiratory_protection,
|
||||
eye_protection,
|
||||
physical_protection,
|
||||
hand_protection,
|
||||
other_protection,
|
||||
appearance_and_shape,
|
||||
ph_value,
|
||||
melting_point,
|
||||
boiling_point,
|
||||
relative_density,
|
||||
relative_vapor_density,
|
||||
saturated_vapor_pressure,
|
||||
heat_of_combustion,
|
||||
critical,
|
||||
critical_pressure,
|
||||
octanol_water_partition_coefficient,
|
||||
flash_point,
|
||||
Ignition_temperature,
|
||||
lower_explosion_limit,
|
||||
upper_explosion_limit,
|
||||
solubility,
|
||||
main_uses,
|
||||
stability,
|
||||
forbidden_mixtures,
|
||||
avoid_contact_conditions,
|
||||
aggregation_hazards,
|
||||
decomposition_products,
|
||||
nature_of_waste,
|
||||
disposal_methods,
|
||||
deprecation_considerations,
|
||||
dangerous_goods_number,
|
||||
un_number,
|
||||
packaging_category,
|
||||
packaging_logo,
|
||||
packaging_method,
|
||||
shipping_precautions,
|
||||
regulatory_information,
|
||||
critical_value)
|
||||
chemical_cn,
|
||||
other_chemical_cn,
|
||||
chemical_en,
|
||||
other_chemical_en,
|
||||
cas,
|
||||
type,
|
||||
detonator_profession1,
|
||||
detonator_profession1_concentration,
|
||||
detonator_profession1_CAS_No,
|
||||
detonator_profession2,
|
||||
detonator_profession2_concentration,
|
||||
detonator_profession2_CAS_No,
|
||||
detonator_profession3,
|
||||
detonator_profession3_concentration,
|
||||
detonator_profession3_CAS_No,
|
||||
detonator_profession4,
|
||||
detonator_profession4_concentration,
|
||||
detonator_profession4_CAS_No,
|
||||
detonator_profession5,
|
||||
detonator_profession5_concentration,
|
||||
detonator_profession5_CAS_No,
|
||||
hazard_category,
|
||||
Invasion_route,
|
||||
health_hazards,
|
||||
environmental_hazards,
|
||||
explosion_hazard,
|
||||
skin_contact,
|
||||
eye_contact,
|
||||
inhalation,
|
||||
ingestion,
|
||||
hazard_characteristics,
|
||||
hazardous_combustion_products,
|
||||
fire_extinguishing_method,
|
||||
fire_fighting,
|
||||
emergency_actions,
|
||||
operational_considerations,
|
||||
storage_precautions,
|
||||
MAC,
|
||||
PC_TWA,
|
||||
PC_STEL,
|
||||
TLV_C,
|
||||
TLV_TWA,
|
||||
TLV_STEL,
|
||||
monitoring_methods,
|
||||
engineering_control,
|
||||
respiratory_protection,
|
||||
eye_protection,
|
||||
physical_protection,
|
||||
hand_protection,
|
||||
other_protection,
|
||||
appearance_and_shape,
|
||||
ph_value,
|
||||
melting_point,
|
||||
boiling_point,
|
||||
relative_density,
|
||||
relative_vapor_density,
|
||||
saturated_vapor_pressure,
|
||||
heat_of_combustion,
|
||||
critical,
|
||||
critical_pressure,
|
||||
octanol_water_partition_coefficient,
|
||||
flash_point,
|
||||
Ignition_temperature,
|
||||
lower_explosion_limit,
|
||||
upper_explosion_limit,
|
||||
solubility,
|
||||
main_uses,
|
||||
stability,
|
||||
forbidden_mixtures,
|
||||
avoid_contact_conditions,
|
||||
aggregation_hazards,
|
||||
decomposition_products,
|
||||
nature_of_waste,
|
||||
disposal_methods,
|
||||
deprecation_considerations,
|
||||
dangerous_goods_number,
|
||||
un_number,
|
||||
packaging_category,
|
||||
packaging_logo,
|
||||
packaging_method,
|
||||
shipping_precautions,
|
||||
regulatory_information,
|
||||
critical_value)
|
||||
values (
|
||||
#{msds.chemicalCn},
|
||||
#{msds.otherChemicalCn},
|
||||
#{msds.chemicalCn},
|
||||
#{msds.otherChemicalCn},
|
||||
#{msds.chemicalEn},
|
||||
#{msds.otherChemicalEn},
|
||||
#{msds.cas},
|
||||
|
@ -402,106 +402,106 @@
|
|||
#{msds.regulatoryInformation},
|
||||
#{msds.criticalValue}
|
||||
)
|
||||
<selectKey keyProperty="id" resultType="Integer" order="AFTER">
|
||||
select LAST_INSERT_ID()
|
||||
</selectKey>
|
||||
<selectKey keyProperty="id" resultType="Integer" order="AFTER">
|
||||
select LAST_INSERT_ID()
|
||||
</selectKey>
|
||||
</insert>
|
||||
|
||||
|
||||
<insert id="insertMsdsMaterial" parameterType="MsdsMaterial" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into msds_material (
|
||||
msds,
|
||||
acute_toxicity,
|
||||
rats_oral_LD,
|
||||
rats_percutaneous_LD,
|
||||
rats_subcutaneous_LD,
|
||||
rats_venous_LD,
|
||||
rats_intraperitoneal_LD,
|
||||
mice_oral_LD,
|
||||
mice_percutaneous_LD,
|
||||
mice_venous_LD,
|
||||
mice_intraperitoneal_LD,
|
||||
guinea_pigs_oral_LD,
|
||||
guinea_pigs_percutaneous_LD,
|
||||
guinea_pigs_subcutaneous_LD,
|
||||
guinea_pigs_venous_LD,
|
||||
guinea_pigs_intraperitoneal_LD,
|
||||
rabbit_oral_LD,
|
||||
rabbit_percutaneous_LD,
|
||||
rabbit_subcutaneous_LD,
|
||||
rabbit_venous_LD,
|
||||
rabbit_intraperitoneal_LD,
|
||||
other_animal_LD,
|
||||
LD,
|
||||
LDL0,
|
||||
TDL0,
|
||||
rats_inhale_LC,
|
||||
rats_inhale_LCL0,
|
||||
mice_inhale_LC,
|
||||
mice_inhale_LCL0,
|
||||
mice_inhale_TDL0,
|
||||
people_inhale_LCL0,
|
||||
people_inhale_TDL0,
|
||||
IDLH,
|
||||
other_animal_LC_50,
|
||||
other_animal_LC_100,
|
||||
other_animal_LCL0,
|
||||
other_animal_TCL0,
|
||||
rabbit_percutaneous,
|
||||
rabbit_meridians,
|
||||
rats_percutaneous,
|
||||
rats_meridians,
|
||||
guinea_pigs_percutaneous,
|
||||
guinea_pigs_meridians,
|
||||
men_percutaneous,
|
||||
men_meridians,
|
||||
human_percutaneous,
|
||||
human_meridians,
|
||||
subacute_versus_chronic_toxicity,
|
||||
sensitization,
|
||||
mutagenicity,
|
||||
teratogenicity,
|
||||
carcinogenicity,
|
||||
other,
|
||||
absolute_lethal_amount_LD,
|
||||
half_lethal_dose_LD,
|
||||
half_lethal_concentration_LC,
|
||||
half_of_the_effect_concentration_EC,
|
||||
half_of_the_inhibitory_concentration_IC,
|
||||
no_action_dose_NOEL,
|
||||
half_of_the_resistance_to_limited_amount_TLm,
|
||||
bod5,
|
||||
soil_half_life_high,
|
||||
soil_half_life_low,
|
||||
air_half_life_high,
|
||||
air_half_life_low,
|
||||
surface_water_half_life_high,
|
||||
surface_water_half_life_low,
|
||||
groundwater_half_life_high,
|
||||
groundwater_half_life_low,
|
||||
aqueous_biodegradation_aerobic_high,
|
||||
aqueous_biodegradation_aerobic_low,
|
||||
aqueous_biodegradation_anaerobics_high,
|
||||
aqueous_biodegradation_anaerobics_low,
|
||||
aqueous_biodegradation_secondary_sedimentation_treatment_high,
|
||||
aqueous_biodegradation_secondary_sedimentation_treatment_low,
|
||||
aqueous_photolysis_half_life_high,
|
||||
aqueous_photolysis_half_life_low,
|
||||
photolysis_maximal_light_absorption_high,
|
||||
photolysis_maximal_light_absorption_low,
|
||||
photooxidation_half_life_in_water_high,
|
||||
photooxidation_half_life_in_water_low,
|
||||
photooxidative_half_life_in_air_high,
|
||||
photooxidative_half_life_in_air_low,
|
||||
reduction_half_life_high,
|
||||
reduction_half_life_low,
|
||||
primary_hydrolysis_half_life,
|
||||
hydrolysis_in_air_high,
|
||||
hydrolysis_in_air_low,
|
||||
cod,
|
||||
bioconcentration_or_bioaccumulation,
|
||||
other_harmful_effects
|
||||
)
|
||||
msds,
|
||||
acute_toxicity,
|
||||
rats_oral_LD,
|
||||
rats_percutaneous_LD,
|
||||
rats_subcutaneous_LD,
|
||||
rats_venous_LD,
|
||||
rats_intraperitoneal_LD,
|
||||
mice_oral_LD,
|
||||
mice_percutaneous_LD,
|
||||
mice_venous_LD,
|
||||
mice_intraperitoneal_LD,
|
||||
guinea_pigs_oral_LD,
|
||||
guinea_pigs_percutaneous_LD,
|
||||
guinea_pigs_subcutaneous_LD,
|
||||
guinea_pigs_venous_LD,
|
||||
guinea_pigs_intraperitoneal_LD,
|
||||
rabbit_oral_LD,
|
||||
rabbit_percutaneous_LD,
|
||||
rabbit_subcutaneous_LD,
|
||||
rabbit_venous_LD,
|
||||
rabbit_intraperitoneal_LD,
|
||||
other_animal_LD,
|
||||
LD,
|
||||
LDL0,
|
||||
TDL0,
|
||||
rats_inhale_LC,
|
||||
rats_inhale_LCL0,
|
||||
mice_inhale_LC,
|
||||
mice_inhale_LCL0,
|
||||
mice_inhale_TDL0,
|
||||
people_inhale_LCL0,
|
||||
people_inhale_TDL0,
|
||||
IDLH,
|
||||
other_animal_LC_50,
|
||||
other_animal_LC_100,
|
||||
other_animal_LCL0,
|
||||
other_animal_TCL0,
|
||||
rabbit_percutaneous,
|
||||
rabbit_meridians,
|
||||
rats_percutaneous,
|
||||
rats_meridians,
|
||||
guinea_pigs_percutaneous,
|
||||
guinea_pigs_meridians,
|
||||
men_percutaneous,
|
||||
men_meridians,
|
||||
human_percutaneous,
|
||||
human_meridians,
|
||||
subacute_versus_chronic_toxicity,
|
||||
sensitization,
|
||||
mutagenicity,
|
||||
teratogenicity,
|
||||
carcinogenicity,
|
||||
other,
|
||||
absolute_lethal_amount_LD,
|
||||
half_lethal_dose_LD,
|
||||
half_lethal_concentration_LC,
|
||||
half_of_the_effect_concentration_EC,
|
||||
half_of_the_inhibitory_concentration_IC,
|
||||
no_action_dose_NOEL,
|
||||
half_of_the_resistance_to_limited_amount_TLm,
|
||||
bod5,
|
||||
soil_half_life_high,
|
||||
soil_half_life_low,
|
||||
air_half_life_high,
|
||||
air_half_life_low,
|
||||
surface_water_half_life_high,
|
||||
surface_water_half_life_low,
|
||||
groundwater_half_life_high,
|
||||
groundwater_half_life_low,
|
||||
aqueous_biodegradation_aerobic_high,
|
||||
aqueous_biodegradation_aerobic_low,
|
||||
aqueous_biodegradation_anaerobics_high,
|
||||
aqueous_biodegradation_anaerobics_low,
|
||||
aqueous_biodegradation_secondary_sedimentation_treatment_high,
|
||||
aqueous_biodegradation_secondary_sedimentation_treatment_low,
|
||||
aqueous_photolysis_half_life_high,
|
||||
aqueous_photolysis_half_life_low,
|
||||
photolysis_maximal_light_absorption_high,
|
||||
photolysis_maximal_light_absorption_low,
|
||||
photooxidation_half_life_in_water_high,
|
||||
photooxidation_half_life_in_water_low,
|
||||
photooxidative_half_life_in_air_high,
|
||||
photooxidative_half_life_in_air_low,
|
||||
reduction_half_life_high,
|
||||
reduction_half_life_low,
|
||||
primary_hydrolysis_half_life,
|
||||
hydrolysis_in_air_high,
|
||||
hydrolysis_in_air_low,
|
||||
cod,
|
||||
bioconcentration_or_bioaccumulation,
|
||||
other_harmful_effects
|
||||
)
|
||||
values (
|
||||
#{material.msds},
|
||||
#{material.acute_toxicity},
|
||||
|
@ -792,7 +792,7 @@
|
|||
|
||||
<insert id="batchMsdsMaterial">
|
||||
insert into msds_material( id, msds, acute_toxicity, rats_oral_LD, rats_percutaneous_LD, rats_subcutaneous_LD, rats_venous_LD, rats_intraperitoneal_LD, mice_oral_LD, mice_percutaneous_LD, mice_venous_LD, mice_intraperitoneal_LD, guinea_pigs_oral_LD, guinea_pigs_percutaneous_LD, guinea_pigs_subcutaneous_LD, guinea_pigs_venous_LD, guinea_pigs_intraperitoneal_LD, rabbit_oral_LD, rabbit_percutaneous_LD, rabbit_subcutaneous_LD, rabbit_venous_LD, rabbit_intraperitoneal_LD, other_animal_LD, LD, LDL0, TDL0, rats_inhale_LC, rats_inhale_LCL0, mice_inhale_LC, mice_inhale_LCL0, mice_inhale_TDL0, people_inhale_LCL0, people_inhale_TDL0, IDLH, other_animal_LC_50, other_animal_LC_100, other_animal_LCL0, other_animal_TCL0, rabbit_percutaneous, rabbit_meridians, rats_percutaneous, rats_meridians, guinea_pigs_percutaneous, guinea_pigs_meridians, men_percutaneous, men_meridians, human_percutaneous, human_meridians, subacute_versus_chronic_toxicity, sensitization, mutagenicity, teratogenicity, carcinogenicity, other, absolute_lethal_amount_LD, half_lethal_dose_LD, half_lethal_concentration_LC, half_of_the_effect_concentration_EC, half_of_the_inhibitory_concentration_IC, no_action_dose_NOEL, half_of_the_resistance_to_limited_amount_TLm, bod5, soil_half_life_high, soil_half_life_low, air_half_life_high, air_half_life_low, surface_water_half_life_high, surface_water_half_life_low, groundwater_half_life_high, groundwater_half_life_low, aqueous_biodegradation_aerobic_high, aqueous_biodegradation_aerobic_low, aqueous_biodegradation_anaerobics_high, aqueous_biodegradation_anaerobics_low, aqueous_biodegradation_secondary_sedimentation_treatment_high, aqueous_biodegradation_secondary_sedimentation_treatment_low, aqueous_photolysis_half_life_high, aqueous_photolysis_half_life_low, photolysis_maximal_light_absorption_high, photolysis_maximal_light_absorption_low, photooxidation_half_life_in_water_high, photooxidation_half_life_in_water_low, photooxidative_half_life_in_air_high, photooxidative_half_life_in_air_low, reduction_half_life_high, reduction_half_life_low, primary_hydrolysis_half_life, hydrolysis_in_air_high, hydrolysis_in_air_low, cod, bioconcentration_or_bioaccumulation, other_harmful_effects) values
|
||||
<foreach item="item" index="index" collection="list" separator=",">
|
||||
<foreach item="item" index="index" collection="list" separator=",">
|
||||
( #{item.id}, #{item.msds}, #{item.acuteToxicity}, #{item.ratsOralLd}, #{item.ratsPercutaneousLd}, #{item.ratsSubcutaneousLd}, #{item.ratsVenousLd}, #{item.ratsIntraperitonealLd}, #{item.miceOralLd}, #{item.micePercutaneousLd}, #{item.miceVenousLd}, #{item.miceIntraperitonealLd}, #{item.guineaPigsOralLd}, #{item.guineaPigsPercutaneousLd}, #{item.guineaPigsSubcutaneousLd}, #{item.guineaPigsVenousLd}, #{item.guineaPigsIntraperitonealLd}, #{item.rabbitOralLd}, #{item.rabbitPercutaneousLd}, #{item.rabbitSubcutaneousLd}, #{item.rabbitVenousLd}, #{item.rabbitIntraperitonealLd}, #{item.otherAnimalLd}, #{item.ld}, #{item.ldl0}, #{item.tdl0}, #{item.ratsInhaleLc}, #{item.ratsInhaleLcl0}, #{item.miceInhaleLc}, #{item.miceInhaleLcl0}, #{item.miceInhaleTdl0}, #{item.peopleInhaleLcl0}, #{item.peopleInhaleTdl0}, #{item.idlh}, #{item.otherAnimalLc50}, #{item.otherAnimalLc100}, #{item.otherAnimalLcl0}, #{item.otherAnimalTcl0}, #{item.rabbitPercutaneous}, #{item.rabbitMeridians}, #{item.ratsPercutaneous}, #{item.ratsMeridians}, #{item.guineaPigsPercutaneous}, #{item.guineaPigsMeridians}, #{item.menPercutaneous}, #{item.menMeridians}, #{item.humanPercutaneous}, #{item.humanMeridians}, #{item.subacuteVersusChronicToxicity}, #{item.sensitization}, #{item.mutagenicity}, #{item.teratogenicity}, #{item.carcinogenicity}, #{item.other}, #{item.absoluteLethalAmountLd}, #{item.halfLethalDoseLd}, #{item.halfLethalConcentrationLc}, #{item.halfOfTheEffectConcentrationEc}, #{item.halfOfTheInhibitoryConcentrationIc}, #{item.noActionDoseNoel}, #{item.halfOfTheResistanceToLimitedAmountTlm}, #{item.bod5}, #{item.soilHalfLifeHigh}, #{item.soilHalfLifeLow}, #{item.airHalfLifeHigh}, #{item.airHalfLifeLow}, #{item.surfaceWaterHalfLifeHigh}, #{item.surfaceWaterHalfLifeLow}, #{item.groundwaterHalfLifeHigh}, #{item.groundwaterHalfLifeLow}, #{item.aqueousBiodegradationAerobicHigh}, #{item.aqueousBiodegradationAerobicLow}, #{item.aqueousBiodegradationAnaerobicsHigh}, #{item.aqueousBiodegradationAnaerobicsLow}, #{item.aqueousBiodegradationSecondarySedimentationTreatmentHigh}, #{item.aqueousBiodegradationSecondarySedimentationTreatmentLow}, #{item.aqueousPhotolysisHalfLifeHigh}, #{item.aqueousPhotolysisHalfLifeLow}, #{item.photolysisMaximalLightAbsorptionHigh}, #{item.photolysisMaximalLightAbsorptionLow}, #{item.photooxidationHalfLifeInWaterHigh}, #{item.photooxidationHalfLifeInWaterLow}, #{item.photooxidativeHalfLifeInAirHigh}, #{item.photooxidativeHalfLifeInAirLow}, #{item.reductionHalfLifeHigh}, #{item.reductionHalfLifeLow}, #{item.primaryHydrolysisHalfLife}, #{item.hydrolysisInAirHigh}, #{item.hydrolysisInAirLow}, #{item.cod}, #{item.bioconcentrationOrBioaccumulation}, #{item.otherHarmfulEffects})
|
||||
</foreach>
|
||||
</insert>
|
||||
|
|
Loading…
Reference in New Issue