|
@@ -122,6 +122,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="groupName != null">group_name,</if>
|
|
<if test="groupName != null">group_name,</if>
|
|
|
<if test="maxPadNum != null">max_pad_num,</if>
|
|
<if test="maxPadNum != null">max_pad_num,</if>
|
|
|
<if test="deptId != null">dept_id,</if>
|
|
<if test="deptId != null">dept_id,</if>
|
|
|
|
|
+ <if test="isOpenRestReminder != null">is_open_rest_reminder,</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="companyName != null">#{companyName},</if>
|
|
<if test="companyName != null">#{companyName},</if>
|
|
@@ -158,6 +159,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="groupName != null">#{groupName},</if>
|
|
<if test="groupName != null">#{groupName},</if>
|
|
|
<if test="maxPadNum != null">#{maxPadNum},</if>
|
|
<if test="maxPadNum != null">#{maxPadNum},</if>
|
|
|
<if test="deptId != null">#{deptId},</if>
|
|
<if test="deptId != null">#{deptId},</if>
|
|
|
|
|
+ <if test="isOpenRestReminder != null">is_open_rest_reminder = #{isOpenRestReminder},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
|
@@ -201,6 +203,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="maxPadNum != null">max_pad_num = #{maxPadNum},</if>
|
|
<if test="maxPadNum != null">max_pad_num = #{maxPadNum},</if>
|
|
|
<if test="deptId != null">dept_id = #{deptId},</if>
|
|
<if test="deptId != null">dept_id = #{deptId},</if>
|
|
|
<if test="redPackageMoney != null">red_package_money = #{redPackageMoney},</if>
|
|
<if test="redPackageMoney != null">red_package_money = #{redPackageMoney},</if>
|
|
|
|
|
+ <if test="isOpenRestReminder != null">is_open_rest_reminder = #{isOpenRestReminder},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
where company_id = #{companyId}
|
|
where company_id = #{companyId}
|
|
|
</update>
|
|
</update>
|