id,name,address, type,lat,lng, ownerId,phone,note, account,accountName,accountType, relation,apiv3,certPath, tripartite,tripvalue,realtimeSplit,cashSplit, status,accountingIncome,splitIncome, accountingRefund,splitRefund,cashOut,balance delete from aska_retails where id = #{id,jdbcType=INTEGER} insert into aska_retails ( id,name,address ,type,lat,lng ,ownerId,phone,note ,account,accountName,accountType ,relation,apiv3,certPath ,tripartite,tripvalue,realtimeSplit ,status,accountingIncome,splitIncome ,accountingRefund,splitRefund,cashOut,balance ) values (#{id,jdbcType=INTEGER},#{name,jdbcType=CHAR},#{address,jdbcType=VARCHAR} ,#{type,jdbcType=CHAR},#{lat,jdbcType=DOUBLE},#{lng,jdbcType=DOUBLE} ,#{ownerId,jdbcType=INTEGER},#{phone,jdbcType=CHAR},#{note,jdbcType=VARCHAR} ,#{account,jdbcType=VARCHAR},#{accountName,jdbcType=VARCHAR},#{accountType,jdbcType=CHAR} ,#{relation,jdbcType=CHAR},#{apiv3,jdbcType=VARCHAR},#{certPath,jdbcType=VARCHAR} ,#{tripartite,jdbcType=CHAR},#{tripvalue,jdbcType=INTEGER},#{realtimeSplit,jdbcType=INTEGER} ,#{status,jdbcType=CHAR},#{accountingIncome,jdbcType=INTEGER},#{splitIncome,jdbcType=INTEGER} ,#{accountingRefund,jdbcType=INTEGER},#{splitRefund,jdbcType=INTEGER},#{cashOut,jdbcType=INTEGER},#{balance,jdbcType=INTEGER} ) insert into aska_retails id, name, address, type, lat, lng, ownerId, phone, note, account, accountName, accountType, relation, apiv3, certPath, tripartite, tripvalue, realtimeSplit, status, balance, #{id,jdbcType=INTEGER}, #{name,jdbcType=CHAR}, #{address,jdbcType=VARCHAR}, #{type,jdbcType=CHAR}, #{lat,jdbcType=DOUBLE}, #{lng,jdbcType=DOUBLE}, #{ownerId,jdbcType=INTEGER}, #{phone,jdbcType=CHAR}, #{note,jdbcType=VARCHAR}, #{account,jdbcType=VARCHAR}, #{accountName,jdbcType=VARCHAR}, #{accountType,jdbcType=CHAR}, #{relation,jdbcType=CHAR}, #{apiv3,jdbcType=VARCHAR}, #{certPath,jdbcType=VARCHAR}, #{tripartite,jdbcType=CHAR}, #{tripvalue,jdbcType=INTEGER}, #{realtimeSplit,jdbcType=INTEGER}, #{status,jdbcType=CHAR}, #{balance,jdbcType=INTEGER}, update aska_retails name = #{name,jdbcType=CHAR}, address = #{address,jdbcType=VARCHAR}, type = #{type,jdbcType=CHAR}, lat = #{lat,jdbcType=DOUBLE}, lng = #{lng,jdbcType=DOUBLE}, ownerId = #{ownerId,jdbcType=INTEGER}, phone = #{phone,jdbcType=CHAR}, note = #{note,jdbcType=VARCHAR}, account = #{account,jdbcType=VARCHAR}, accountName = #{accountName,jdbcType=VARCHAR}, accountType = #{accountType,jdbcType=CHAR}, relation = #{relation,jdbcType=CHAR}, apiv3 = #{apiv3,jdbcType=VARCHAR}, certPath = #{certPath,jdbcType=VARCHAR}, tripartite = #{tripartite,jdbcType=CHAR}, tripvalue = #{tripvalue,jdbcType=INTEGER}, realtimeSplit = #{realtimeSplit,jdbcType=INTEGER}, status = #{status,jdbcType=CHAR}, accountingIncome = #{accountingIncome,jdbcType=INTEGER}, splitIncome = #{splitIncome,jdbcType=INTEGER}, accountingRefund = #{accountingRefund,jdbcType=INTEGER}, splitRefund = #{splitRefund,jdbcType=INTEGER}, cashOut = #{cashOut,jdbcType=INTEGER}, balance = #{balance,jdbcType=INTEGER}, where id = #{id,jdbcType=INTEGER} update aska_retails set name = #{name,jdbcType=CHAR}, address = #{address,jdbcType=VARCHAR}, type = #{type,jdbcType=CHAR}, lat = #{lat,jdbcType=DOUBLE}, lng = #{lng,jdbcType=DOUBLE}, ownerId = #{ownerId,jdbcType=INTEGER}, phone = #{phone,jdbcType=CHAR}, note = #{note,jdbcType=VARCHAR}, account = #{account,jdbcType=VARCHAR}, accountName = #{accountName,jdbcType=VARCHAR}, accountType = #{accountType,jdbcType=CHAR}, relation = #{relation,jdbcType=CHAR}, apiv3 = #{apiv3,jdbcType=VARCHAR}, certPath = #{certPath,jdbcType=VARCHAR}, tripartite = #{tripartite,jdbcType=CHAR}, tripvalue = #{tripvalue,jdbcType=INTEGER}, realtimeSplit = #{realtimeSplit,jdbcType=INTEGER}, status = #{status,jdbcType=CHAR}, accountingIncome = #{accountingIncome,jdbcType=INTEGER}, splitIncome = #{splitIncome,jdbcType=INTEGER}, accountingRefund = #{accountingRefund,jdbcType=INTEGER}, splitRefund = #{splitRefund,jdbcType=INTEGER}, cashOut = #{cashOut,jdbcType=INTEGER}, balance = #{balance,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}