REPLACE INTO basic_corp (thirdId,erpId,name,spell, addr,status,type,creditNo,contact,mobile,thirdId1,thirdId2,thirdId3,thirdId4, thirdName,thirdName1,thirdName2,thirdName3,thirdName4,updateTime,corpType,outType,createUser,createTime,updateUser,remark) values ( #{thirdId}, #{erpId}, #{name}, #{spell}, #{addr}, #{status}, #{type}, #{creditNo}, #{contact}, #{mobile}, #{thirdId1}, #{thirdId2}, #{thirdId3}, #{thirdId4}, #{thirdName}, #{thirdName1}, #{thirdName2}, #{thirdName3}, #{thirdName4}, #{updateTime}, #{corpType}, #{outType}, #{createUser}, #{createTime}, #{updateUser}, #{remark} ) insert ignore INTO basic_corp (thirdId,erpId,name,spell, addr,status,type,creditNo,contact,mobile,thirdId1,thirdId2,thirdId3,thirdId4, thirdName,thirdName1,thirdName2,thirdName3,thirdName4,updateTime,corpType,outType,createUser,createTime,updateUser,remark) values ( #{thirdId}, #{erpId}, #{name}, #{spell}, #{addr}, #{status}, #{type}, #{creditNo}, #{contact}, #{mobile}, #{thirdId1}, #{thirdId2}, #{thirdId3}, #{thirdId4}, #{thirdName}, #{thirdName1}, #{thirdName2}, #{thirdName3}, #{thirdName4}, #{updateTime}, #{corpType}, #{outType}, #{createUser}, #{createTime}, #{updateUser}, #{remark} ) insert INTO basic_corp(thirdId, erpId, name, spell, addr, status, type, creditNo, contact, mobile, thirdId1, thirdId2, thirdId3, thirdId4, thirdName, thirdName1, thirdName2, thirdName3, thirdName4, updateTime, corpType, outType,createUser,createTime,updateUser,remark) values (#{thirdId}, #{erpId}, #{name}, #{spell}, #{addr}, #{status}, #{type}, #{creditNo}, #{contact}, #{mobile}, #{thirdId1}, #{thirdId2}, #{thirdId3}, #{thirdId4}, #{thirdName}, #{thirdName1}, #{thirdName2}, #{thirdName3}, #{thirdName4}, #{updateTime}, #{corpType}, #{outType},#{createUser}, #{createTime}, #{updateUser}, #{remark}) UPDATE basic_corp thirdId=#{thirdId}, erpId=#{erpId}, name=#{name}, spell=#{spell}, addr=#{addr}, status=#{status}, type=#{type}, creditNo=#{creditNo}, contact=#{contact}, mobile=#{mobile}, thirdId1=#{thirdId1}, thirdId2=#{thirdId2}, thirdId3=#{thirdId3}, thirdId4=#{thirdId4}, thirdName=#{thirdName}, thirdName1=#{thirdName1}, thirdName2=#{thirdName2}, thirdName3=#{thirdName3}, thirdName4=#{thirdName4}, updateTime=#{updateTime}, corpType=#{corpType}, outType=#{outType}, createUser=#{createUser}, createTime=#{createTime}, updateUser=#{updateUser}, remark=#{remark}, WHERE id=#{id} DELETE FROM basic_corp WHERE id = #{id} REPLACE INTO basic_corp ( thirdId, erpId, `name`, spell, addr, status, `type`, creditNo, contact, mobile, thirdId1, thirdId2, thirdId3, thirdId4, thirdName, thirdName1, thirdName2, thirdName3, thirdName4, updateTime, corpType,outType,createUser,createTime,updateUser,remark) values ( #{thirdId}, #{erpId}, #{name}, #{spell}, #{addr}, #{status}, #{type}, #{creditNo}, #{contact}, #{mobile}, #{thirdId1}, #{thirdId2}, #{thirdId3}, #{thirdId4}, #{thirdName}, #{thirdName1}, #{thirdName2}, #{thirdName3}, #{thirdName4}, #{updateTime}, #{corpType}, #{outType}, #{createUser}, #{createTime}, #{updateUser}, #{remark} )