forked from xxhjsb/security-knowledge-base
msds服务及增删改查接口提交
parent
e1ec93d8ba
commit
0b9264ad6d
|
@ -0,0 +1 @@
|
|||
./**/target
|
|
@ -0,0 +1,4 @@
|
|||
FROM 119.45.158.12:5000/mini-java8:latest
|
||||
COPY target/hbt-msds-1.0-SNAPSHOT.jar /app/app.jar
|
||||
ENV NACOSIP=""
|
||||
ENTRYPOINT ["sh","-c","java -Dnacos.ip=$NACOSIP -jar /app/app.jar"]
|
|
@ -0,0 +1,23 @@
|
|||
package com.hbt.security.knowledge.base.msds;
|
||||
|
||||
import com.hbt.common.security.annotation.EnableCustomConfig;
|
||||
import com.hbt.common.security.annotation.EnableRyFeignClients;
|
||||
import com.hbt.common.swagger.annotation.EnableCustomSwagger2;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.cloud.client.SpringCloudApplication;
|
||||
|
||||
/**
|
||||
* 入口类, 扫描并注入其他配置类和服务
|
||||
*/
|
||||
@EnableCustomConfig
|
||||
@SpringCloudApplication
|
||||
@EnableCustomSwagger2
|
||||
@EnableRyFeignClients
|
||||
public class MsdsApplication {
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
SpringApplication.run(MsdsApplication.class, args);
|
||||
System.out.println("(♥◠‿◠)ノ゙ 化学品安全知识server启动成功 ლ(´ڡ`ლ)゙ ");
|
||||
}
|
||||
}
|
|
@ -0,0 +1,96 @@
|
|||
package com.hbt.security.knowledge.base.msds.controller;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.hbt.common.core.domain.R;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import com.hbt.common.log.annotation.Log;
|
||||
import com.hbt.common.log.enums.BusinessType;
|
||||
import com.hbt.security.knowledge.base.msds.model.Msds;
|
||||
import com.hbt.security.knowledge.base.msds.service.IMsdsService;
|
||||
import com.hbt.common.core.web.controller.BaseController;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
|
||||
/**
|
||||
* 化学品安全信息Controller
|
||||
*
|
||||
* @author hbt
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/msds")
|
||||
public class MsdsController extends BaseController {
|
||||
@Autowired
|
||||
private IMsdsService msdsService;
|
||||
|
||||
/**
|
||||
* 查询化学品安全信息列表
|
||||
*
|
||||
* @param type 查询类型 0-按中文名检索 1-按其他中文名检索 2-按英文名检索 3-按其他英文名检索 4-CAS 5-按危险货物编号检索
|
||||
* @param selectValue 查询内容
|
||||
* @param page 当前页
|
||||
* @param pageSize 页大小
|
||||
* @return 返回值
|
||||
*/
|
||||
@GetMapping("/listMsds")
|
||||
public R<PageInfo<Msds>> list(@RequestParam(value = "type") int type, @RequestParam(value = "selectValue") String selectValue, @RequestParam(value = "CurrentPage") int page, @RequestParam(value = "PageSize") int pageSize)
|
||||
{
|
||||
PageInfo<Msds> pageInfo = msdsService.selectMsdsList(type, selectValue, page, pageSize);
|
||||
return R.ok(pageInfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取化学品安全信息详细信息
|
||||
*
|
||||
* @param id 化学品id
|
||||
*/
|
||||
@GetMapping(value = "/selectMsdsById")
|
||||
public R<Msds> getInfo(@RequestParam("id") int id)
|
||||
{
|
||||
Msds msds = msdsService.selectMsdsById(id);
|
||||
return R.ok(msds);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增化学品安全信息
|
||||
*/
|
||||
@Log(title = "化学品安全信息", businessType = BusinessType.INSERT)
|
||||
@GetMapping(value = "/addMsds")
|
||||
public R<String> add(@RequestBody @NotNull Msds msds)
|
||||
{
|
||||
int row = msdsService.insertMsds(msds);
|
||||
if (row > 0) {
|
||||
return R.ok("success");
|
||||
}
|
||||
return R.fail("fail");
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改化学品安全信息
|
||||
*/
|
||||
@Log(title = "化学品安全信息", businessType = BusinessType.UPDATE)
|
||||
@GetMapping(value = "/updateMsds")
|
||||
public R<String> edit(@RequestBody @NotNull Msds msds)
|
||||
{
|
||||
int row = msdsService.updateMsds(msds);
|
||||
if (row > 0) {
|
||||
return R.ok("success");
|
||||
}
|
||||
return R.fail("fail");
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除化学品安全信息
|
||||
*/
|
||||
@Log(title = "化学品安全信息", businessType = BusinessType.DELETE)
|
||||
@GetMapping("/deleteMsds")
|
||||
public R<String> remove(@RequestParam(value = "id") String id)
|
||||
{
|
||||
int row = msdsService.deleteMsdsById(id);
|
||||
if (row > 0) {
|
||||
return R.ok("success");
|
||||
}
|
||||
return R.fail("fail");
|
||||
}
|
||||
}
|
|
@ -0,0 +1,48 @@
|
|||
package com.hbt.security.knowledge.base.msds.dao;
|
||||
|
||||
import com.hbt.security.knowledge.base.msds.model.Msds;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface MsdsDao {
|
||||
/**
|
||||
* 查询化学品安全信息
|
||||
*
|
||||
* @param id 化学品安全信息主键
|
||||
* @return 化学品安全信息
|
||||
*/
|
||||
Msds selectMsdsById(int id);
|
||||
|
||||
/**
|
||||
* 查询化学品安全信息列表
|
||||
*
|
||||
* @param type 检索类型
|
||||
* @param selectValue 检索内容
|
||||
* @return 返回值
|
||||
*/
|
||||
List<Msds> selectMsdsList(int type, String selectValue);
|
||||
|
||||
/**
|
||||
* 新增化学品安全信息
|
||||
*
|
||||
* @param msds 化学品安全信息
|
||||
* @return 结果
|
||||
*/
|
||||
int insertMsds(Msds msds);
|
||||
|
||||
/**
|
||||
* 修改化学品安全信息
|
||||
*
|
||||
* @param msds 化学品安全信息
|
||||
* @return 结果
|
||||
*/
|
||||
int updateMsds(Msds msds);
|
||||
|
||||
/**
|
||||
* 删除化学品安全信息信息
|
||||
*
|
||||
* @param id 化学品安全信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
int deleteMsdsById(int id);
|
||||
}
|
|
@ -0,0 +1,109 @@
|
|||
package com.hbt.security.knowledge.base.msds.dao.impl;
|
||||
|
||||
import com.hbt.common.core.utils.StringUtils;
|
||||
import com.hbt.security.knowledge.base.msds.dao.MsdsDao;
|
||||
import com.hbt.security.knowledge.base.msds.mapper.MsdsMapper;
|
||||
import com.hbt.security.knowledge.base.msds.model.Msds;
|
||||
import com.hbt.security.knowledge.base.msds.model.MsdsMaterial;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Repository;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Repository
|
||||
public class MsdsDaoImpl implements MsdsDao {
|
||||
|
||||
@Autowired
|
||||
private MsdsMapper msdsMapper;
|
||||
|
||||
/**
|
||||
* 查询化学品安全信息
|
||||
*
|
||||
* @param id 化学品安全信息主键
|
||||
* @return 化学品安全信息
|
||||
*/
|
||||
@Override
|
||||
public Msds selectMsdsById(int id)
|
||||
{
|
||||
return msdsMapper.selectMsdsById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询化学品安全信息列表
|
||||
*
|
||||
* @param type 检索类型
|
||||
* @param selectValue 检索内容
|
||||
* @return 化学品安全信息
|
||||
*/
|
||||
@Override
|
||||
public List<Msds> selectMsdsList(int type, String selectValue)
|
||||
{
|
||||
return msdsMapper.selectMsdsList(type, selectValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增化学品安全信息
|
||||
*
|
||||
* @param msds 化学品安全信息
|
||||
* @return 结果
|
||||
*/
|
||||
@Transactional
|
||||
@Override
|
||||
public int insertMsds(Msds msds)
|
||||
{
|
||||
int id = msdsMapper.insertMsds(msds);
|
||||
insertMsdsMaterial(msds, id);
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改化学品安全信息
|
||||
*
|
||||
* @param msds 化学品安全信息
|
||||
* @return 结果
|
||||
*/
|
||||
@Transactional
|
||||
@Override
|
||||
public int updateMsds(Msds msds)
|
||||
{
|
||||
if (msds.getId() == 0) {
|
||||
return 0;
|
||||
}
|
||||
MsdsMaterial material = msds.getMaterial();
|
||||
if (material != null) {
|
||||
material.setMsds(msds.getId());
|
||||
msdsMapper.updateMsdsMaterialByMsds(material);
|
||||
}
|
||||
return msdsMapper.updateMsds(msds);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除化学品安全信息信息
|
||||
*
|
||||
* @param id 化学品安全信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Transactional
|
||||
@Override
|
||||
public int deleteMsdsById(int id)
|
||||
{
|
||||
msdsMapper.deleteMsdsMaterialByMsds(id);
|
||||
return msdsMapper.deleteMsdsById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增${subTable.functionName}信息
|
||||
*
|
||||
* @param msds 化学品安全信息对象
|
||||
*/
|
||||
public void insertMsdsMaterial(Msds msds, int id)
|
||||
{
|
||||
MsdsMaterial material = msds.getMaterial();
|
||||
if (StringUtils.isNotNull(material))
|
||||
{
|
||||
material.setMsds(id);
|
||||
msdsMapper.insertMsdsMaterial(material);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,73 @@
|
|||
package com.hbt.security.knowledge.base.msds.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.hbt.security.knowledge.base.msds.model.Msds;
|
||||
import com.hbt.security.knowledge.base.msds.model.MsdsMaterial;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* 化学品安全信息Mapper接口
|
||||
*
|
||||
* @author hbt
|
||||
*/
|
||||
@Mapper
|
||||
public interface MsdsMapper
|
||||
{
|
||||
/**
|
||||
* 查询化学品安全信息
|
||||
*
|
||||
* @param id 化学品安全信息主键
|
||||
* @return 化学品安全信息
|
||||
*/
|
||||
Msds selectMsdsById(@Param("id") int id);
|
||||
|
||||
/**
|
||||
* 查询化学品安全信息列表
|
||||
*
|
||||
* @param type 检索类型
|
||||
* @param selectValue 检索内容
|
||||
* @return 化学品安全信息集合
|
||||
*/
|
||||
List<Msds> selectMsdsList(@Param("type") int type, @Param("selectValue") String selectValue);
|
||||
|
||||
/**
|
||||
* 新增化学品安全信息
|
||||
*
|
||||
* @param msds 化学品安全信息
|
||||
* @return 结果
|
||||
*/
|
||||
int insertMsds(@Param("msds") Msds msds);
|
||||
|
||||
void insertMsdsMaterial(@Param("material") MsdsMaterial material);
|
||||
|
||||
/**
|
||||
* 修改化学品安全信息
|
||||
*
|
||||
* @param msds 化学品安全信息
|
||||
* @return 结果
|
||||
*/
|
||||
int updateMsds(@Param("msds") Msds msds);
|
||||
|
||||
/**
|
||||
* 删除化学品安全信息
|
||||
*
|
||||
* @param id 化学品安全信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
int deleteMsdsById(@Param("id") int id);
|
||||
|
||||
/**
|
||||
* 通过化学品安全信息主键删除${subTable.functionName}信息
|
||||
*
|
||||
* @param id 化学品安全信息ID
|
||||
*/
|
||||
void deleteMsdsMaterialByMsds(@Param("id") int id);
|
||||
|
||||
/**
|
||||
* 修改化学品资料信息
|
||||
*
|
||||
* @param material 化学品资料信息
|
||||
*/
|
||||
void updateMsdsMaterialByMsds(@Param("material") MsdsMaterial material);
|
||||
}
|
|
@ -0,0 +1,448 @@
|
|||
package com.hbt.security.knowledge.base.msds.model;
|
||||
|
||||
import com.hbt.common.core.annotation.Excel;
|
||||
import com.hbt.common.core.web.domain.BaseEntity;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 化学品安全信息对象 msds
|
||||
*
|
||||
* @author hbt
|
||||
*/
|
||||
@Data
|
||||
public class Msds extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 主键 */
|
||||
private int id;
|
||||
|
||||
/** 化学品中文名 */
|
||||
@Excel(name = "化学品中文名")
|
||||
private String chemicalCn;
|
||||
|
||||
/** 其他中文名 */
|
||||
@Excel(name = "其他中文名")
|
||||
private String otherChemicalCn;
|
||||
|
||||
/** 化学品英文名 */
|
||||
@Excel(name = "化学品英文名")
|
||||
private String chemicalEn;
|
||||
|
||||
/** 其他英文名 */
|
||||
@Excel(name = "其他英文名")
|
||||
private String otherChemicalEn;
|
||||
|
||||
/** CAS */
|
||||
@Excel(name = "CAS")
|
||||
private String cas;
|
||||
|
||||
/** 纯品/混合物 */
|
||||
@Excel(name = "纯品/混合物")
|
||||
private String type;
|
||||
|
||||
/** 有害物成份1 */
|
||||
@Excel(name = "有害物成份1")
|
||||
private String detonatorProfession1;
|
||||
|
||||
/** 有害物成份1-浓度 */
|
||||
@Excel(name = "有害物成份1-浓度")
|
||||
private String detonatorProfession1Concentration;
|
||||
|
||||
/** 有害物成份1-cas_no */
|
||||
@Excel(name = "有害物成份1-cas_no")
|
||||
private String detonatorProfession1CasNo;
|
||||
|
||||
/** 有害物成份2 */
|
||||
@Excel(name = "有害物成份2")
|
||||
private String detonatorProfession2;
|
||||
|
||||
/** 有害物成份2-浓度 */
|
||||
@Excel(name = "有害物成份2-浓度")
|
||||
private String detonatorProfession2Concentration;
|
||||
|
||||
/** 有害物成份2-cas_no */
|
||||
@Excel(name = "有害物成份2-cas_no")
|
||||
private String detonatorProfession2CasNo;
|
||||
|
||||
/** 有害物成份3 */
|
||||
@Excel(name = "有害物成份3")
|
||||
private String detonatorProfession3;
|
||||
|
||||
/** 有害物成份3-浓度 */
|
||||
@Excel(name = "有害物成份3-浓度")
|
||||
private String detonatorProfession3Concentration;
|
||||
|
||||
/** 有害物成份3-cas_no */
|
||||
@Excel(name = "有害物成份3-cas_no")
|
||||
private String detonatorProfession3CasNo;
|
||||
|
||||
/** 有害物成份4 */
|
||||
@Excel(name = "有害物成份4")
|
||||
private String detonatorProfession4;
|
||||
|
||||
/** 有害物成份4-浓度 */
|
||||
@Excel(name = "有害物成份4-浓度")
|
||||
private String detonatorProfession4Concentration;
|
||||
|
||||
/** 有害物成份4-cas_no */
|
||||
@Excel(name = "有害物成份4-cas_no")
|
||||
private String detonatorProfession4CasNo;
|
||||
|
||||
/** 有害物成份5 */
|
||||
@Excel(name = "有害物成份5")
|
||||
private String detonatorProfession5;
|
||||
|
||||
/** 有害物成份5-浓度 */
|
||||
@Excel(name = "有害物成份5-浓度")
|
||||
private String detonatorProfession5Concentration;
|
||||
|
||||
/** 有害物成份5-cas_no */
|
||||
@Excel(name = "有害物成份5-cas_no")
|
||||
private String detonatorProfession5CasNo;
|
||||
|
||||
/** 危险性类别 */
|
||||
@Excel(name = "危险性类别")
|
||||
private String hazardCategory;
|
||||
|
||||
/** 侵入途径 */
|
||||
@Excel(name = "侵入途径")
|
||||
private String invasionRoute;
|
||||
|
||||
/** 健康危害 */
|
||||
@Excel(name = "健康危害")
|
||||
private String healthHazards;
|
||||
|
||||
/** 环境危害 */
|
||||
@Excel(name = "环境危害")
|
||||
private String environmentalHazards;
|
||||
|
||||
/** 燃爆危险 */
|
||||
@Excel(name = "燃爆危险")
|
||||
private String explosionHazard;
|
||||
|
||||
/** 皮肤接触 */
|
||||
@Excel(name = "皮肤接触")
|
||||
private String skinContact;
|
||||
|
||||
/** 眼睛接触 */
|
||||
@Excel(name = "眼睛接触")
|
||||
private String eyeContact;
|
||||
|
||||
/** 吸 入 */
|
||||
@Excel(name = "吸 入")
|
||||
private String inhalation;
|
||||
|
||||
/** 食 入 */
|
||||
@Excel(name = "食 入")
|
||||
private String ingestion;
|
||||
|
||||
/** 危险特性 */
|
||||
@Excel(name = "危险特性")
|
||||
private String hazardCharacteristics;
|
||||
|
||||
/** 有害燃烧产物 */
|
||||
@Excel(name = "有害燃烧产物")
|
||||
private String hazardousCombustionProducts;
|
||||
|
||||
/** 灭火方法 */
|
||||
@Excel(name = "灭火方法")
|
||||
private String fireExtinguishingMethod;
|
||||
|
||||
/** 灭火注意事项及措施 */
|
||||
@Excel(name = "灭火注意事项及措施")
|
||||
private String fireFighting;
|
||||
|
||||
/** 应急行动 */
|
||||
@Excel(name = "应急行动")
|
||||
private String emergencyActions;
|
||||
|
||||
/** 操作注意事项 */
|
||||
@Excel(name = "操作注意事项")
|
||||
private String operationalConsiderations;
|
||||
|
||||
/** 储存注意事项 */
|
||||
@Excel(name = "储存注意事项")
|
||||
private String storagePrecautions;
|
||||
|
||||
/** MAC(mg/m^3) */
|
||||
@Excel(name = "MAC(mg/m^3)")
|
||||
private String mac;
|
||||
|
||||
/** PC-TWA(mg/m^3) */
|
||||
@Excel(name = "PC-TWA", readConverterExp = "m=g/m^3")
|
||||
private String pcTwa;
|
||||
|
||||
/** PC-STEL(mg/m^3) */
|
||||
@Excel(name = "PC-STEL", readConverterExp = "m=g/m^3")
|
||||
private String pcStel;
|
||||
|
||||
/** TLV-C(mg/m^3) */
|
||||
@Excel(name = "TLV-C(mg/m^3)")
|
||||
private String tlvC;
|
||||
|
||||
/** TLV-TWA(mg/m^3) */
|
||||
@Excel(name = "TLV-TWA(mg/m^3)")
|
||||
private String tlvTwa;
|
||||
|
||||
/** TLV-STEL(mg/m^3) */
|
||||
@Excel(name = "TLV-STEL(mg/m^3)")
|
||||
private String tlvStel;
|
||||
|
||||
/** 监测方法 */
|
||||
@Excel(name = "监测方法")
|
||||
private String monitoringMethods;
|
||||
|
||||
/** 工程控制 */
|
||||
@Excel(name = "工程控制")
|
||||
private String engineeringControl;
|
||||
|
||||
/** 呼吸系统防护 */
|
||||
@Excel(name = "呼吸系统防护")
|
||||
private String respiratoryProtection;
|
||||
|
||||
/** 眼睛防护 */
|
||||
@Excel(name = "眼睛防护")
|
||||
private String eyeProtection;
|
||||
|
||||
/** 身体防护 */
|
||||
@Excel(name = "身体防护")
|
||||
private String physicalProtection;
|
||||
|
||||
/** 手 防 护 */
|
||||
@Excel(name = "手 防 护")
|
||||
private String handProtection;
|
||||
|
||||
/** 其他防护 */
|
||||
@Excel(name = "其他防护")
|
||||
private String otherProtection;
|
||||
|
||||
/** 外观与形状 */
|
||||
@Excel(name = "外观与形状")
|
||||
private String appearanceAndShape;
|
||||
|
||||
/** pH值 */
|
||||
@Excel(name = "pH值")
|
||||
private String phValue;
|
||||
|
||||
/** 熔点(℃) */
|
||||
@Excel(name = "熔点(℃)")
|
||||
private String meltingPoint;
|
||||
|
||||
/** 沸点(℃) */
|
||||
@Excel(name = "沸点(℃)")
|
||||
private String boilingPoint;
|
||||
|
||||
/** 相对密度(水=1) */
|
||||
@Excel(name = "相对密度(水=1)")
|
||||
private String relativeDensity;
|
||||
|
||||
/** 相对蒸气密度(空气=1) */
|
||||
@Excel(name = "相对蒸气密度(空气=1)")
|
||||
private String relativeVaporDensity;
|
||||
|
||||
/** 饱和蒸气压(kPa) */
|
||||
@Excel(name = "饱和蒸气压(kPa)")
|
||||
private String saturatedVaporPressure;
|
||||
|
||||
/** 燃烧热(kJ/mol) */
|
||||
@Excel(name = "燃烧热(kJ/mol)")
|
||||
private String heatOfCombustion;
|
||||
|
||||
/** 临界温度(℃) */
|
||||
@Excel(name = "临界温度(℃)")
|
||||
private String critical;
|
||||
|
||||
/** 临界压力(Mpa) */
|
||||
@Excel(name = "临界压力(Mpa)")
|
||||
private String criticalPressure;
|
||||
|
||||
/** 辛醇/水分配系数 */
|
||||
@Excel(name = "辛醇/水分配系数")
|
||||
private String octanolWaterPartitionCoefficient;
|
||||
|
||||
/** 闪点(℃) */
|
||||
@Excel(name = "闪点(℃)")
|
||||
private String flashPoint;
|
||||
|
||||
/** 引燃温度(℃) */
|
||||
@Excel(name = "引燃温度(℃)")
|
||||
private String ignitionTemperature;
|
||||
|
||||
/** 爆炸下限[%(V/V) */
|
||||
@Excel(name = "爆炸下限[%(V/V)")
|
||||
private String lowerExplosionLimit;
|
||||
|
||||
/** 爆炸上限[%(V/V) */
|
||||
@Excel(name = "爆炸上限[%(V/V)")
|
||||
private String upperExplosionLimit;
|
||||
|
||||
/** 溶解性 */
|
||||
@Excel(name = "溶解性")
|
||||
private String solubility;
|
||||
|
||||
/** 主要用途 */
|
||||
@Excel(name = "主要用途")
|
||||
private String mainUses;
|
||||
|
||||
/** 稳定性 */
|
||||
@Excel(name = "稳定性")
|
||||
private String stability;
|
||||
|
||||
/** 禁配物 */
|
||||
@Excel(name = "禁配物")
|
||||
private String forbiddenMixtures;
|
||||
|
||||
/** 避免接触的条件 */
|
||||
@Excel(name = "避免接触的条件")
|
||||
private String avoidContactConditions;
|
||||
|
||||
/** 聚合危害 */
|
||||
@Excel(name = "聚合危害")
|
||||
private String aggregationHazards;
|
||||
|
||||
/** 分解产物 */
|
||||
@Excel(name = "分解产物")
|
||||
private String decompositionProducts;
|
||||
|
||||
/** 废弃物性质 */
|
||||
@Excel(name = "废弃物性质")
|
||||
private String natureOfWaste;
|
||||
|
||||
/** 废弃处置方法 */
|
||||
@Excel(name = "废弃处置方法")
|
||||
private String disposalMethods;
|
||||
|
||||
/** 废弃注意事项 */
|
||||
@Excel(name = "废弃注意事项")
|
||||
private String deprecationConsiderations;
|
||||
|
||||
/** 危险货物编号 */
|
||||
@Excel(name = "危险货物编号")
|
||||
private String dangerousGoodsNumber;
|
||||
|
||||
/** UN编号 */
|
||||
@Excel(name = "UN编号")
|
||||
private String unNumber;
|
||||
|
||||
/** 包装类别 */
|
||||
@Excel(name = "包装类别")
|
||||
private String packagingCategory;
|
||||
|
||||
/** 包装标志 */
|
||||
@Excel(name = "包装标志")
|
||||
private String packagingLogo;
|
||||
|
||||
/** 包装方法 */
|
||||
@Excel(name = "包装方法")
|
||||
private String packagingMethod;
|
||||
|
||||
/** 运输注意事项 */
|
||||
@Excel(name = "运输注意事项")
|
||||
private String shippingPrecautions;
|
||||
|
||||
/** 法规信息 */
|
||||
@Excel(name = "法规信息")
|
||||
private String regulatoryInformation;
|
||||
|
||||
/** 临界值 */
|
||||
@Excel(name = "临界值")
|
||||
private String criticalValue;
|
||||
|
||||
/** $table.subTable.functionName信息 */
|
||||
private MsdsMaterial material;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Msds{" +
|
||||
"id=" + id +
|
||||
", chemicalCn='" + chemicalCn + '\'' +
|
||||
", otherChemicalCn='" + otherChemicalCn + '\'' +
|
||||
", chemicalEn='" + chemicalEn + '\'' +
|
||||
", otherChemicalEn='" + otherChemicalEn + '\'' +
|
||||
", cas='" + cas + '\'' +
|
||||
", type='" + type + '\'' +
|
||||
", detonatorProfession1='" + detonatorProfession1 + '\'' +
|
||||
", detonatorProfession1Concentration='" + detonatorProfession1Concentration + '\'' +
|
||||
", detonatorProfession1CasNo='" + detonatorProfession1CasNo + '\'' +
|
||||
", detonatorProfession2='" + detonatorProfession2 + '\'' +
|
||||
", detonatorProfession2Concentration='" + detonatorProfession2Concentration + '\'' +
|
||||
", detonatorProfession2CasNo='" + detonatorProfession2CasNo + '\'' +
|
||||
", detonatorProfession3='" + detonatorProfession3 + '\'' +
|
||||
", detonatorProfession3Concentration='" + detonatorProfession3Concentration + '\'' +
|
||||
", detonatorProfession3CasNo='" + detonatorProfession3CasNo + '\'' +
|
||||
", detonatorProfession4='" + detonatorProfession4 + '\'' +
|
||||
", detonatorProfession4Concentration='" + detonatorProfession4Concentration + '\'' +
|
||||
", detonatorProfession4CasNo='" + detonatorProfession4CasNo + '\'' +
|
||||
", detonatorProfession5='" + detonatorProfession5 + '\'' +
|
||||
", detonatorProfession5Concentration='" + detonatorProfession5Concentration + '\'' +
|
||||
", detonatorProfession5CasNo='" + detonatorProfession5CasNo + '\'' +
|
||||
", hazardCategory='" + hazardCategory + '\'' +
|
||||
", invasionRoute='" + invasionRoute + '\'' +
|
||||
", healthHazards='" + healthHazards + '\'' +
|
||||
", environmentalHazards='" + environmentalHazards + '\'' +
|
||||
", explosionHazard='" + explosionHazard + '\'' +
|
||||
", skinContact='" + skinContact + '\'' +
|
||||
", eyeContact='" + eyeContact + '\'' +
|
||||
", inhalation='" + inhalation + '\'' +
|
||||
", ingestion='" + ingestion + '\'' +
|
||||
", hazardCharacteristics='" + hazardCharacteristics + '\'' +
|
||||
", hazardousCombustionProducts='" + hazardousCombustionProducts + '\'' +
|
||||
", fireExtinguishingMethod='" + fireExtinguishingMethod + '\'' +
|
||||
", fireFighting='" + fireFighting + '\'' +
|
||||
", emergencyActions='" + emergencyActions + '\'' +
|
||||
", operationalConsiderations='" + operationalConsiderations + '\'' +
|
||||
", storagePrecautions='" + storagePrecautions + '\'' +
|
||||
", mac='" + mac + '\'' +
|
||||
", pcTwa='" + pcTwa + '\'' +
|
||||
", pcStel='" + pcStel + '\'' +
|
||||
", tlvC='" + tlvC + '\'' +
|
||||
", tlvTwa='" + tlvTwa + '\'' +
|
||||
", tlvStel='" + tlvStel + '\'' +
|
||||
", monitoringMethods='" + monitoringMethods + '\'' +
|
||||
", engineeringControl='" + engineeringControl + '\'' +
|
||||
", respiratoryProtection='" + respiratoryProtection + '\'' +
|
||||
", eyeProtection='" + eyeProtection + '\'' +
|
||||
", physicalProtection='" + physicalProtection + '\'' +
|
||||
", handProtection='" + handProtection + '\'' +
|
||||
", otherProtection='" + otherProtection + '\'' +
|
||||
", appearanceAndShape='" + appearanceAndShape + '\'' +
|
||||
", phValue='" + phValue + '\'' +
|
||||
", meltingPoint='" + meltingPoint + '\'' +
|
||||
", boilingPoint='" + boilingPoint + '\'' +
|
||||
", relativeDensity='" + relativeDensity + '\'' +
|
||||
", relativeVaporDensity='" + relativeVaporDensity + '\'' +
|
||||
", saturatedVaporPressure='" + saturatedVaporPressure + '\'' +
|
||||
", heatOfCombustion='" + heatOfCombustion + '\'' +
|
||||
", critical='" + critical + '\'' +
|
||||
", criticalPressure='" + criticalPressure + '\'' +
|
||||
", octanolWaterPartitionCoefficient='" + octanolWaterPartitionCoefficient + '\'' +
|
||||
", flashPoint='" + flashPoint + '\'' +
|
||||
", ignitionTemperature='" + ignitionTemperature + '\'' +
|
||||
", lowerExplosionLimit='" + lowerExplosionLimit + '\'' +
|
||||
", upperExplosionLimit='" + upperExplosionLimit + '\'' +
|
||||
", solubility='" + solubility + '\'' +
|
||||
", mainUses='" + mainUses + '\'' +
|
||||
", stability='" + stability + '\'' +
|
||||
", forbiddenMixtures='" + forbiddenMixtures + '\'' +
|
||||
", avoidContactConditions='" + avoidContactConditions + '\'' +
|
||||
", aggregationHazards='" + aggregationHazards + '\'' +
|
||||
", decompositionProducts='" + decompositionProducts + '\'' +
|
||||
", natureOfWaste='" + natureOfWaste + '\'' +
|
||||
", disposalMethods='" + disposalMethods + '\'' +
|
||||
", deprecationConsiderations='" + deprecationConsiderations + '\'' +
|
||||
", dangerousGoodsNumber='" + dangerousGoodsNumber + '\'' +
|
||||
", unNumber='" + unNumber + '\'' +
|
||||
", packagingCategory='" + packagingCategory + '\'' +
|
||||
", packagingLogo='" + packagingLogo + '\'' +
|
||||
", packagingMethod='" + packagingMethod + '\'' +
|
||||
", shippingPrecautions='" + shippingPrecautions + '\'' +
|
||||
", regulatoryInformation='" + regulatoryInformation + '\'' +
|
||||
", criticalValue='" + criticalValue + '\'' +
|
||||
", material=" + material +
|
||||
'}';
|
||||
}
|
||||
}
|
|
@ -0,0 +1,481 @@
|
|||
package com.hbt.security.knowledge.base.msds.model;
|
||||
|
||||
import com.hbt.common.core.annotation.Excel;
|
||||
import com.hbt.common.core.web.domain.BaseEntity;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* ${subTable.functionName}对象 msds_material
|
||||
*
|
||||
* @author hbt
|
||||
*/
|
||||
@Data
|
||||
public class MsdsMaterial extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 主键 */
|
||||
private String id;
|
||||
|
||||
/** MSDS表主键 */
|
||||
@Excel(name = "MSDS表主键")
|
||||
private int msds;
|
||||
|
||||
/** 急性毒性 */
|
||||
@Excel(name = "急性毒性")
|
||||
private String acuteToxicity;
|
||||
|
||||
/** 大鼠经口LD^^50(mg/kg) */
|
||||
@Excel(name = "大鼠经口LD^^50(mg/kg)")
|
||||
private String ratsOralLd;
|
||||
|
||||
/** 大鼠经皮LD^^50(mg/kg) */
|
||||
@Excel(name = "大鼠经皮LD^^50(mg/kg)")
|
||||
private String ratsPercutaneousLd;
|
||||
|
||||
/** 大鼠皮下LD^^50(mg/kg) */
|
||||
@Excel(name = "大鼠皮下LD^^50(mg/kg)")
|
||||
private String ratsSubcutaneousLd;
|
||||
|
||||
/** 大鼠静脉LD^^50(mg/kg) */
|
||||
@Excel(name = "大鼠静脉LD^^50(mg/kg)")
|
||||
private String ratsVenousLd;
|
||||
|
||||
/** 大鼠腹膜腔LD^^50(mg/kg) */
|
||||
@Excel(name = "大鼠腹膜腔LD^^50(mg/kg)")
|
||||
private String ratsIntraperitonealLd;
|
||||
|
||||
/** 小鼠经口LD^^50(mg/kg) */
|
||||
@Excel(name = "小鼠经口LD^^50(mg/kg)")
|
||||
private String miceOralLd;
|
||||
|
||||
/** 小鼠经皮LD^^50(mg/kg) */
|
||||
@Excel(name = "小鼠经皮LD^^50(mg/kg)")
|
||||
private String micePercutaneousLd;
|
||||
|
||||
/** 小鼠静脉LD^^50(mg/kg) */
|
||||
@Excel(name = "小鼠静脉LD^^50(mg/kg)")
|
||||
private String miceVenousLd;
|
||||
|
||||
/** 小鼠腹膜腔LD^^50(mg/kg) */
|
||||
@Excel(name = "小鼠腹膜腔LD^^50(mg/kg)")
|
||||
private String miceIntraperitonealLd;
|
||||
|
||||
/** 豚鼠经口LD^^50(mg/kg) */
|
||||
@Excel(name = "豚鼠经口LD^^50(mg/kg)")
|
||||
private String guineaPigsOralLd;
|
||||
|
||||
/** 豚鼠经皮LD^^50(mg/kg) */
|
||||
@Excel(name = "豚鼠经皮LD^^50(mg/kg)")
|
||||
private String guineaPigsPercutaneousLd;
|
||||
|
||||
/** 豚鼠皮下LD^^50(mg/kg) */
|
||||
@Excel(name = "豚鼠皮下LD^^50(mg/kg)")
|
||||
private String guineaPigsSubcutaneousLd;
|
||||
|
||||
/** 豚鼠静脉LD^^50(mg/kg) */
|
||||
@Excel(name = "豚鼠静脉LD^^50(mg/kg)")
|
||||
private String guineaPigsVenousLd;
|
||||
|
||||
/** 豚鼠腹膜腔LD^^50(mg/kg) */
|
||||
@Excel(name = "豚鼠腹膜腔LD^^50(mg/kg)")
|
||||
private String guineaPigsIntraperitonealLd;
|
||||
|
||||
/** 兔经口LD^^50(mg/kg) */
|
||||
@Excel(name = "兔经口LD^^50(mg/kg)")
|
||||
private String rabbitOralLd;
|
||||
|
||||
/** 兔经皮LD^^50(mg/kg) */
|
||||
@Excel(name = "兔经皮LD^^50(mg/kg)")
|
||||
private String rabbitPercutaneousLd;
|
||||
|
||||
/** 兔皮下LD^^50(mg/kg) */
|
||||
@Excel(name = "兔皮下LD^^50(mg/kg)")
|
||||
private String rabbitSubcutaneousLd;
|
||||
|
||||
/** 兔静脉LD^^50(mg/kg) */
|
||||
@Excel(name = "兔静脉LD^^50(mg/kg)")
|
||||
private String rabbitVenousLd;
|
||||
|
||||
/** 兔腹膜腔LD^^50(mg/kg) */
|
||||
@Excel(name = "兔腹膜腔LD^^50(mg/kg)")
|
||||
private String rabbitIntraperitonealLd;
|
||||
|
||||
/** 其它动物LD^^50(mg/kg) */
|
||||
@Excel(name = "其它动物LD^^50(mg/kg)")
|
||||
private String otherAnimalLd;
|
||||
|
||||
/** LD^^100 */
|
||||
@Excel(name = "LD^^100")
|
||||
private String ld;
|
||||
|
||||
/** LDL0 */
|
||||
@Excel(name = "LDL0")
|
||||
private String ldl0;
|
||||
|
||||
/** TDL0 */
|
||||
@Excel(name = "TDL0")
|
||||
private String tdl0;
|
||||
|
||||
/** 大鼠吸入LC^^50(mg/m^3) */
|
||||
@Excel(name = "大鼠吸入LC^^50(mg/m^3)")
|
||||
private String ratsInhaleLc;
|
||||
|
||||
/** 大鼠吸入LCL0(mg/m^3) */
|
||||
@Excel(name = "大鼠吸入LCL0(mg/m^3)")
|
||||
private String ratsInhaleLcl0;
|
||||
|
||||
/** 小鼠吸入LC^^50(mg/m^3) */
|
||||
@Excel(name = "小鼠吸入LC^^50(mg/m^3)")
|
||||
private String miceInhaleLc;
|
||||
|
||||
/** 小鼠吸入LCL0(mg/m^3) */
|
||||
@Excel(name = "小鼠吸入LCL0(mg/m^3)")
|
||||
private String miceInhaleLcl0;
|
||||
|
||||
/** 小鼠吸入TDL0(mg/m^3) */
|
||||
@Excel(name = "小鼠吸入TDL0(mg/m^3)")
|
||||
private String miceInhaleTdl0;
|
||||
|
||||
/** 人吸入LCL0(mg/m^3) */
|
||||
@Excel(name = "人吸入LCL0(mg/m^3)")
|
||||
private String peopleInhaleLcl0;
|
||||
|
||||
/** 人吸入TDL0(mg/m^3) */
|
||||
@Excel(name = "人吸入TDL0(mg/m^3)")
|
||||
private String peopleInhaleTdl0;
|
||||
|
||||
/** IDLH */
|
||||
@Excel(name = "IDLH")
|
||||
private String idlh;
|
||||
|
||||
/** 其它动物吸入LC^^50 */
|
||||
@Excel(name = "其它动物吸入LC^^50")
|
||||
private String otherAnimalLc50;
|
||||
|
||||
/** 其它动物吸入LC^^100 */
|
||||
@Excel(name = "其它动物吸入LC^^100")
|
||||
private String otherAnimalLc100;
|
||||
|
||||
/** 其它动物吸入LCL0 */
|
||||
@Excel(name = "其它动物吸入LCL0")
|
||||
private String otherAnimalLcl0;
|
||||
|
||||
/** 其它动物吸入TCL0 */
|
||||
@Excel(name = "其它动物吸入TCL0")
|
||||
private String otherAnimalTcl0;
|
||||
|
||||
/** 家兔经皮 */
|
||||
@Excel(name = "家兔经皮")
|
||||
private String rabbitPercutaneous;
|
||||
|
||||
/** 家兔经眼 */
|
||||
@Excel(name = "家兔经眼")
|
||||
private String rabbitMeridians;
|
||||
|
||||
/** 大鼠经皮 */
|
||||
@Excel(name = "大鼠经皮")
|
||||
private String ratsPercutaneous;
|
||||
|
||||
/** 大鼠经眼 */
|
||||
@Excel(name = "大鼠经眼")
|
||||
private String ratsMeridians;
|
||||
|
||||
/** 豚鼠经皮 */
|
||||
@Excel(name = "豚鼠经皮")
|
||||
private String guineaPigsPercutaneous;
|
||||
|
||||
/** 豚鼠经眼 */
|
||||
@Excel(name = "豚鼠经眼")
|
||||
private String guineaPigsMeridians;
|
||||
|
||||
/** 男人经皮 */
|
||||
@Excel(name = "男人经皮")
|
||||
private String menPercutaneous;
|
||||
|
||||
/** 男人经眼 */
|
||||
@Excel(name = "男人经眼")
|
||||
private String menMeridians;
|
||||
|
||||
/** 人经皮 */
|
||||
@Excel(name = "人经皮")
|
||||
private String humanPercutaneous;
|
||||
|
||||
/** 人经眼 */
|
||||
@Excel(name = "人经眼")
|
||||
private String humanMeridians;
|
||||
|
||||
/** 亚急性与慢性毒性 */
|
||||
@Excel(name = "亚急性与慢性毒性")
|
||||
private String subacuteVersusChronicToxicity;
|
||||
|
||||
/** 致敏性 */
|
||||
@Excel(name = "致敏性")
|
||||
private String sensitization;
|
||||
|
||||
/** 致突变性 */
|
||||
@Excel(name = "致突变性")
|
||||
private String mutagenicity;
|
||||
|
||||
/** 致畸性 */
|
||||
@Excel(name = "致畸性")
|
||||
private String teratogenicity;
|
||||
|
||||
/** 致癌性 */
|
||||
@Excel(name = "致癌性")
|
||||
private String carcinogenicity;
|
||||
|
||||
/** 其 他 */
|
||||
@Excel(name = "其 他")
|
||||
private String other;
|
||||
|
||||
/** 绝对致死量LD^^100 */
|
||||
@Excel(name = "绝对致死量LD^^100")
|
||||
private String absoluteLethalAmountLd;
|
||||
|
||||
/** 半数致死量LD^^50 */
|
||||
@Excel(name = "半数致死量LD^^50")
|
||||
private String halfLethalDoseLd;
|
||||
|
||||
/** 半数致死浓度LC^^50 */
|
||||
@Excel(name = "半数致死浓度LC^^50")
|
||||
private String halfLethalConcentrationLc;
|
||||
|
||||
/** 半数效应浓度EC^^50 */
|
||||
@Excel(name = "半数效应浓度EC^^50")
|
||||
private String halfOfTheEffectConcentrationEc;
|
||||
|
||||
/** 半数抑制浓度IC^^50 */
|
||||
@Excel(name = "半数抑制浓度IC^^50")
|
||||
private String halfOfTheInhibitoryConcentrationIc;
|
||||
|
||||
/** 无作用剂量NOEL */
|
||||
@Excel(name = "无作用剂量NOEL")
|
||||
private String noActionDoseNoel;
|
||||
|
||||
/** 半数耐受限量TLm */
|
||||
@Excel(name = "半数耐受限量TLm")
|
||||
private String halfOfTheResistanceToLimitedAmountTlm;
|
||||
|
||||
/** BOD5 */
|
||||
@Excel(name = "BOD5")
|
||||
private String bod5;
|
||||
|
||||
/** 土壤半衰期-高(小时) */
|
||||
@Excel(name = "土壤半衰期-高", readConverterExp = "小=时")
|
||||
private String soilHalfLifeHigh;
|
||||
|
||||
/** 土壤半衰期-低(小时) */
|
||||
@Excel(name = "土壤半衰期-低", readConverterExp = "小=时")
|
||||
private String soilHalfLifeLow;
|
||||
|
||||
/** 空气半衰期-高(小时) */
|
||||
@Excel(name = "空气半衰期-高", readConverterExp = "小=时")
|
||||
private String airHalfLifeHigh;
|
||||
|
||||
/** 空气半衰期-低(小时) */
|
||||
@Excel(name = "空气半衰期-低", readConverterExp = "小=时")
|
||||
private String airHalfLifeLow;
|
||||
|
||||
/** 地表水半衰期-高(小时) */
|
||||
@Excel(name = "地表水半衰期-高", readConverterExp = "小=时")
|
||||
private String surfaceWaterHalfLifeHigh;
|
||||
|
||||
/** 地表水半衰期-低(小时) */
|
||||
@Excel(name = "地表水半衰期-低", readConverterExp = "小=时")
|
||||
private String surfaceWaterHalfLifeLow;
|
||||
|
||||
/** 地下水半衰期-高(小时) */
|
||||
@Excel(name = "地下水半衰期-高", readConverterExp = "小=时")
|
||||
private String groundwaterHalfLifeHigh;
|
||||
|
||||
/** 地下水半衰期-低(小时) */
|
||||
@Excel(name = "地下水半衰期-低", readConverterExp = "小=时")
|
||||
private String groundwaterHalfLifeLow;
|
||||
|
||||
/** 水相生物降解-好氧-高(小时) */
|
||||
@Excel(name = "水相生物降解-好氧-高", readConverterExp = "小=时")
|
||||
private String aqueousBiodegradationAerobicHigh;
|
||||
|
||||
/** 水相生物降解-好氧-低(小时) */
|
||||
@Excel(name = "水相生物降解-好氧-低", readConverterExp = "小=时")
|
||||
private String aqueousBiodegradationAerobicLow;
|
||||
|
||||
/** 水相生物降解-厌氧-高(小时) */
|
||||
@Excel(name = "水相生物降解-厌氧-高", readConverterExp = "小=时")
|
||||
private String aqueousBiodegradationAnaerobicsHigh;
|
||||
|
||||
/** 水相生物降解-厌氧-低(小时) */
|
||||
@Excel(name = "水相生物降解-厌氧-低", readConverterExp = "小=时")
|
||||
private String aqueousBiodegradationAnaerobicsLow;
|
||||
|
||||
/** 水相生物降解-二次沉降处理-高(小时) */
|
||||
@Excel(name = "水相生物降解-二次沉降处理-高", readConverterExp = "小=时")
|
||||
private String aqueousBiodegradationSecondarySedimentationTreatmentHigh;
|
||||
|
||||
/** 水相生物降解-二次沉降处理-低(小时) */
|
||||
@Excel(name = "水相生物降解-二次沉降处理-低", readConverterExp = "小=时")
|
||||
private String aqueousBiodegradationSecondarySedimentationTreatmentLow;
|
||||
|
||||
/** 水相光解半衰期-高(小时) */
|
||||
@Excel(name = "水相光解半衰期-高", readConverterExp = "小=时")
|
||||
private String aqueousPhotolysisHalfLifeHigh;
|
||||
|
||||
/** 水相光解半衰期-低(小时) */
|
||||
@Excel(name = "水相光解半衰期-低", readConverterExp = "小=时")
|
||||
private String aqueousPhotolysisHalfLifeLow;
|
||||
|
||||
/** 光解最大光吸收-高(纳米) */
|
||||
@Excel(name = "光解最大光吸收-高", readConverterExp = "纳=米")
|
||||
private String photolysisMaximalLightAbsorptionHigh;
|
||||
|
||||
/** 光解最大光吸收-低(纳米) */
|
||||
@Excel(name = "光解最大光吸收-低", readConverterExp = "纳=米")
|
||||
private String photolysisMaximalLightAbsorptionLow;
|
||||
|
||||
/** 水中光氧化半衰期-高(小时) */
|
||||
@Excel(name = "水中光氧化半衰期-高", readConverterExp = "小=时")
|
||||
private String photooxidationHalfLifeInWaterHigh;
|
||||
|
||||
/** 水中光氧化半衰期-低(小时) */
|
||||
@Excel(name = "水中光氧化半衰期-低", readConverterExp = "小=时")
|
||||
private String photooxidationHalfLifeInWaterLow;
|
||||
|
||||
/** 空气中光氧化半衰期-高(小时) */
|
||||
@Excel(name = "空气中光氧化半衰期-高", readConverterExp = "小=时")
|
||||
private String photooxidativeHalfLifeInAirHigh;
|
||||
|
||||
/** 空气中光氧化半衰期-低(小时) */
|
||||
@Excel(name = "空气中光氧化半衰期-低", readConverterExp = "小=时")
|
||||
private String photooxidativeHalfLifeInAirLow;
|
||||
|
||||
/** 还原半衰期-高(小时) */
|
||||
@Excel(name = "还原半衰期-高", readConverterExp = "小=时")
|
||||
private String reductionHalfLifeHigh;
|
||||
|
||||
/** 还原半衰期-低(小时) */
|
||||
@Excel(name = "还原半衰期-低", readConverterExp = "小=时")
|
||||
private String reductionHalfLifeLow;
|
||||
|
||||
/** 一级水解半衰期(小时) */
|
||||
@Excel(name = "一级水解半衰期", readConverterExp = "小=时")
|
||||
private String primaryHydrolysisHalfLife;
|
||||
|
||||
/** 空气中水解-高(小时) */
|
||||
@Excel(name = "空气中水解-高", readConverterExp = "小=时")
|
||||
private String hydrolysisInAirHigh;
|
||||
|
||||
/** 空气中水解-低(小时) */
|
||||
@Excel(name = "空气中水解-低", readConverterExp = "小=时")
|
||||
private String hydrolysisInAirLow;
|
||||
|
||||
/** COD */
|
||||
@Excel(name = "COD")
|
||||
private String cod;
|
||||
|
||||
/** 生物富集或生物积累性[C]-BCF */
|
||||
@Excel(name = "生物富集或生物积累性[C]-BCF")
|
||||
private String bioconcentrationOrBioaccumulation;
|
||||
|
||||
/** 其他有害作用 */
|
||||
@Excel(name = "其他有害作用")
|
||||
private String otherHarmfulEffects;
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "MsdsMaterial{" +
|
||||
"id=" + id +
|
||||
", msds=" + msds +
|
||||
", acuteToxicity='" + acuteToxicity + '\'' +
|
||||
", ratsOralLd='" + ratsOralLd + '\'' +
|
||||
", ratsPercutaneousLd='" + ratsPercutaneousLd + '\'' +
|
||||
", ratsSubcutaneousLd='" + ratsSubcutaneousLd + '\'' +
|
||||
", ratsVenousLd='" + ratsVenousLd + '\'' +
|
||||
", ratsIntraperitonealLd='" + ratsIntraperitonealLd + '\'' +
|
||||
", miceOralLd='" + miceOralLd + '\'' +
|
||||
", micePercutaneousLd='" + micePercutaneousLd + '\'' +
|
||||
", miceVenousLd='" + miceVenousLd + '\'' +
|
||||
", miceIntraperitonealLd='" + miceIntraperitonealLd + '\'' +
|
||||
", guineaPigsOralLd='" + guineaPigsOralLd + '\'' +
|
||||
", guineaPigsPercutaneousLd='" + guineaPigsPercutaneousLd + '\'' +
|
||||
", guineaPigsSubcutaneousLd='" + guineaPigsSubcutaneousLd + '\'' +
|
||||
", guineaPigsVenousLd='" + guineaPigsVenousLd + '\'' +
|
||||
", guineaPigsIntraperitonealLd='" + guineaPigsIntraperitonealLd + '\'' +
|
||||
", rabbitOralLd='" + rabbitOralLd + '\'' +
|
||||
", rabbitPercutaneousLd='" + rabbitPercutaneousLd + '\'' +
|
||||
", rabbitSubcutaneousLd='" + rabbitSubcutaneousLd + '\'' +
|
||||
", rabbitVenousLd='" + rabbitVenousLd + '\'' +
|
||||
", rabbitIntraperitonealLd='" + rabbitIntraperitonealLd + '\'' +
|
||||
", otherAnimalLd='" + otherAnimalLd + '\'' +
|
||||
", ld='" + ld + '\'' +
|
||||
", ldl0='" + ldl0 + '\'' +
|
||||
", tdl0='" + tdl0 + '\'' +
|
||||
", ratsInhaleLc='" + ratsInhaleLc + '\'' +
|
||||
", ratsInhaleLcl0='" + ratsInhaleLcl0 + '\'' +
|
||||
", miceInhaleLc='" + miceInhaleLc + '\'' +
|
||||
", miceInhaleLcl0='" + miceInhaleLcl0 + '\'' +
|
||||
", miceInhaleTdl0='" + miceInhaleTdl0 + '\'' +
|
||||
", peopleInhaleLcl0='" + peopleInhaleLcl0 + '\'' +
|
||||
", peopleInhaleTdl0='" + peopleInhaleTdl0 + '\'' +
|
||||
", idlh='" + idlh + '\'' +
|
||||
", otherAnimalLc50='" + otherAnimalLc50 + '\'' +
|
||||
", otherAnimalLc100='" + otherAnimalLc100 + '\'' +
|
||||
", otherAnimalLcl0='" + otherAnimalLcl0 + '\'' +
|
||||
", otherAnimalTcl0='" + otherAnimalTcl0 + '\'' +
|
||||
", rabbitPercutaneous='" + rabbitPercutaneous + '\'' +
|
||||
", rabbitMeridians='" + rabbitMeridians + '\'' +
|
||||
", ratsPercutaneous='" + ratsPercutaneous + '\'' +
|
||||
", ratsMeridians='" + ratsMeridians + '\'' +
|
||||
", guineaPigsPercutaneous='" + guineaPigsPercutaneous + '\'' +
|
||||
", guineaPigsMeridians='" + guineaPigsMeridians + '\'' +
|
||||
", menPercutaneous='" + menPercutaneous + '\'' +
|
||||
", menMeridians='" + menMeridians + '\'' +
|
||||
", humanPercutaneous='" + humanPercutaneous + '\'' +
|
||||
", humanMeridians='" + humanMeridians + '\'' +
|
||||
", subacuteVersusChronicToxicity='" + subacuteVersusChronicToxicity + '\'' +
|
||||
", sensitization='" + sensitization + '\'' +
|
||||
", mutagenicity='" + mutagenicity + '\'' +
|
||||
", teratogenicity='" + teratogenicity + '\'' +
|
||||
", carcinogenicity='" + carcinogenicity + '\'' +
|
||||
", other='" + other + '\'' +
|
||||
", absoluteLethalAmountLd='" + absoluteLethalAmountLd + '\'' +
|
||||
", halfLethalDoseLd='" + halfLethalDoseLd + '\'' +
|
||||
", halfLethalConcentrationLc='" + halfLethalConcentrationLc + '\'' +
|
||||
", halfOfTheEffectConcentrationEc='" + halfOfTheEffectConcentrationEc + '\'' +
|
||||
", halfOfTheInhibitoryConcentrationIc='" + halfOfTheInhibitoryConcentrationIc + '\'' +
|
||||
", noActionDoseNoel='" + noActionDoseNoel + '\'' +
|
||||
", halfOfTheResistanceToLimitedAmountTlm='" + halfOfTheResistanceToLimitedAmountTlm + '\'' +
|
||||
", bod5='" + bod5 + '\'' +
|
||||
", soilHalfLifeHigh='" + soilHalfLifeHigh + '\'' +
|
||||
", soilHalfLifeLow='" + soilHalfLifeLow + '\'' +
|
||||
", airHalfLifeHigh='" + airHalfLifeHigh + '\'' +
|
||||
", airHalfLifeLow='" + airHalfLifeLow + '\'' +
|
||||
", surfaceWaterHalfLifeHigh='" + surfaceWaterHalfLifeHigh + '\'' +
|
||||
", surfaceWaterHalfLifeLow='" + surfaceWaterHalfLifeLow + '\'' +
|
||||
", groundwaterHalfLifeHigh='" + groundwaterHalfLifeHigh + '\'' +
|
||||
", groundwaterHalfLifeLow='" + groundwaterHalfLifeLow + '\'' +
|
||||
", aqueousBiodegradationAerobicHigh='" + aqueousBiodegradationAerobicHigh + '\'' +
|
||||
", aqueousBiodegradationAerobicLow='" + aqueousBiodegradationAerobicLow + '\'' +
|
||||
", aqueousBiodegradationAnaerobicsHigh='" + aqueousBiodegradationAnaerobicsHigh + '\'' +
|
||||
", aqueousBiodegradationAnaerobicsLow='" + aqueousBiodegradationAnaerobicsLow + '\'' +
|
||||
", aqueousBiodegradationSecondarySedimentationTreatmentHigh='" + aqueousBiodegradationSecondarySedimentationTreatmentHigh + '\'' +
|
||||
", aqueousBiodegradationSecondarySedimentationTreatmentLow='" + aqueousBiodegradationSecondarySedimentationTreatmentLow + '\'' +
|
||||
", aqueousPhotolysisHalfLifeHigh='" + aqueousPhotolysisHalfLifeHigh + '\'' +
|
||||
", aqueousPhotolysisHalfLifeLow='" + aqueousPhotolysisHalfLifeLow + '\'' +
|
||||
", photolysisMaximalLightAbsorptionHigh='" + photolysisMaximalLightAbsorptionHigh + '\'' +
|
||||
", photolysisMaximalLightAbsorptionLow='" + photolysisMaximalLightAbsorptionLow + '\'' +
|
||||
", photooxidationHalfLifeInWaterHigh='" + photooxidationHalfLifeInWaterHigh + '\'' +
|
||||
", photooxidationHalfLifeInWaterLow='" + photooxidationHalfLifeInWaterLow + '\'' +
|
||||
", photooxidativeHalfLifeInAirHigh='" + photooxidativeHalfLifeInAirHigh + '\'' +
|
||||
", photooxidativeHalfLifeInAirLow='" + photooxidativeHalfLifeInAirLow + '\'' +
|
||||
", reductionHalfLifeHigh='" + reductionHalfLifeHigh + '\'' +
|
||||
", reductionHalfLifeLow='" + reductionHalfLifeLow + '\'' +
|
||||
", primaryHydrolysisHalfLife='" + primaryHydrolysisHalfLife + '\'' +
|
||||
", hydrolysisInAirHigh='" + hydrolysisInAirHigh + '\'' +
|
||||
", hydrolysisInAirLow='" + hydrolysisInAirLow + '\'' +
|
||||
", cod='" + cod + '\'' +
|
||||
", bioconcentrationOrBioaccumulation='" + bioconcentrationOrBioaccumulation + '\'' +
|
||||
", otherHarmfulEffects='" + otherHarmfulEffects + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
|
@ -0,0 +1,55 @@
|
|||
package com.hbt.security.knowledge.base.msds.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.hbt.security.knowledge.base.msds.model.Msds;
|
||||
|
||||
/**
|
||||
* 化学品安全信息Service接口
|
||||
*
|
||||
* @author hbt
|
||||
*/
|
||||
public interface IMsdsService
|
||||
{
|
||||
/**
|
||||
* 查询化学品安全信息
|
||||
*
|
||||
* @param id 化学品安全信息主键
|
||||
* @return 化学品安全信息
|
||||
*/
|
||||
Msds selectMsdsById(int id);
|
||||
|
||||
/**
|
||||
* 查询化学品安全信息列表
|
||||
*
|
||||
* @param type 类型
|
||||
* @param value 查询内容
|
||||
* @param page 当前页
|
||||
* @param pageSize 页大小
|
||||
* @return 返回值
|
||||
*/
|
||||
PageInfo<Msds> selectMsdsList(int type, String value, int page, int pageSize);
|
||||
|
||||
/**
|
||||
* 新增化学品安全信息
|
||||
*
|
||||
* @param msds 化学品安全信息
|
||||
* @return 结果
|
||||
*/
|
||||
int insertMsds(Msds msds);
|
||||
|
||||
/**
|
||||
* 修改化学品安全信息
|
||||
*
|
||||
* @param msds 化学品安全信息
|
||||
* @return 结果
|
||||
*/
|
||||
int updateMsds(Msds msds);
|
||||
|
||||
/**
|
||||
* 删除化学品安全信息信息
|
||||
*
|
||||
* @param id 化学品安全信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
int deleteMsdsById(String id);
|
||||
}
|
|
@ -0,0 +1,100 @@
|
|||
package com.hbt.security.knowledge.base.msds.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.github.pagehelper.PageHelper;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.hbt.common.core.utils.StringUtils;
|
||||
import com.hbt.security.knowledge.base.msds.dao.MsdsDao;
|
||||
import com.hbt.security.knowledge.base.msds.model.Msds;
|
||||
import com.hbt.security.knowledge.base.msds.service.IMsdsService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
/**
|
||||
* 化学品安全信息Service业务层处理
|
||||
*
|
||||
* @author hbt
|
||||
*/
|
||||
@Service
|
||||
public class MsdsServiceImpl implements IMsdsService
|
||||
{
|
||||
@Autowired
|
||||
private MsdsDao msdsDao;
|
||||
|
||||
/**
|
||||
* 查询化学品安全信息
|
||||
*
|
||||
* @param id 化学品安全信息主键
|
||||
* @return 化学品安全信息
|
||||
*/
|
||||
@Override
|
||||
public Msds selectMsdsById(int id)
|
||||
{
|
||||
return msdsDao.selectMsdsById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询化学品安全信息列表
|
||||
*
|
||||
* @param type 类型
|
||||
* @param selectValue 查询内容
|
||||
* @param page 当前页
|
||||
* @param pageSize 页大小
|
||||
* @return 化学品安全信息
|
||||
*/
|
||||
@Override
|
||||
public PageInfo<Msds> selectMsdsList(int type, String selectValue, int page, int pageSize)
|
||||
{
|
||||
PageHelper.startPage(page, pageSize);
|
||||
List<Msds> msdsList = msdsDao.selectMsdsList(type, selectValue);
|
||||
return new PageInfo<>(msdsList);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增化学品安全信息
|
||||
*
|
||||
* @param msds 化学品安全信息
|
||||
* @return 结果
|
||||
*/
|
||||
@Transactional
|
||||
@Override
|
||||
public int insertMsds(Msds msds)
|
||||
{
|
||||
return msdsDao.insertMsds(msds);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改化学品安全信息
|
||||
*
|
||||
* @param msds 化学品安全信息
|
||||
* @return 结果
|
||||
*/
|
||||
@Transactional
|
||||
@Override
|
||||
public int updateMsds(Msds msds)
|
||||
{
|
||||
if (msds == null || msds.getId() == 0) {
|
||||
return 0;
|
||||
}
|
||||
return msdsDao.updateMsds(msds);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除化学品安全信息信息
|
||||
*
|
||||
* @param id 化学品安全信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Transactional
|
||||
@Override
|
||||
public int deleteMsdsById(String id)
|
||||
{
|
||||
if (StringUtils.isEmpty(id)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
return msdsDao.deleteMsdsById(Integer.parseInt(id));
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
Spring Boot Version: ${spring-boot.version}
|
||||
Spring Application Name: ${spring.application.name}
|
||||
__ __ __ __
|
||||
/ /_ / /_ / /_ ____ ___ _________/ /____
|
||||
/ __ \/ __ \/ __/_____/ __ `__ \/ ___/ __ / ___/
|
||||
/ / / / /_/ / /_/_____/ / / / / (__ ) /_/ (__ )
|
||||
/_/ /_/_.___/\__/ /_/ /_/ /_/____/\__,_/____/
|
|
@ -0,0 +1,16 @@
|
|||
# Spring
|
||||
spring:
|
||||
cloud:
|
||||
nacos:
|
||||
username: nacos
|
||||
password: zkhbt888
|
||||
discovery:
|
||||
# 服务注册地址
|
||||
server-addr: ${nacos.ip}:8848
|
||||
config:
|
||||
# 配置中心地址
|
||||
server-addr: ${nacos.ip}:8848
|
||||
# 配置文件格式
|
||||
file-extension: yml
|
||||
# 共享配置
|
||||
shared-dataids: application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
|
@ -0,0 +1,14 @@
|
|||
# Tomcat
|
||||
server:
|
||||
port: 9527
|
||||
# Spring
|
||||
spring:
|
||||
application:
|
||||
# 应用名称
|
||||
name: hbt-msds
|
||||
profiles:
|
||||
# 环境配置
|
||||
active: dev
|
||||
|
||||
nacos:
|
||||
ip: 119.45.158.12
|
|
@ -0,0 +1,792 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
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="com.hbt.security.knowledge.base.msds.model.Msds" id="MsdsResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="chemicalCn" column="chemical_cn" />
|
||||
<result property="otherChemicalCn" column="other_chemical_cn" />
|
||||
<result property="chemicalEn" column="chemical_en" />
|
||||
<result property="otherChemicalEn" column="other_chemical_en" />
|
||||
<result property="cas" column="cas" />
|
||||
<result property="type" column="type" />
|
||||
<result property="detonatorProfession1" column="detonator_profession1" />
|
||||
<result property="detonatorProfession1Concentration" column="detonator_profession1_concentration" />
|
||||
<result property="detonatorProfession1CasNo" column="detonator_profession1_CAS_No" />
|
||||
<result property="detonatorProfession2" column="detonator_profession2" />
|
||||
<result property="detonatorProfession2Concentration" column="detonator_profession2_concentration" />
|
||||
<result property="detonatorProfession2CasNo" column="detonator_profession2_CAS_No" />
|
||||
<result property="detonatorProfession3" column="detonator_profession3" />
|
||||
<result property="detonatorProfession3Concentration" column="detonator_profession3_concentration" />
|
||||
<result property="detonatorProfession3CasNo" column="detonator_profession3_CAS_No" />
|
||||
<result property="detonatorProfession4" column="detonator_profession4" />
|
||||
<result property="detonatorProfession4Concentration" column="detonator_profession4_concentration" />
|
||||
<result property="detonatorProfession4CasNo" column="detonator_profession4_CAS_No" />
|
||||
<result property="detonatorProfession5" column="detonator_profession5" />
|
||||
<result property="detonatorProfession5Concentration" column="detonator_profession5_concentration" />
|
||||
<result property="detonatorProfession5CasNo" column="detonator_profession5_CAS_No" />
|
||||
<result property="hazardCategory" column="hazard_category" />
|
||||
<result property="invasionRoute" column="Invasion_route" />
|
||||
<result property="healthHazards" column="health_hazards" />
|
||||
<result property="environmentalHazards" column="environmental_hazards" />
|
||||
<result property="explosionHazard" column="explosion_hazard" />
|
||||
<result property="skinContact" column="skin_contact" />
|
||||
<result property="eyeContact" column="eye_contact" />
|
||||
<result property="inhalation" column="inhalation" />
|
||||
<result property="ingestion" column="ingestion" />
|
||||
<result property="hazardCharacteristics" column="hazard_characteristics" />
|
||||
<result property="hazardousCombustionProducts" column="hazardous_combustion_products" />
|
||||
<result property="fireExtinguishingMethod" column="fire_extinguishing_method" />
|
||||
<result property="fireFighting" column="fire_fighting" />
|
||||
<result property="emergencyActions" column="emergency_actions" />
|
||||
<result property="operationalConsiderations" column="operational_considerations" />
|
||||
<result property="storagePrecautions" column="storage_precautions" />
|
||||
<result property="mac" column="MAC" />
|
||||
<result property="pcTwa" column="PC_TWA" />
|
||||
<result property="pcStel" column="PC_STEL" />
|
||||
<result property="tlvC" column="TLV_C" />
|
||||
<result property="tlvTwa" column="TLV_TWA" />
|
||||
<result property="tlvStel" column="TLV_STEL" />
|
||||
<result property="monitoringMethods" column="monitoring_methods" />
|
||||
<result property="engineeringControl" column="engineering_control" />
|
||||
<result property="respiratoryProtection" column="respiratory_protection" />
|
||||
<result property="eyeProtection" column="eye_protection" />
|
||||
<result property="physicalProtection" column="physical_protection" />
|
||||
<result property="handProtection" column="hand_protection" />
|
||||
<result property="otherProtection" column="other_protection" />
|
||||
<result property="appearanceAndShape" column="appearance_and_shape" />
|
||||
<result property="phValue" column="ph_value" />
|
||||
<result property="meltingPoint" column="melting_point" />
|
||||
<result property="boilingPoint" column="boiling_point" />
|
||||
<result property="relativeDensity" column="relative_density" />
|
||||
<result property="relativeVaporDensity" column="relative_vapor_density" />
|
||||
<result property="saturatedVaporPressure" column="saturated_vapor_pressure" />
|
||||
<result property="heatOfCombustion" column="heat_of_combustion" />
|
||||
<result property="critical" column="critical" />
|
||||
<result property="criticalPressure" column="critical_pressure" />
|
||||
<result property="octanolWaterPartitionCoefficient" column="octanol_water_partition_coefficient" />
|
||||
<result property="flashPoint" column="flash_point" />
|
||||
<result property="ignitionTemperature" column="Ignition_temperature" />
|
||||
<result property="lowerExplosionLimit" column="lower_explosion_limit" />
|
||||
<result property="upperExplosionLimit" column="upper_explosion_limit" />
|
||||
<result property="solubility" column="solubility" />
|
||||
<result property="mainUses" column="main_uses" />
|
||||
<result property="stability" column="stability" />
|
||||
<result property="forbiddenMixtures" column="forbidden_mixtures" />
|
||||
<result property="avoidContactConditions" column="avoid_contact_conditions" />
|
||||
<result property="aggregationHazards" column="aggregation_hazards" />
|
||||
<result property="decompositionProducts" column="decomposition_products" />
|
||||
<result property="natureOfWaste" column="nature_of_waste" />
|
||||
<result property="disposalMethods" column="disposal_methods" />
|
||||
<result property="deprecationConsiderations" column="deprecation_considerations" />
|
||||
<result property="dangerousGoodsNumber" column="dangerous_goods_number" />
|
||||
<result property="unNumber" column="un_number" />
|
||||
<result property="packagingCategory" column="packaging_category" />
|
||||
<result property="packagingLogo" column="pacselectMsdsListkaging_logo" />
|
||||
<result property="packagingMethod" column="packaging_method" />
|
||||
<result property="shippingPrecautions" column="shipping_precautions" />
|
||||
<result property="regulatoryInformation" column="regulatory_information" />
|
||||
<result property="criticalValue" column="critical_value" />
|
||||
</resultMap>
|
||||
|
||||
<resultMap id="MsdsMsdsMaterialResult" type="com.hbt.security.knowledge.base.msds.model.Msds" extends="MsdsResult">
|
||||
<collection property="material" notNullColumn="id" javaType="com.hbt.security.knowledge.base.msds.model.MsdsMaterial" resultMap="MsdsMaterialResult" />
|
||||
</resultMap>
|
||||
|
||||
<resultMap type="com.hbt.security.knowledge.base.msds.model.MsdsMaterial" id="MsdsMaterialResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="msds" column="msds" />
|
||||
<result property="acuteToxicity" column="acute_toxicity" />
|
||||
<result property="ratsOralLd" column="rats_oral_LD" />
|
||||
<result property="ratsPercutaneousLd" column="rats_percutaneous_LD" />
|
||||
<result property="ratsSubcutaneousLd" column="rats_subcutaneous_LD" />
|
||||
<result property="ratsVenousLd" column="rats_venous_LD" />
|
||||
<result property="ratsIntraperitonealLd" column="rats_intraperitoneal_LD" />
|
||||
<result property="miceOralLd" column="mice_oral_LD" />
|
||||
<result property="micePercutaneousLd" column="mice_percutaneous_LD" />
|
||||
<result property="miceVenousLd" column="mice_venous_LD" />
|
||||
<result property="miceIntraperitonealLd" column="mice_intraperitoneal_LD" />
|
||||
<result property="guineaPigsOralLd" column="guinea_pigs_oral_LD" />
|
||||
<result property="guineaPigsPercutaneousLd" column="guinea_pigs_percutaneous_LD" />
|
||||
<result property="guineaPigsSubcutaneousLd" column="guinea_pigs_subcutaneous_LD" />
|
||||
<result property="guineaPigsVenousLd" column="guinea_pigs_venous_LD" />
|
||||
<result property="guineaPigsIntraperitonealLd" column="guinea_pigs_intraperitoneal_LD" />
|
||||
<result property="rabbitOralLd" column="rabbit_oral_LD" />
|
||||
<result property="rabbitPercutaneousLd" column="rabbit_percutaneous_LD" />
|
||||
<result property="rabbitSubcutaneousLd" column="rabbit_subcutaneous_LD" />
|
||||
<result property="rabbitVenousLd" column="rabbit_venous_LD" />
|
||||
<result property="rabbitIntraperitonealLd" column="rabbit_intraperitoneal_LD" />
|
||||
<result property="otherAnimalLd" column="other_animal_LD" />
|
||||
<result property="ld" column="LD" />
|
||||
<result property="ldl0" column="LDL0" />
|
||||
<result property="tdl0" column="TDL0" />
|
||||
<result property="ratsInhaleLc" column="rats_inhale_LC" />
|
||||
<result property="ratsInhaleLcl0" column="rats_inhale_LCL0" />
|
||||
<result property="miceInhaleLc" column="mice_inhale_LC" />
|
||||
<result property="miceInhaleLcl0" column="mice_inhale_LCL0" />
|
||||
<result property="miceInhaleTdl0" column="mice_inhale_TDL0" />
|
||||
<result property="peopleInhaleLcl0" column="people_inhale_LCL0" />
|
||||
<result property="peopleInhaleTdl0" column="people_inhale_TDL0" />
|
||||
<result property="idlh" column="IDLH" />
|
||||
<result property="otherAnimalLc50" column="other_animal_LC_50" />
|
||||
<result property="otherAnimalLc100" column="other_animal_LC_100" />
|
||||
<result property="otherAnimalLcl0" column="other_animal_LCL0" />
|
||||
<result property="otherAnimalTcl0" column="other_animal_TCL0" />
|
||||
<result property="rabbitPercutaneous" column="rabbit_percutaneous" />
|
||||
<result property="rabbitMeridians" column="rabbit_meridians" />
|
||||
<result property="ratsPercutaneous" column="rats_percutaneous" />
|
||||
<result property="ratsMeridians" column="rats_meridians" />
|
||||
<result property="guineaPigsPercutaneous" column="guinea_pigs_percutaneous" />
|
||||
<result property="guineaPigsMeridians" column="guinea_pigs_meridians" />
|
||||
<result property="menPercutaneous" column="men_percutaneous" />
|
||||
<result property="menMeridians" column="men_meridians" />
|
||||
<result property="humanPercutaneous" column="human_percutaneous" />
|
||||
<result property="humanMeridians" column="human_meridians" />
|
||||
<result property="subacuteVersusChronicToxicity" column="subacute_versus_chronic_toxicity" />
|
||||
<result property="sensitization" column="sensitization" />
|
||||
<result property="mutagenicity" column="mutagenicity" />
|
||||
<result property="teratogenicity" column="teratogenicity" />
|
||||
<result property="carcinogenicity" column="carcinogenicity" />
|
||||
<result property="other" column="other" />
|
||||
<result property="absoluteLethalAmountLd" column="absolute_lethal_amount_LD" />
|
||||
<result property="halfLethalDoseLd" column="half_lethal_dose_LD" />
|
||||
<result property="halfLethalConcentrationLc" column="half_lethal_concentration_LC" />
|
||||
<result property="halfOfTheEffectConcentrationEc" column="half_of_the_effect_concentration_EC" />
|
||||
<result property="halfOfTheInhibitoryConcentrationIc" column="half_of_the_inhibitory_concentration_IC" />
|
||||
<result property="noActionDoseNoel" column="no_action_dose_NOEL" />
|
||||
<result property="halfOfTheResistanceToLimitedAmountTlm" column="half_of_the_resistance_to_limited_amount_TLm" />
|
||||
<result property="bod5" column="bod5" />
|
||||
<result property="soilHalfLifeHigh" column="soil_half_life_high" />
|
||||
<result property="soilHalfLifeLow" column="soil_half_life_low" />
|
||||
<result property="airHalfLifeHigh" column="air_half_life_high" />
|
||||
<result property="airHalfLifeLow" column="air_half_life_low" />
|
||||
<result property="surfaceWaterHalfLifeHigh" column="surface_water_half_life_high" />
|
||||
<result property="surfaceWaterHalfLifeLow" column="surface_water_half_life_low" />
|
||||
<result property="groundwaterHalfLifeHigh" column="groundwater_half_life_high" />
|
||||
<result property="groundwaterHalfLifeLow" column="groundwater_half_life_low" />
|
||||
<result property="aqueousBiodegradationAerobicHigh" column="aqueous_biodegradation_aerobic_high" />
|
||||
<result property="aqueousBiodegradationAerobicLow" column="aqueous_biodegradation_aerobic_low" />
|
||||
<result property="aqueousBiodegradationAnaerobicsHigh" column="aqueous_biodegradation_anaerobics_high" />
|
||||
<result property="aqueousBiodegradationAnaerobicsLow" column="aqueous_biodegradation_anaerobics_low" />
|
||||
<result property="aqueousBiodegradationSecondarySedimentationTreatmentHigh" column="aqueous_biodegradation_secondary_sedimentation_treatment_high" />
|
||||
<result property="aqueousBiodegradationSecondarySedimentationTreatmentLow" column="aqueous_biodegradation_secondary_sedimentation_treatment_low" />
|
||||
<result property="aqueousPhotolysisHalfLifeHigh" column="aqueous_photolysis_half_life_high" />
|
||||
<result property="aqueousPhotolysisHalfLifeLow" column="aqueous_photolysis_half_life_low" />
|
||||
<result property="photolysisMaximalLightAbsorptionHigh" column="photolysis_maximal_light_absorption_high" />
|
||||
<result property="photolysisMaximalLightAbsorptionLow" column="photolysis_maximal_light_absorption_low" />
|
||||
<result property="photooxidationHalfLifeInWaterHigh" column="photooxidation_half_life_in_water_high" />
|
||||
<result property="photooxidationHalfLifeInWaterLow" column="photooxidation_half_life_in_water_low" />
|
||||
<result property="photooxidativeHalfLifeInAirHigh" column="photooxidative_half_life_in_air_high" />
|
||||
<result property="photooxidativeHalfLifeInAirLow" column="photooxidative_half_life_in_air_low" />
|
||||
<result property="reductionHalfLifeHigh" column="reduction_half_life_high" />
|
||||
<result property="reductionHalfLifeLow" column="reduction_half_life_low" />
|
||||
<result property="primaryHydrolysisHalfLife" column="primary_hydrolysis_half_life" />
|
||||
<result property="hydrolysisInAirHigh" column="hydrolysis_in_air_high" />
|
||||
<result property="hydrolysisInAirLow" column="hydrolysis_in_air_low" />
|
||||
<result property="cod" column="cod" />
|
||||
<result property="bioconcentrationOrBioaccumulation" column="bioconcentration_or_bioaccumulation" />
|
||||
<result property="otherHarmfulEffects" column="other_harmful_effects" />
|
||||
</resultMap>
|
||||
|
||||
<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
|
||||
from msds a
|
||||
left join msds_material b on b.msds = a.id
|
||||
where a.id = #{id}
|
||||
</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
|
||||
from msds a
|
||||
left join msds_material b on b.msds = a.id
|
||||
where 1=1
|
||||
<if test="type == 0">
|
||||
and a.chemical_cn like "%"#{selectValue}"%"
|
||||
</if>
|
||||
<if test="type == 1">
|
||||
and a.other_chemical_cn like "%"#{selectValue}"%"
|
||||
</if>
|
||||
<if test="type == 2">
|
||||
and a.chemical_en like "%"#{selectValue}"%"
|
||||
</if>
|
||||
<if test="type == 3">
|
||||
and a.other_chemical_en like "%"#{selectValue}"%"
|
||||
</if>
|
||||
<if test="type == 4">
|
||||
and a.cas like "%"#{selectValue}"%"
|
||||
</if>
|
||||
<if test="type == 5">
|
||||
and a.dangerous_goods_number like "%"#{selectValue}"%"
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<insert id="insertMsds" parameterType="com.hbt.security.knowledge.base.msds.model.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)
|
||||
values (
|
||||
#{msds.chemicalCn},
|
||||
#{msds.otherChemicalCn},
|
||||
#{msds.chemicalEn},
|
||||
#{msds.otherChemicalEn},
|
||||
#{msds.cas},
|
||||
#{msds.type},
|
||||
#{msds.detonatorProfession1},
|
||||
#{msds.detonatorProfession1Concentration},
|
||||
#{msds.detonatorProfession1CasNo},
|
||||
#{msds.detonatorProfession2},
|
||||
#{msds.detonatorProfession2Concentration},
|
||||
#{msds.detonatorProfession2CasNo},
|
||||
#{msds.detonatorProfession3},
|
||||
#{msds.detonatorProfession3Concentration},
|
||||
#{msds.detonatorProfession3CasNo},
|
||||
#{msds.detonatorProfession4},
|
||||
#{msds.detonatorProfession4Concentration},
|
||||
#{msds.detonatorProfession4CasNo},
|
||||
#{msds.detonatorProfession5},
|
||||
#{msds.detonatorProfession5Concentration},
|
||||
#{msds.detonatorProfession5CasNo},
|
||||
#{msds.hazardCategory},
|
||||
#{msds.invasionRoute},
|
||||
#{msds.healthHazards},
|
||||
#{msds.environmentalHazards},
|
||||
#{msds.explosionHazard},
|
||||
#{msds.skinContact},
|
||||
#{msds.eyeContact},
|
||||
#{msds.inhalation},
|
||||
#{msds.ingestion},
|
||||
#{msds.hazardCharacteristics},
|
||||
#{msds.hazardousCombustionProducts},
|
||||
#{msds.fireExtinguishingMethod},
|
||||
#{msds.fireFighting},
|
||||
#{msds.emergencyActions},
|
||||
#{msds.operationalConsiderations},
|
||||
#{msds.storagePrecautions},
|
||||
#{msds.mac},
|
||||
#{msds.pcTwa},
|
||||
#{msds.pcStel},
|
||||
#{msds.tlvC},
|
||||
#{msds.tlvTwa},
|
||||
#{msds.tlvStel},
|
||||
#{msds.monitoringMethods},
|
||||
#{msds.engineeringControl},
|
||||
#{msds.respiratoryProtection},
|
||||
#{msds.eyeProtection},
|
||||
#{msds.physicalProtection},
|
||||
#{msds.handProtection},
|
||||
#{msds.otherProtection},
|
||||
#{msds.appearanceAndShape},
|
||||
#{msds.phValue},
|
||||
#{msds.meltingPoint},
|
||||
#{msds.boilingPoint},
|
||||
#{msds.relativeDensity},
|
||||
#{msds.relativeVaporDensity},
|
||||
#{msds.saturatedVaporPressure},
|
||||
#{msds.heatOfCombustion},
|
||||
#{msds.critical},
|
||||
#{msds.criticalPressure},
|
||||
#{msds.octanolWaterPartitionCoefficient},
|
||||
#{msds.flashPoint},
|
||||
#{msds.ignitionTemperature},
|
||||
#{msds.lowerExplosionLimit},
|
||||
#{msds.upperExplosionLimit},
|
||||
#{msds.solubility},
|
||||
#{msds.mainUses},
|
||||
#{msds.stability},
|
||||
#{msds.forbiddenMixtures},
|
||||
#{msds.avoidContactConditions},
|
||||
#{msds.aggregationHazards},
|
||||
#{msds.decompositionProducts},
|
||||
#{msds.natureOfWaste},
|
||||
#{msds.disposalMethods},
|
||||
#{msds.deprecationConsiderations},
|
||||
#{msds.dangerousGoodsNumber},
|
||||
#{msds.unNumber},
|
||||
#{msds.packagingCategory},
|
||||
#{msds.packagingLogo},
|
||||
#{msds.packagingMethod},
|
||||
#{msds.shippingPrecautions},
|
||||
#{msds.regulatoryInformation},
|
||||
#{msds.criticalValue}
|
||||
)
|
||||
<selectKey keyProperty="id" resultType="Integer" order="AFTER">
|
||||
select LAST_INSERT_ID()
|
||||
</selectKey>
|
||||
</insert>
|
||||
|
||||
|
||||
<insert id="insertMsdsMaterial" parameterType="com.hbt.security.knowledge.base.msds.model.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
|
||||
)
|
||||
values (
|
||||
#{material.msds},
|
||||
#{material.acute_toxicity},
|
||||
#{material.rats_oral_LD},
|
||||
#{material.rats_percutaneous_LD},
|
||||
#{material.rats_subcutaneous_LD},
|
||||
#{material.rats_venous_LD},
|
||||
#{material.rats_intraperitoneal_LD},
|
||||
#{material.mice_oral_LD},
|
||||
#{material.mice_percutaneous_LD},
|
||||
#{material.mice_venous_LD},
|
||||
#{material.mice_intraperitoneal_LD},
|
||||
#{material.guinea_pigs_oral_LD},
|
||||
#{material.guinea_pigs_percutaneous_LD},
|
||||
#{material.guinea_pigs_subcutaneous_LD},
|
||||
#{material.guinea_pigs_venous_LD},
|
||||
#{material.guinea_pigs_intraperitoneal_LD},
|
||||
#{material.rabbit_oral_LD},
|
||||
#{material.rabbit_percutaneous_LD},
|
||||
#{material.rabbit_subcutaneous_LD},
|
||||
#{material.rabbit_venous_LD},
|
||||
#{material.rabbit_intraperitoneal_LD},
|
||||
#{material.other_animal_LD},
|
||||
#{material.LD},
|
||||
#{material.LDL0},
|
||||
#{material.TDL0},
|
||||
#{material.rats_inhale_LC},
|
||||
#{material.rats_inhale_LCL0},
|
||||
#{material.mice_inhale_LC},
|
||||
#{material.mice_inhale_LCL0},
|
||||
#{material.mice_inhale_TDL0},
|
||||
#{material.people_inhale_LCL0},
|
||||
#{material.people_inhale_TDL0},
|
||||
#{material.IDLH},
|
||||
#{material.other_animal_LC_50},
|
||||
#{material.other_animal_LC_100},
|
||||
#{material.other_animal_LCL0},
|
||||
#{material.other_animal_TCL0},
|
||||
#{material.rabbit_percutaneous},
|
||||
#{material.rabbit_meridians},
|
||||
#{material.rats_percutaneous},
|
||||
#{material.rats_meridians},
|
||||
#{material.guinea_pigs_percutaneous},
|
||||
#{material.guinea_pigs_meridians},
|
||||
#{material.men_percutaneous},
|
||||
#{material.men_meridians},
|
||||
#{material.human_percutaneous},
|
||||
#{material.human_meridians},
|
||||
#{material.subacute_versus_chronic_toxicity},
|
||||
#{material.sensitization},
|
||||
#{material.mutagenicity},
|
||||
#{material.teratogenicity},
|
||||
#{material.carcinogenicity},
|
||||
#{material.other},
|
||||
#{material.absolute_lethal_amount_LD},
|
||||
#{material.half_lethal_dose_LD},
|
||||
#{material.half_lethal_concentration_LC},
|
||||
#{material.half_of_the_effect_concentration_EC},
|
||||
#{material.half_of_the_inhibitory_concentration_IC},
|
||||
#{material.no_action_dose_NOEL},
|
||||
#{material.half_of_the_resistance_to_limited_amount_TLm},
|
||||
#{material.bod5},
|
||||
#{material.soil_half_life_high},
|
||||
#{material.soil_half_life_low},
|
||||
#{material.air_half_life_high},
|
||||
#{material.air_half_life_low},
|
||||
#{material.surface_water_half_life_high},
|
||||
#{material.surface_water_half_life_low},
|
||||
#{material.groundwater_half_life_high},
|
||||
#{material.groundwater_half_life_low},
|
||||
#{material.aqueous_biodegradation_aerobic_high},
|
||||
#{material.aqueous_biodegradation_aerobic_low},
|
||||
#{material.aqueous_biodegradation_anaerobics_high},
|
||||
#{material.aqueous_biodegradation_anaerobics_low},
|
||||
#{material.aqueous_biodegradation_secondary_sedimentation_treatment_high},
|
||||
#{material.aqueous_biodegradation_secondary_sedimentation_treatment_low},
|
||||
#{material.aqueous_photolysis_half_life_high},
|
||||
#{material.aqueous_photolysis_half_life_low},
|
||||
#{material.photolysis_maximal_light_absorption_high},
|
||||
#{material.photolysis_maximal_light_absorption_low},
|
||||
#{material.photooxidation_half_life_in_water_high},
|
||||
#{material.photooxidation_half_life_in_water_low},
|
||||
#{material.photooxidative_half_life_in_air_high},
|
||||
#{material.photooxidative_half_life_in_air_low},
|
||||
#{material.reduction_half_life_high},
|
||||
#{material.reduction_half_life_low},
|
||||
#{material.primary_hydrolysis_half_life},
|
||||
#{material.hydrolysis_in_air_high},
|
||||
#{material.hydrolysis_in_air_low},
|
||||
#{material.cod},
|
||||
#{material.bioconcentration_or_bioaccumulation},
|
||||
#{material.other_harmful_effects}
|
||||
)
|
||||
</insert>
|
||||
|
||||
<update id="updateMsdsMaterialByMsds" parameterType="com.hbt.security.knowledge.base.msds.model.MsdsMaterial">
|
||||
update msds_material
|
||||
set
|
||||
acute_toxicity = #{material.acute_toxicity},
|
||||
rats_oral_LD = #{material.rats_oral_LD},
|
||||
rats_percutaneous_LD = #{material.rats_percutaneous_LD},
|
||||
rats_subcutaneous_LD = #{material.rats_subcutaneous_LD},
|
||||
rats_venous_LD = #{material.rats_venous_LD},
|
||||
rats_intraperitoneal_LD = #{material.rats_intraperitoneal_LD},
|
||||
mice_oral_LD = #{material.mice_oral_LD},
|
||||
mice_percutaneous_LD = #{material.mice_percutaneous_LD},
|
||||
mice_venous_LD = #{material.mice_venous_LD},
|
||||
mice_intraperitoneal_LD = #{material.mice_intraperitoneal_LD},
|
||||
guinea_pigs_oral_LD = #{material.guinea_pigs_oral_LD},
|
||||
guinea_pigs_percutaneous_LD = #{material.guinea_pigs_percutaneous_LD},
|
||||
guinea_pigs_subcutaneous_LD = #{material.guinea_pigs_subcutaneous_LD},
|
||||
guinea_pigs_venous_LD = #{material.guinea_pigs_venous_LD},
|
||||
guinea_pigs_intraperitoneal_LD = #{material.guinea_pigs_intraperitoneal_LD},
|
||||
rabbit_oral_LD = #{material.rabbit_oral_LD},
|
||||
rabbit_percutaneous_LD = #{material.rabbit_percutaneous_LD},
|
||||
rabbit_subcutaneous_LD = #{material.rabbit_subcutaneous_LD},
|
||||
rabbit_venous_LD = #{material.rabbit_venous_LD},
|
||||
rabbit_intraperitoneal_LD = #{material.rabbit_intraperitoneal_LD},
|
||||
other_animal_LD = #{material.other_animal_LD},
|
||||
LD = #{material.LD},
|
||||
LDL0 = #{material.LDL0},
|
||||
TDL0 = #{material.TDL0},
|
||||
rats_inhale_LC = #{material.rats_inhale_LC},
|
||||
rats_inhale_LCL0 = #{material.rats_inhale_LCL0},
|
||||
mice_inhale_LC = #{material.mice_inhale_LC},
|
||||
mice_inhale_LCL0 = #{material.mice_inhale_LCL0},
|
||||
mice_inhale_TDL0 = #{material.mice_inhale_TDL0},
|
||||
people_inhale_LCL0 = #{material.people_inhale_LCL0},
|
||||
people_inhale_TDL0 = #{material.people_inhale_TDL0},
|
||||
IDLH = #{material.IDLH},
|
||||
other_animal_LC_50 = #{material.other_animal_LC_50},
|
||||
other_animal_LC_100 = #{material.other_animal_LC_100},
|
||||
other_animal_LCL0 = #{material.other_animal_LCL0},
|
||||
other_animal_TCL0 = #{material.other_animal_TCL0},
|
||||
rabbit_percutaneous = #{material.rabbit_percutaneous},
|
||||
rabbit_meridians = #{material.rabbit_meridians},
|
||||
rats_percutaneous = #{material.rats_percutaneous},
|
||||
rats_meridians = #{material.rats_meridians},
|
||||
guinea_pigs_percutaneous = #{material.guinea_pigs_percutaneous},
|
||||
guinea_pigs_meridians = #{material.guinea_pigs_meridians},
|
||||
men_percutaneous = #{material.men_percutaneous},
|
||||
men_meridians = #{material.men_meridians},
|
||||
human_percutaneous = #{material.human_percutaneous},
|
||||
human_meridians = #{material.human_meridians},
|
||||
subacute_versus_chronic_toxicity = #{material.subacute_versus_chronic_toxicity},
|
||||
sensitization = #{material.sensitization},
|
||||
mutagenicity = #{material.mutagenicity},
|
||||
teratogenicity = #{material.teratogenicity},
|
||||
carcinogenicity = #{material.carcinogenicity},
|
||||
other = #{material.other},
|
||||
absolute_lethal_amount_LD = #{material.absolute_lethal_amount_LD},
|
||||
half_lethal_dose_LD = #{material.half_lethal_dose_LD},
|
||||
half_lethal_concentration_LC = #{material.half_lethal_concentration_LC},
|
||||
half_of_the_effect_concentration_EC = #{material.half_of_the_effect_concentration_EC},
|
||||
half_of_the_inhibitory_concentration_IC = #{material.half_of_the_inhibitory_concentration_IC},
|
||||
no_action_dose_NOEL = #{material.no_action_dose_NOEL},
|
||||
half_of_the_resistance_to_limited_amount_TLm = #{material.half_of_the_resistance_to_limited_amount_TLm},
|
||||
bod5 = #{material.bod5},
|
||||
soil_half_life_high = #{material.soil_half_life_high},
|
||||
soil_half_life_low = #{material.soil_half_life_low},
|
||||
air_half_life_high = #{material.air_half_life_high},
|
||||
air_half_life_low = #{material.air_half_life_low},
|
||||
surface_water_half_life_high = #{material.surface_water_half_life_high},
|
||||
surface_water_half_life_low = #{material.surface_water_half_life_low},
|
||||
groundwater_half_life_high = #{material.groundwater_half_life_high},
|
||||
groundwater_half_life_low = #{material.groundwater_half_life_low},
|
||||
aqueous_biodegradation_aerobic_high = #{material.aqueous_biodegradation_aerobic_high},
|
||||
aqueous_biodegradation_aerobic_low = #{material.aqueous_biodegradation_aerobic_low},
|
||||
aqueous_biodegradation_anaerobics_high = #{material.aqueous_biodegradation_anaerobics_high},
|
||||
aqueous_biodegradation_anaerobics_low = #{material.aqueous_biodegradation_anaerobics_low},
|
||||
aqueous_biodegradation_secondary_sedimentation_treatment_high = #{material.aqueous_biodegradation_secondary_sedimentation_treatment_high},
|
||||
aqueous_biodegradation_secondary_sedimentation_treatment_low = #{material.aqueous_biodegradation_secondary_sedimentation_treatment_low},
|
||||
aqueous_photolysis_half_life_high = #{material.aqueous_photolysis_half_life_high},
|
||||
aqueous_photolysis_half_life_low = #{material.aqueous_photolysis_half_life_low},
|
||||
photolysis_maximal_light_absorption_high = #{material.photolysis_maximal_light_absorption_high},
|
||||
photolysis_maximal_light_absorption_low = #{material.photolysis_maximal_light_absorption_low},
|
||||
photooxidation_half_life_in_water_high = #{material.photooxidation_half_life_in_water_high},
|
||||
photooxidation_half_life_in_water_low = #{material.photooxidation_half_life_in_water_low},
|
||||
photooxidative_half_life_in_air_high = #{material.photooxidative_half_life_in_air_high},
|
||||
photooxidative_half_life_in_air_low = #{material.photooxidative_half_life_in_air_low},
|
||||
reduction_half_life_high = #{material.reduction_half_life_high},
|
||||
reduction_half_life_low = #{material.reduction_half_life_low},
|
||||
primary_hydrolysis_half_life = #{material.primary_hydrolysis_half_life},
|
||||
hydrolysis_in_air_high = #{material.hydrolysis_in_air_high},
|
||||
hydrolysis_in_air_low = #{material.hydrolysis_in_air_low},
|
||||
cod = #{material.cod},
|
||||
bioconcentration_or_bioaccumulation = #{material.bioconcentration_or_bioaccumulation},
|
||||
other_harmful_effects = #{material.other_harmful_effects}
|
||||
where msds = #{material.msds}
|
||||
</update>
|
||||
|
||||
<update id="updateMsds" parameterType="com.hbt.security.knowledge.base.msds.model.Msds">
|
||||
update msds
|
||||
set
|
||||
chemical_cn = #{msds.chemicalCn},
|
||||
other_chemical_cn = #{msds.otherChemicalCn},
|
||||
chemical_en = #{msds.chemicalEn},
|
||||
other_chemical_en = #{msds.otherChemicalEn},
|
||||
cas = #{msds.cas},
|
||||
type = #{msds.type},
|
||||
detonator_profession1 = #{msds.detonatorProfession1},
|
||||
detonator_profession1_concentration = #{msds.detonatorProfession1Concentration},
|
||||
detonator_profession1_CAS_No = #{msds.detonatorProfession1CasNo},
|
||||
detonator_profession2 = #{msds.detonatorProfession2},
|
||||
detonator_profession2_concentration = #{msds.detonatorProfession2Concentration},
|
||||
detonator_profession2_CAS_No = #{msds.detonatorProfession2CasNo},
|
||||
detonator_profession3 = #{msds.detonatorProfession3},
|
||||
detonator_profession3_concentration = #{msds.detonatorProfession3Concentration},
|
||||
detonator_profession3_CAS_No = #{msds.detonatorProfession3CasNo},
|
||||
detonator_profession4 = #{msds.detonatorProfession4},
|
||||
detonator_profession4_concentration = #{msds.detonatorProfession4Concentration},
|
||||
detonator_profession4_CAS_No = #{msds.detonatorProfession4CasNo},
|
||||
detonator_profession5 = #{msds.detonatorProfession5},
|
||||
detonator_profession5_concentration = #{msds.detonatorProfession5Concentration},
|
||||
detonator_profession5_CAS_No = #{msds.detonatorProfession5CasNo},
|
||||
hazard_category = #{msds.hazardCategory},
|
||||
Invasion_route = #{msds.invasionRoute},
|
||||
health_hazards = #{msds.healthHazards},
|
||||
environmental_hazards = #{msds.environmentalHazards},
|
||||
explosion_hazard = #{msds.explosionHazard},
|
||||
skin_contact = #{msds.skinContact},
|
||||
eye_contact = #{msds.eyeContact},
|
||||
inhalation = #{msds.inhalation},
|
||||
ingestion = #{msds.ingestion},
|
||||
hazard_characteristics = #{msds.hazardCharacteristics},
|
||||
hazardous_combustion_products = #{msds.hazardousCombustionProducts},
|
||||
fire_extinguishing_method = #{msds.fireExtinguishingMethod},
|
||||
fire_fighting = #{msds.fireFighting},
|
||||
emergency_actions = #{msds.emergencyActions},
|
||||
operational_considerations = #{msds.operationalConsiderations},
|
||||
storage_precautions = #{msds.storagePrecautions},
|
||||
MAC = #{msds.mac},
|
||||
PC_TWA = #{msds.pcTwa},
|
||||
PC_STEL = #{msds.pcStel},
|
||||
TLV_C = #{msds.tlvC},
|
||||
TLV_TWA = #{msds.tlvTwa},
|
||||
TLV_STEL = #{msds.tlvStel},
|
||||
monitoring_methods = #{msds.monitoringMethods},
|
||||
engineering_control = #{msds.engineeringControl},
|
||||
respiratory_protection = #{msds.respiratoryProtection},
|
||||
eye_protection = #{msds.eyeProtection},
|
||||
physical_protection = #{msds.physicalProtection},
|
||||
hand_protection = #{msds.handProtection},
|
||||
other_protection = #{msds.otherProtection},
|
||||
appearance_and_shape = #{msds.appearanceAndShape},
|
||||
ph_value = #{msds.phValue},
|
||||
melting_point = #{msds.meltingPoint},
|
||||
boiling_point = #{msds.boilingPoint},
|
||||
relative_density = #{msds.relativeDensity},
|
||||
relative_vapor_density = #{msds.relativeVaporDensity},
|
||||
saturated_vapor_pressure = #{msds.saturatedVaporPressure},
|
||||
heat_of_combustion = #{msds.heatOfCombustion},
|
||||
critical = #{msds.critical},
|
||||
critical_pressure = #{msds.criticalPressure},
|
||||
octanol_water_partition_coefficient = #{msds.octanolWaterPartitionCoefficient},
|
||||
flash_point = #{msds.flashPoint},
|
||||
Ignition_temperature = #{msds.ignitionTemperature},
|
||||
lower_explosion_limit = #{msds.lowerExplosionLimit},
|
||||
upper_explosion_limit = #{msds.upperExplosionLimit},
|
||||
solubility = #{msds.solubility},
|
||||
main_uses = #{msds.mainUses},
|
||||
stability = #{msds.stability},
|
||||
forbidden_mixtures = #{msds.forbiddenMixtures},
|
||||
avoid_contact_conditions = #{msds.avoidContactConditions},
|
||||
aggregation_hazards = #{msds.aggregationHazards},
|
||||
decomposition_products = #{msds.decompositionProducts},
|
||||
nature_of_waste = #{msds.natureOfWaste},
|
||||
disposal_methods = #{msds.disposalMethods},
|
||||
deprecation_considerations = #{msds.deprecationConsiderations},
|
||||
dangerous_goods_number = #{msds.dangerousGoodsNumber},
|
||||
un_number = #{msds.unNumber},
|
||||
packaging_category = #{msds.packagingCategory},
|
||||
packaging_logo = #{msds.packagingLogo},
|
||||
packaging_method = #{msds.packagingMethod},
|
||||
shipping_precautions = #{msds.shippingPrecautions},
|
||||
regulatory_information = #{msds.regulatoryInformation},
|
||||
critical_value = #{msds.criticalValue}
|
||||
where id = #{msds.id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteMsdsById" parameterType="Integer">
|
||||
delete from msds where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteMsdsMaterialByMsds" parameterType="Integer">
|
||||
delete from msds_material where msds = #{id}
|
||||
</delete>
|
||||
|
||||
<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=",">
|
||||
( #{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>
|
||||
</mapper>
|
Loading…
Reference in New Issue