t
.
add_up_child_education
, t.add_up_continuing_education
, t.add_up_housing_loan_interest
, t.add_up_housing_rent
, t.add_up_support_elderly
, t.create_time
, t.creator
, t.declare_month
, t.delete_type
, t.employee_id
, t.id
, t.tax_agent_id
, t.tenant_key
, t.update_time
INSERT INTO hrsa_add_up_deduction
add_up_child_education,
add_up_continuing_education,
add_up_housing_loan_interest,
add_up_housing_rent,
add_up_support_elderly,
create_time,
creator,
declare_month,
delete_type,
employee_id,
id,
tax_agent_id,
tenant_key,
update_time,
#{addUpChildEducation},
#{addUpContinuingEducation},
#{addUpHousingLoanInterest},
#{addUpHousingRent},
#{addUpSupportElderly},
#{createTime},
#{creator},
#{declareMonth},
#{deleteType},
#{employeeId},
#{id},
#{taxAgentId},
#{tenantKey},
#{updateTime},
INSERT INTO hrsa_add_up_deduction
add_up_child_education,
add_up_continuing_education,
add_up_housing_loan_interest,
add_up_housing_rent,
add_up_support_elderly,
create_time,
creator,
declare_month,
delete_type,
employee_id,
id,
tax_agent_id,
tenant_key,
update_time,
#{addUpChildEducation},
#{addUpContinuingEducation},
#{addUpHousingLoanInterest},
#{addUpHousingRent},
#{addUpSupportElderly},
#{createTime},
#{creator},
#{declareMonth},
#{deleteType},
#{employeeId},
#{id},
#{taxAgentId},
#{tenantKey},
#{updateTime},
UPDATE hrsa_add_up_deduction
add_up_child_education=#{addUpChildEducation},
add_up_continuing_education=#{addUpContinuingEducation},
add_up_housing_loan_interest=#{addUpHousingLoanInterest},
add_up_housing_rent=#{addUpHousingRent},
add_up_support_elderly=#{addUpSupportElderly},
create_time=#{createTime},
creator=#{creator},
declare_month=#{declareMonth},
delete_type=#{deleteType},
employee_id=#{employeeId},
tax_agent_id=#{taxAgentId},
tenant_key=#{tenantKey},
update_time=#{updateTime},
WHERE id = #{id} AND delete_type = 0
UPDATE hrsa_add_up_deduction
add_up_child_education=#{addUpChildEducation},
add_up_continuing_education=#{addUpContinuingEducation},
add_up_housing_loan_interest=#{addUpHousingLoanInterest},
add_up_housing_rent=#{addUpHousingRent},
add_up_support_elderly=#{addUpSupportElderly},
create_time=#{createTime},
creator=#{creator},
declare_month=#{declareMonth},
delete_type=#{deleteType},
employee_id=#{employeeId},
tax_agent_id=#{taxAgentId},
tenant_key=#{tenantKey},
update_time=#{updateTime},
WHERE id = #{id} AND delete_type = 0
UPDATE hrsa_add_up_deduction
SET delete_type=1
WHERE id = #{id}
AND delete_type = 0