insert into u_user(
address,sex,user_id,level_cd,location_cd,score,password,name,tel,b_id,email,age
) values (
#{address},#{sex},#{userId},#{levelCd},#{locationCd},#{score},#{password},#{name},#{tel},#{bId},#{email},#{age}
)
update u_user t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.address= #{address}
, t.sex= #{sex}
, t.level_cd= #{levelCd}
, t.location_cd= #{locationCd}
, t.score= #{score}
, t.password= #{password}
, t.name= #{name}
, t.tel= #{tel}
, t.email= #{email}
, t.age= #{age}
where 1=1
and t.user_id= #{userId}
and t.b_id= #{bId}