diff --git a/huaheng-wms-core/src/main/java/org/jeecg/modules/wms/config/waveConfig/mapper/xml/WaveConfigDetailMapper.xml b/huaheng-wms-core/src/main/java/org/jeecg/modules/wms/config/waveConfig/mapper/xml/WaveConfigDetailMapper.xml new file mode 100644 index 0000000..e7a16de --- /dev/null +++ b/huaheng-wms-core/src/main/java/org/jeecg/modules/wms/config/waveConfig/mapper/xml/WaveConfigDetailMapper.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> +<mapper namespace="org.jeecg.modules.wms.config.waveConfig.mapper.WaveConfigDetailMapper"> + + <delete id="deleteByMainId" parameterType="java.lang.String"> + DELETE + FROM wave_config_detail + WHERE main_id = #{mainId} + </delete> + + <select id="selectByMainId" parameterType="java.lang.String" + resultType="org.jeecg.modules.wms.config.waveConfig.entity.WaveConfigDetail"> + SELECT * + FROM wave_config_detail + WHERE main_id = #{mainId} + </select> +</mapper> \ No newline at end of file