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} c_seq_no, policyno, notaxpremium, commissionrate, commission, settleno, billfee, inputdate, agentcode, comcode, inscompany delete from fnc_vou_business insert into fnc_vou_business (c_seq_no, policyno, notaxpremium, commissionrate, commission, settleno, billfee, inputdate, agentcode, comcode, inscompany) values (#{cSeqNo,jdbcType=VARCHAR}, #{policyno,jdbcType=VARCHAR}, #{notaxpremium,jdbcType=DOUBLE}, #{commissionrate,jdbcType=DOUBLE}, #{commission,jdbcType=DOUBLE}, #{settleno,jdbcType=VARCHAR}, #{billfee,jdbcType=DOUBLE}, #{inputdate,jdbcType=TIMESTAMP}, #{agentcode,jdbcType=VARCHAR}, #{comcode,jdbcType=VARCHAR}, #{inscompany,jdbcType=VARCHAR}) insert into fnc_vou_business c_seq_no, policyno, notaxpremium, commissionrate, commission, settleno, billfee, inputdate, agentcode, comcode, inscompany, #{cSeqNo,jdbcType=VARCHAR}, #{policyno,jdbcType=VARCHAR}, #{notaxpremium,jdbcType=DOUBLE}, #{commissionrate,jdbcType=DOUBLE}, #{commission,jdbcType=DOUBLE}, #{settleno,jdbcType=VARCHAR}, #{billfee,jdbcType=DOUBLE}, #{inputdate,jdbcType=TIMESTAMP}, #{agentcode,jdbcType=VARCHAR}, #{comcode,jdbcType=VARCHAR}, #{inscompany,jdbcType=VARCHAR}, update fnc_vou_business c_seq_no = #{record.cSeqNo,jdbcType=VARCHAR}, policyno = #{record.policyno,jdbcType=VARCHAR}, notaxpremium = #{record.notaxpremium,jdbcType=DOUBLE}, commissionrate = #{record.commissionrate,jdbcType=DOUBLE}, commission = #{record.commission,jdbcType=DOUBLE}, settleno = #{record.settleno,jdbcType=VARCHAR}, billfee = #{record.billfee,jdbcType=DOUBLE}, inputdate = #{record.inputdate,jdbcType=TIMESTAMP}, agentcode = #{record.agentcode,jdbcType=VARCHAR}, comcode = #{record.comcode,jdbcType=VARCHAR}, inscompany = #{record.inscompany,jdbcType=VARCHAR}, update fnc_vou_business set c_seq_no = #{record.cSeqNo,jdbcType=VARCHAR}, policyno = #{record.policyno,jdbcType=VARCHAR}, notaxpremium = #{record.notaxpremium,jdbcType=DOUBLE}, commissionrate = #{record.commissionrate,jdbcType=DOUBLE}, commission = #{record.commission,jdbcType=DOUBLE}, settleno = #{record.settleno,jdbcType=VARCHAR}, billfee = #{record.billfee,jdbcType=DOUBLE}, inputdate = #{record.inputdate,jdbcType=TIMESTAMP}, agentcode = #{record.agentcode,jdbcType=VARCHAR}, comcode = #{record.comcode,jdbcType=VARCHAR}, inscompany = #{record.inscompany,jdbcType=VARCHAR} update fnc_vou_business set c_seq_no = #{cSeqNo,jdbcType=VARCHAR} where agentcode = #{agentcode,jdbcType=VARCHAR} and comcode like concat('%', #{comcode,jdbcType=VARCHAR}, '%') and DATE_FORMAT(inputdate, '%Y-%m-%d') = DATE_FORMAT(#{inputdate,jdbcType=TIMESTAMP}, '%Y-%m-%d') and policyno is null and settleno is not null update fnc_vou_business set c_seq_no = #{cSeqNo,jdbcType=VARCHAR} where inscompany = #{inscompany,jdbcType=VARCHAR} and comcode like concat('%', #{comcode,jdbcType=VARCHAR}, '%') and DATE_FORMAT(inputdate, '%Y-%m-%d') = DATE_FORMAT(#{inputdate,jdbcType=TIMESTAMP}, '%Y-%m-%d') and policyno is null and settleno is not null update fnc_vou_business set c_seq_no = #{cSeqNo,jdbcType=VARCHAR} where agentcode = #{agentcode,jdbcType=VARCHAR} and comcode like concat('%', #{comcode,jdbcType=VARCHAR}, '%') and DATE_FORMAT(inputdate, '%Y-%m-%d') = DATE_FORMAT(#{inputdate,jdbcType=TIMESTAMP}, '%Y-%m-%d') and policyno is not null and settleno is null update fnc_vou_business set c_seq_no = #{cSeqNo,jdbcType=VARCHAR} where inscompany = #{inscompany,jdbcType=VARCHAR} and comcode like concat('%', #{comcode,jdbcType=VARCHAR}, '%') and DATE_FORMAT(inputdate, '%Y-%m-%d') = DATE_FORMAT(#{inputdate,jdbcType=TIMESTAMP}, '%Y-%m-%d') and policyno is not null and settleno is null