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