给系统参数表增加零收付款启用标记字段
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
<result column="multi_account_flag" jdbcType="VARCHAR" property="multiAccountFlag" />
|
||||
<result column="move_avg_price_flag" jdbcType="VARCHAR" property="moveAvgPriceFlag" />
|
||||
<result column="audit_print_flag" jdbcType="VARCHAR" property="auditPrintFlag" />
|
||||
<result column="zero_change_amount_flag" jdbcType="VARCHAR" property="zeroChangeAmountFlag" />
|
||||
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
||||
<result column="delete_flag" jdbcType="VARCHAR" property="deleteFlag" />
|
||||
</resultMap>
|
||||
@@ -89,7 +90,7 @@
|
||||
sale_agreement, depot_flag, customer_flag, minus_stock_flag, purchase_by_sale_flag,
|
||||
multi_level_approval_flag, multi_bill_type, force_approval_flag, update_unit_price_flag,
|
||||
over_link_bill_flag, in_out_manage_flag, multi_account_flag, move_avg_price_flag,
|
||||
audit_print_flag, tenant_id, delete_flag
|
||||
audit_print_flag, zero_change_amount_flag, tenant_id, delete_flag
|
||||
</sql>
|
||||
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.SystemConfigExample" resultMap="BaseResultMap">
|
||||
select
|
||||
@@ -129,8 +130,8 @@
|
||||
multi_level_approval_flag, multi_bill_type,
|
||||
force_approval_flag, update_unit_price_flag,
|
||||
over_link_bill_flag, in_out_manage_flag, multi_account_flag,
|
||||
move_avg_price_flag, audit_print_flag, tenant_id,
|
||||
delete_flag)
|
||||
move_avg_price_flag, audit_print_flag, zero_change_amount_flag,
|
||||
tenant_id, delete_flag)
|
||||
values (#{id,jdbcType=BIGINT}, #{companyName,jdbcType=VARCHAR}, #{companyContacts,jdbcType=VARCHAR},
|
||||
#{companyAddress,jdbcType=VARCHAR}, #{companyTel,jdbcType=VARCHAR}, #{companyFax,jdbcType=VARCHAR},
|
||||
#{companyPostCode,jdbcType=VARCHAR}, #{saleAgreement,jdbcType=VARCHAR}, #{depotFlag,jdbcType=VARCHAR},
|
||||
@@ -138,8 +139,8 @@
|
||||
#{multiLevelApprovalFlag,jdbcType=VARCHAR}, #{multiBillType,jdbcType=VARCHAR},
|
||||
#{forceApprovalFlag,jdbcType=VARCHAR}, #{updateUnitPriceFlag,jdbcType=VARCHAR},
|
||||
#{overLinkBillFlag,jdbcType=VARCHAR}, #{inOutManageFlag,jdbcType=VARCHAR}, #{multiAccountFlag,jdbcType=VARCHAR},
|
||||
#{moveAvgPriceFlag,jdbcType=VARCHAR}, #{auditPrintFlag,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT},
|
||||
#{deleteFlag,jdbcType=VARCHAR})
|
||||
#{moveAvgPriceFlag,jdbcType=VARCHAR}, #{auditPrintFlag,jdbcType=VARCHAR}, #{zeroChangeAmountFlag,jdbcType=VARCHAR},
|
||||
#{tenantId,jdbcType=BIGINT}, #{deleteFlag,jdbcType=VARCHAR})
|
||||
</insert>
|
||||
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.SystemConfig">
|
||||
insert into jsh_system_config
|
||||
@@ -207,6 +208,9 @@
|
||||
<if test="auditPrintFlag != null">
|
||||
audit_print_flag,
|
||||
</if>
|
||||
<if test="zeroChangeAmountFlag != null">
|
||||
zero_change_amount_flag,
|
||||
</if>
|
||||
<if test="tenantId != null">
|
||||
tenant_id,
|
||||
</if>
|
||||
@@ -278,6 +282,9 @@
|
||||
<if test="auditPrintFlag != null">
|
||||
#{auditPrintFlag,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="zeroChangeAmountFlag != null">
|
||||
#{zeroChangeAmountFlag,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="tenantId != null">
|
||||
#{tenantId,jdbcType=BIGINT},
|
||||
</if>
|
||||
@@ -358,6 +365,9 @@
|
||||
<if test="record.auditPrintFlag != null">
|
||||
audit_print_flag = #{record.auditPrintFlag,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.zeroChangeAmountFlag != null">
|
||||
zero_change_amount_flag = #{record.zeroChangeAmountFlag,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.tenantId != null">
|
||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||
</if>
|
||||
@@ -392,6 +402,7 @@
|
||||
multi_account_flag = #{record.multiAccountFlag,jdbcType=VARCHAR},
|
||||
move_avg_price_flag = #{record.moveAvgPriceFlag,jdbcType=VARCHAR},
|
||||
audit_print_flag = #{record.auditPrintFlag,jdbcType=VARCHAR},
|
||||
zero_change_amount_flag = #{record.zeroChangeAmountFlag,jdbcType=VARCHAR},
|
||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||
delete_flag = #{record.deleteFlag,jdbcType=VARCHAR}
|
||||
<if test="_parameter != null">
|
||||
@@ -461,6 +472,9 @@
|
||||
<if test="auditPrintFlag != null">
|
||||
audit_print_flag = #{auditPrintFlag,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="zeroChangeAmountFlag != null">
|
||||
zero_change_amount_flag = #{zeroChangeAmountFlag,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="tenantId != null">
|
||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||
</if>
|
||||
@@ -492,6 +506,7 @@
|
||||
multi_account_flag = #{multiAccountFlag,jdbcType=VARCHAR},
|
||||
move_avg_price_flag = #{moveAvgPriceFlag,jdbcType=VARCHAR},
|
||||
audit_print_flag = #{auditPrintFlag,jdbcType=VARCHAR},
|
||||
zero_change_amount_flag = #{zeroChangeAmountFlag,jdbcType=VARCHAR},
|
||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||
delete_flag = #{deleteFlag,jdbcType=VARCHAR}
|
||||
where id = #{id,jdbcType=BIGINT}
|
||||
|
||||
Reference in New Issue
Block a user