select tenant_id, revision, created_by, created_time, updated_by, updated_time, delete_by, delete_time, id, company_name, company_id, org_id, org_name, asset_code, asset_name, field_name, field_code, target_name_define, target_code, target_uint, count_year, count_month, target_name_alias, val_plan from dc_busi_plan_target_month
insert into dc_busi_plan_target_month
tenant_id,
revision,
created_by,
created_time,
updated_by,
updated_time,
delete_by,
delete_time,
company_name,
company_id,
org_id,
org_name,
asset_code,
asset_name,
field_name,
field_code,
target_name_define,
target_code,
target_uint,
count_year,
count_month,
target_name_alias,
val_plan,
#{tenantId},
#{revision},
#{createdBy},
#{createdTime},
#{updatedBy},
#{updatedTime},
#{deleteBy},
#{deleteTime},
#{companyName},
#{companyId},
#{orgId},
#{orgName},
#{assetCode},
#{assetName},
#{fieldName},
#{fieldCode},
#{targetNameDefine},
#{targetCode},
#{targetUint},
#{countYear},
#{countMonth},
#{targetNameAlias},
#{valPlan},
update dc_busi_plan_target_month
tenant_id = #{tenantId},
revision = #{revision},
created_by = #{createdBy},
created_time = #{createdTime},
updated_by = #{updatedBy},
updated_time = #{updatedTime},
delete_by = #{deleteBy},
delete_time = #{deleteTime},
company_name = #{companyName},
company_id = #{companyId},
org_id = #{orgId},
org_name = #{orgName},
asset_code = #{assetCode},
asset_name = #{assetName},
field_name = #{fieldName},
field_code = #{fieldCode},
target_name_define = #{targetNameDefine},
target_code = #{targetCode},
target_uint = #{targetUint},
count_year = #{countYear},
count_month = #{countMonth},
target_name_alias = #{targetNameAlias},
val_plan = #{valPlan},
where id = #{id}
delete from dc_busi_plan_target_month where id = #{id}
delete from dc_busi_plan_target_month where id in
#{id}