insert into DP_SHIP_DEVICE(DEVICE_ID, DEVICE_NAME, DEVICE_SHIP_ID, DEVICE_OVERVIEW, DEVICE_MODEL, DEVICE_PARAMETERS, UPDATE_TIME, UPDATE_USER) values(#{entity.deviceId}, #{entity.deviceName}, #{entity.deviceShipId}, #{entity.deviceOverview}, #{entity.deviceModel}, #{entity.deviceParameters}, #{entity.updateTime}, #{entity.updateUser}) UPDATE DP_SHIP_DEVICE SET DEVICE_ID = #{entity.deviceId}, DEVICE_NAME = #{entity.deviceName}, DEVICE_SHIP_ID = #{entity.deviceShipId}, DEVICE_OVERVIEW = #{entity.deviceOverview}, DEVICE_MODEL = #{entity.deviceModel}, DEVICE_PARAMETERS = #{entity.deviceParameters}, UPDATE_TIME = #{entity.updateTime}, UPDATE_USER = #{entity.updateUser} WHERE ID = #{entity.id} delete from DP_SHIP_DEVICE where ID = #{id}