|
@@ -39,6 +39,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="sendIfType" column="send_if_type" />
|
|
|
<result property="ifNum" column="if_num" />
|
|
|
<result property="groupName" column="group_name" />
|
|
|
+ <result property="maxPadNum" column="max_pad_num" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectCompanyVo">
|
|
@@ -113,6 +114,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="sendIfType != null">send_if_type,</if>
|
|
|
<if test="ifNum != null">if_num,</if>
|
|
|
<if test="groupName != null">group_name,</if>
|
|
|
+ <if test="maxPadNum != null">max_pad_num,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="companyName != null">#{companyName},</if>
|
|
@@ -146,6 +148,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="sendIfType != null">#{sendIfType},</if>
|
|
|
<if test="ifNum != null">#{ifNum},</if>
|
|
|
<if test="groupName != null">#{groupName},</if>
|
|
|
+ <if test="maxPadNum != null">#{maxPadNum},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
@@ -185,6 +188,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="sendIfType != null">send_if_type = #{sendIfType},</if>
|
|
|
<if test="ifNum != null">if_num = #{ifNum},</if>
|
|
|
<if test="groupName != null">group_name = #{groupName},</if>
|
|
|
+ <if test="maxPadNum != null">max_pad_num = #{maxPadNum},</if>
|
|
|
</trim>
|
|
|
where company_id = #{companyId}
|
|
|
</update>
|