|
|
|
|
@ -8,6 +8,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<result property="id" column="id" />
|
|
|
|
|
<result property="modeId" column="mode_id" />
|
|
|
|
|
<result property="combine" column="combine" />
|
|
|
|
|
<result property="combineModeId" column="combine_mode_id" />
|
|
|
|
|
<result property="technologyInfo" column="technology_info" />
|
|
|
|
|
<result property="effectContent" column="effect_content" />
|
|
|
|
|
<result property="createTime" column="create_time" />
|
|
|
|
|
@ -15,13 +16,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
<sql id="selectWxModeCombineInfoVo">
|
|
|
|
|
select id, mode_id, combine, technology_info, effect_content, create_time, create_by from wx_mode_combine_info
|
|
|
|
|
select id, combine_mode_id,mode_id, combine, technology_info, effect_content, create_time, create_by from wx_mode_combine_info
|
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
<select id="selectWxModeCombineInfoList" parameterType="WxModeCombineInfo" resultMap="WxModeCombineInfoResult">
|
|
|
|
|
<include refid="selectWxModeCombineInfoVo"/>
|
|
|
|
|
<where>
|
|
|
|
|
<if test="modeId != null "> and mode_id = #{modeId}</if>
|
|
|
|
|
<if test="combineModeId != null "> and combine_mode_id = #{combineModeId}</if>
|
|
|
|
|
<if test="combine != null "> and combine = #{combine}</if>
|
|
|
|
|
<if test="technologyInfo != null and technologyInfo != ''"> and technology_info = #{technologyInfo}</if>
|
|
|
|
|
<if test="effectContent != null and effectContent != ''"> and effect_content = #{effectContent}</if>
|
|
|
|
|
@ -39,6 +41,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
|
|
<if test="id != null">id,</if>
|
|
|
|
|
<if test="modeId != null">mode_id,</if>
|
|
|
|
|
<if test="combineModeId != null">combine_mode_id,</if>
|
|
|
|
|
<if test="combine != null">combine,</if>
|
|
|
|
|
<if test="technologyInfo != null">technology_info,</if>
|
|
|
|
|
<if test="effectContent != null">effect_content,</if>
|
|
|
|
|
@ -48,6 +51,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
|
<if test="id != null">#{id},</if>
|
|
|
|
|
<if test="modeId != null">#{modeId},</if>
|
|
|
|
|
<if test="combineModeId != null">#{combineModeId},</if>
|
|
|
|
|
<if test="combine != null">#{combine},</if>
|
|
|
|
|
<if test="technologyInfo != null">#{technologyInfo},</if>
|
|
|
|
|
<if test="effectContent != null">#{effectContent},</if>
|
|
|
|
|
@ -60,6 +64,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
update wx_mode_combine_info
|
|
|
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
|
|
|
<if test="modeId != null">mode_id = #{modeId},</if>
|
|
|
|
|
<if test="combineModeId != null">combine_mode_id = #{combineModeId},</if>
|
|
|
|
|
<if test="combine != null">combine = #{combine},</if>
|
|
|
|
|
<if test="technologyInfo != null">technology_info = #{technologyInfo},</if>
|
|
|
|
|
<if test="effectContent != null">effect_content = #{effectContent},</if>
|
|
|
|
|
|