and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, header_id, account_id, in_out_item_id, bill_id, need_debt, finish_debt, each_amount, remark, tenant_id, delete_flag delete from jsh_account_item where id = #{id,jdbcType=BIGINT} delete from jsh_account_item insert into jsh_account_item (id, header_id, account_id, in_out_item_id, bill_id, need_debt, finish_debt, each_amount, remark, tenant_id, delete_flag) values (#{id,jdbcType=BIGINT}, #{headerId,jdbcType=BIGINT}, #{accountId,jdbcType=BIGINT}, #{inOutItemId,jdbcType=BIGINT}, #{billId,jdbcType=BIGINT}, #{needDebt,jdbcType=DECIMAL}, #{finishDebt,jdbcType=DECIMAL}, #{eachAmount,jdbcType=DECIMAL}, #{remark,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT}, #{deleteFlag,jdbcType=VARCHAR}) insert into jsh_account_item id, header_id, account_id, in_out_item_id, bill_id, need_debt, finish_debt, each_amount, remark, tenant_id, delete_flag, #{id,jdbcType=BIGINT}, #{headerId,jdbcType=BIGINT}, #{accountId,jdbcType=BIGINT}, #{inOutItemId,jdbcType=BIGINT}, #{billId,jdbcType=BIGINT}, #{needDebt,jdbcType=DECIMAL}, #{finishDebt,jdbcType=DECIMAL}, #{eachAmount,jdbcType=DECIMAL}, #{remark,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT}, #{deleteFlag,jdbcType=VARCHAR}, update jsh_account_item id = #{record.id,jdbcType=BIGINT}, header_id = #{record.headerId,jdbcType=BIGINT}, account_id = #{record.accountId,jdbcType=BIGINT}, in_out_item_id = #{record.inOutItemId,jdbcType=BIGINT}, bill_id = #{record.billId,jdbcType=BIGINT}, need_debt = #{record.needDebt,jdbcType=DECIMAL}, finish_debt = #{record.finishDebt,jdbcType=DECIMAL}, each_amount = #{record.eachAmount,jdbcType=DECIMAL}, remark = #{record.remark,jdbcType=VARCHAR}, tenant_id = #{record.tenantId,jdbcType=BIGINT}, delete_flag = #{record.deleteFlag,jdbcType=VARCHAR}, update jsh_account_item set id = #{record.id,jdbcType=BIGINT}, header_id = #{record.headerId,jdbcType=BIGINT}, account_id = #{record.accountId,jdbcType=BIGINT}, in_out_item_id = #{record.inOutItemId,jdbcType=BIGINT}, bill_id = #{record.billId,jdbcType=BIGINT}, need_debt = #{record.needDebt,jdbcType=DECIMAL}, finish_debt = #{record.finishDebt,jdbcType=DECIMAL}, each_amount = #{record.eachAmount,jdbcType=DECIMAL}, remark = #{record.remark,jdbcType=VARCHAR}, tenant_id = #{record.tenantId,jdbcType=BIGINT}, delete_flag = #{record.deleteFlag,jdbcType=VARCHAR} update jsh_account_item header_id = #{headerId,jdbcType=BIGINT}, account_id = #{accountId,jdbcType=BIGINT}, in_out_item_id = #{inOutItemId,jdbcType=BIGINT}, bill_id = #{billId,jdbcType=BIGINT}, need_debt = #{needDebt,jdbcType=DECIMAL}, finish_debt = #{finishDebt,jdbcType=DECIMAL}, each_amount = #{eachAmount,jdbcType=DECIMAL}, remark = #{remark,jdbcType=VARCHAR}, tenant_id = #{tenantId,jdbcType=BIGINT}, delete_flag = #{deleteFlag,jdbcType=VARCHAR}, where id = #{id,jdbcType=BIGINT} update jsh_account_item set header_id = #{headerId,jdbcType=BIGINT}, account_id = #{accountId,jdbcType=BIGINT}, in_out_item_id = #{inOutItemId,jdbcType=BIGINT}, bill_id = #{billId,jdbcType=BIGINT}, need_debt = #{needDebt,jdbcType=DECIMAL}, finish_debt = #{finishDebt,jdbcType=DECIMAL}, each_amount = #{eachAmount,jdbcType=DECIMAL}, remark = #{remark,jdbcType=VARCHAR}, tenant_id = #{tenantId,jdbcType=BIGINT}, delete_flag = #{deleteFlag,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT}