INSERT INTO CompPayInfo ( compPayInfoId,account,batchCode,remitter, remitMethod,remitDate,description,totalUser,totalAmount,importer, created,finance,finanDate,checker,checkDesc,checkDate,status,memo ) Values ( #{compPayInfoId},#{account},#{batchCode},#{remitter}, #{remitMethod},#{remitDate},#{description},#{totalUser},#{totalAmount},#{importer}, #{created},#{finance},#{finanDate},#{checker},#{checkDesc},#{checkDate},#{status},#{memo}) UPDATE CompPayInfo SET compPayInfoId=#{compPayInfoId},account=#{account},batchCode=#{batchCode}, remitter=#{remitter},remitMethod=#{remitMethod},remitDate=#{remitDate}, description=#{description},totalUser=#{totalUser},totalAmount=#{totalAmount}, importer=#{importer},created=#{created},finance=#{finance},finanDate=#{finanDate}, checker=#{checker},checkDesc=#{checkDesc},checkDate=#{checkDate},status=#{status},memo=#{memo}, totalfees=#{totalfees},proxyer=#{proxyer},importerId=#{importerId},pic=#{pic} WHERE compPayInfoId=#{compPayInfoId} update comppayinfo set totalfees=#{totalFees} where compPayInfoId = #{compPayInfoId}