insert into asset_import_log_detail(
detail_id,log_id,state,obj_name,community_id,message
) values (
#{detailId},#{logId},#{state},#{objName},#{communityId},#{message}
)
update asset_import_log_detail t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.log_id= #{logId}
, t.state= #{state}
, t.obj_name= #{objName}
, t.community_id= #{communityId}
, t.message= #{message}
where 1=1
and t.detail_id= #{detailId}