insert into supplier_type( type_cd,type_name,st_id,remark ) values ( #{typeCd},#{typeName},#{stId},#{remark} ) update supplier_type t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.type_cd= #{typeCd} , t.type_name= #{typeName} , t.remark= #{remark} where 1=1 and t.st_id= #{stId}