From 2dd92ddda1d20964419490cfea02844b1f186f6b Mon Sep 17 00:00:00 2001 From: pengyongcheng <pyc_1215@163.com> Date: Fri, 27 Dec 2024 16:27:03 +0800 Subject: [PATCH] 添加 WaveConfigDetailMapper.xml --- huaheng-wms-core/src/main/java/org/jeecg/modules/wms/config/waveConfig/mapper/xml/WaveConfigDetailMapper.xml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+), 0 deletions(-) create mode 100644 huaheng-wms-core/src/main/java/org/jeecg/modules/wms/config/waveConfig/mapper/xml/WaveConfigDetailMapper.xml 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 -- libgit2 0.22.2